
loot spawn ~ ~ ~ loot next_level:custom_blocks/enchant_roll
execute store result score @s nl.Rng run data get entity @e[limit=1,nbt={Item:{tag:{nl_roll100:1b}}}] Item.tag.AttributeModifiers.[0].Amount
kill @e[limit=1,nbt={Item:{tag:{nl_roll100:1b}}}]

data modify entity @s Item.tag.nl_Has_Slot1_Enchantment set value 1b
data modify entity @s Item.tag.nl_Enchant_YellowWings set value 1b

data modify entity @s Item.tag.display.Lore insert 0 value "{\"text\":\"Yellow Wings\",\"color\":\"gray\",\"italic\":false}"
