Files
avaritia_mob_drops
Code
90 404
avaritia_mob_drops/data/avaritia_mob_drops/function/reroll.mcfunction
scoreboard players random #candidate avdrop 1 45
execute if score #candidate avdrop = #recent_1 avdrop run function avaritia_mob_drops:reroll
execute if score #candidate avdrop = #recent_2 avdrop run function avaritia_mob_drops:reroll
execute if score #candidate avdrop = #recent_3 avdrop run function avaritia_mob_drops:reroll
scoreboard players operation #item avdrop = #candidate avdrop
execute if score #item avdrop matches 1 run data modify entity @s Item.id set value "avaritia:crystal_matrix_block"
execute if score #item avdrop matches 2 run data modify entity @s Item.id set value "avaritia:neutronium_block"
execute if score #item avdrop matches 3 run data modify entity @s Item.id set value "avaritia:infinity_block"
execute if score #item avdrop matches 4 run data modify entity @s Item.id set value "avaritia:compressed_crafting_table"
execute if score #item avdrop matches 5 run data modify entity @s Item.id set value "avaritia:double_compressed_crafting_table"
execute if score #item avdrop matches 6 run data modify entity @s Item.id set value "avaritia:extreme_crafting_table"
execute if score #item avdrop matches 7 run data modify entity @s Item.id set value "avaritia:compressor"
execute if score #item avdrop matches 8 run data modify entity @s Item.id set value "avaritia:neutron_collector"
execute if score #item avdrop matches 9 run data modify entity @s Item.id set value "avaritia:infinity_chest"
execute if score #item avdrop matches 10 run data modify entity @s Item.id set value "avaritia:copper_singularity"
execute if score #item avdrop matches 11 run data modify entity @s Item.id set value "avaritia:iron_singularity"
execute if score #item avdrop matches 12 run data modify entity @s Item.id set value "avaritia:gold_singularity"
execute if score #item avdrop matches 13 run data modify entity @s Item.id set value "avaritia:lapis_singularity"
execute if score #item avdrop matches 14 run data modify entity @s Item.id set value "avaritia:redstone_singularity"
execute if score #item avdrop matches 15 run data modify entity @s Item.id set value "avaritia:quartz_singularity"
execute if score #item avdrop matches 16 run data modify entity @s Item.id set value "avaritia:diamond_singularity"
execute if score #item avdrop matches 17 run data modify entity @s Item.id set value "avaritia:emerald_singularity"
execute if score #item avdrop matches 18 run data modify entity @s Item.id set value "avaritia:amethyst_singularity"
execute if score #item avdrop matches 19 run data modify entity @s Item.id set value "avaritia:netherite_singularity"
execute if score #item avdrop matches 20 run data modify entity @s Item.id set value "avaritia:dark_matter_singularity"
execute if score #item avdrop matches 21 run data modify entity @s Item.id set value "avaritia:red_matter_singularity"
execute if score #item avdrop matches 22 run data modify entity @s Item.id set value "avaritia:infinity_singularity"
execute if score #item avdrop matches 23 run data modify entity @s Item.id set value "avaritia:cosmic_meatballs"
execute if score #item avdrop matches 24 run data modify entity @s Item.id set value "avaritia:ultimate_stew"
execute if score #item avdrop matches 25 run data modify entity @s Item.id set value "avaritia:record_fragment"
execute if score #item avdrop matches 26 run data modify entity @s Item.id set value "avaritia:diamond_lattice"
execute if score #item avdrop matches 27 run data modify entity @s Item.id set value "avaritia:crystal_matrix_ingot"
execute if score #item avdrop matches 28 run data modify entity @s Item.id set value "avaritia:neutron_pile"
execute if score #item avdrop matches 29 run data modify entity @s Item.id set value "avaritia:neutron_nugget"
execute if score #item avdrop matches 30 run data modify entity @s Item.id set value "avaritia:neutronium_ingot"
execute if score #item avdrop matches 31 run data modify entity @s Item.id set value "avaritia:infinity_catalyst"
execute if score #item avdrop matches 32 run data modify entity @s Item.id set value "avaritia:infinity_ingot"
execute if score #item avdrop matches 33 run data modify entity @s Item.id set value "avaritia:endest_pearl"
execute if score #item avdrop matches 34 run data modify entity @s Item.id set value "avaritia:matter_cluster"
execute if score #item avdrop matches 35 run data modify entity @s Item.id set value "avaritia:infinity_sword"
execute if score #item avdrop matches 36 run data modify entity @s Item.id set value "avaritia:skullfire_sword"
execute if score #item avdrop matches 37 run data modify entity @s Item.id set value "avaritia:infinity_bow"
execute if score #item avdrop matches 38 run data modify entity @s Item.id set value "avaritia:infinity_axe"
execute if score #item avdrop matches 39 run data modify entity @s Item.id set value "avaritia:infinity_pickaxe"
execute if score #item avdrop matches 40 run data modify entity @s Item.id set value "avaritia:infinity_shovel"
execute if score #item avdrop matches 41 run data modify entity @s Item.id set value "avaritia:infinity_hoe"
execute if score #item avdrop matches 42 run data modify entity @s Item.id set value "avaritia:infinity_helmet"
execute if score #item avdrop matches 43 run data modify entity @s Item.id set value "avaritia:infinity_chestplate"
execute if score #item avdrop matches 44 run data modify entity @s Item.id set value "avaritia:infinity_leggings"
execute if score #item avdrop matches 45 run data modify entity @s Item.id set value "avaritia:infinity_boots"

