net.minecraft.world.inventory

public class MerchantMenu

extends AbstractContainerMenu

cum
net.minecraft.world.inventory.MerchantMenu
net.minecraft.class_1728
net.minecraft.unmapped.C_tesbksyu
net.minecraft.screen.MerchantScreenHandler
net.minecraft.screen.MerchantScreenHandler
net.minecraft.src.C_1294_
net.minecraft.world.inventory.InventoryMerchant

Field summary

Modifier and TypeField
protected static final int
m
PAYMENT1_SLOT
field_30830
f_omwlklze
INPUT_1_ID
FIRST_PAYMENT_SLOT
f_150619_
protected static final int
n
PAYMENT2_SLOT
field_30831
f_ulxmydif
INPUT_2_ID
SECOND_PAYMENT_SLOT
f_150620_
protected static final int
o
RESULT_SLOT
field_30832
f_askebieu
OUTPUT_ID
RESULT_SLOT
f_150621_
private static final int
p
INV_SLOT_START
field_30833
f_usipuzew
INVENTORY_START
INVENTORY_SLOTS_START
f_150622_
private static final int
q
INV_SLOT_END
field_30834
f_tihwzgqd
INVENTORY_END
INVENTORY_SLOTS_END
f_150623_
private static final int
r
USE_ROW_SLOT_START
field_30835
f_mvqqgatt
HOTBAR_START
HOTBAR_SLOTS_START
f_150624_
private static final int
s
USE_ROW_SLOT_END
field_30836
f_tywrylil
HOTBAR_END
HOTBAR_SLOTS_END
f_150625_
private static final int
t
SELLSLOT1_X
field_30837
f_qxndehvx
INPUT_1_X
FIRST_SELL_SLOT_X
f_150626_
private static final int
u
SELLSLOT2_X
field_30838
f_wcurlomp
INPUT_2_X
SECOND_SELL_SLOT_X
f_150627_
private static final int
v
BUYSLOT_X
field_30839
f_ptrqfxul
OUTPUT_X
BUY_SLOT_X
f_150628_
private static final int
w
ROW_Y
field_30840
f_menjtexn
SLOT_Y
ROW_Y
f_150629_
private final Merchant
x
trader
field_7863
f_jnhwcdhl
merchant
merchant
f_40027_
private final MerchantContainer
y
tradeContainer
field_7861
f_aobzwgrd
merchantInventory
merchantInventory
f_40028_
private int
z
merchantLevel
field_18669
f_etjexbbc
levelProgress
levelProgress
f_40029_
private boolean
A
showProgressBar
field_18670
f_gsoxvatf
leveled
leveled
f_40030_
private boolean
B
canRestock
field_19358
f_ebbibeaj
canRefreshTrades
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)
setLeveled(boolean leveled)
setCanLevel(boolean canLevel)
m_40048_(boolean arg0)
public void
a(btb arg0)
slotsChanged(Container arg0)
method_7609(class_1263 arg0)
m_heazfhiy(C_pjtstjoq arg0)
onContentChanged(Inventory arg0)
onContentChanged(Inventory arg0)
m_6199_(C_464_ arg0)
public void
e(int arg0)
setSelectionHint(int arg0)
method_7650(int arg0)
m_oyposidu(int arg0)
setRecipeIndex(int index)
setRecipeIndex(int index)
m_40063_(int arg0)
public boolean
b(cpw arg0)
stillValid(Player arg0)
method_7597(class_1657 arg0)
m_zipsjvkj(C_jzrpycqo arg0)
canUse(PlayerEntity arg0)
canUse(PlayerEntity arg0)
m_6875_(C_1141_ arg0)
public int
l()
getTraderXp()
method_19254()
m_gudsyarn()
getExperience()
getExperience()
m_40065_()
public int
m()
getFutureTraderXp()
method_19256()
m_wcbdstck()
getMerchantRewardedExperience()
getMerchantRewardedExperience()
m_40068_()
public void
f(int arg0)
setXp(int arg0)
method_19255(int arg0)
m_vorzwyvy(int arg0)
setExperienceFromServer(int experience)
setExperienceFromServer(int experience)
m_40066_(int arg0)
public int
n()
getTraderLevel()
method_19258()
m_xalgdnrn()
getLevelProgress()
getLevelProgress()
m_40071_()
public void
g(int arg0)
setMerchantLevel(int arg0)
method_19257(int arg0)
m_lfjoevnq(int arg0)
setLevelProgress(int levelProgress)
setLevelProgress(int progress)
m_40069_(int arg0)
public void
b(boolean arg0)
setCanRestock(boolean arg0)
method_20700(boolean arg0)
m_yrihjdri(boolean arg0)
setCanRefreshTrades(boolean canRefreshTrades)
setRefreshTrades(boolean refreshable)
m_40058_(boolean arg0)
public boolean
o()
canRestock()
method_20701()
m_qsdrntgk()
canRefreshTrades()
canRefreshTrades()
m_40074_()
public boolean
a(cxo arg0, cuy 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)
canInsertIntoSlot(ItemStack arg0, Slot arg1)
m_5882_(C_1391_ p_40045_, C_1305_ arg1)
public ItemStack
b(cpw arg0, int arg1)
quickMoveStack(Player arg0, int arg1)
method_7601(class_1657 arg0, int arg1)
m_oujzgmbb(C_jzrpycqo arg0, int arg1)
quickMove(PlayerEntity arg0, int arg1)
quickTransfer(PlayerEntity arg0, int arg1)
m_7648_(C_1141_ p_40054_, int arg1)
private void
r()
playTradeSound()
method_20595()
m_nilotydi()
playYesSound()
playYesSound()
m_40077_()
public void
a(cpw arg0)
removed(Player arg0)
method_7595(class_1657 arg0)
m_bftcwuek(C_jzrpycqo arg0)
onClosed(PlayerEntity arg0)
close(PlayerEntity arg0)
m_6877_(C_1141_ arg0)
public void
h(int arg0)
tryMoveItems(int arg0)
method_20215(int arg0)
m_zoodtjwl(int arg0)
switchTo(int recipeIndex)
switchTo(int recipeIndex)
m_40072_(int arg0)
private void
a(int arg0, dgc arg1)
moveFromInventoryToPaymentSlot(int arg0, ItemCost arg1)
method_20214(int arg0, class_9306 arg1)
m_qpqngokq(int arg0, C_gqfxurno arg1)
autofill(int slot, TradedItem stack)
autofill(int slot, TradeableItem arg1)
m_40060_(int p_332037_, C_313525_ arg1)
public void
a(dgf arg0)
setOffers(MerchantOffers arg0)
method_17437(class_1916 arg0)
m_yiymzpmk(C_eygsjfgm arg0)
setOffers(TradeOfferList offers)
setOffers(TradeOfferList offers)
m_40046_(C_1552_ arg0)
public MerchantOffers
p()
getOffers()
method_17438()
m_mdfszkhz()
getRecipes()
getRecipes()
m_40075_()
public boolean
q()
showProgressBar()
method_19259()
m_awvkyxpu()
isLeveled()
isLeveled()
m_40076_()