SoulFire TypeScript SDK 2.10.3
    Preparing search index...

    Enumeration ClickType

    Types of inventory click actions available in Minecraft.

    from enum soulfire.v1.ClickType

    Index
    CLICK_TYPE_UNSPECIFIED: 0

    Invalid/unspecified click type. Will result in an error.

    from enum value: CLICK_TYPE_UNSPECIFIED = 0;

    DROP_ALL: 5

    Drop entire stack from the slot (Ctrl+Q while hovering over slot). Drops all items from the stack at once.

    from enum value: DROP_ALL = 5;

    DROP_ONE: 4

    Drop one item from the slot (Q key while hovering over slot). Drops a single item from the stack, leaving the rest.

    from enum value: DROP_ONE = 4;

    LEFT_CLICK: 1

    Left mouse click on a slot.

    • Empty cursor + item in slot: Pick up entire stack to cursor
    • Item on cursor + empty slot: Place entire stack in slot
    • Item on cursor + same item in slot: Combine stacks (up to max stack size)
    • Item on cursor + different item in slot: Swap cursor and slot items

    from enum value: LEFT_CLICK = 1;

    MIDDLE_CLICK: 7

    Middle mouse click (creative mode clone). In creative mode, clones the item to cursor without affecting the slot. No effect in survival mode.

    from enum value: MIDDLE_CLICK = 7;

    RIGHT_CLICK: 2

    Right mouse click on a slot.

    • Empty cursor + item in slot: Pick up half the stack (rounded up)
    • Item on cursor + empty slot: Place one item from cursor
    • Item on cursor + same item in slot: Place one item from cursor
    • Item on cursor + different item in slot: Swap cursor and slot items

    from enum value: RIGHT_CLICK = 2;

    SHIFT_LEFT_CLICK: 3

    Shift + left click on a slot. Quick-moves the item stack to the opposite inventory section.

    • From player inventory to container (chest, furnace, etc.)
    • From container to player inventory
    • Between hotbar and main inventory

    from enum value: SHIFT_LEFT_CLICK = 3;

    SWAP_HOTBAR: 6

    Swap slot contents with a hotbar slot (number keys 1-9). Requires hotbar_slot field to specify which hotbar slot (0-8). Works regardless of what's in the cursor.

    from enum value: SWAP_HOTBAR = 6;