net.minecraft.world

public interface Container

extends Clearable

bse
net.minecraft.world.Container
net.minecraft.class_1263
net.minecraft.unmapped.C_pjtstjoq
net.minecraft.inventory.Inventory
net.minecraft.inventory.Inventory
net.minecraft.src.C_464_
net.minecraft.world.IInventory

Field summary

Modifier and TypeField
float
r_
DEFAULT_DISTANCE_BUFFER
field_48319
f_vlssyyaw
DEFAULT_MAX_INTERACTION_RANGE
DEFAULT_MAX_INTERACTION_RANGE
f_315896_

Method summary

Modifier and TypeMethod
int
b()
getContainerSize()
method_5439()
m_dmbfvefd()
size()
size()
m_6643_()
boolean
c()
isEmpty()
method_5442()
m_ohnjwggm()
isEmpty()
isEmpty()
m_7983_()
ItemStack
a(int arg0)
getItem(int arg0)
method_5438(int arg0)
m_jzosiplc(int arg0)
getStack(int slot)
getStack(int arg0)
m_8020_(int arg0)
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 slot, int amount)
removeStack(int arg0, int arg1)
m_7407_(int p_18943_, int arg1)
ItemStack
b(int arg0)
removeItemNoUpdate(int arg0)
method_5441(int arg0)
m_ujfmycis(int arg0)
removeStack(int slot)
removeStack(int arg0)
m_8016_(int arg0)
void
a(int arg0, cwq arg1)
setItem(int arg0, ItemStack arg1)
method_5447(int arg0, class_1799 arg1)
m_akaynoad(int arg0, C_sddaxwyk arg1)
setStack(int slot, ItemStack stack)
setStack(int arg0, ItemStack stack)
m_6836_(int p_18945_, C_1391_ arg1)
default int
an_()
getMaxStackSize()
method_5444()
m_mwetohsb()
getMaxCountPerStack()
getMaxCountPerStack()
m_6893_()
default int
e_(cwq arg0)
getMaxStackSize(ItemStack arg0)
method_58350(class_1799 arg0)
m_kvljutzx(C_sddaxwyk arg0)
getMaxCount(ItemStack stack)
getMaxCount(ItemStack stack)
m_322387_(C_1391_ arg0)
void
e()
setChanged()
method_5431()
m_phlhitmt()
markDirty()
markDirty()
m_6596_()
boolean
a(coy arg0)
stillValid(Player arg0)
method_5443(class_1657 arg0)
m_noresdqq(C_jzrpycqo arg0)
canPlayerUse(PlayerEntity player)
canPlayerUse(PlayerEntity player)
m_6542_(C_1141_ arg0)
default void
c_(coy arg0)
startOpen(Player arg0)
method_5435(class_1657 arg0)
m_uhfxptkc(C_jzrpycqo arg0)
onOpen(PlayerEntity player)
onOpen(PlayerEntity player)
m_5856_(C_1141_ arg0)
default void
c(coy arg0)
stopOpen(Player arg0)
method_5432(class_1657 arg0)
m_eedjwnvs(C_jzrpycqo arg0)
onClose(PlayerEntity player)
onClose(PlayerEntity player)
m_5785_(C_1141_ arg0)
default boolean
b(int arg0, cwq arg1)
canPlaceItem(int arg0, ItemStack arg1)
method_5437(int arg0, class_1799 arg1)
m_umfxwlmm(int arg0, C_sddaxwyk arg1)
isValid(int slot, ItemStack stack)
isValid(int slot, ItemStack stack)
m_7013_(int p_18953_, C_1391_ arg1)
default boolean
a(bse arg0, int arg1, cwq arg2)
canTakeItem(Container arg0, int arg1, ItemStack arg2)
method_49104(class_1263 arg0, int arg1, class_1799 arg2)
m_ofgoacbo(C_pjtstjoq arg0, int arg1, C_sddaxwyk arg2)
canTransferTo(Inventory hopperInventory, int slot, ItemStack stack)
canTransferTo(Inventory hopperInventory, int slot, ItemStack stack)
m_271862_(C_464_ p_272681_, int p_273702_, C_1391_ arg2)
default int
a_(cwm arg0)
countItem(Item arg0)
method_18861(class_1792 arg0)
m_ptuvtdms(C_vorddnax arg0)
count(Item item)
count(Item item)
m_18947_(C_1381_ arg0)
default boolean
a(Set<cwm> arg0)
hasAnyOf(Set<Item> arg0)
method_18862(Set<class_1792> arg0)
m_dqmcaiag(Set<C_vorddnax> arg0)
containsAny(Set<Item> items)
containsAny(Set<Item> items)
m_18949_(Set<C_1381_> arg0)
default boolean
a_(Predicate<cwq> arg0)
hasAnyMatching(Predicate<ItemStack> arg0)
method_43256(Predicate<class_1799> arg0)
m_vlqyylgg(Predicate<C_sddaxwyk> arg0)
containsAny(Predicate<ItemStack> predicate)
anyMatch(Predicate<ItemStack> predicate)
m_216874_(Predicate<C_1391_> arg0)
static boolean
a(dua arg0, coy arg1)
stillValidBlockEntity(BlockEntity arg0, Player arg1)
method_49105(class_2586 arg0, class_1657 arg1)
m_zfgmlilu(C_kvegafmh arg0, C_jzrpycqo arg1)
canPlayerUse(BlockEntity blockEntity, PlayerEntity player)
canPlayerUse(BlockEntity blockEntity, PlayerEntity player)
m_272074_(C_1991_ p_273154_, C_1141_ p_273222_)
static boolean
a(dua arg0, coy arg1, float arg2)
stillValidBlockEntity(BlockEntity arg0, Player arg1, float arg2)
method_49106(class_2586 arg0, class_1657 arg1, float arg2)
m_crvopqlx(C_kvegafmh arg0, C_jzrpycqo arg1, float arg2)
canPlayerUse(BlockEntity blockEntity, PlayerEntity player, float range)
canPlayerUse(BlockEntity blockEntity, PlayerEntity player, float range)
m_271806_(C_1991_ p_272877_, C_1141_ p_272670_, float p_328395_)