net.minecraft.world

public class SimpleContainer

implements Container, StackedContentsCompatible

apa
net.minecraft.world.SimpleContainer
net.minecraft.class_1277
net.minecraft.unmapped.C_rsloiwzx
net.minecraft.inventory.SimpleInventory
net.minecraft.inventory.Inventory
net.minecraft.server.v1_16_R3.InventorySubcontainer

Field summary

Modifier and TypeField
private final int
a
size
field_5831
f_dbfuqwvk
size
field_70481_b
private final NonNullList<ItemStack>
b
items
field_5828
f_gcfumhpq
stacks
field_70482_c
items
private List<ContainerListener>
c
listeners
field_5829
f_qojmjxfl
listeners
field_70480_d

Constructor summary

ModifierConstructor
public (int size)
public (ItemStack... items)

Method summary

Modifier and TypeMethod
public void
a(aop arg0)
addListener(ContainerListener arg0)
method_5489(class_1265 arg0)
m_tyntogsy(C_uaqlxobv arg0)
addListener(InventoryChangedListener listener)
func_110134_a(IInventoryChangedListener arg0)
public void
b(aop arg0)
removeListener(ContainerListener arg0)
method_5488(class_1265 arg0)
m_hdajgqnv(C_uaqlxobv arg0)
removeListener(InventoryChangedListener listener)
func_110132_b(IInventoryChangedListener arg0)
public ItemStack
a(int arg0)
getItem(int arg0)
method_5438(int arg0)
m_jzosiplc(int arg0)
getStack(int arg0)
func_70301_a(int arg0)
getItem(int arg0)
public List<ItemStack>
f()
removeAllItems()
method_24514()
m_iqnieoui()
clearToList()
func_233543_f_()
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)
func_70298_a(int arg0, int arg1)
splitStack(int arg0, int arg1)
public ItemStack
a(blx arg0, int arg1)
removeItemType(Item arg0, int arg1)
method_20631(class_1792 arg0, int arg1)
m_mpozekoo(C_vorddnax arg0, int arg1)
removeItem(Item item, int count)
func_223374_a(Item arg0, int arg1)
public ItemStack
a(bmb arg0)
addItem(ItemStack arg0)
method_5491(class_1799 arg0)
m_xfunpqty(C_sddaxwyk arg0)
addStack(ItemStack stack)
func_174894_a(ItemStack arg0)
public boolean
b(bmb arg0)
canAddItem(ItemStack arg0)
method_27070(class_1799 arg0)
m_xhlbevft(C_sddaxwyk arg0)
canInsert(ItemStack stack)
func_233541_b_(ItemStack arg0)
public ItemStack
b(int arg0)
removeItemNoUpdate(int arg0)
method_5441(int arg0)
m_ujfmycis(int arg0)
removeStack(int arg0)
func_70304_b(int arg0)
splitWithoutUpdate(int arg0)
public void
a(int arg0, bmb 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)
func_70299_a(int arg0, ItemStack arg1)
setItem(int arg0, ItemStack arg1)
public int
Z_()
getContainerSize()
method_5439()
m_dmbfvefd()
size()
func_70302_i_()
getSize()
public boolean
c()
isEmpty()
method_5442()
m_ohnjwggm()
isEmpty()
func_191420_l()
isEmpty()
public void
X_()
setChanged()
method_5431()
m_otuwtdni()
markDirty()
func_70296_d()
update()
public boolean
a(bfw arg0)
stillValid(Player arg0)
method_5443(class_1657 arg0)
m_noresdqq(C_jzrpycqo arg0)
canPlayerUse(PlayerEntity arg0)
func_70300_a(PlayerEntity arg0)
public void
Y_()
clearContent()
method_5448()
m_rufrndtr()
clear()
func_174888_l()
clear()
public void
a(bfy arg0)
fillStackedContents(StackedContents arg0)
method_7683(class_1662 arg0)
m_mzbxszqu(C_nyagoaau arg0)
provideRecipeInputs(RecipeFinder arg0)
func_194018_a(RecipeItemHelper arg0)
private void
c(bmb arg0)
moveItemToEmptySlots(ItemStack arg0)
method_20633(class_1799 arg0)
m_ozbredpu(C_sddaxwyk arg0)
addToNewSlot(ItemStack stack)
func_223375_b(ItemStack arg0)
private void
d(bmb arg0)
moveItemToOccupiedSlotsWithSameType(ItemStack arg0)
method_20634(class_1799 arg0)
m_pdlbkpqj(C_sddaxwyk arg0)
addToExistingSlot(ItemStack stack)
func_223372_c(ItemStack arg0)
private boolean
a(bmb arg0, bmb arg1)
isSameItem(ItemStack arg0, ItemStack arg1)
method_24825(class_1799 arg0, class_1799 arg1)
m_cttcenfr(C_sddaxwyk arg0, C_sddaxwyk arg1)
canCombine(ItemStack one, ItemStack two)
func_233540_a_(ItemStack arg0, ItemStack arg1)
private void
b(bmb arg0, bmb arg1)
moveItemsBetweenStacks(ItemStack arg0, ItemStack arg1)
method_20632(class_1799 arg0, class_1799 arg1)
m_zjxklzal(C_sddaxwyk arg0, C_sddaxwyk arg1)
transfer(ItemStack source, ItemStack target)
func_223373_a(ItemStack arg0, ItemStack arg1)
public void
a(mj arg0)
fromTag(ListTag arg0)
method_7659(class_2499 arg0)
m_mrxizevu(C_hqhtfwlr arg0)
readTags(ListTag tags)
func_70486_a(ListNBT arg0)
public ListTag
g()
createTag()
method_7660()
m_hzsqwpzp()
getTags()
func_70487_g()