Making it so only maces with the tag "emace" are enchantable, but other ones without are repairable (with other maces), and can be renamed still.
on craft of mace:
if {emace.crafted} is not set:
set {emace.crafted} to true
set {_n} to nbt from "{custom_data:{emace:1b}}"
set slot 0 of current inventory to mace with nbt {_n}
- my current code so you are able to branch off of it. Thank you
on craft of mace:
if {emace.crafted} is not set:
set {emace.crafted} to true
set {_n} to nbt from "{custom_data:{emace:1b}}"
set slot 0 of current inventory to mace with nbt {_n}
- my current code so you are able to branch off of it. Thank you