##### REAGANTS
scoreboard players set @s KyuDummy 0


##Very Late Note: Since reagants can be stacked now, block variants of materials are no longer needed. They may just create confusion in cases such as the Emerald block where they can also be consumed for effects.



## executing as the listed items here(iron_ingot, gold ingot, etc), store ((item count) * (base additive chance)) in their own KyuDummy, which will be added to all of the save-able items' KyuDummy scores
execute as @s[nbt={Item:{id:"minecraft:iron_ingot"}}] run execute store result score @s KyuDummy run data get entity @s Item.Count 50
#execute as @s[nbt={Item:{id:"minecraft:iron_block"}}] run execute store result score @s KyuDummy run data get entity @s Item.Count 450
execute as @s[nbt={Item:{id:"minecraft:emerald"}}] run execute store result score @s KyuDummy run data get entity @s Item.Count 50
#execute as @s[nbt={Item:{id:"minecraft:emerald_block"}}] run execute store result score @s KyuDummy run data get entity @s Item.Count 450
execute as @s[nbt={Item:{id:"minecraft:gold_ingot"}}] run execute store result score @s KyuDummy run data get entity @s Item.Count 100
#execute as @s[nbt={Item:{id:"minecraft:gold_block"}}] run execute store result score @s KyuDummy run data get entity @s Item.Count 900
execute as @s[nbt={Item:{id:"minecraft:diamond"}}] run execute store result score @s KyuDummy run data get entity @s Item.Count 250
#execute as @s[nbt={Item:{id:"minecraft:diamond_block"}}] run execute store result score @s KyuDummy run data get entity @s Item.Count 2250
execute as @s[nbt={Item:{id:"minecraft:netherite_scrap"}}] run execute store result score @s KyuDummy run data get entity @s Item.Count 1500

## executing as the listed items here(emerald, gold ingot, etc), store ((item count) * (base enchantment additive chance)) in their own KyuDummy, which will be added to all of the save-able items' KyuDummy2 scores
execute as @s[nbt={Item:{id:"minecraft:emerald"}}] run execute store result score @s KyuDummy2 run data get entity @s Item.Count 50
#execute as @s[nbt={Item:{id:"minecraft:emerald_block"}}] run execute store result score @s KyuDummy2 run data get entity @s Item.Count 450
execute as @s[nbt={Item:{id:"minecraft:gold_ingot"}}] run execute store result score @s KyuDummy2 run data get entity @s Item.Count 100
#execute as @s[nbt={Item:{id:"minecraft:gold_block"}}] run execute store result score @s KyuDummy2 run data get entity @s Item.Count 900

#tag diamond and emerald blocks differently - as they are exception items
tag @s[scores={KyuDummy=50..}] add KyuReagant
#tag @s[nbt={Item:{id:"minecraft:emerald_block"}}] add KyuReagant
#tag @s[nbt={Item:{id:"minecraft:diamond_block"}}] add KyuReagant

##### REAGANTS END








#execute as @s[nbt={Item:{id:"minecraft:emerald_block"}}] run execute store result score @s KyuDummy run data get entity @s Item.Count 450
#execute as @s[nbt={Item:{id:"minecraft:diamond_block"}}] run execute store result score @s KyuDummy run data get entity @s Item.Count 2250
#execute as @s[nbt={Item:{id:"minecraft:emerald_block"}}] run execute store result score @s KyuDummy2 run data get entity @s Item.Count 450
