SLOTCLICK

SLOTCLICK(<slot>,[button],[shift])

Type: Action

Category: GUI

Permission: mod.macros.script.inventory.slotclick

Since Minecraft Version: v1.3

Since Version: v0.9

Minor: 9

API: N/A

Patch: N/A


Description

Simulates clicking on the specified slot in the current GUI

<slot> can be -999 to drop the previously selected item.

[button] can be either "left" for left-click or "right" for right-click

[shift] should be true if you want to shift-click


Changelog
  • Added em v0.9:
  • Updated em v0.9.6: Support for creative inventory