net.minecraft.client.gui.screens.inventory

public class MerchantScreen

extends AbstractContainerScreen<MerchantMenu>

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, Widget, MenuAccess

eco
net.minecraft.client.gui.screens.inventory.MerchantScreen
net.minecraft.class_492
net.minecraft.client.gui.screen.ingame.MerchantScreen
net.minecraft.src.C_3673_

Field summary

Modifier and TypeField
private static final ResourceLocation
z
VILLAGER_LOCATION
field_2950
TEXTURE
f_99113_
private static final int
A
TEXTURE_WIDTH
field_32354
field_32354
f_169785_
private static final int
B
TEXTURE_HEIGHT
field_32355
field_32355
f_169786_
private static final int
C
MERCHANT_MENU_PART_X
field_32356
field_32356
f_169787_
private static final int
D
PROGRESS_BAR_X
field_32357
field_32357
f_169788_
private static final int
E
PROGRESS_BAR_Y
field_32358
field_32358
f_169789_
private static final int
F
SELL_ITEM_1_X
field_32359
field_32359
f_169790_
private static final int
G
SELL_ITEM_2_X
field_32360
field_32360
f_169791_
private static final int
H
BUY_ITEM_X
field_32361
field_32361
f_169792_
private static final int
I
LABEL_Y
field_32362
field_32362
f_169793_
private static final int
J
NUMBER_OF_OFFER_BUTTONS
field_32363
field_32363
f_169794_
private static final int
K
TRADE_BUTTON_X
field_32364
field_32364
f_169795_
private static final int
L
TRADE_BUTTON_HEIGHT
field_32365
field_32365
f_169796_
private static final int
M
TRADE_BUTTON_WIDTH
field_32366
field_32366
f_169797_
private static final int
N
SCROLLER_HEIGHT
field_32367
field_32367
f_169798_
private static final int
O
SCROLLER_WIDTH
field_32368
field_32368
f_169799_
private static final int
P
SCROLL_BAR_HEIGHT
field_32369
field_32369
f_169800_
private static final int
Q
SCROLL_BAR_TOP_POS_Y
field_32370
field_32370
f_169801_
private static final int
R
SCROLL_BAR_START_X
field_32371
field_32371
f_169802_
private static final Component
S
TRADES_LABEL
field_26569
TRADES_TEXT
f_99114_
private static final Component
T
LEVEL_SEPARATOR
field_26570
SEPARATOR_TEXT
f_99115_
private static final Component
U
DEPRECATED_TOOLTIP
field_26571
DEPRECATED_TEXT
f_99116_
private int
V
shopItem
field_19161
selectedIndex
f_99117_
private final MerchantScreen$TradeOfferButton[]
W
tradeOfferButtons
field_19162
offers
f_99118_
int
X
scrollOff
field_19163
indexStartOffset
f_99119_
private boolean
Y
isDragging
field_19164
scrolling
f_99120_

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
u()
postButtonClick()
method_2496()
syncRecipeIndex()
m_99200_()
protected void
b()
init()
method_25426()
init()
m_7856_()
protected void
b(dqk 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)
m_7027_(C_3181_ p_99186_, int p_99187_, int arg2)
protected void
a(dqk 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)
m_7286_(C_3181_ p_99144_, float p_99145_, int p_99146_, int arg3)
private void
a(dqk arg0, int arg1, int arg2, bvm 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)
m_99152_(C_3181_ p_99154_, int p_99155_, int p_99156_, C_1551_ arg3)
private void
a(dqk arg0, int arg1, int arg2, bvn 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)
m_99157_(C_3181_ p_99159_, int p_99160_, int p_99161_, C_1552_ arg3)
public void
a(dqk 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)
m_6305_(C_3181_ p_99149_, int p_99150_, int p_99151_, float arg3)
private void
a(dqk arg0, bvm 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)
m_99168_(C_3181_ p_99170_, C_1551_ p_99171_, int p_99172_, int arg3)
private void
a(dqk arg0, bqp arg1, bqp 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)
m_99162_(C_3181_ p_99164_, C_1391_ p_99165_, C_1391_ p_99166_, int p_99167_, int arg4)
private boolean
a(int arg0)
canScroll(int arg0)
method_20220(int arg0)
canScroll(int listSize)
m_99140_(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)
m_6050_(double p_99128_, 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)
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)
mouseClicked(double arg0, double arg1, int arg2)
m_6375_(double p_99132_, double arg1, int arg2)