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 TypeMethodDescriptionvoid
LocalPlayer.updateTutorialInventoryAction
(ItemStack pCarried, ItemStack pClicked, ClickAction pAction) -
Uses of ClickAction in net.minecraft.client.tutorial
Methods in net.minecraft.client.tutorial with parameters of type ClickActionModifier and TypeMethodDescriptionvoid
BundleTutorial.onInventoryAction
(ItemStack pCarriedStack, ItemStack pSlottedStack, ClickAction pAction) void
Tutorial.onInventoryAction
(ItemStack pCarriedStack, ItemStack pSlottedStack, ClickAction pAction) -
Uses of ClickAction in net.minecraft.world.entity.player
Methods in net.minecraft.world.entity.player with parameters of type ClickActionModifier and TypeMethodDescriptionvoid
Player.updateTutorialInventoryAction
(ItemStack pCarried, ItemStack pClicked, ClickAction pAction) -
Uses of ClickAction in net.minecraft.world.inventory
Methods in net.minecraft.world.inventory that return ClickActionModifier and TypeMethodDescriptionstatic ClickAction
Returns 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 boolean
AbstractContainerMenu.tryItemClickBehaviourOverride
(Player pPlayer, ClickAction pAction, Slot pSlot, ItemStack pClickedItem, ItemStack pCarriedItem) -
Uses of ClickAction in net.minecraft.world.item
Methods in net.minecraft.world.item with parameters of type ClickActionModifier and TypeMethodDescriptionboolean
BundleItem.overrideOtherStackedOnMe
(ItemStack pStack, ItemStack pOther, Slot pSlot, ClickAction pAction, Player pPlayer, SlotAccess pAccess) boolean
Item.overrideOtherStackedOnMe
(ItemStack pStack, ItemStack pOther, Slot pSlot, ClickAction pAction, Player pPlayer, SlotAccess pAccess) boolean
ItemStack.overrideOtherStackedOnMe
(ItemStack pStack, Slot pSlot, ClickAction pAction, Player pPlayer, SlotAccess pAccess) boolean
BundleItem.overrideStackedOnOther
(ItemStack pStack, Slot pSlot, ClickAction pAction, Player pPlayer) boolean
Item.overrideStackedOnOther
(ItemStack pStack, Slot pSlot, ClickAction pAction, Player pPlayer) boolean
ItemStack.overrideStackedOnOther
(Slot pSlot, ClickAction pAction, Player pPlayer) -
Uses of ClickAction in net.neoforged.neoforge.common
Methods in net.neoforged.neoforge.common with parameters of type ClickActionModifier and TypeMethodDescriptionstatic boolean
CommonHooks.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)