net.minecraft.client.gui.screens.inventory

public class MerchantScreen

extends AbstractContainerScreen<MerchantMenu>

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable, MenuAccess

fpz
net.minecraft.client.gui.screens.inventory.MerchantScreen
net.minecraft.class_492
net.minecraft.unmapped.C_ymlucuqe
net.minecraft.client.gui.screen.ingame.MerchantScreen
net.minecraft.client.gui.screen.ingame.MerchantScreen
net.minecraft.src.C_3673_

Field summary

Modifier and TypeField
private static final ResourceLocation
E
OUT_OF_STOCK_SPRITE
field_45490
f_aetjxctp
OUT_OF_STOCK_TEXTURE
OUT_OF_STOCK
f_290390_
private static final ResourceLocation
F
EXPERIENCE_BAR_BACKGROUND_SPRITE
field_45491
f_ailpuxlr
EXPERIENCE_BAR_BACKGROUND_TEXTURE
EXPERIENCE_BAR_BACKGROUND
f_290659_
private static final ResourceLocation
G
EXPERIENCE_BAR_CURRENT_SPRITE
field_45492
f_njkukxiz
EXPERIENCE_BAR_CURRENT_TEXTURE
EXPERIENCE_BAR_CURRENT
f_290973_
private static final ResourceLocation
H
EXPERIENCE_BAR_RESULT_SPRITE
field_45484
f_ecsnqact
EXPERIENCE_BAR_RESULT_TEXTURE
EXPERIENCE_BAR_RESULT
f_291488_
private static final ResourceLocation
I
SCROLLER_SPRITE
field_45485
f_kpwxonuc
SCROLLER_TEXTURE
SCROLLER
f_291797_
private static final ResourceLocation
J
SCROLLER_DISABLED_SPRITE
field_45486
f_lrtwadxh
SCROLLER_DISABLED_TEXTURE
SCROLLER_DISABLED
f_290527_
private static final ResourceLocation
K
TRADE_ARROW_OUT_OF_STOCK_SPRITE
field_45487
f_ijrzmxjo
TRADE_ARROW_OUT_OF_STOCK_TEXTURE
TRADE_ARROW_OUT_OF_STOCK
f_291439_
private static final ResourceLocation
L
TRADE_ARROW_SPRITE
field_45488
f_tjxbjbvb
TRADE_ARROW_TEXTURE
TRADE_ARROW
f_291764_
private static final ResourceLocation
M
DISCOUNT_STRIKETHRUOGH_SPRITE
field_45489
f_cwhnqqng
DISCOUNT_STRIKETHROUGH_TEXTURE
DISCOUNT_STRIKETHROUGH
f_291695_
private static final ResourceLocation
N
VILLAGER_LOCATION
field_2950
f_viwhwhwn
TEXTURE
TEXTURE
f_99113_
private static final int
O
TEXTURE_WIDTH
field_32354
f_jhbstmth
TEXTURE_WIDTH
TEXTURE_WIDTH
f_169785_
private static final int
P
TEXTURE_HEIGHT
field_32355
f_vyblsdzm
TEXTURE_HEIGHT
TEXTURE_HEIGHT
f_169786_
private static final int
Q
MERCHANT_MENU_PART_X
field_32356
f_pbawfnfx
field_32356
HANDLED_SCREEN_X_OFFSET
f_169787_
private static final int
R
PROGRESS_BAR_X
field_32357
f_uzcvvjse
XP_BAR_X_OFFSET
XP_BAR_X_OFFSET
f_169788_
private static final int
S
PROGRESS_BAR_Y
field_32358
f_dlluzodb
TRADE_LIST_AREA_Y_OFFSET
TRADE_LIST_AREA_Y_OFFSET
f_169789_
private static final int
T
SELL_ITEM_1_X
field_32359
f_vjtdnkmq
FIRST_BUY_ITEM_X_OFFSET
FIRST_BUY_ITEM_X_OFFSET
f_169790_
private static final int
U
SELL_ITEM_2_X
field_32360
f_rbqpwefq
SECOND_BUY_ITEM_X_OFFSET
SECOND_BUY_ITEM_X_OFFSET
f_169791_
private static final int
V
BUY_ITEM_X
field_32361
f_xckwvmcu
SOLD_ITEM_X_OFFSET
SOLD_ITEM_X_OFFSET
f_169792_
private static final int
W
LABEL_Y
field_32362
f_jviinllf
field_32362
LABEL_Y
f_169793_
private static final int
X
NUMBER_OF_OFFER_BUTTONS
field_32363
f_fqsxbwfz
MAX_TRADE_OFFERS
MAX_TRADE_OFFERS
f_169794_
private static final int
Y
TRADE_BUTTON_X
field_32364
f_rxowdfsh
field_32364
TRADE_OFFER_BUTTON_X
f_169795_
private static final int
Z
TRADE_BUTTON_HEIGHT
field_32365
f_dhkhusse
TRADE_OFFER_BUTTON_HEIGHT
TRADE_OFFER_BUTTON_HEIGHT
f_169796_
private static final int
aa
TRADE_BUTTON_WIDTH
field_32366
f_yqdxxubu
TRADE_OFFER_BUTTON_WIDTH
TRADE_OFFER_BUTTON_WIDTH
f_169797_
private static final int
ab
SCROLLER_HEIGHT
field_32367
f_ixcfupdm
SCROLLBAR_HEIGHT
SCROLLBAR_HEIGHT
f_169798_
private static final int
ac
SCROLLER_WIDTH
field_32368
f_yznddijh
SCROLLBAR_WIDTH
SCROLLBAR_WIDTH
f_169799_
private static final int
ad
SCROLL_BAR_HEIGHT
field_32369
f_ouvgnzep
SCROLLBAR_AREA_HEIGHT
SCROLLBAR_AREA_HEIGHT
f_169800_
private static final int
ae
SCROLL_BAR_TOP_POS_Y
field_32370
f_csukqbmb
SCROLLBAR_OFFSET_Y
SCROLLBAR_OFFSET_Y
f_169801_
private static final int
af
SCROLL_BAR_START_X
field_32371
f_wlorlfyd
SCROLLBAR_OFFSET_X
SCROLLBAR_OFFSET_X
f_169802_
private static final Component
ag
TRADES_LABEL
field_26569
f_kxlyxlfa
TRADES_TEXT
TRADES
f_99114_
private static final Component
ah
DEPRECATED_TOOLTIP
field_26571
f_odpvjist
DEPRECATED_TEXT
DEPRECATED
f_99116_
private int
ai
shopItem
field_19161
f_adgarvcj
selectedIndex
selectedIndex
f_99117_
private final MerchantScreen$TradeOfferButton[]
aj
tradeOfferButtons
field_19162
f_yrefesmy
offers
offers
f_99118_
int
ak
scrollOff
field_19163
f_ecvjejrg
indexStartOffset
indexStartOffset
f_99119_
private boolean
al
isDragging
field_19164
f_qirdmels
scrolling
scrolling
f_99120_

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
E()
postButtonClick()
method_2496()
m_zbringro()
syncRecipeIndex()
syncRecipeIndex()
m_99200_()
protected void
aT_()
init()
method_25426()
m_xaqeivsh()
init()
init()
m_7856_()
protected void
b(fhz arg0, int arg1, int arg2)
renderLabels(GuiGraphics arg0, int arg1, int arg2)
method_2388(class_332 arg0, int arg1, int arg2)
m_lypenorc(C_sedilmty arg0, int arg1, int arg2)
drawForeground(DrawContext arg0, int arg1, int arg2)
drawForeground(GuiGraphics arg0, int arg1, int arg2)
m_280003_(C_279497_ p_282009_, int p_283691_, int arg2)
protected void
a(fhz 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)
m_plsdjslm(C_sedilmty arg0, float arg1, int arg2, int arg3)
drawBackground(DrawContext arg0, float arg1, int arg2, int arg3)
drawBackground(GuiGraphics arg0, float arg1, int arg2, int arg3)
m_7286_(C_279497_ p_281275_, float p_282312_, int p_282984_, int arg3)
private void
a(fhz arg0, int arg1, int arg2, dbu arg3)
renderProgressBar(GuiGraphics arg0, int arg1, int arg2, MerchantOffer arg3)
method_19413(class_332 arg0, int arg1, int arg2, class_1914 arg3)
m_tryjxqwu(C_sedilmty arg0, int arg1, int arg2, C_argwryfu arg3)
drawLevelInfo(DrawContext context, int x, int y, TradeOffer tradeOffer)
drawLevelInfo(GuiGraphics graphics, int x, int y, TradeOffer tradeOffer)
m_280298_(C_279497_ p_283008_, int p_283085_, int p_282094_, C_1551_ arg3)
private void
a(fhz arg0, int arg1, int arg2, dbv arg3)
renderScroller(GuiGraphics arg0, int arg1, int arg2, MerchantOffers arg3)
method_20221(class_332 arg0, int arg1, int arg2, class_1916 arg3)
m_weigqxxa(C_sedilmty arg0, int arg1, int arg2, C_eygsjfgm arg3)
renderScrollbar(DrawContext context, int x, int y, TradeOfferList tradeOffers)
renderScrollbar(GuiGraphics graphics, int x, int y, TradeOfferList tradeOffers)
m_280219_(C_279497_ p_283154_, int p_281664_, int p_282877_, C_1552_ arg3)
public void
a(fhz 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)
m_ljhpujrm(C_sedilmty arg0, int arg1, int arg2, float arg3)
render(DrawContext arg0, int arg1, int arg2, float arg3)
render(GuiGraphics arg0, int arg1, int arg2, float arg3)
m_88315_(C_279497_ p_281994_, int p_282099_, int p_281815_, float arg3)
private void
a(fhz arg0, dbu 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)
m_uosbpqwc(C_sedilmty arg0, C_argwryfu arg1, int arg2, int arg3)
renderArrow(DrawContext context, TradeOffer tradeOffer, int x, int y)
renderArrow(GuiGraphics graphics, TradeOffer tradeOffer, int x, int y)
m_280526_(C_279497_ p_281926_, C_1551_ p_282752_, int p_282179_, int arg3)
private void
a(fhz arg0, cuq arg1, cuq 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)
m_culsijbm(C_sedilmty arg0, C_sddaxwyk arg1, C_sddaxwyk arg2, int arg3, int arg4)
renderFirstBuyItem(DrawContext context, ItemStack adjustedFirstBuyItem, ItemStack originalFirstBuyItem, int x, int y)
renderFirstBuyItem(GuiGraphics graphics, ItemStack adjustedFirstBuyItem, ItemStack originalFirstBuyItem, int x, int y)
m_280127_(C_279497_ p_283466_, C_1391_ p_282046_, C_1391_ p_282403_, int p_283601_, int arg4)
private boolean
a(int arg0)
canScroll(int arg0)
method_20220(int arg0)
m_wmofbvuc(int arg0)
canScroll(int listSize)
canScroll(int listSize)
m_99140_(int arg0)
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)
m_ztjwzdkn(double arg0, double arg1, double arg2, double arg3)
mouseScrolled(double arg0, double arg1, double arg2, double arg3)
mouseScrolled(double arg0, double arg1, double arg2, double arg3)
m_6050_(double p_99128_, double p_298933_, 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)
m_shbmcoxj(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
m_7979_(double p_99136_, double p_99138_, 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)
m_fpfqbhfx(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
m_6375_(double p_99132_, double arg1, int arg2)