GETSLOT

GETSLOT(<item[:damage]>,<#slotid>,[startfromslotid])

Type: Action

Category: GUI

Permission: mod.macros.script.inventory.getslot

Since Minecraft Version: v1.3

Since Version: v0.9

Minor: 9

API: N/A

Patch: N/A


Description

Gets the id of the slot containing an item matching the specified item id

Returns the slot number


Useful Links

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