
##### SAVE-ABLE ITEMS

## set each item's base % save chance, which is KyuDummy / 100 
execute as @s[nbt={Item:{id:"minecraft:carved_pumpkin"}}] run scoreboard players add @s KyuDummy 700
execute as @s[nbt={Item:{id:"minecraft:leather_helmet"}}] run scoreboard players add @s KyuDummy 2500
execute as @s[nbt={Item:{id:"minecraft:leather_chestplate"}}] run scoreboard players add @s KyuDummy 2500
execute as @s[nbt={Item:{id:"minecraft:leather_leggings"}}] run scoreboard players add @s KyuDummy 2500
execute as @s[nbt={Item:{id:"minecraft:leather_boots"}}] run scoreboard players add @s KyuDummy 2500
execute as @s[nbt={Item:{id:"minecraft:iron_helmet"}}] run scoreboard players add @s KyuDummy 2500
execute as @s[nbt={Item:{id:"minecraft:iron_chestplate"}}] run scoreboard players add @s KyuDummy 2500
execute as @s[nbt={Item:{id:"minecraft:iron_leggings"}}] run scoreboard players add @s KyuDummy 2500
execute as @s[nbt={Item:{id:"minecraft:iron_boots"}}] run scoreboard players add @s KyuDummy 2500
execute as @s[nbt={Item:{id:"minecraft:iron_sword"}}] run scoreboard players add @s KyuDummy 2500
execute as @s[nbt={Item:{id:"minecraft:iron_axe"}}] run scoreboard players add @s KyuDummy 2500
execute as @s[nbt={Item:{id:"minecraft:iron_hoe"}}] run scoreboard players add @s KyuDummy 2500
execute as @s[nbt={Item:{id:"minecraft:iron_pickaxe"}}] run scoreboard players add @s KyuDummy 2500
execute as @s[nbt={Item:{id:"minecraft:iron_shovel"}}] run scoreboard players add @s KyuDummy 2500
execute as @s[nbt={Item:{id:"minecraft:iron_horse_armor"}}] run scoreboard players add @s KyuDummy 2500
execute as @s[nbt={Item:{id:"minecraft:bow"}}] run scoreboard players add @s KyuDummy 2500
execute as @s[nbt={Item:{id:"minecraft:fishing_rod"}}] run scoreboard players add @s KyuDummy 2500
execute as @s[nbt={Item:{id:"minecraft:crossbow"}}] run scoreboard players add @s KyuDummy 2500
execute as @s[nbt={Item:{id:"minecraft:shield"}}] run scoreboard players add @s KyuDummy 2500
execute as @s[nbt={Item:{id:"minecraft:saddle"}}] run scoreboard players add @s KyuDummy 2500

execute as @s[nbt={Item:{id:"minecraft:golden_helmet"}}] run scoreboard players add @s KyuDummy 5000
execute as @s[nbt={Item:{id:"minecraft:golden_chestplate"}}] run scoreboard players add @s KyuDummy 5000
execute as @s[nbt={Item:{id:"minecraft:golden_leggings"}}] run scoreboard players add @s KyuDummy 5000
execute as @s[nbt={Item:{id:"minecraft:golden_boots"}}] run scoreboard players add @s KyuDummy 5000
execute as @s[nbt={Item:{id:"minecraft:golden_sword"}}] run scoreboard players add @s KyuDummy 5000
execute as @s[nbt={Item:{id:"minecraft:golden_hoe"}}] run scoreboard players add @s KyuDummy 5000
execute as @s[nbt={Item:{id:"minecraft:golden_pickaxe"}}] run scoreboard players add @s KyuDummy 5000
execute as @s[nbt={Item:{id:"minecraft:golden_shovel"}}] run scoreboard players add @s KyuDummy 5000
execute as @s[nbt={Item:{id:"minecraft:golden_axe"}}] run scoreboard players add @s KyuDummy 5000
execute as @s[nbt={Item:{id:"minecraft:golden_horse_armor"}}] run scoreboard players add @s KyuDummy 5000


