
# -> Reset item
#clear @s prismarine_crystals[custom_data~{IsDeityButton:1b}]
#item replace entity @s player.cursor with air
#item replace entity @s inventory.0 with prismarine_crystals[custom_data={IsDeityButton:1b},item_name={text:"Get all powers",color:"#6fffff",bold:true},lore=[{text:"Drop to activate!",italic:false,color:"#3bffff"}]]
#execute as @e[type=item,distance=..64] \
    if items entity @s contents prismarine_crystals[custom_data~{IsDeityButton:1b}] run \
        kill @s

# -> Give powers
item replace entity @s hotbar.0 with breeze_rod[custom_model_data={strings:["overly_realistic:smite_rod_power"]},custom_data={IsDeityPowerItem:"SmiteRod",IsDeityItem:1b},consumable={animation:"none",consume_seconds:99999,has_consume_particles:false,sound:music.nether.warped_forest},item_name={text:"Smite",color:"#b2c4ff",bold:true}]
item replace entity @s hotbar.1 with charcoal[custom_model_data={strings:["overly_realistic:plague_power"]},custom_data={IsDeityPowerItem:"Plague",IsDeityItem:1b},consumable={animation:"none",consume_seconds:99999,has_consume_particles:false,sound:music.nether.warped_forest},item_name={text:"Plague",color:"#40404d",bold:true}]
item replace entity @s hotbar.2 with emerald[custom_model_data={strings:["overly_realistic:cure_power"]},custom_data={IsDeityPowerItem:"Cure",IsDeityItem:1b},consumable={animation:"none",consume_seconds:99999,has_consume_particles:false,sound:music.nether.warped_forest},item_name={text:"Cure",color:"#37ff41",bold:true}]
item replace entity @s hotbar.3 with nether_star[custom_model_data={strings:["overly_realistic:revive_power"]},custom_data={IsDeityPowerItem:"Revive",IsDeityItem:1b},consumable={animation:"none",consume_seconds:99999,has_consume_particles:false,sound:music.nether.warped_forest},item_name={text:"Revive",color:"#c2f3ff",bold:true}]
item replace entity @s hotbar.4 with blaze_rod[custom_model_data={strings:["overly_realistic:fire_power"]},custom_data={IsDeityPowerItem:"Fire",IsDeityItem:1b},consumable={animation:"none",consume_seconds:99999,has_consume_particles:false,sound:music.nether.warped_forest},item_name={text:"Fire",color:"#fd5a0e",bold:true}]
