Uses of Enum Class
net.minecraft.world.inventory.ClickAction
Packages that use ClickAction
Package
Description
-
Uses of ClickAction in net.minecraft.client.player
Methods in net.minecraft.client.player with parameters of type ClickActionModifier and TypeMethodDescriptionvoidLocalPlayer.updateTutorialInventoryAction(ItemStack itemCarried, ItemStack itemInSlot, ClickAction clickAction) -
Uses of ClickAction in net.minecraft.client.tutorial
Methods in net.minecraft.client.tutorial with parameters of type ClickActionModifier and TypeMethodDescriptionvoidTutorial.onInventoryAction(ItemStack itemCarried, ItemStack itemInSlot, ClickAction clickAction) -
Uses of ClickAction in net.minecraft.world.entity.player
Methods in net.minecraft.world.entity.player with parameters of type ClickActionModifier and TypeMethodDescriptionvoidPlayer.updateTutorialInventoryAction(ItemStack itemCarried, ItemStack itemInSlot, ClickAction clickAction) -
Uses of ClickAction in net.minecraft.world.inventory
Subclasses with type arguments of type ClickAction in net.minecraft.world.inventoryMethods in net.minecraft.world.inventory that return ClickActionModifier and TypeMethodDescriptionstatic ClickActionReturns the enum constant of this class with the specified name.static ClickAction[]ClickAction.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.world.inventory with parameters of type ClickActionModifier and TypeMethodDescriptionprivate booleanAbstractContainerMenu.tryItemClickBehaviourOverride(Player player, ClickAction clickAction, Slot slot, ItemStack clicked, ItemStack carried) -
Uses of ClickAction in net.minecraft.world.item
Methods in net.minecraft.world.item with parameters of type ClickActionModifier and TypeMethodDescriptionbooleanBundleItem.overrideOtherStackedOnMe(ItemStack self, ItemStack other, Slot slot, ClickAction clickAction, Player player, SlotAccess carriedItem) booleanItem.overrideOtherStackedOnMe(ItemStack self, ItemStack other, Slot slot, ClickAction clickAction, Player player, SlotAccess carriedItem) booleanItemStack.overrideOtherStackedOnMe(ItemStack other, Slot slot, ClickAction clickAction, Player player, SlotAccess carriedItem) booleanBundleItem.overrideStackedOnOther(ItemStack self, Slot slot, ClickAction clickAction, Player player) booleanItem.overrideStackedOnOther(ItemStack self, Slot slot, ClickAction clickAction, Player player) booleanItemStack.overrideStackedOnOther(Slot slot, ClickAction clickAction, Player player) -
Uses of ClickAction in net.neoforged.neoforge.common
Methods in net.neoforged.neoforge.common with parameters of type ClickActionModifier 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. how the bundle operates). -
Uses of ClickAction in net.neoforged.neoforge.event
Fields in net.neoforged.neoforge.event declared as ClickActionMethods in net.neoforged.neoforge.event that return ClickActionModifier and TypeMethodDescriptionItemStackedOnOtherEvent.getClickAction()Returns the click action being used.Constructors in net.neoforged.neoforge.event with parameters of type ClickActionModifierConstructorDescriptionItemStackedOnOtherEvent(ItemStack carriedItem, ItemStack stackedOnItem, Slot slot, ClickAction action, Player player, SlotAccess carriedSlotAccess)