Uses of Enum Class
net.minecraft.screen.slot.SlotActionType
Packages that use SlotActionType
Package
Description
-
Uses of SlotActionType in net.minecraft.client.gui.screen.ingame
Methods in net.minecraft.client.gui.screen.ingame with parameters of type SlotActionTypeModifier and TypeMethodDescriptionprotected void
CrafterScreen.onMouseClick
(Slot slot, int slotId, int button, SlotActionType actionType) protected void
CreativeInventoryScreen.onMouseClick
(@Nullable Slot slot, int slotId, int button, SlotActionType actionType) (package private) void
HandledScreen.onMouseClick
(@Nullable Slot slot, SlotActionType actionType) protected void
HandledScreen.onMouseClick
(Slot slot, int slotId, int button, SlotActionType actionType) protected void
RecipeBookScreen.onMouseClick
(Slot slot, int slotId, int button, SlotActionType actionType) -
Uses of SlotActionType in net.minecraft.client.gui.tooltip
Methods in net.minecraft.client.gui.tooltip with parameters of type SlotActionTypeModifier and TypeMethodDescriptionvoid
BundleTooltipSubmenuHandler.onMouseClick
(Slot slot, SlotActionType actionType) void
TooltipSubmenuHandler.onMouseClick
(Slot slot, SlotActionType actionType) -
Uses of SlotActionType in net.minecraft.client.network
Methods in net.minecraft.client.network with parameters of type SlotActionTypeModifier and TypeMethodDescriptionvoid
ClientPlayerInteractionManager.clickSlot
(int syncId, int slotId, int button, SlotActionType actionType, PlayerEntity player) -
Uses of SlotActionType in net.minecraft.network.packet.c2s.play
Fields in net.minecraft.network.packet.c2s.play declared as SlotActionTypeModifier and TypeFieldDescriptionprivate final SlotActionType
ClickSlotC2SPacket.actionType
The field for theactionType
record component.Methods in net.minecraft.network.packet.c2s.play that return SlotActionTypeModifier and TypeMethodDescriptionClickSlotC2SPacket.actionType()
Returns the value of theactionType
record component.Constructors in net.minecraft.network.packet.c2s.play with parameters of type SlotActionTypeModifierConstructorDescriptionClickSlotC2SPacket
(int int2, int int3, short short2, byte byte2, SlotActionType slotActionType, Int2ObjectMap<ItemStackHash> int2ObjectMap, ItemStackHash itemStackHash) -
Uses of SlotActionType in net.minecraft.screen
Methods in net.minecraft.screen with parameters of type SlotActionTypeModifier and TypeMethodDescriptionprivate void
ScreenHandler.internalOnSlotClick
(int slotIndex, int button, SlotActionType actionType, PlayerEntity player) The actual logic that handles a slot click.void
ScreenHandler.onSlotClick
(int slotIndex, int button, SlotActionType actionType, PlayerEntity player) Performs a slot click. -
Uses of SlotActionType in net.minecraft.screen.slot
Fields in net.minecraft.screen.slot with type parameters of type SlotActionTypeModifier and TypeFieldDescriptionprivate static final IntFunction
<SlotActionType> SlotActionType.INDEX_MAPPER
static final PacketCodec
<ByteBuf, SlotActionType> SlotActionType.PACKET_CODEC
Methods in net.minecraft.screen.slot that return SlotActionTypeModifier and TypeMethodDescriptionstatic SlotActionType
Returns the enum constant of this class with the specified name.static SlotActionType[]
SlotActionType.values()
Returns an array containing the constants of this enum class, in the order they are declared.