getItemInfo

Returns info in an object based on item ID. Uses https://github.com/stirante/minecraft-item-db/blob/main/items.json

Arguments

  • id - The item ID.
  • metadata - (optional) The item data value.

Example

{
  "$template": {
    "test": "{{getItemInfo('stone', 0)}}"
  }
}