net.minecraft.world

public interface Container

extends Clearable

aon
net.minecraft.world.Container
net.minecraft.class_1263
net.minecraft.inventory.Inventory
net.minecraft.inventory.IInventory
net.minecraft.server.v1_16_R3.IInventory

Method summary

Modifier and TypeMethod
int
Z_()
getContainerSize()
method_5439()
size()
func_70302_i_()
getSize()
boolean
c()
isEmpty()
method_5442()
isEmpty()
func_191420_l()
isEmpty()
ItemStack
a(int arg0)
getItem(int arg0)
method_5438(int arg0)
getStack(int slot)
func_70301_a(int arg0)
getItem(int arg0)
ItemStack
a(int arg0, int arg1)
removeItem(int arg0, int arg1)
method_5434(int arg0, int arg1)
removeStack(int slot, int amount)
func_70298_a(int arg0, int arg1)
splitStack(int arg0, int arg1)
ItemStack
b(int arg0)
removeItemNoUpdate(int arg0)
method_5441(int arg0)
removeStack(int slot)
func_70304_b(int arg0)
splitWithoutUpdate(int arg0)
void
a(int arg0, bmb arg1)
setItem(int arg0, ItemStack arg1)
method_5447(int arg0, class_1799 arg1)
setStack(int slot, ItemStack stack)
func_70299_a(int arg0, ItemStack arg1)
setItem(int arg0, ItemStack arg1)
default int
V_()
getMaxStackSize()
method_5444()
getMaxCountPerStack()
func_70297_j_()
getMaxStackSize()
void
X_()
setChanged()
method_5431()
markDirty()
func_70296_d()
update()
boolean
a(bfw arg0)
stillValid(Player arg0)
method_5443(class_1657 arg0)
canPlayerUse(PlayerEntity player)
func_70300_a(PlayerEntity arg0)
default void
c_(bfw arg0)
startOpen(Player arg0)
method_5435(class_1657 arg0)
onOpen(PlayerEntity player)
func_174889_b(PlayerEntity arg0)
startOpen(EntityHuman arg0)
default void
b_(bfw arg0)
stopOpen(Player arg0)
method_5432(class_1657 arg0)
onClose(PlayerEntity player)
func_174886_c(PlayerEntity arg0)
closeContainer(EntityHuman arg0)
default boolean
b(int arg0, bmb arg1)
canPlaceItem(int arg0, ItemStack arg1)
method_5437(int arg0, class_1799 arg1)
isValid(int slot, ItemStack stack)
func_94041_b(int arg0, ItemStack arg1)
default int
a(blx arg0)
countItem(Item arg0)
method_18861(class_1792 arg0)
count(Item item)
func_213901_a(Item arg0)
default boolean
a(Set<blx> arg0)
hasAnyOf(Set<Item> arg0)
method_18862(Set<class_1792> arg0)
containsAny(Set<Item> items)
func_213902_a(Set<Item> arg0)