net.minecraft.client.gui.screens.inventory

public class MerchantScreen

extends AbstractContainerScreen<MerchantMenu>

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TickableWidget, Widget, MenuAccess

dqo
net.minecraft.client.gui.screens.inventory.MerchantScreen
net.minecraft.class_492
net.minecraft.client.gui.screen.ingame.MerchantScreen
net.minecraft.client.gui.screen.inventory.MerchantScreen

Field summary

Modifier and TypeField
private static final ResourceLocation
A
VILLAGER_LOCATION
field_2950
TEXTURE
field_147038_v
private static final Component
B
TRADES_LABEL
field_26569
TRADES_TEXT
field_243351_B
private static final Component
C
LEVEL_SEPARATOR
field_26570
SEPARATOR
field_243352_C
private static final Component
D
DEPRECATED_TOOLTIP
field_26571
DEPRECATED_TEXT
field_243353_D
private int
E
shopItem
field_19161
selectedIndex
field_147041_z
private final MerchantScreen$TradeOfferButton[]
F
tradeOfferButtons
field_19162
offers
field_214138_m
private int
G
scrollOff
field_19163
indexStartOffset
field_214139_n
private boolean
H
isDragging
field_19164
scrolling
field_214140_o

Constructor summary

ModifierConstructor
public (MerchantMenu handler, Inventory inventory, Component title)

Method summary

Modifier and TypeMethod
private void
k()
postButtonClick()
method_2496()
syncRecipeIndex()
func_195391_j()
protected void
b()
init()
method_25426()
init()
func_231160_c_()
protected void
b(dfj arg0, int arg1, int arg2)
renderLabels(PoseStack arg0, int arg1, int arg2)
method_2388(class_4587 arg0, int arg1, int arg2)
drawForeground(MatrixStack arg0, int arg1, int arg2)
func_230451_b_(MatrixStack arg0, int arg1, int arg2)
protected void
a(dfj arg0, float arg1, int arg2, int arg3)
renderBg(PoseStack arg0, float arg1, int arg2, int arg3)
method_2389(class_4587 arg0, float arg1, int arg2, int arg3)
drawBackground(MatrixStack arg0, float arg1, int arg2, int arg3)
func_230450_a_(MatrixStack arg0, float arg1, int arg2, int arg3)
private void
a(dfj arg0, int arg1, int arg2, bqs arg3)
renderProgressBar(PoseStack arg0, int arg1, int arg2, MerchantOffer arg3)
method_19413(class_4587 arg0, int arg1, int arg2, class_1914 arg3)
drawLevelInfo(MatrixStack matrices, int x, int y, TradeOffer tradeOffer)
func_238839_a_(MatrixStack arg0, int arg1, int arg2, MerchantOffer arg3)
private void
a(dfj arg0, int arg1, int arg2, bqt arg3)
renderScroller(PoseStack arg0, int arg1, int arg2, MerchantOffers arg3)
method_20221(class_4587 arg0, int arg1, int arg2, class_1916 arg3)
renderScrollbar(MatrixStack matrices, int x, int y, TradeOfferList tradeOffers)
func_238840_a_(MatrixStack arg0, int arg1, int arg2, MerchantOffers arg3)
public void
a(dfj arg0, int arg1, int arg2, float arg3)
render(PoseStack arg0, int arg1, int arg2, float arg3)
method_25394(class_4587 arg0, int arg1, int arg2, float arg3)
render(MatrixStack arg0, int arg1, int arg2, float arg3)
func_230430_a_(MatrixStack arg0, int arg1, int arg2, float arg3)
private void
a(dfj arg0, bqs arg1, int arg2, int arg3)
renderButtonArrows(PoseStack arg0, MerchantOffer arg1, int arg2, int arg3)
method_20223(class_4587 arg0, class_1914 arg1, int arg2, int arg3)
renderArrow(MatrixStack matrices, TradeOffer tradeOffer, int x, int y)
func_238842_a_(MatrixStack arg0, MerchantOffer arg1, int arg2, int arg3)
private void
a(dfj arg0, bly arg1, bly arg2, int arg3, int arg4)
renderAndDecorateCostA(PoseStack arg0, ItemStack arg1, ItemStack arg2, int arg3, int arg4)
method_20222(class_4587 arg0, class_1799 arg1, class_1799 arg2, int arg3, int arg4)
renderFirstBuyItem(MatrixStack matrices, ItemStack adjustedFirstBuyItem, ItemStack originalFirstBuyItem, int x, int y)
func_238841_a_(MatrixStack arg0, ItemStack arg1, ItemStack arg2, int arg3, int arg4)
private boolean
a(int arg0)
canScroll(int arg0)
method_20220(int arg0)
canScroll(int listSize)
func_214135_a(int arg0)
public boolean
a(double arg0, double arg1, double arg2)
mouseScrolled(double arg0, double arg1, double arg2)
method_25401(double arg0, double arg1, double arg2)
mouseScrolled(double arg0, double arg1, double arg2)
func_231043_a_(double arg0, double arg1, double arg2)
public boolean
a(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
method_25403(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
func_231045_a_(double arg0, double arg1, int arg2, double arg3, double arg4)
public boolean
a(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
method_25402(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
func_231044_a_(double arg0, double arg1, int arg2)