例如,我想将这些标签合并到我的物品中:
nbt: '{my-custom-nbt-tag:"hello this is a custom tag", another-tag:"useless"}'
items:
custom_nbt_item_data:
display_name: "Injected nbt data into this item"
lore:
- 'test item: custom_nbt_item_data'
- 'test line from IA config 1'
- 'test line from IA config 2'
- 'test line from IA config 3'
permission: examples.test
nbt: '{my-custom-nbt-tag:"hello this is a custom tag", another-tag:"useless"}'
resource:
material: DIAMOND_SWORD
generate: false
model_path: "minecraft:item/diamond"
durability:
durability: 650
max_durability: 1324
attribute_modifiers:
mainhand:
attackDamage: 30
attackSpeed: 25