Skip to content

Instantly share code, notes, and snippets.

@dmillerw
Last active August 29, 2015 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmillerw/46194410572da7307242 to your computer and use it in GitHub Desktop.
Save dmillerw/46194410572da7307242 to your computer and use it in GitHub Desktop.

There are two ways to define an item. A one liner, and a full on JSON object.

One Liner

"input": "stone"

One liners can either be an item, or an ore dictionary tag. Internally, the string is interpreted as an item first, and if one doesn't exist, as an ore dictionary tag. In the case of conflicting tags (stone), it can be prefixed with 'ore:'

Object

Objects are only interpreted as a specific item, but allows for more control (stack size and item damage)

"input": { "item": "sapling", "damage": 1, "amount": 50 }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment