net.minecraft.world.entity

public interface SlotAccess

buj
net.minecraft.world.entity.SlotAccess
net.minecraft.class_5630
net.minecraft.inventory.StackReference
net.minecraft.src.C_141073_
net.minecraft.world.entity.SlotAccess

Field summary

Modifier and TypeField
SlotAccess
a
NULL
field_27860
EMPTY
f_147290_

Method summary

Modifier and TypeMethod
static SlotAccess
a(Supplier<cur> arg0, Consumer<cur> arg1)
of(Supplier<ItemStack> arg0, Consumer<ItemStack> arg1)
method_59666(Supplier<class_1799> arg0, Consumer<class_1799> arg1)
of(Supplier<ItemStack> getter, Consumer<ItemStack> setter)
m_320701_(Supplier<C_1391_> p_328960_, Consumer<C_1391_> p_334295_)
static SlotAccess
a(bqp arg0, int arg1, Predicate<cur> arg2)
forContainer(Container arg0, int arg1, Predicate<ItemStack> arg2)
method_32329(class_1263 arg0, int arg1, Predicate<class_1799> arg2)
of(Inventory inventory, int index, Predicate<ItemStack> stackFilter)
m_147295_(C_464_ p_147296_, int p_147297_, Predicate<C_1391_> p_147298_)
static SlotAccess
a(bqp arg0, int arg1)
forContainer(Container arg0, int arg1)
method_32328(class_1263 arg0, int arg1)
of(Inventory inventory, int index)
m_147292_(C_464_ p_147293_, int p_147294_)
static SlotAccess
a(btr arg0, btd arg1, Predicate<cur> arg2)
forEquipmentSlot(LivingEntity arg0, EquipmentSlot arg1, Predicate<ItemStack> arg2)
method_32331(class_1309 arg0, class_1304 arg1, Predicate<class_1799> arg2)
of(LivingEntity entity, EquipmentSlot slot, Predicate<ItemStack> filter)
m_147302_(C_524_ p_147303_, C_516_ p_147304_, Predicate<C_1391_> p_147305_)
static SlotAccess
a(btr arg0, btd arg1)
forEquipmentSlot(LivingEntity arg0, EquipmentSlot arg1)
method_32330(class_1309 arg0, class_1304 arg1)
of(LivingEntity entity, EquipmentSlot slot)
m_147299_(C_524_ p_147300_, C_516_ p_147301_)
ItemStack
a()
get()
method_32327()
get()
m_142196_()
boolean
a(cur arg0)
set(ItemStack arg0)
method_32332(class_1799 arg0)
set(ItemStack stack)
m_142104_(C_1391_ arg0)