Skip to content

Defining a Recipe Item

tterrag1098 edited this page Jul 10, 2015 · 2 revisions

Defining an item using a String is a little complex, and there's two 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. A caveat to this is that an undefined damage defaults to the max value, 32767. If you want zero, specify zero, it's that simple.

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