net.minecraft.world.inventory

public class MerchantContainer

implements Container

ctn
net.minecraft.world.inventory.MerchantContainer
net.minecraft.class_1725
net.minecraft.village.MerchantInventory
net.minecraft.world.inventory.InventoryMerchant

Field summary

Modifier and TypeField
private final Merchant
b
merchant
field_7844
merchant
private final NonNullList<ItemStack>
c
itemStacks
field_7845
inventory
private MerchantOffer
d
activeOffer
field_7843
tradeOffer
private int
e
selectionHint
field_7842
offerIndex
private int
f
futureXp
field_18668
merchantRewardedExperience

Constructor summary

ModifierConstructor
public (Merchant merchant)

Method summary

Modifier and TypeMethod
public int
b()
getContainerSize()
method_5439()
size()
public boolean
c()
isEmpty()
method_5442()
isEmpty()
public ItemStack
a(int arg0)
getItem(int arg0)
method_5438(int arg0)
getStack(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)
private boolean
d(int arg0)
isPaymentSlot(int arg0)
method_7644(int arg0)
needsOfferUpdate(int slot)
public ItemStack
b(int arg0)
removeItemNoUpdate(int arg0)
method_5441(int arg0)
removeStack(int arg0)
public void
a(int arg0, cwq arg1)
setItem(int arg0, ItemStack arg1)
method_5447(int arg0, class_1799 arg1)
setStack(int arg0, ItemStack arg1)
public boolean
a(coy arg0)
stillValid(Player arg0)
method_5443(class_1657 arg0)
canPlayerUse(PlayerEntity arg0)
public void
e()
setChanged()
method_5431()
markDirty()
public void
f()
updateSellItem()
method_7645()
updateOffers()
public MerchantOffer
g()
getActiveOffer()
method_7642()
getTradeOffer()
public void
c(int arg0)
setSelectionHint(int arg0)
method_7643(int arg0)
setOfferIndex(int index)
public void
a()
clearContent()
method_5448()
clear()
public int
h()
getFutureXp()
method_19252()
getMerchantRewardedExperience()