/ ARMORS AND TOOLS
 
/ All Dark Matter Tools
group:#rand(1,2):(ID=projecte:dm_pick;ID=projecte:dm_axe;ID=projecte:dm_shovel;ID=projecte:dm_hoe;ID=projecte:dm_shears;ID=projecte:dm_hammer)@luck=20

/ All Red Matter Tools
group:#rand(1,2):(ID=projecte:rm_pick;ID=projecte:rm_axe;ID=projecte:rm_shovel;ID=projecte:rm_hoe;ID=projecte:rm_shears;ID=projecte:rm_hammer;)@luck=40

/All Dark Matter Armor
group:#rand(1,2):(ID=projecte:dm_helmet;ID=projecte:dm_chestplate;ID=projecte:dm_leggings;ID=projecte:dm_boots)@luck=80

/All Red Matter Armor
group:#rand(1,2):(ID=projecte:rm_helmet;ID=projecte:rm_chestplate;ID=projecte:rm_leggings;ID=projecte:rm_boots)@luck=90

/All Gem Armor
group:#rand(1,2):(ID=projecte:gem_helmet;ID=projecte:gem_chestplate;ID=projecte:gem_leggings;ID=projecte:gem_boots)@luck=100

/ ITEMS 

/ All Klein Star

ID=projecte:klein_star_ein,amount=#rand(1,4)@luck=5
ID=projecte:klein_star_zwei,amount=#rand(1,4)@luck=10
ID=projecte:klein_star_drei,amount=#rand(1,4)@luck=15
ID=projecte:klein_star_vier,amount=#rand(1,4)@luck=20
ID=projecte:klein_star_sphere,amount=#rand(1,4)@luck=25
ID=projecte:klein_star_omega,amount=#rand(1,2)@luck=30

/ All Rings

ID=projecte:black_hole_band@luck=40
ID=projecte:archangel_smite@luck=30
ID=projecte:harvest_goddness_band@luck=30
ID=projecte:ignition_ring@luck=20
ID=projecte:zero_ring@luck=10
ID=projecte:switfwolf_rending_gale@luck=50
ID=projecte:void_ring@luck=50
ID=projecte:arcana_ring@luck=60

/ All Stones

ID=projecte:body_stone@luck=50
ID=projecte:soul_stone@luck=45
ID=projecte:mind_stone@luck=35
ID=projecte:life_stone@luck=40

/ Miscellaneous

ID=projecte:watch_of_flowing_time@luck=70
ID=projecte:evertide_amulet@luck=10
ID=projecte:volcanite_amulet@luck=15
ID=projecte:gem_of_eternal_density@luck=30
ID=projecte:mercurial_eye@luck=15
ID=projecte:destruction_catalyst@luck=90
ID=projecte:catalytic_lens@luck=80
ID=projecte:hyperkinetic_lens@luck=80
ID=projecte:phillosophers_stone@luck=5
ID=projecte:repair_talisman@luck=5
ID=projecte:transmutation_tablet@luck=90
ID=projecte:interdiction_torch,amount=#rand(1,32)@luck=50

/ BLOCKS

ID=projecte:dm_pedestal,amount=#rand(1,4)@luck=60
ID=projecte:alchemical_chest,amount=#rand(1,8)@luck=20
ID=projecte:collector_mk1,amount=#rand(1,8)@luck=20
ID=projecte:collector_mk2,amount=#rand(1,8)@luck=40
ID=projecte:collector_mk3,amount=#rand(1,8)@luck=60
ID=projecte:relay_mk1,amount=#rand(1,8)@luck=20
ID=projecte:relay_mk2,amount=#rand(1,8)@luck=40
ID=projecte:relay_mk3,amount=#rand(1,8)@luck=60
ID=projecte:condenser_mk1,amount=#rand(1,2)@luck=20
ID=projecte:condenser_mk2,amount=#rand(1,2)@luck=40

/ GROUPS
 
/ Emc
group(
    type=message,ID="You need EMC???";
	  type=command,ID=/give #pName projecte:transmutation_table;
	  group(
        ID=netherite_ingot,amount=#rand(20,30);
        ID=gold_ingot,amount=#rand(20,30);
        ID=iron_ingot,amount=#rand(20,30);
		ID=diamond,amount=#rand(20,30);
        ID=emerald,amount=#rand(20,30);
        ID=projecte:dark_matter,amount=#rand(20,30);
        ID=projecte:red_matter,amount=#rand(20,30)
    ))@luck=50

/ Emc blocks
group(
    type=message,ID="You need more EMC???";
	  type=command,ID=/give #pName projecte:transmutation_table;
	  group(
        ID=netherite_block,amount=#rand(20,30);
        ID=gold_block,amount=#rand(20,30);
        ID=iron_block,amount=#rand(20,30);
		ID=diamond_block,amount=#rand(20,30);
        ID=emerald_block,amount=#rand(20,30);
        ID=projecte:dark_matter_block,amount=#rand(20,30);
        ID=projecte:red_matter_block,amount=#rand(20,30)
    ))@luck=100
	
