Skip to content
tterrag1098 edited this page Sep 2, 2014 · 1 revision

Defining an item using a String is a little complex, and there's a few ways of doing it.

Firstly, the most straight-forward way, is to use the registered String for the item. This is done in the same format as blocks:

"name;damage"

damage being optional. If damage is not defined, any damage will work.

Secondly, items can be defined by ore dictionary entry. Simply using "ingotCopper" will allow any copper ingot to be used.

Finally, if defining an item that is a custom food, you can just use the food name you defined in the json file.