net.minecraft.world

public class SimpleContainer

implements Container, StackedContentsCompatible

aho
net.minecraft.world.SimpleContainer
net.minecraft.class_1277
net.minecraft.inventory.BasicInventory
net.minecraft.inventory.Inventory
net.minecraft.server.v1_14_R1.InventorySubcontainer

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(ahe arg0)
addListener(ContainerListener arg0)
method_5489(class_1265 arg0)
addListener(InventoryListener arg0)
func_110134_a(IInventoryChangedListener arg0)
public void
b(ahe arg0)
removeListener(ContainerListener arg0)
method_5488(class_1265 arg0)
removeListener(InventoryListener arg0)
func_110132_b(IInventoryChangedListener arg0)
public ItemStack
a(int arg0)
getItem(int arg0)
method_5438(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)
takeInvStack(int arg0, int arg1)
func_70298_a(int arg0, int arg1)
splitStack(int arg0, int arg1)
public ItemStack
a(bce arg0, int arg1)
removeItemType(Item arg0, int arg1)
method_20631(class_1792 arg0, int arg1)
poll(Item item, int count)
func_223374_a(Item arg0, int arg1)
public ItemStack
a(bcj arg0)
addItem(ItemStack arg0)
method_5491(class_1799 arg0)
add(ItemStack arg0)
func_174894_a(ItemStack arg0)
public ItemStack
b(int arg0)
removeItemNoUpdate(int arg0)
method_5441(int arg0)
removeInvStack(int arg0)
func_70304_b(int arg0)
splitWithoutUpdate(int arg0)
public void
a(int arg0, bcj arg1)
setItem(int arg0, ItemStack arg1)
method_5447(int arg0, class_1799 arg1)
setInvStack(int arg0, ItemStack arg1)
func_70299_a(int arg0, ItemStack arg1)
setItem(int arg0, ItemStack arg1)
public int
M_()
getContainerSize()
method_5439()
getInvSize()
func_70302_i_()
getSize()
public boolean
c()
isEmpty()
method_5442()
isInvEmpty()
func_191420_l()
isNotEmpty()
public void
e()
setChanged()
method_5431()
markDirty()
func_70296_d()
update()
public boolean
a(awg arg0)
stillValid(Player arg0)
method_5443(class_1657 arg0)
canPlayerUseInv(PlayerEntity arg0)
func_70300_a(PlayerEntity arg0)
public void
L_()
clearContent()
method_5448()
clear()
func_174888_l()
clear()
public void
a(awi arg0)
fillStackedContents(StackedContents arg0)
method_7683(class_1662 arg0)
provideRecipeInputs(RecipeFinder arg0)
func_194018_a(RecipeItemHelper arg0)
private void
b(bcj arg0)
moveItemToEmptySlots(ItemStack arg0)
method_20633(class_1799 arg0)
func_223375_b(ItemStack arg0)
private void
c(bcj arg0)
moveItemToOccupiedSlotsWithSameType(ItemStack arg0)
method_20634(class_1799 arg0)
func_223372_c(ItemStack arg0)
private void
a(bcj arg0, bcj arg1)
moveItemsBetweenStacks(ItemStack arg0, ItemStack arg1)
method_20632(class_1799 arg0, class_1799 arg1)
func_223373_a(ItemStack arg0, ItemStack arg1)