net.minecraft.world.inventory

public class MerchantContainer

implements Container

cre
net.minecraft.world.inventory.MerchantContainer
net.minecraft.class_1725
net.minecraft.unmapped.C_lpszjqph
net.minecraft.village.MerchantInventory
net.minecraft.village.MerchantInventory
net.minecraft.src.C_1293_
net.minecraft.world.inventory.InventoryMerchant

Field summary

Modifier and TypeField
private final Merchant
b
merchant
field_7844
f_mwjzwoua
merchant
merchant
f_39997_
private final NonNullList<ItemStack>
c
itemStacks
field_7845
f_azisvhdj
inventory
inventory
f_39998_
private MerchantOffer
d
activeOffer
field_7843
f_bzbxtmtv
tradeOffer
tradeOffer
f_39999_
private int
e
selectionHint
field_7842
f_yjwjwsao
offerIndex
offerIndex
f_40000_
private int
f
futureXp
field_18668
f_otfuhojo
merchantRewardedExperience
merchantRewardedExperience
f_40001_

Constructor summary

ModifierConstructor
public (Merchant merchant)

Method summary

Modifier and TypeMethod
public int
b()
getContainerSize()
method_5439()
m_dmbfvefd()
size()
size()
m_6643_()
public boolean
c()
isEmpty()
method_5442()
m_ohnjwggm()
isEmpty()
isEmpty()
m_7983_()
public ItemStack
a(int arg0)
getItem(int arg0)
method_5438(int arg0)
m_jzosiplc(int arg0)
getStack(int arg0)
getStack(int arg0)
m_8020_(int arg0)
public ItemStack
a(int arg0, int arg1)
removeItem(int arg0, int arg1)
method_5434(int arg0, int arg1)
m_jqhmcoxx(int arg0, int arg1)
removeStack(int arg0, int arg1)
removeStack(int arg0, int arg1)
m_7407_(int p_40011_, int arg1)
private boolean
d(int arg0)
isPaymentSlot(int arg0)
method_7644(int arg0)
m_zykwudri(int arg0)
needsOfferUpdate(int slot)
needsOfferUpdate(int slot)
m_40022_(int arg0)
public ItemStack
b(int arg0)
removeItemNoUpdate(int arg0)
method_5441(int arg0)
m_ujfmycis(int arg0)
removeStack(int arg0)
removeStack(int arg0)
m_8016_(int arg0)
public void
a(int arg0, cur arg1)
setItem(int arg0, ItemStack arg1)
method_5447(int arg0, class_1799 arg1)
m_akaynoad(int arg0, C_sddaxwyk arg1)
setStack(int arg0, ItemStack arg1)
setStack(int arg0, ItemStack arg1)
m_6836_(int p_40014_, C_1391_ arg1)
public boolean
a(cmz arg0)
stillValid(Player arg0)
method_5443(class_1657 arg0)
m_noresdqq(C_jzrpycqo arg0)
canPlayerUse(PlayerEntity arg0)
canPlayerUse(PlayerEntity arg0)
m_6542_(C_1141_ arg0)
public void
e()
setChanged()
method_5431()
m_phlhitmt()
markDirty()
markDirty()
m_6596_()
public void
f()
updateSellItem()
method_7645()
m_tmdjpfkq()
updateOffers()
updateOffers()
m_40024_()
public MerchantOffer
g()
getActiveOffer()
method_7642()
m_gwgzlmmr()
getTradeOffer()
getTradeOffer()
m_40025_()
public void
c(int arg0)
setSelectionHint(int arg0)
method_7643(int arg0)
m_gaolkcfw(int arg0)
setOfferIndex(int index)
setOfferIndex(int index)
m_40020_(int arg0)
public void
a()
clearContent()
method_5448()
m_rufrndtr()
clear()
clear()
m_6211_()
public int
h()
getFutureXp()
method_19252()
m_kdqsovwl()
getMerchantRewardedExperience()
getMerchantRewardedExperience()
m_40026_()