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 voidCrafterScreen.onMouseClick(Slot slot, int slotId, int button, SlotActionType actionType) protected voidCreativeInventoryScreen.onMouseClick(@Nullable Slot slot, int slotId, int button, SlotActionType actionType) (package private) voidHandledScreen.onMouseClick(@Nullable Slot slot, SlotActionType actionType) protected voidHandledScreen.onMouseClick(Slot slot, int slotId, int button, SlotActionType actionType) protected voidRecipeBookScreen.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 TypeMethodDescriptionvoidBundleTooltipSubmenuHandler.onMouseClick(Slot slot, SlotActionType actionType) voidTooltipSubmenuHandler.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 TypeMethodDescriptionvoidClientPlayerInteractionManager.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 SlotActionTypeClickSlotC2SPacket.actionTypeThe field for theactionTyperecord component.Methods in net.minecraft.network.packet.c2s.play that return SlotActionTypeModifier and TypeMethodDescriptionClickSlotC2SPacket.actionType()Returns the value of theactionTyperecord 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 voidScreenHandler.internalOnSlotClick(int slotIndex, int button, SlotActionType actionType, PlayerEntity player) The actual logic that handles a slot click.voidScreenHandler.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_MAPPERstatic final PacketCodec<ByteBuf, SlotActionType> SlotActionType.PACKET_CODECMethods in net.minecraft.screen.slot that return SlotActionTypeModifier and TypeMethodDescriptionstatic SlotActionTypeReturns 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.