#hidden flags
1 messages · Page 1 of 1 (latest)
Thank you
trigger:
if player's tool is netherite sword:
loop enchantments of player's tool:
add loop-value to {_x::*}
set {_f::*} to all hidden flags of player's tool
set {_n} to name of player's tool
set {_l::*} to player's tool's lore
set {_e} to full nbt of player's tool
remove player's tool from player's inventory
set {_m} to diamond sword
enchant {_m} with {_x::*}
give {_m} named {_n} with lore {_l::*} with nbt {_e} with {_f::*} hidden flags to player
clear {_x::*}
give netherite ingot to player
stop```