-
Notifications
You must be signed in to change notification settings - Fork 8
Defining a Custom ItemStack
tterrag1098 edited this page Dec 11, 2014
·
1 revision
This page builds on what we learned in Defining a Recipe Item. If you have not read that, please do so first.
The only difference between a recipe item and an ItemStack for our purposes, is that you can specify the amount of items in the stack. You do this like so:
"name;damage#amount"
Where amount is a number representing the amount of items in the stack. Both the damage and amount can be left out, the amount will default to 1.
This is currently only used in defining the repair material of tools and the drops of blocks.