net.minecraft.world.village.trade

public class TraderInventory

implements Inventory

aas
net.minecraft.class_1020
net.minecraft.world.village.trade.TraderInventory
net.minecraft.inventory.InventoryMerchant

Field summary

Modifier and TypeField
private final Trader
a
field_4133
trader
theMerchant
private ItemStack[]
b
field_4134
items
theInventory
private final PlayerEntity
c
field_4135
player
thePlayer
private TradeOffer
d
field_4136
offer
currentRecipe
private int
e
field_4137
offerIndex
currentRecipeIndex

Constructor summary

ModifierConstructor
public (PlayerEntity player, Trader trader)

Method summary

Modifier and TypeMethod
public int
a()
method_2388()
getSize()
getSizeInventory()
public ItemStack
a(int arg0)
method_2381(int arg0)
getItem(int arg0)
getStackInSlot(int arg0)
public ItemStack
a(int arg0, int arg1)
method_2382(int arg0, int arg1)
removeItem(int arg0, int arg1)
decrStackSize(int arg0, int arg1)
private boolean
d(int arg0)
method_3282(int arg0)
isInputSlot(int slot)
inventoryResetNeededOnSlotChange(int arg0)
public ItemStack
a_(int arg0)
method_2386(int arg0)
removeItemQuietly(int arg0)
getStackInSlotOnClosing(int arg0)
public void
a(int arg0, add arg1)
method_2383(int arg0, class_1071 arg1)
setItem(int arg0, ItemStack arg1)
setInventorySlotContents(int arg0, ItemStack arg1)
public String
b()
method_2385()
getInventoryName()
getInventoryName()
public boolean
k_()
method_5339()
hasCustomName()
isCustomInventoryName()
public int
d()
method_2389()
getMaxStackSize()
getInventoryStackLimit()
public boolean
a(yz arg0)
method_2384(class_988 arg0)
isValid(PlayerEntity arg0)
isUseableByPlayer(EntityPlayer arg0)
public void
f()
method_2390()
onOpen()
openChest()
public void
l_()
method_2387()
onClose()
closeChest()
public boolean
b(int arg0, add arg1)
method_5338(int arg0, class_1071 arg1)
isItemAllowed(int arg0, ItemStack arg1)
isItemValidForSlot(int arg0, ItemStack arg1)
public void
e()
method_543()
markDirty()
markDirty()
public void
h()
method_3283()
updateOffer()
resetRecipeAndSlots()
public TradeOffer
i()
method_3284()
getOffer()
getCurrentRecipe()
public void
c(int arg0)
method_3281(int arg0)
setOffer(int index)
setCurrentRecipeIndex(int arg0)