net.minecraft.world.inventory

public class MerchantContainer

implements Container

bjc
net.minecraft.world.inventory.MerchantContainer
net.minecraft.class_1725
net.minecraft.village.MerchantInventory
net.minecraft.inventory.MerchantInventory
net.minecraft.server.v1_16_R2.InventoryMerchant

Field summary

Modifier and TypeField
private final Merchant
a
merchant
field_7844
merchant
field_70476_a
merchant
private final NonNullList<ItemStack>
b
itemStacks
field_7845
inventory
field_70474_b
itemsInSlots
private MerchantOffer
c
activeOffer
field_7843
tradeOffer
field_214026_c
recipe
private int
d
selectionHint
field_7842
recipeIndex
field_70473_e
selectedIndex
private int
e
futureXp
field_18668
merchantRewardedExperience
field_214027_e

Constructor summary

ModifierConstructor
public (Merchant arg0)

Method summary

Modifier and TypeMethod
public int
Z_()
getContainerSize()
method_5439()
size()
func_70302_i_()
getSize()
public boolean
c()
isEmpty()
method_5442()
isEmpty()
func_191420_l()
isEmpty()
public ItemStack
a(int arg0)
getItem(int arg0)
method_5438(int arg0)
getStack(int arg0)
func_70301_a(int arg0)
getItem(int arg0)
public ItemStack
a(int arg0, int arg1)
removeItem(int arg0, int arg1)
method_5434(int arg0, int arg1)
removeStack(int arg0, int arg1)
func_70298_a(int arg0, int arg1)
splitStack(int arg0, int arg1)
private boolean
d(int arg0)
isPaymentSlot(int arg0)
method_7644(int arg0)
needRecipeUpdate(int slot)
func_70469_d(int arg0)
public ItemStack
b(int arg0)
removeItemNoUpdate(int arg0)
method_5441(int arg0)
removeStack(int arg0)
func_70304_b(int arg0)
splitWithoutUpdate(int arg0)
public void
a(int arg0, bly arg1)
setItem(int arg0, ItemStack arg1)
method_5447(int arg0, class_1799 arg1)
setStack(int arg0, ItemStack arg1)
func_70299_a(int arg0, ItemStack arg1)
setItem(int arg0, ItemStack arg1)
public boolean
a(bft arg0)
stillValid(Player arg0)
method_5443(class_1657 arg0)
canPlayerUse(PlayerEntity arg0)
func_70300_a(PlayerEntity arg0)
public void
X_()
setChanged()
method_5431()
markDirty()
func_70296_d()
update()
public void
f()
updateSellItem()
method_7645()
updateRecipes()
func_70470_g()
public MerchantOffer
g()
getActiveOffer()
method_7642()
getTradeOffer()
func_214025_g()
getRecipe()
public void
c(int arg0)
setSelectionHint(int arg0)
method_7643(int arg0)
setRecipeIndex(int index)
func_70471_c(int arg0)
public void
Y_()
clearContent()
method_5448()
clear()
func_174888_l()
clear()
public int
h()
getFutureXp()
method_19252()
getMerchantRewardedExperience()
func_214024_h()