קוד 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"}

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

Warning

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

This feature requires ItemsAdder 2.4.18+

Last updated