You can specify custom NBT attributes to me merged into the custom item
For example I want to merge these tags into my item.
{my-custom-nbt-tag:"hello this is a custom tag", another-tag:"useless"}
items:
custom_nbt_item:
display_name: "Just an example"
permission: examples.custom_nbt_item
nbt: '{my-custom-nbt-tag:"hello this is a custom tag", another-tag:"useless"}'
resource:
material: DIAMOND_SWORD
generate: true
model_path: "minecraft:item/diamond"
durability:
max_custom_durability: 1324
{% hint style="danger" %}
Make sure to provide a valid NBT (json
) or it won't work!
{% endhint %}
items:
example_item_custom_name:
enabled: true
display_name: example_item_custom_name
permission: custom.example_item_custom_name
nbt: "{display:{Name:'{\"text\":\"TEST\", \"font\": \"alt\"}'}}"