execute as @s[nbt={Item:{id:"minecraft:diamond_helmet"}}] run scoreboard players add @s KyuDummy 7500
execute as @s[nbt={Item:{id:"minecraft:diamond_chestplate"}}] run scoreboard players add @s KyuDummy 7500
execute as @s[nbt={Item:{id:"minecraft:diamond_leggings"}}] run scoreboard players add @s KyuDummy 7500
execute as @s[nbt={Item:{id:"minecraft:diamond_boots"}}] run scoreboard players add @s KyuDummy 7500
execute as @s[nbt={Item:{id:"minecraft:diamond_sword"}}] run scoreboard players add @s KyuDummy 7500
execute as @s[nbt={Item:{id:"minecraft:diamond_axe"}}] run scoreboard players add @s KyuDummy 7500
execute as @s[nbt={Item:{id:"minecraft:diamond_hoe"}}] run scoreboard players add @s KyuDummy 7500
execute as @s[nbt={Item:{id:"minecraft:diamond_shovel"}}] run scoreboard players add @s KyuDummy 7500
execute as @s[nbt={Item:{id:"minecraft:diamond_pickaxe"}}] run scoreboard players add @s KyuDummy 7500
execute as @s[nbt={Item:{id:"minecraft:diamond_horse_armor"}}] run scoreboard players add @s KyuDummy 7500

execute as @s[nbt={Item:{id:"minecraft:netherite_helmet"}}] run scoreboard players add @s KyuDummy 7500
execute as @s[nbt={Item:{id:"minecraft:netherite_chestplate"}}] run scoreboard players add @s KyuDummy 7500
execute as @s[nbt={Item:{id:"minecraft:netherite_leggings"}}] run scoreboard players add @s KyuDummy 7500
execute as @s[nbt={Item:{id:"minecraft:netherite_boots"}}] run scoreboard players add @s KyuDummy 7500
execute as @s[nbt={Item:{id:"minecraft:netherite_sword"}}] run scoreboard players add @s KyuDummy 7500
execute as @s[nbt={Item:{id:"minecraft:netherite_axe"}}] run scoreboard players add @s KyuDummy 7500
execute as @s[nbt={Item:{id:"minecraft:netherite_hoe"}}] run scoreboard players add @s KyuDummy 7500
execute as @s[nbt={Item:{id:"minecraft:netherite_shovel"}}] run scoreboard players add @s KyuDummy 7500
execute as @s[nbt={Item:{id:"minecraft:netherite_pickaxe"}}] run scoreboard players add @s KyuDummy 7500

execute as @s[nbt={Item:{id:"minecraft:golden_apple"}}] run scoreboard players add @s KyuDummy 10000
execute as @s[nbt={Item:{id:"minecraft:enchanted_golden_apple"}}] run scoreboard players add @s KyuDummy 10000
execute as @s[nbt={Item:{id:"minecraft:egg"}}] run scoreboard players add @s KyuDummy 10000
execute as @s[nbt={Item:{id:"minecraft:brewing_stand"}}] run scoreboard players add @s KyuDummy 10000
execute as @s[nbt={Item:{id:"minecraft:enchanting_table"}}] run scoreboard players add @s KyuDummy 10000
execute as @s[nbt={Item:{id:"minecraft:ghast_tear"}}] run scoreboard players add @s KyuDummy 10000
execute as @s[nbt={Item:{id:"minecraft:blaze_powder"}}] run scoreboard players add @s KyuDummy 10000
execute as @s[nbt={Item:{id:"minecraft:nether_star"}}] run scoreboard players add @s KyuDummy 10000
execute as @s[nbt={Item:{id:"minecraft:emerald_block"}}] run scoreboard players add @s KyuDummy 10000
execute as @s[nbt={Item:{id:"minecraft:diamond_block"}}] run scoreboard players add @s KyuDummy 10000

## set item's base % enchant save chance, which is KyuDummy2 / 100
execute as @s run scoreboard players add @s KyuDummy2 5000

##### SAVE-ABLE ITEMS END

#tag @s[nbt={Item:{id:"minecraft:emerald_block"}}] add ItemIsSavedAndReagant
#tag @s[nbt={Item:{id:"minecraft:diamond_block"}}] add ItemIsSavedAndReagant


tag @s[scores={KyuDummy=700..}] add ItemIsSaved

