net.minecraft.world.inventory

public class MerchantMenu

extends AbstractContainerMenu

bhm
net.minecraft.world.inventory.MerchantMenu
net.minecraft.class_1728
net.minecraft.screen.MerchantScreenHandler
net.minecraft.inventory.container.MerchantContainer
net.minecraft.server.v1_16_R1.ContainerMerchant

Field summary

Modifier and TypeField
private final Merchant
c
trader
field_7863
trader
field_75178_e
merchant
private final MerchantContainer
d
tradeContainer
field_7861
traderInventory
field_75176_f
inventoryMerchant
private int
e
merchantLevel
field_18669
levelProgress
field_217054_e
private boolean
f
showProgressBar
field_18670
leveled
field_217055_f
private boolean
g
canRestock
field_19358
canRefreshTrades
field_223433_g

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(amz arg0)
slotsChanged(Container arg0)
method_7609(class_1263 arg0)
onContentChanged(Inventory arg0)
func_75130_a(IInventory arg0)
public void
d(int arg0)
setSelectionHint(int arg0)
method_7650(int arg0)
setRecipeIndex(int index)
func_75175_c(int arg0)
public boolean
a(bec arg0)
stillValid(Player arg0)
method_7597(class_1657 arg0)
canUse(PlayerEntity arg0)
func_75145_c(PlayerEntity arg0)
canUse(EntityHuman arg0)
public boolean
a(bki arg0, bhw arg1)
canTakeItemForPickAll(ItemStack arg0, Slot arg1)
method_7613(class_1799 arg0, class_1735 arg1)
canInsertIntoSlot(ItemStack arg0, Slot arg1)
func_94530_a(ItemStack arg0, Slot arg1)
public ItemStack
b(bec arg0, int arg1)
quickMoveStack(Player arg0, int arg1)
method_7601(class_1657 arg0, int arg1)
transferSlot(PlayerEntity arg0, int arg1)
func_82846_b(PlayerEntity arg0, int arg1)
shiftClick(EntityHuman arg0, int arg1)
private void
k()
playTradeSound()
method_20595()
playYesSound()
func_223132_j()
public void
b(bec arg0)
removed(Player arg0)
method_7595(class_1657 arg0)
close(PlayerEntity arg0)
func_75134_a(PlayerEntity arg0)
public void
g(int arg0)
tryMoveItems(int arg0)
method_20215(int arg0)
switchTo(int recipeIndex)
func_217046_g(int arg0)
private void
c(int arg0, bki arg1)
moveFromInventoryToPaymentSlot(int arg0, ItemStack arg1)
method_20214(int arg0, class_1799 arg1)
autofill(int slot, ItemStack stack)
func_217053_c(int arg0, ItemStack arg1)
private boolean
b(bki arg0, bki arg1)
isSameItem(ItemStack arg0, ItemStack arg1)
method_20213(class_1799 arg0, class_1799 arg1)
equals(ItemStack itemStack, ItemStack otherItemStack)
func_217050_b(ItemStack arg0, ItemStack arg1)
public MerchantOffers
i()
getOffers()
method_17438()
getRecipes()
func_217051_h()
public void
a(boolean arg0)
setShowProgressBar(boolean arg0)
method_19253(boolean arg0)
setCanLevel(boolean canLevel)
func_217045_a(boolean arg0)
public int
e()
getTraderXp()
method_19254()
getExperience()
func_217048_e()
public int
f()
getFutureTraderXp()
method_19256()
getTraderRewardedExperience()
func_217047_f()
public void
e(int arg0)
setXp(int arg0)
method_19255(int arg0)
setExperienceFromServer(int experience)
func_217052_e(int arg0)
public int
g()
getTraderLevel()
method_19258()
getLevelProgress()
func_217049_g()
public void
f(int arg0)
setMerchantLevel(int arg0)
method_19257(int arg0)
setLevelProgress(int progress)
func_217043_f(int arg0)
public void
b(boolean arg0)
setCanRestock(boolean arg0)
method_20700(boolean arg0)
setRefreshTrades(boolean refreshable)
func_223431_b(boolean arg0)
public boolean
h()
canRestock()
method_20701()
canRefreshTrades()
func_223432_h()
public void
a(bpa arg0)
setOffers(MerchantOffers arg0)
method_17437(class_1916 arg0)
setOffers(TraderOfferList offers)
func_217044_a(MerchantOffers arg0)
public boolean
j()
showProgressBar()
method_19259()
isLeveled()
func_217042_i()