PICK

PICK(<item[:damage]>,[item[:damage]],...)

Type: Action

Category: GUI

Permission: mod.macros.script.inventory.pick

Since Minecraft Version: v1.8.1 beta

Since Version: v0.6

Minor: 6

API: N/A

Patch: N/A


Description

Selects the specified item id if it is on the hotbar, specify multiple items to pick in order of preference.

Returns the selected item name.


Useful Links

Changelog
  • Added em v0.6:
  • Fixed em v0.15.1: Work correctly with enchanted items
  • Fixed em v0.9.4: Parses variables correctly
  • Updated em v0.9: Now supports multiple item id's and also damage values