net.minecraft.client.gui.screens.inventory

public class MerchantScreen

extends AbstractContainerScreen<MerchantMenu>

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable, MenuAccess

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

Field summary

Modifier and TypeField
private static final ResourceLocation
G
OUT_OF_STOCK_SPRITE
field_45490
OUT_OF_STOCK_TEXTURE
private static final ResourceLocation
H
EXPERIENCE_BAR_BACKGROUND_SPRITE
field_45491
EXPERIENCE_BAR_BACKGROUND_TEXTURE
private static final ResourceLocation
I
EXPERIENCE_BAR_CURRENT_SPRITE
field_45492
EXPERIENCE_BAR_CURRENT_TEXTURE
private static final ResourceLocation
J
EXPERIENCE_BAR_RESULT_SPRITE
field_45484
EXPERIENCE_BAR_RESULT_TEXTURE
private static final ResourceLocation
K
SCROLLER_SPRITE
field_45485
SCROLLER_TEXTURE
private static final ResourceLocation
L
SCROLLER_DISABLED_SPRITE
field_45486
SCROLLER_DISABLED_TEXTURE
private static final ResourceLocation
M
TRADE_ARROW_OUT_OF_STOCK_SPRITE
field_45487
TRADE_ARROW_OUT_OF_STOCK_TEXTURE
private static final ResourceLocation
N
TRADE_ARROW_SPRITE
field_45488
TRADE_ARROW_TEXTURE
private static final ResourceLocation
O
DISCOUNT_STRIKETHRUOGH_SPRITE
field_45489
DISCOUNT_STRIKETHROUGH_TEXTURE
private static final ResourceLocation
P
VILLAGER_LOCATION
field_2950
TEXTURE
private static final int
Q
TEXTURE_WIDTH
field_32354
TEXTURE_WIDTH
private static final int
R
TEXTURE_HEIGHT
field_32355
TEXTURE_HEIGHT
private static final int
S
MERCHANT_MENU_PART_X
field_32356
field_32356
private static final int
T
PROGRESS_BAR_X
field_32357
XP_BAR_X_OFFSET
private static final int
U
PROGRESS_BAR_Y
field_32358
TRADE_LIST_AREA_Y_OFFSET
private static final int
V
SELL_ITEM_1_X
field_32359
FIRST_BUY_ITEM_X_OFFSET
private static final int
W
SELL_ITEM_2_X
field_32360
SECOND_BUY_ITEM_X_OFFSET
private static final int
X
BUY_ITEM_X
field_32361
SOLD_ITEM_X_OFFSET
private static final int
Y
LABEL_Y
field_32362
field_32362
private static final int
Z
NUMBER_OF_OFFER_BUTTONS
field_32363
MAX_TRADE_OFFERS
private static final int
aa
TRADE_BUTTON_X
field_32364
field_32364
private static final int
ab
TRADE_BUTTON_HEIGHT
field_32365
TRADE_OFFER_BUTTON_HEIGHT
private static final int
ac
TRADE_BUTTON_WIDTH
field_32366
TRADE_OFFER_BUTTON_WIDTH
private static final int
ad
SCROLLER_HEIGHT
field_32367
SCROLLBAR_HEIGHT
private static final int
ae
SCROLLER_WIDTH
field_32368
SCROLLBAR_WIDTH
private static final int
af
SCROLL_BAR_HEIGHT
field_32369
SCROLLBAR_AREA_HEIGHT
private static final int
ag
SCROLL_BAR_TOP_POS_Y
field_32370
SCROLLBAR_OFFSET_Y
private static final int
ah
SCROLL_BAR_START_X
field_32371
SCROLLBAR_OFFSET_X
private static final Component
ai
TRADES_LABEL
field_26569
TRADES_TEXT
private static final Component
aj
DEPRECATED_TOOLTIP
field_26571
DEPRECATED_TEXT
private int
ak
shopItem
field_19161
selectedIndex
private final MerchantScreen$TradeOfferButton[]
al
tradeOfferButtons
field_19162
offers
int
am
scrollOff
field_19163
indexStartOffset
private boolean
an
isDragging
field_19164
scrolling

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
G()
postButtonClick()
method_2496()
syncRecipeIndex()
protected void
aT_()
init()
method_25426()
init()
protected void
b(fns arg0, int arg1, int arg2)
renderLabels(GuiGraphics arg0, int arg1, int arg2)
method_2388(class_332 arg0, int arg1, int arg2)
drawForeground(DrawContext arg0, int arg1, int arg2)
protected void
a(fns arg0, float arg1, int arg2, int arg3)
renderBg(GuiGraphics arg0, float arg1, int arg2, int arg3)
method_2389(class_332 arg0, float arg1, int arg2, int arg3)
drawBackground(DrawContext arg0, float arg1, int arg2, int arg3)
private void
a(fns arg0, int arg1, int arg2, dgf arg3)
renderProgressBar(GuiGraphics arg0, int arg1, int arg2, MerchantOffer arg3)
method_19413(class_332 arg0, int arg1, int arg2, class_1914 arg3)
drawLevelInfo(DrawContext context, int x, int y, TradeOffer tradeOffer)
private void
a(fns arg0, int arg1, int arg2, dgg arg3)
renderScroller(GuiGraphics arg0, int arg1, int arg2, MerchantOffers arg3)
method_20221(class_332 arg0, int arg1, int arg2, class_1916 arg3)
renderScrollbar(DrawContext context, int x, int y, TradeOfferList tradeOffers)
public void
a(fns arg0, int arg1, int arg2, float arg3)
render(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_25394(class_332 arg0, int arg1, int arg2, float arg3)
render(DrawContext arg0, int arg1, int arg2, float arg3)
private void
a(fns arg0, dgf arg1, int arg2, int arg3)
renderButtonArrows(GuiGraphics arg0, MerchantOffer arg1, int arg2, int arg3)
method_20223(class_332 arg0, class_1914 arg1, int arg2, int arg3)
renderArrow(DrawContext context, TradeOffer tradeOffer, int x, int y)
private void
a(fns arg0, cxp arg1, cxp arg2, int arg3, int arg4)
renderAndDecorateCostA(GuiGraphics arg0, ItemStack arg1, ItemStack arg2, int arg3, int arg4)
method_20222(class_332 arg0, class_1799 arg1, class_1799 arg2, int arg3, int arg4)
renderFirstBuyItem(DrawContext context, ItemStack adjustedFirstBuyItem, ItemStack originalFirstBuyItem, int x, int y)
private boolean
a(int arg0)
canScroll(int arg0)
method_20220(int arg0)
canScroll(int listSize)
public boolean
a(double arg0, double arg1, double arg2, double arg3)
mouseScrolled(double arg0, double arg1, double arg2, double arg3)
method_25401(double arg0, double arg1, double arg2, double arg3)
mouseScrolled(double arg0, double arg1, double arg2, double arg3)
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)
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)