#data modify entity @s Item set value
#data modify entity @s Item set value {id:"minecraft:brown_banner",Count:1b,tag:{kyutrinket:1b,kyunaturegift:1b,display:{Name:"{\"text\":\"Nature's Gift\"}",Lore:["\"Disables the negative effects of random events\"","\"which effect animals, food, or crops.\"","\"NOTE: PLACING THIS ITEM WILL BREAK IT. THE EFFECT \"","\"IS GAINED BY HOLDING IT IN YOUR INVENTORY.\""]},BlockEntityTag:{Base:5,Patterns:[{Pattern:cr,Color:5},{Pattern:ts,Color:15},{Pattern:flo,Color:5},{Pattern:mr,Color:1},{Pattern:cbo,Color:15},{Pattern:mc,Color:10}]},HideFlags:1,Enchantments:[{id:"minecraft:lure",lvl:1}]}}
execute at @s positioned ~ ~4504 ~ run loot spawn ~ ~ ~ loot minecraft:customitems/naturesgift
execute at @s positioned ~ ~4504 ~ run data modify entity @s Item set from entity @e[type=item,limit=1,sort=nearest,distance=..5] Item
execute at @s positioned ~ ~4504 ~ run kill @e[type=item,sort=nearest,distance=..5]

execute at @s run execute at @e[name=CadeyrnCrafting,sort=nearest,limit=1] run tellraw @a[distance=..4] ["",{"text":"Item crafted: Nature's Gift.","color":"#8B59FF","italic":true}]


execute at @s run kill @e[limit=4,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:brown_wool",Count:1b}}]
execute at @s run kill @e[limit=4,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:golden_apple",Count:1b}}]

