Uses of Enum Class
net.minecraft.util.ClickType
Packages that use ClickType
Package
Description
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
-
Uses of ClickType in net.minecraft.client.network
Methods in net.minecraft.client.network with parameters of type ClickTypeModifier and TypeMethodDescriptionvoidClientPlayerEntity.onPickupSlotClick(ItemStack cursorStack, ItemStack slotStack, ClickType clickType) Called when a player performs apickup slot actionin a screen handler. -
Uses of ClickType in net.minecraft.client.tutorial
Methods in net.minecraft.client.tutorial with parameters of type ClickTypeModifier and TypeMethodDescriptionvoidBundleTutorial.onPickupSlotClick(ItemStack cursorStack, ItemStack slotStack, ClickType clickType) A callback for starting the bundle tutorial.voidTutorialManager.onPickupSlotClick(ItemStack cursorStack, ItemStack slotStack, ClickType clickType) Called when a player performs apickup slot actionin a screen handler. -
Uses of ClickType in net.minecraft.entity.player
Methods in net.minecraft.entity.player with parameters of type ClickTypeModifier and TypeMethodDescriptionvoidPlayerEntity.onPickupSlotClick(ItemStack cursorStack, ItemStack slotStack, ClickType clickType) Called when a player performs apickup slot actionin a screen handler. -
Uses of ClickType in net.minecraft.item
Methods in net.minecraft.item with parameters of type ClickTypeModifier and TypeMethodDescriptionbooleanBundleItem.onClicked(ItemStack stack, ItemStack otherStack, Slot slot, ClickType clickType, PlayerEntity player, StackReference cursorStackReference) Called when the item atslotgets clicked by the cursor holdingotherStack.booleanItem.onClicked(ItemStack stack, ItemStack otherStack, Slot slot, ClickType clickType, PlayerEntity player, StackReference cursorStackReference) Called when the item atslotgets clicked by the cursor holdingotherStack.booleanItemStack.onClicked(ItemStack stack, Slot slot, ClickType clickType, PlayerEntity player, StackReference cursorStackReference) booleanBundleItem.onStackClicked(ItemStack stack, Slot slot, ClickType clickType, PlayerEntity player) Called when the item at the cursor is clicked atslot.booleanItem.onStackClicked(ItemStack stack, Slot slot, ClickType clickType, PlayerEntity player) Called when the item at the cursor is clicked atslot.booleanItemStack.onStackClicked(Slot slot, ClickType clickType, PlayerEntity player) -
Uses of ClickType in net.minecraft.screen
Methods in net.minecraft.screen with parameters of type ClickTypeModifier and TypeMethodDescriptionprivate booleanScreenHandler.handleSlotClick(PlayerEntity player, ClickType clickType, Slot slot, ItemStack stack, ItemStack cursorStack) -
Uses of ClickType in net.minecraft.util
Methods in net.minecraft.util that return ClickType