net.minecraft.world.inventory

public class MerchantMenu

extends AbstractContainerMenu

bnq
net.minecraft.world.inventory.MerchantMenu
net.minecraft.class_1728
net.minecraft.unmapped.C_tesbksyu
net.minecraft.screen.MerchantScreenHandler
net.minecraft.src.C_1294_
net.minecraft.world.inventory.ContainerMerchant

Field summary

Modifier and TypeField
protected static final int
k
PAYMENT1_SLOT
field_30830
f_omwlklze
field_30830
f_150619_
protected static final int
l
PAYMENT2_SLOT
field_30831
f_ulxmydif
field_30831
f_150620_
protected static final int
m
RESULT_SLOT
field_30832
f_askebieu
field_30832
f_150621_
private static final int
n
INV_SLOT_START
field_30833
f_usipuzew
field_30833
f_150622_
private static final int
o
INV_SLOT_END
field_30834
f_tihwzgqd
field_30834
f_150623_
private static final int
p
USE_ROW_SLOT_START
field_30835
f_mvqqgatt
field_30835
f_150624_
private static final int
q
USE_ROW_SLOT_END
field_30836
f_tywrylil
field_30836
f_150625_
private static final int
r
SELLSLOT1_X
field_30837
f_qxndehvx
field_30837
f_150626_
private static final int
s
SELLSLOT2_X
field_30838
f_wcurlomp
field_30838
f_150627_
private static final int
t
BUYSLOT_X
field_30839
f_ptrqfxul
field_30839
f_150628_
private static final int
u
ROW_Y
field_30840
f_menjtexn
field_30840
f_150629_
private final Merchant
v
trader
field_7863
f_jnhwcdhl
merchant
f_40027_
private final MerchantContainer
w
tradeContainer
field_7861
f_aobzwgrd
merchantInventory
f_40028_
private int
x
merchantLevel
field_18669
f_etjexbbc
levelProgress
f_40029_
private boolean
y
showProgressBar
field_18670
f_gsoxvatf
leveled
f_40030_
private boolean
z
canRestock
field_19358
f_ebbibeaj
canRefreshTrades
f_40031_

Constructor summary

ModifierConstructor
public (int syncId, Inventory playerInventory)
public (int syncId, Inventory playerInventory, Merchant merchant)

Method summary

Modifier and TypeMethod
public void
a(boolean arg0)
setShowProgressBar(boolean arg0)
method_19253(boolean arg0)
m_rvrqlfsu(boolean arg0)
setCanLevel(boolean canLevel)
m_40048_(boolean arg0)
public void
a(aru arg0)
slotsChanged(Container arg0)
method_7609(class_1263 arg0)
m_heazfhiy(C_pjtstjoq arg0)
onContentChanged(Inventory arg0)
m_6199_(C_464_ arg0)
public void
d(int arg0)
setSelectionHint(int arg0)
method_7650(int arg0)
m_oyposidu(int arg0)
setRecipeIndex(int index)
m_40063_(int arg0)
public boolean
a(bke arg0)
stillValid(Player arg0)
method_7597(class_1657 arg0)
m_zipsjvkj(C_jzrpycqo arg0)
canUse(PlayerEntity arg0)
m_6875_(C_1141_ arg0)
canUse(EntityHuman arg0)
public int
l()
getTraderXp()
method_19254()
m_gudsyarn()
getExperience()
m_40065_()
public int
m()
getFutureTraderXp()
method_19256()
m_wcbdstck()
getMerchantRewardedExperience()
m_40068_()
public void
e(int arg0)
setXp(int arg0)
method_19255(int arg0)
m_vorzwyvy(int arg0)
setExperienceFromServer(int experience)
m_40066_(int arg0)
public int
n()
getTraderLevel()
method_19258()
m_xalgdnrn()
getLevelProgress()
m_40071_()
public void
f(int arg0)
setMerchantLevel(int arg0)
method_19257(int arg0)
m_lfjoevnq(int arg0)
setLevelProgress(int progress)
m_40069_(int arg0)
public void
b(boolean arg0)
setCanRestock(boolean arg0)
method_20700(boolean arg0)
m_yrihjdri(boolean arg0)
setRefreshTrades(boolean refreshable)
m_40058_(boolean arg0)
public boolean
o()
canRestock()
method_20701()
m_qsdrntgk()
canRefreshTrades()
m_40074_()
public boolean
a(bqq arg0, bob arg1)
canTakeItemForPickAll(ItemStack arg0, Slot arg1)
method_7613(class_1799 arg0, class_1735 arg1)
m_pmldxlql(C_sddaxwyk arg0, C_nhvqfffd arg1)
canInsertIntoSlot(ItemStack arg0, Slot arg1)
m_5882_(C_1391_ p_40045_, C_1305_ arg1)
public ItemStack
b(bke arg0, int arg1)
quickMoveStack(Player arg0, int arg1)
method_7601(class_1657 arg0, int arg1)
m_oujzgmbb(C_jzrpycqo arg0, int arg1)
transferSlot(PlayerEntity arg0, int arg1)
m_7648_(C_1141_ p_40054_, int arg1)
shiftClick(EntityHuman arg0, int arg1)
private void
r()
playTradeSound()
method_20595()
m_nilotydi()
playYesSound()
m_40077_()
public void
b(bke arg0)
removed(Player arg0)
method_7595(class_1657 arg0)
m_bftcwuek(C_jzrpycqo arg0)
close(PlayerEntity arg0)
m_6877_(C_1141_ arg0)
public void
g(int arg0)
tryMoveItems(int arg0)
method_20215(int arg0)
m_zoodtjwl(int arg0)
switchTo(int recipeIndex)
m_40072_(int arg0)
private void
c(int arg0, bqq arg1)
moveFromInventoryToPaymentSlot(int arg0, ItemStack arg1)
method_20214(int arg0, class_1799 arg1)
m_qpqngokq(int arg0, C_sddaxwyk arg1)
autofill(int slot, ItemStack stack)
m_40060_(int p_40062_, C_1391_ arg1)
public void
a(bvo arg0)
setOffers(MerchantOffers arg0)
method_17437(class_1916 arg0)
m_yiymzpmk(C_eygsjfgm arg0)
setOffers(TradeOfferList offers)
m_40046_(C_1552_ arg0)
public MerchantOffers
p()
getOffers()
method_17438()
m_mdfszkhz()
getRecipes()
m_40075_()
public boolean
q()
showProgressBar()
method_19259()
m_awvkyxpu()
isLeveled()
m_40076_()