Datapack

ChaosCraftPack

can you make datapack that have random everi drop everi craft everithing and vith random names enchants max durabiliti durabiliti atd

data/chaoscraft/function/randomize_item.mcfunction
tag @s add cc_processed
scoreboard players random @s cc_roll 1 12
scoreboard players set @s cc_age 0

execute if score @s cc_roll matches 1 run function chaoscraft:variant_1
execute if score @s cc_roll matches 2 run function chaoscraft:variant_2
execute if score @s cc_roll matches 3 run function chaoscraft:variant_3
execute if score @s cc_roll matches 4 run function chaoscraft:variant_4
execute if score @s cc_roll matches 5 run function chaoscraft:variant_5
execute if score @s cc_roll matches 6 run function chaoscraft:variant_6
execute if score @s cc_roll matches 7 run function chaoscraft:variant_7
execute if score @s cc_roll matches 8 run function chaoscraft:variant_8
execute if score @s cc_roll matches 9 run function chaoscraft:variant_9
execute if score @s cc_roll matches 10 run function chaoscraft:variant_10
execute if score @s cc_roll matches 11 run function chaoscraft:variant_11
execute if score @s cc_roll matches 12 run function chaoscraft:variant_12