net.minecraft.world

public interface Container

extends Clearable

bac
net.minecraft.world.Container
net.minecraft.class_1263
net.minecraft.inventory.Inventory
net.minecraft.src.C_464_
net.minecraft.world.IInventory

Field summary

Modifier and TypeField
int
j_
LARGE_MAX_STACK_SIZE
field_29952
MAX_COUNT_PER_STACK
f_146642_

Method summary

Modifier and TypeMethod
int
b()
getContainerSize()
method_5439()
size()
m_6643_()
boolean
c()
isEmpty()
method_5442()
isEmpty()
m_7983_()
ItemStack
a(int arg0)
getItem(int arg0)
method_5438(int arg0)
getStack(int slot)
m_8020_(int arg0)
ItemStack
a(int arg0, int arg1)
removeItem(int arg0, int arg1)
method_5434(int arg0, int arg1)
removeStack(int slot, int amount)
m_7407_(int p_18943_, int arg1)
ItemStack
b(int arg0)
removeItemNoUpdate(int arg0)
method_5441(int arg0)
removeStack(int slot)
m_8016_(int arg0)
void
a(int arg0, cax arg1)
setItem(int arg0, ItemStack arg1)
method_5447(int arg0, class_1799 arg1)
setStack(int slot, ItemStack stack)
m_6836_(int p_18945_, C_1391_ arg1)
default int
O_()
getMaxStackSize()
method_5444()
getMaxCountPerStack()
m_6893_()
void
e()
setChanged()
method_5431()
markDirty()
m_6596_()
boolean
a(buc arg0)
stillValid(Player arg0)
method_5443(class_1657 arg0)
canPlayerUse(PlayerEntity player)
m_6542_(C_1141_ arg0)
default void
d_(buc arg0)
startOpen(Player arg0)
method_5435(class_1657 arg0)
onOpen(PlayerEntity player)
m_5856_(C_1141_ arg0)
default void
c_(buc arg0)
stopOpen(Player arg0)
method_5432(class_1657 arg0)
onClose(PlayerEntity player)
m_5785_(C_1141_ arg0)
default boolean
b(int arg0, cax arg1)
canPlaceItem(int arg0, ItemStack arg1)
method_5437(int arg0, class_1799 arg1)
isValid(int slot, ItemStack stack)
m_7013_(int p_18953_, C_1391_ arg1)
default int
a_(cat arg0)
countItem(Item arg0)
method_18861(class_1792 arg0)
count(Item item)
m_18947_(C_1381_ arg0)
default boolean
a(Set<cat> arg0)
hasAnyOf(Set<Item> arg0)
method_18862(Set<class_1792> arg0)
containsAny(Set<Item> items)
m_18949_(Set<C_1381_> arg0)
default boolean
a_(Predicate<cax> arg0)
hasAnyMatching(Predicate<ItemStack> arg0)
method_43256(Predicate<class_1799> arg0)
containsAny(Predicate<ItemStack> predicate)
m_216874_(Predicate<C_1391_> arg0)