indicates the file name of model and texture for this item in the resourcepack.
indicates the original Minecraft item material we want our item to be based off. In this example I want this sword to be like a diamond sword, since it's an emerald sword and I want it to have an high durability like diamond swords have. As you can see I'll have to create the model and texture files in there paths:
name: '&fEmerald sword'
Specify if the item is enabled or not
Specify which permission a user needs to have in order to craft the current item, example:
User must have this permission ia.craft.mysword to craft the item
name: '&fMy awesome custom sword'
- '&fWow this is my first'
- '&fcustom sword!'
You can set a default enchant for the item so when players craft this item it'll have the specified enchants. You can add more than one enchant (like lore lines).
- FIRE_ASPECT:1 #<enchant name>:<level>
Each .yml file which contains a particular item type has its own special_properties structure. To see the available properties take a look at the various pages under "specific items" and search for "specific_properties". One specific_properties attribute is available to all .yml files, it's the luck attribute. Luck attribute is used to specify luck amount.
luck_head : <number>
Recipe to craft the current custom item
Recipe to craft any item with any ingredient, it's useful if you want to add multiple crafting recipes for the current custom item