Custom NBT

Adding custom NBT attributes to the item

You can specify custom NBT attributes to me merged into the custom item

Example

For example I want to merge these tags into my item.
{my-custom-nbt-tag:"hello this is a custom tag", another-tag:"useless"}
1
items:
2
custom_nbt_item:
3
display_name: "Just an example"
4
permission: examples.custom_nbt_item
5
nbt: '{my-custom-nbt-tag:"hello this is a custom tag", another-tag:"useless"}'
6
resource:
7
material: DIAMOND_SWORD
8
generate: true
9
model_path: "minecraft:item/diamond"
10
durability:
11
max_custom_durability: 1324
Copied!

Warning

Make sure to provide a valid NBT (json) or it won't work.

This feature requires ItemsAdder 2.4.18+