Uses of Enum Class
net.minecraft.util.ClickType
Package
Description
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
-
Uses of ClickType in net.minecraft.client.network
Modifier and TypeMethodDescriptionvoid
ClientPlayerEntity.onPickupSlotClick
(ItemStack cursorStack, ItemStack slotStack, ClickType clickType) Called when a player performs apickup slot action
in a screen handler. -
Uses of ClickType in net.minecraft.client.tutorial
Modifier and TypeMethodDescriptionvoid
BundleTutorial.onPickupSlotClick
(ItemStack cursorStack, ItemStack slotStack, ClickType clickType) A callback for starting the bundle tutorial.void
TutorialManager.onPickupSlotClick
(ItemStack cursorStack, ItemStack slotStack, ClickType clickType) Called when a player performs apickup slot action
in a screen handler. -
Uses of ClickType in net.minecraft.entity.player
Modifier and TypeMethodDescriptionvoid
PlayerEntity.onPickupSlotClick
(ItemStack cursorStack, ItemStack slotStack, ClickType clickType) Called when a player performs apickup slot action
in a screen handler. -
Uses of ClickType in net.minecraft.item
Modifier and TypeMethodDescriptionboolean
BundleItem.onClicked
(ItemStack stack, ItemStack otherStack, Slot slot, ClickType clickType, PlayerEntity player, StackReference cursorStackReference) Called when the item atslot
gets clicked by the cursor holdingotherStack
.boolean
Item.onClicked
(ItemStack stack, ItemStack otherStack, Slot slot, ClickType clickType, PlayerEntity player, StackReference cursorStackReference) Called when the item atslot
gets clicked by the cursor holdingotherStack
.boolean
ItemStack.onClicked
(ItemStack stack, Slot slot, ClickType clickType, PlayerEntity player, StackReference cursorStackReference) boolean
BundleItem.onStackClicked
(ItemStack stack, Slot slot, ClickType clickType, PlayerEntity player) Called when the item at the cursor is clicked atslot
.boolean
Item.onStackClicked
(ItemStack stack, Slot slot, ClickType clickType, PlayerEntity player) Called when the item at the cursor is clicked atslot
.boolean
ItemStack.onStackClicked
(Slot slot, ClickType clickType, PlayerEntity player) -
Uses of ClickType in net.minecraft.screen
Modifier and TypeMethodDescriptionprivate boolean
ScreenHandler.handleSlotClick
(PlayerEntity player, ClickType clickType, Slot slot, ItemStack stack, ItemStack cursorStack) -
Uses of ClickType in net.minecraft.util