Uses of Interface
net.minecraft.world.entity.SlotAccess
Package
Description
-
Uses of SlotAccess in net.minecraft.world.entity
Modifier and TypeFieldDescriptionstatic final SlotAccess
SlotAccess.NULL
private final SlotAccess
Display.ItemDisplay.slot
Modifier and TypeMethodDescriptionprivate static SlotAccess
LivingEntity.createEquipmentSlotAccess
(LivingEntity p_147196_, EquipmentSlot p_147197_) static SlotAccess
SlotAccess.forContainer
(Container p_147293_, int p_147294_) static SlotAccess
SlotAccess.forContainer
(Container p_147296_, int p_147297_, Predicate<ItemStack> p_147298_) static SlotAccess
SlotAccess.forEquipmentSlot
(LivingEntity p_147300_, EquipmentSlot p_147301_) static SlotAccess
SlotAccess.forEquipmentSlot
(LivingEntity p_147303_, EquipmentSlot p_147304_, Predicate<ItemStack> p_147305_) Display.ItemDisplay.getSlot
(int p_270599_) Entity.getSlot
(int p_146919_) LivingEntity.getSlot
(int p_147238_) -
Uses of SlotAccess in net.minecraft.world.entity.animal.horse
Modifier and TypeMethodDescriptionprivate SlotAccess
AbstractHorse.createEquipmentSlotAccess
(int p_149503_, Predicate<ItemStack> p_149504_) AbstractChestedHorse.getSlot
(int p_149479_) AbstractHorse.getSlot
(int p_149514_) -
Uses of SlotAccess in net.minecraft.world.entity.decoration
-
Uses of SlotAccess in net.minecraft.world.entity.monster
-
Uses of SlotAccess in net.minecraft.world.entity.npc
-
Uses of SlotAccess in net.minecraft.world.entity.player
-
Uses of SlotAccess in net.minecraft.world.entity.vehicle
Modifier and TypeMethodDescriptiondefault SlotAccess
ContainerEntity.getChestVehicleSlot
(int p_219952_) AbstractMinecartContainer.getSlot
(int p_150257_) ChestBoat.getSlot
(int p_219918_) -
Uses of SlotAccess in net.minecraft.world.inventory
Modifier and TypeMethodDescriptionprivate SlotAccess
AbstractContainerMenu.createCarriedSlotAccess()
-
Uses of SlotAccess in net.minecraft.world.item
Modifier and TypeMethodDescriptionboolean
BundleItem.overrideOtherStackedOnMe
(ItemStack p_150742_, ItemStack p_150743_, Slot p_150744_, ClickAction p_150745_, Player p_150746_, SlotAccess p_150747_) boolean
Item.overrideOtherStackedOnMe
(ItemStack p_150892_, ItemStack p_150893_, Slot p_150894_, ClickAction p_150895_, Player p_150896_, SlotAccess p_150897_) boolean
ItemStack.overrideOtherStackedOnMe
(ItemStack p_150933_, Slot p_150934_, ClickAction p_150935_, Player p_150936_, SlotAccess p_150937_) -
Uses of SlotAccess in net.minecraftforge.common
Modifier and TypeMethodDescriptionstatic boolean
ForgeHooks.onItemStackedOn
(ItemStack carriedItem, ItemStack stackedOnItem, Slot slot, ClickAction action, Player player, SlotAccess carriedSlotAccess) -
Uses of SlotAccess in net.minecraftforge.event
Modifier and TypeFieldDescriptionprivate final SlotAccess
ItemStackedOnOtherEvent.carriedSlotAccess
Modifier and TypeMethodDescriptionItemStackedOnOtherEvent.getCarriedSlotAccess()
Returns a fake slot allowing the listener to see and change what item is being carried.ModifierConstructorDescriptionItemStackedOnOtherEvent
(ItemStack carriedItem, ItemStack stackedOnItem, Slot slot, ClickAction action, Player player, SlotAccess carriedSlotAccess)