/ Amnesia
group(
type=message.ID="Amnesia";
type=command,ID=/projecte knowledge clear #pName)@luck=-20

/ Generator 1
group(
    type=message,ID="You make Generator Mk1";
	group(
        ID=glowstone,amount=37;
        ID=projecte:collector_mk1,amount=17;
        ID=projecte:relay_mk1,amount=5;
		ID=projecte:condenser_mk
    ))@luck=20

/ Generator 2
group(
    type=message,ID="You make Generator Mk2";
	group(
        ID=glowstone,amount=37;
        ID=projecte:collector_mk2,amount=1;
        ID=projecte:relay_mk2,amount=;
		ID=projecte:condenser_mk1
    ))@luck=40

/ Generator 3
group(
    type=message,ID="You make Generator Mk3";
	group(
        ID=glowstone,amount=37;
        ID=projecte:collector_mk3,amount=17;
        ID=projecte:relay_mk3,amount=5;
		ID=projecte:condenser_mk2,
    ))@luck=60


/ MOBS

/ Equivalent Dark Bob the zombie
group(type=difficulty,ID=hard;type=entity,ID=zombie,amount=#rand(20,40),NBTTag=(
    HandItems=[(id=projecte:dm_sword,Count=1)],
    ArmorItems=[(id=projecte:dm_boots,Count=1),(id=projecte:dm_leggings,Count=1),(id=projecte:dm_chestplate,Count=1),(id=projecte:dm_helmet,Count=1)],
    HandDropChances=[0f,0f],ArmorDropChances=[0f,0f,0f,0f],
    CustomName=#jsonStr(text="Dark Matter Bob",color=blue,bold=true),CustomNameVisible=true)
)@luck=-10

/ Equivalent Red Bob the zombie
group(type=difficulty,ID=hard;type=entity,ID=zombie,amount=#rand(20,40),NBTTag=(
    HandItems=[(id=projecte:rm_sword,Count=1)],
    ArmorItems=[(id=projecte:rm_boots,Count=1),(id=projecte:rm_leggings,Count=1),(id=projecte:rm_chestplate,Count=1),(id=projecte:rm_helmet,Count=1)],
    HandDropChances=[0f,0f],ArmorDropChances=[0f,0f,0f,0f],
    CustomName=#jsonStr(text="Red Matter Bob",color=blue,bold=true),CustomNameVisible=true)
)@luck=-20

/ Equivalent Gem Bob the zombie
group(type=difficulty,ID=hard;type=entity,ID=zombie,amount=#rand(20,40),NBTTag=(
    HandItems=[(id=projecte:rm_morning_star,Count=1)],
    ArmorItems=[(id=projecte:gem_boots,Count=1),(id=projecte:gem_leggings,Count=1),(id=projecte:gem_chestplate,Count=1),(id=projecte:gem_helmet,Count=1)],
    HandDropChances=[0f,0f],ArmorDropChances=[0f,0f,0f,0f],
    CustomName=#jsonStr(text="Gem Bob",color=blue,bold=true),CustomNameVisible=true)
)@luck=-30

/ Equivalent Dark Skeleton
group(type=difficulty,ID=hard;type=entity,ID=skeleton,amount=#rand(20,40),NBTTag=(
    HandItems=[(id=minecraft:bow,Count=1)],
    ArmorItems=[(id=projecte:dm_boots,Count=1),(id=projecte:dm_leggings,Count=1),(id=projecte:dm_chestplate,Count=1),(id=projecte:dm_helmet,Count=1)],
    HandDropChances=[0f,0f],ArmorDropChances=[0f,0f,0f,0f],
    CustomName=#jsonStr(text="Dark Matter Skeleton",color=blue,bold=true),CustomNameVisible=true)
)@luck=-10

/ Equivalent Red Skeleton
group(type=difficulty,ID=hard;type=entity,ID=zombie,amount=#rand(20,40),NBTTag=(
    HandItems=[(id=minecraft:bow,Count=1)],
    ArmorItems=[(id=projecte:rm_boots,Count=1),(id=projecte:rm_leggings,Count=1),(id=projecte:rm_chestplate,Count=1),(id=projecte:rm_helmet,Count=1)],
    HandDropChances=[0f,0f],ArmorDropChances=[0f,0f,0f,0f],
    CustomName=#jsonStr(text="Red Matter Skeleton",color=blue,bold=true),CustomNameVisible=true)
)@luck=-20

/ Equivalent Gem Bob Skeleton
group(type=difficulty,ID=hard;type=entity,ID=zombie,amount=#rand(20,40),NBTTag=(
    HandItems=[(id=minecraft:bow,Count=1)],
    ArmorItems=[(id=projecte:gem_boots,Count=1),(id=projecte:gem_leggings,Count=1),(id=projecte:gem_chestplate,Count=1),(id=projecte:gem_helmet,Count=1)],
    HandDropChances=[0f,0f],ArmorDropChances=[0f,0f,0f,0f],
    CustomName=#jsonStr(text="Skeleton Gem",color=blue,bold=true),CustomNameVisible=true)
)@luck=-30