Custom item NBT
Adding custom NBT attributes to the item
Inject NBT properties from file
info:
namespace: test
items:
test_inject_nbt_from_file:
display_name: "Test inject NBT from file"
components_nbt_file: "test_inject_nbt_from_file.json"
resource:
material: IRON_CHESTPLATE
generate: false
model_path: minecraft:item/diamondOld method, inject from NBT string
Example custom attribute
Custom NBT + name Component
Old 1.20.4 Component - don't use this
Last updated