net.minecraft.world

public class SimpleContainer

implements Container, StackedContentsCompatible

ajq
net.minecraft.world.SimpleContainer
net.minecraft.class_1277
net.minecraft.unmapped.C_rsloiwzx
net.minecraft.inventory.BasicInventory
net.minecraft.inventory.Inventory
net.minecraft.server.v1_15_R1.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
stackList
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(ajg arg0)
addListener(ContainerListener arg0)
method_5489(class_1265 arg0)
m_tyntogsy(C_uaqlxobv arg0)
addListener(InventoryListener arg0)
func_110134_a(IInventoryChangedListener arg0)
public void
b(ajg arg0)
removeListener(ContainerListener arg0)
method_5488(class_1265 arg0)
m_hdajgqnv(C_uaqlxobv arg0)
removeListener(InventoryListener arg0)
func_110132_b(IInventoryChangedListener arg0)
public ItemStack
a(int arg0)
getItem(int arg0)
method_5438(int arg0)
m_jzosiplc(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)
m_jqhmcoxx(int arg0, int arg1)
takeInvStack(int arg0, int arg1)
func_70298_a(int arg0, int arg1)
splitStack(int arg0, int arg1)
public ItemStack
a(bei arg0, int arg1)
removeItemType(Item arg0, int arg1)
method_20631(class_1792 arg0, int arg1)
m_mpozekoo(C_vorddnax arg0, int arg1)
poll(Item item, int count)
func_223374_a(Item arg0, int arg1)
public ItemStack
a(ben arg0)
addItem(ItemStack arg0)
method_5491(class_1799 arg0)
m_xfunpqty(C_sddaxwyk arg0)
add(ItemStack arg0)
func_174894_a(ItemStack arg0)
public ItemStack
b(int arg0)
removeItemNoUpdate(int arg0)
method_5441(int arg0)
m_ujfmycis(int arg0)
removeInvStack(int arg0)
func_70304_b(int arg0)
splitWithoutUpdate(int arg0)
public void
a(int arg0, ben arg1)
setItem(int arg0, ItemStack arg1)
method_5447(int arg0, class_1799 arg1)
m_akaynoad(int arg0, C_sddaxwyk arg1)
setInvStack(int arg0, ItemStack arg1)
func_70299_a(int arg0, ItemStack arg1)
setItem(int arg0, ItemStack arg1)
public int
O_()
getContainerSize()
method_5439()
m_dmbfvefd()
getInvSize()
func_70302_i_()
getSize()
public boolean
c()
isEmpty()
method_5442()
m_ohnjwggm()
isInvEmpty()
func_191420_l()
isEmpty()
public void
e()
setChanged()
method_5431()
m_otuwtdni()
markDirty()
func_70296_d()
update()
public boolean
a(ayj arg0)
stillValid(Player arg0)
method_5443(class_1657 arg0)
m_noresdqq(C_jzrpycqo arg0)
canPlayerUseInv(PlayerEntity arg0)
func_70300_a(PlayerEntity arg0)
public void
N_()
clearContent()
method_5448()
m_rufrndtr()
clear()
func_174888_l()
clear()
public void
a(ayl arg0)
fillStackedContents(StackedContents arg0)
method_7683(class_1662 arg0)
m_mzbxszqu(C_nyagoaau arg0)
provideRecipeInputs(RecipeFinder arg0)
func_194018_a(RecipeItemHelper arg0)
private void
b(ben arg0)
moveItemToEmptySlots(ItemStack arg0)
method_20633(class_1799 arg0)
m_ozbredpu(C_sddaxwyk arg0)
addToNewSlot(ItemStack stack)
func_223375_b(ItemStack arg0)
private void
c(ben arg0)
moveItemToOccupiedSlotsWithSameType(ItemStack arg0)
method_20634(class_1799 arg0)
m_pdlbkpqj(C_sddaxwyk arg0)
addToExistingSlot(ItemStack stack)
func_223372_c(ItemStack arg0)
private void
a(ben arg0, ben 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)