Uses of Interface
net.minecraft.world.entity.SlotAccess
Packages that use SlotAccess
Package
Description
-
Uses of SlotAccess in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as SlotAccessModifier and TypeFieldDescriptionstatic final SlotAccessSlotAccess.NULLprivate final SlotAccessDisplay.ItemDisplay.slotMethods in net.minecraft.world.entity that return SlotAccessModifier and TypeMethodDescriptionprivate static SlotAccessLivingEntity.createEquipmentSlotAccess(LivingEntity entity, EquipmentSlot slot) static SlotAccessSlotAccess.forContainer(Container inventory, int slot) static SlotAccessSlotAccess.forContainer(Container inventory, int slot, Predicate<ItemStack> stackFilter) static SlotAccessSlotAccess.forEquipmentSlot(LivingEntity entity, EquipmentSlot slot) static SlotAccessSlotAccess.forEquipmentSlot(LivingEntity entity, EquipmentSlot slot, Predicate<ItemStack> stackFilter) Display.ItemDisplay.getSlot(int slot) Entity.getSlot(int slot) LivingEntity.getSlot(int slot) static SlotAccess -
Uses of SlotAccess in net.minecraft.world.entity.animal.horse
Methods in net.minecraft.world.entity.animal.horse that return SlotAccess -
Uses of SlotAccess in net.minecraft.world.entity.decoration
Methods in net.minecraft.world.entity.decoration that return SlotAccess -
Uses of SlotAccess in net.minecraft.world.entity.item
Methods in net.minecraft.world.entity.item that return SlotAccess -
Uses of SlotAccess in net.minecraft.world.entity.monster
Methods in net.minecraft.world.entity.monster that return SlotAccess -
Uses of SlotAccess in net.minecraft.world.entity.npc
Methods in net.minecraft.world.entity.npc that return SlotAccess -
Uses of SlotAccess in net.minecraft.world.entity.player
Methods in net.minecraft.world.entity.player that return SlotAccess -
Uses of SlotAccess in net.minecraft.world.entity.projectile
Methods in net.minecraft.world.entity.projectile that return SlotAccess -
Uses of SlotAccess in net.minecraft.world.entity.vehicle
Methods in net.minecraft.world.entity.vehicle that return SlotAccessModifier and TypeMethodDescriptiondefault SlotAccessContainerEntity.getChestVehicleSlot(int index) AbstractMinecartContainer.getSlot(int slot) ChestBoat.getSlot(int slot) -
Uses of SlotAccess in net.minecraft.world.inventory
Methods in net.minecraft.world.inventory that return SlotAccessModifier and TypeMethodDescriptionprivate SlotAccessAbstractContainerMenu.createCarriedSlotAccess() -
Uses of SlotAccess in net.minecraft.world.item
Methods in net.minecraft.world.item with parameters of type SlotAccessModifier and TypeMethodDescriptionbooleanBundleItem.overrideOtherStackedOnMe(ItemStack stack, ItemStack other, Slot slot, ClickAction action, Player player, SlotAccess access) booleanItem.overrideOtherStackedOnMe(ItemStack stack, ItemStack other, Slot slot, ClickAction action, Player player, SlotAccess access) booleanItemStack.overrideOtherStackedOnMe(ItemStack stack, Slot slot, ClickAction action, Player player, SlotAccess access) -
Uses of SlotAccess in net.neoforged.neoforge.common
Methods in net.neoforged.neoforge.common with parameters of type SlotAccessModifier and TypeMethodDescriptionstatic booleanCommonHooks.onItemStackedOn(ItemStack carriedItem, ItemStack stackedOnItem, Slot slot, ClickAction action, Player player, SlotAccess carriedSlotAccess) Fires theItemStackedOnOtherEvent, allowing items to handle custom behavior relating to being stacked together (i.e. -
Uses of SlotAccess in net.neoforged.neoforge.event
Fields in net.neoforged.neoforge.event declared as SlotAccessModifier and TypeFieldDescriptionprivate final SlotAccessItemStackedOnOtherEvent.carriedSlotAccessMethods in net.neoforged.neoforge.event that return SlotAccessModifier and TypeMethodDescriptionItemStackedOnOtherEvent.getCarriedSlotAccess()Returns a fake slot allowing the listener to see and change what item is being carried.Constructors in net.neoforged.neoforge.event with parameters of type SlotAccessModifierConstructorDescriptionItemStackedOnOtherEvent(ItemStack carriedItem, ItemStack stackedOnItem, Slot slot, ClickAction action, Player player, SlotAccess carriedSlotAccess)