net.minecraft.world.inventory

public class MerchantContainer

implements Container

azm
net.minecraft.world.inventory.MerchantContainer
net.minecraft.class_1725
net.minecraft.village.TraderInventory
net.minecraft.inventory.MerchantInventory
net.minecraft.server.v1_14_R1.InventoryMerchant

Field summary

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

Constructor summary

ModifierConstructor
public (Merchant arg0)

Method summary

Modifier and TypeMethod
public int
M_()
getContainerSize()
method_5439()
getInvSize()
func_70302_i_()
getSize()
public boolean
c()
isEmpty()
method_5442()
isInvEmpty()
func_191420_l()
isNotEmpty()
public ItemStack
a(int arg0)
getItem(int arg0)
method_5438(int arg0)
getInvStack(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)
takeInvStack(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)
removeInvStack(int arg0)
func_70304_b(int arg0)
splitWithoutUpdate(int arg0)
public void
a(int arg0, bcj arg1)
setItem(int arg0, ItemStack arg1)
method_5447(int arg0, class_1799 arg1)
setInvStack(int arg0, ItemStack arg1)
func_70299_a(int arg0, ItemStack arg1)
setItem(int arg0, ItemStack arg1)
public boolean
a(awg arg0)
stillValid(Player arg0)
method_5443(class_1657 arg0)
canPlayerUseInv(PlayerEntity arg0)
func_70300_a(PlayerEntity arg0)
public void
e()
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
L_()
clearContent()
method_5448()
clear()
func_174888_l()
clear()
public int
h()
getFutureXp()
method_19252()
getTraderRewardedExperience()
func_214024_h()