/ ========== TOOLS & ARMOR ==========

/ all wood, stone and gold tools
group(ID=wooden_sword;ID=wooden_shovel;ID=wooden_pickaxe;ID=wooden_axe;ID=wooden_hoe)@luck=0
group(ID=stone_sword;ID=stone_shovel;ID=stone_pickaxe;ID=stone_axe;ID=stone_hoe)@luck=0
group(ID=golden_sword;ID=golden_shovel;ID=golden_pickaxe;ID=golden_axe;ID=golden_hoe)@luck=1
/ 2-3 iron tools
group:#rand(2,3):(ID=iron_shovel;ID=iron_pickaxe;ID=iron_axe;ID=iron_sword;ID=iron_hoe)@luck=1
/ 1-2 diamond tools
group:#rand(1,2):(ID=diamond_sword;ID=diamond_shovel;ID=diamond_pickaxe;ID=diamond_axe;ID=diamond_hoe)@luck=2
/ 1-2 netherite tools
group:#rand(1,2):(ID=lootplusplus:fire.netherite_sword;ID=lootplusplus:fire.netherite_shovel;ID=lootplusplus:fire.netherite_pickaxe;ID=lootplusplus:fire.netherite_axe;ID=lootplusplus:fire.netherite_hoe)@luck=2@chance=0.75
/ 1-2 fire tools
group:#rand(1,2):(ID=lootplusplus:fire.fire_sword,NBTTag=(ench=[(id=20,lvl=#rand(3,5)),(id=50,lvl=#rand(3,5))],display=(Lore=["$4Flame","$6Fire Boost","$r","$rBurn your enemies!"]));ID=lootplusplus:fire.fire_shovel,NBTTag=(ench=[(id=20,lvl=#rand(1,1)),(id=50,lvl=#rand(1,1))],display=(Lore=["$4Flame","$6Fire Boost","$r","$r5% chance of temporary mining speed"]));ID=lootplusplus:fire.fire_pick,NBTTag=(ench=[(id=20,lvl=#rand(1,2)),(id=50,lvl=#rand(1,2))],display=(Lore=["$4Flame","$6Fire Boost","$r","$r5% chance of temporary mining speed"]));ID=lootplusplus:fire.fire_axe,NBTTag=(ench=[(id=20,lvl=#rand(2,3)),(id=50,lvl=#rand(2,3))],display=(Lore=["$4Flame","$6Fire Boost","$r","$r5% chance of temporary mining speed"])))@luck=2@chance=0.5


/ all leather and gold armor
group(ID=leather_helmet;ID=leather_chestplate;ID=leather_leggings;ID=leather_boots)@luck=0
group(ID=golden_helmet;ID=golden_chestplate;ID=golden_leggings;ID=golden_boots;ID=golden_horse_armor)@luck=1
/ 2-3 chain and iron armor
group:#rand(2,3):(ID=chainmail_helmet;ID=chainmail_chestplate;ID=chainmail_leggings;ID=chainmail_boots)@luck=2
group:#rand(2,3):(ID=iron_helmet;ID=iron_chestplate;ID=iron_leggings;ID=iron_boots;ID=iron_horse_armor)@luck=1
/ 1-2 diamond armor
group:#rand(1,2):(ID=diamond_helmet;ID=diamond_chestplate;ID=diamond_leggings;ID=diamond_boots;ID=diamond_horse_armor)@luck=2
/ 1-3 blaze armor
group:#rand(1,3):(ID=lootplusplus:fire.blaze_helmet,NBTTag=(ench=[(id=4,lvl=#rand(2,4)),(id=7,lvl=1)],display=(Lore=["$eBlazing Structure","$6Fire Spread","$r","$rFull Set Bonus: Slowfall and Fire Trails"]));ID=lootplusplus:fire.blaze_chestplate,NBTTag=(ench=[(id=4,lvl=#rand(2,4)),(id=7,lvl=1)],display=(Lore=["$eBlazing Structure","$6Fire Spread","$r","$rFull Set Bonus: Slowfall and Fire Trails"]));ID=lootplusplus:fire.blaze_leggings,NBTTag=(ench=[(id=4,lvl=#rand(2,4)),(id=7,lvl=1)],display=(Lore=["$eBlazing Structure","$6Fire Spread","$r","$rFull Set Bonus: Slowfall and Fire Trails"]));ID=lootplusplus:fire.blaze_boots,NBTTag=(ench=[(id=4,lvl=#rand(2,4)),(id=7,lvl=1)],display=(Lore=["$eBlazing Structure","$6Fire Spread","$r","$rFull Set Bonus: Slowfall and Fire Trails"])))@luck=2
/ 1-2 ghast armor
group:#rand(1,3):(ID=lootplusplus:fire.ghast_helmet,NBTTag=(ench=[(id=3,lvl=#rand(2,6)),(id=2,lvl=#rand(1,3))],display=(Lore=["$7Layered Cube","$fFlight","$r","$rFull Set Bonus: Fly like a Ghast"])); ID=lootplusplus:fire.ghast_chestplate,NBTTag=(ench=[(id=3,lvl=#rand(2,6)),(id=2,lvl=#rand(1,3))],display=(Lore=["$7Layered Cube","$fFlight","$r","$rFull Set Bonus: Fly like a Ghast"])); ID=lootplusplus:fire.ghast_leggings,NBTTag=(ench=[(id=3,lvl=#rand(2,6)),(id=2,lvl=#rand(1,3))],display=(Lore=["$7Layered Cube","$fFlight","$r","$rFull Set Bonus: Fly like a Ghast"])); ID=lootplusplus:fire.ghast_boots,NBTTag=(ench=[(id=3,lvl=#rand(2,6)),(id=2,lvl=#rand(1,3))],display=(Lore=["$7Layered Cube","$fFlight","$r","$rFull Set Bonus: Fly like a Ghast"])))@luck=2@chance=0.9
/ 1-2 netherite armor
group:#rand(1,2):(ID=lootplusplus:fire.netherite_helmet,NBTTag=(display=(Lore=["$9Full Set Bonus: Knockback Resistance"])) ;ID=lootplusplus:fire.netherite_chestplate,NBTTag=(display=(Lore=["$9Full Set Bonus: Knockback Resistance"])) ;ID=lootplusplus:fire.netherite_leggings,NBTTag=(display=(Lore=["$9Full Set Bonus: Knockback Resistance"])) ;ID=lootplusplus:fire.netherite_boots,NBTTag=(display=(Lore=["$9Full Set Bonus: Knockback Resistance"])) )@luck=2@chance=0.75

/ all horse armor
group(ID=iron_horse_armor;ID=golden_horse_armor;ID=diamond_horse_armor)@luck=2
/ bow and arrows
group(ID=bow;ID=arrow,amount=#rand(16,32))@luck=1

/ ========== BLOCKS ==========

/ flowers
group(type=command,ID="gamerule commandBlockOutput false";type=command,ID="setblock ~ ~ ~ red_flower #rand(0,15) keep",posOffset=#circleOffset(0,5),amount=20,reinitialize=true)@chance=3@luck=0
/ fungis
group(type=command,ID="gamerule commandBlockOutput false";type=command,ID="setblock ~ ~ ~ #randList(brown_mushroom,red_mushroom,lootplusplus:fire.crimson,lootplusplus:fire.warped) 0 keep",posOffset=#circleOffset(0,5),amount=20,reinitialize=true)@chance=3@luck=1
/ wither rose
group(type=command,ID="gamerule commandBlockOutput false";type=command,ID="setblock ~ ~ ~ lootplusplus:fire.wither_rose 0 keep",posOffset=#circleOffset(0,5),amount=20,reinitialize=true)@chance=3@luck=-1



ID=sponge@luck=0
ID=tnt,amount=8@luck=1
ID=fire_charge,amount=8@luck=1
ID=lootplusplus:fire.magma,amount=8@luck=1
group(ID=soulsand,amount=#rand(8,32);ID=lootplusplus:fire.soil,amount=#rand(4,12))@luck=0
ID=lootplusplus:fire.basalt,amount=#rand(8,64)@luck=0


ID=enchanting_table@luck=2
ID=end_portal_frame,amount=#rand(2,6)@luck=2
ID=lootplusplus:fire.light,amount=#rand(2,6)@luck=1
ID=lootplusplus:fire.lava_florb,amount=#rand(2,6)@luck=2

ID=dragon_egg@luck=1
ID=ender_chest,amount=2@luck=0
ID=beacon@luck=2
ID=nether_star@luck=2
ID=dropper,amount=8@luck=0
ID=dispenser,amount=8@luck=0
ID=glowstone,amount=8@luck=0
ID=coal,amount=8@luck=-1


/ chests
type=block,ID=chest,tileEntity=(Items=#chestVillageBlacksmith)@luck=0
type=block,ID=chest,tileEntity=(Items=#chestBonusChest)@luck=1
type=block,ID=chest,tileEntity=(Items=#chestDungeonChest)@luck=1
type=block,ID=chest,tileEntity=(Items=#chestNetherFortress)@luck=2
type=block,ID=chest,tileEntity=(Items=#chest(contents=[(id=soul_sand,maxAmount=60,weight=10),(id=netherrack,maxAmount=35,weight=10),(id=lootplusplus:fire.soulsoil,maxAmount=18,weight=10),(id=glowstone,maxAmount=10,weight=10),(id=lootplusplus:fire.magma,maxAmount=16,weight=10),(id=lucky:lucky_block_fire,maxAmount=1,weight=10),(id=lootplusplus:fire.basalt,maxAmount=20,weight=6),(id=fire_charge,maxAmount=6,weight=10)],maxTotalAmount=12))@luck=2@chance=0.87
type=block,ID=chest,tileEntity=(Items=#chest(contents=[(id=iron_ingot,maxAmount=8,weight=10),(id=gold_ingot,maxAmount=4,weight=10),(id=diamond,maxAmount=4,weight=10),(id=emerald,maxAmount=4,weight=10),(id=dye,Damage=4,maxAmount=4,weight=10),(id=lucky:lucky_block,maxAmount=2,weight=10),(id=golden_apple,maxAmount=2,weight=10),(id=golden_apple,Damage=1,maxAmount=2,weight=10)],maxTotalAmount=12))@luck=2@chance=0.87
type=block,ID=chest,tileEntity=(Items=#chest(contents=[(id=gold_nugget,maxAmount=50,weight=10),(id=gold_ingot,maxAmount=4,weight=10),(id=gold_block,maxAmount=2,weight=10),(id=gold_ore,maxAmount=8,weight=10),(id=lootplusplus:fire.nether_gold_ore,maxAmount=20,weight=10),(id=lucky:lucky_block_fire,maxAmount=2,weight=10),(id=golden_apple,maxAmount=2,weight=10),(id=golden_apple,Damage=1,maxAmount=2,weight=10)],maxTotalAmount=12))@luck=2@chance=0.87

/bad explosions
type=explosion,radius=2,fire=true@luck=0
type=explosion,radius=4,fire=true@luck=-1
type=explosion,radius=6,fire=true@luck=-2
type=explosion,radius=9,fire=true@luck=-2@chance=0.9
type=explosion,radius=15,fire=true@luck=-2@chance=0.5
type=explosion,radius=31,fire=true@luck=-2@chance=0.031


/ ========= ITEMS ==========

/Golds Galore
ID=gold_ingot,amount=#rand(8,16)@luck=1
ID=gold_nugget,amount=#rand(8,16)@luck=0
ID=gold_nugget,amount=#rand(32,64)@luck=1

type=block,ID=gold_block@luck=1
/Fire Items
ID=fire_charge,amount=#rand(8,16)@luck=1
ID=gunpowder,amount=#rand(32,64)@luck=1
ID=blaze_powder,amount=#rand(8,16)@luck=1
ID=coal,amount=#rand(8,16)@luck=1
ID=lootplusplus:fire.fire_coal,amount=#rand(4,8)@luck=2
ID=lootplusplus:fire.soul_fire_coal,amount=#rand(2,4)@luck=2@chance=0.8
ID=lootplusplus:fire.infinity_coal@luck=2@chance=0.5
ID=blaze_rod@luck=-1
ID=painting,amount=4@luck=0
ID=lootplusplus:fire.crying_obsidian,amount=4@luck=0
ID=lootplusplus:fire.netherite_scrap,amount=#rand(8,16)@luck=2@chance=0.9
ID=lootplusplus:fire.netherite_ingot@luck=2
ID=lootplusplus:fire.respawn@luck=2
ID=lootplusplus:fire.ash,amount=#rand(32,64)@luck=0
ID=lootplusplus:fire.ash,amount=#rand(32,640)@luck=-1
ID=painting,amount=4@luck=0
ID=saddle,amount=2@luck=0
ID=cake@luck=0
ID=rotten_flesh@luck=-1
ID=gold_nugget@luck=-2
ID=nether_star@luck=2
ID=ghast_tear@luck=1
type=block,ID=ghast_tear@luck=-2
ID=lootplusplus:fire.wither_rose,NBTTag=(display=(Name="$cBurned Romantic Rose"))@luck=-1
ID=rabbit_stew,amount=#rand(5,7)@luck=1
ID=lootplusplus:fire.soup_crimson,amount=#rand(5,7)@luck=2
ID=lootplusplus:fire.soup_warped,amount=#rand(5,7)@luck=2
ID=lootplusplus:fire.sus_soup,amount=#rand(5,7)@luck=-1



/Modded Stuff
ID=inventorypets:magma_cube_pet@luck=2@chance=0.8
ID=inventorypets:blaze_pet@luck=2@chance=0.8
ID=inventorypets:enchanting_table_pet@luck=2@chance=0.8
ID=inventorypets:nether_portal_pet@luck=2@chance=0.8
ID=inventorypets:wither_pet@luck=2@chance=0.5
ID=inventorypets:illuminati_pet@luck=2@chance=0.5

/ ========== GROUPS ==========

/ bookshelves and books
group(ID=bookshelf,amount=#rand(6,12);ID=book,amount=#rand(8,16))@luck=0
/ pumpkins and jack o'lanterns
group(ID=pumpkin,amount=#rand(8,16);ID=lit_pumpkin,amount=#rand(8,16))@luck=0
/ golden apples
group(ID=golden_apple,amount=#rand(2,4);ID=golden_apple,amount=#rand(1,2),damage=1)@luck=2
/ hot beefs
group(ID=lootplusplus:fire.hot_beef,amount=#rand(2,4);ID=lootplusplus:fire.hot_beefe,amount=#rand(1,2))@luck=2


/ buckets
group(ID=bucket,amount=#rand(1,2);ID=water_bucket,amount=#rand(1,2);ID=lava_bucket,amount=#rand(1,2);ID=milk_bucket,amount=#rand(1,2))@luck=0
/ meat (raw and cooked)
group:1:(group(ID=porkchop,amount=#rand(8,16);ID=cooked_porkchop,amount=#rand(4,8));group(ID=fish,amount=#rand(8,16);ID=cooked_fish,amount=#rand(4,8));group(ID=beef,amount=#rand(8,16);ID=cooked_beef,amount=#rand(4,8));group(ID=chicken,amount=#rand(8,16);ID=cooked_chicken,amount=#rand(4,8));group(ID=mutton,amount=#rand(8,16);ID=cooked_mutton,amount=#rand(4,8));group(ID=rabbit,amount=#rand(8,16);ID=cooked_rabbit,amount=#rand(4,8)))@luck=1
/ vegetable food (carrots, potatoes, pumpkin pie)
group:1:(group(ID=carrot,amount=#rand(8,16);ID=golden_carrot,amount=#rand(4,8));group(ID=potato,amount=#rand(8,16);ID=baked_potato,amount=#rand(4,8);ID=poisonous_potato,amount=#rand(2,4));group(ID=pumpkin_pie,amount=#rand(6,12)))@luck=1
/ ender pearls and eyes 
group(ID=ender_pearl,amount=10;ID=ender_eye,amount=5)@luck=2
/ lavas
group(ID=lava_bucket,amount=10;ID=lootplusplus:fire.lava_florb,amount=5)@luck=2
/ shuriken
ID=lootplusplus:fire.fire_shuriken,amount=8@luck=2
ID=lootplusplus:fire.lava_florb,amount=4@luck=2@chance=0.9
ID=lootplusplus:fire.soul_fire_shuriken,amount=2@luck=2@chance=0.9

/ obsidian and crying obsidians
group(ID=obsidian,amount=#rand(5,10);ID=lootplusplus:fire.crying_obsidian,amount=#rand(2,5))@luck=2
/ potions
ID=potion,damage=#randPotionDamage,amount=#rand(4,8)@luck=1
/ lingering potions
ID=lootplusplus:fire.potion_#randList(fire,harm,jump,poison,regen,slowness,speed,strength,weakness),amount=#rand(4,8)@luck=2
/ rare lingering potions
ID=lootplusplus:fire.potion_#randList(flight,thunder),amount=#rand(1,3)@luck=2@chance=0.9
/ standalone nether spawn eggs
ID=spawn_egg,damage=#randList(56,57,58,61,62,66,120),amount=#rand(4,8)@luck=0
/ throwable nether spawn eggs
ID=lootplusplus:fire.summon_#randList(blaze,cube,ghast,pigmen,skeleton),amount=#rand(4,8)@luck=1
/ omg wither spawn eggs
ID=lootplusplus:fire.summon_wither,amount=#rand(1,2)@luck=2@chance=0.76
/ heads
ID=skull,damage=#rand(0,4),amount=#rand(1,3)@luck=0
/ wither skull
ID=skull,damage=1,amount=#rand(1,3)@luck=2
/ jukebox music discs
group(ID=jukebox;ID=#randList(2256,2258,2259,2263,2266,2266,2266),amount=#rand(1,3))@luck=1
/ pigstep music disc
group(ID=jukebox;ID=lootplusplus:fire.pigstep)@luck=2
/ netherite and/or scraps
group(ID=lootplusplus:fire.netherite_scrap,amount=#rand(2,8);ID=lootplusplus:fire.netherite_ingot,amount=#rand(0,4))@luck=2
/ brewing
group(ID=ender_pearl,amount=#rand(1,3);ID=blaze_rod,amount=#rand(1,3);ID=ghast_tear,amount=#rand(1,3);ID=gold_nugget,amount=#rand(1,3);ID=nether_wart,amount=#rand(1,3);ID=spider_eye,amount=#rand(1,3);ID=fermented_spider_eye,amount=#rand(1,3);ID=blaze_powder,amount=#rand(1,3);ID=magma_cream,amount=#rand(1,3);ID=ender_eye,amount=#rand(1,3);ID=speckled_melon,amount=#rand(1,3);ID=rabbit_foot,amount=#rand(1,3);type=particle,ID=2002,damage=3)@luck=2
/ redstone
group(ID=dispenser,amount=2;ID=noteblock,amount=1;ID=sticky_piston,amount=4;ID=piston,amount=4;ID=tnt,amount=6;ID=lever,amount=2;ID=stone_pressure_plate,amount=2;ID=wooden_pressure_plate,amount=2;ID=redstone_torch,amount=8;ID=stone_button,amount=2;ID=trapdoor,amount=2;ID=iron_trapdoor,amount=2;ID=fence_gate,amount=1;ID=redstone_lamp,amount=4;ID=tripwire_hook,amount=2;ID=wooden_button,amount=2;ID=light_weighted_pressure_plate,amount=1;ID=heavy_weighted_pressure_plate,amount=1;ID=daylight_detector,amount=1;ID=hopper,amount=4;ID=dropper,amount=#rand(2,4);ID=wooden_door,amount=1;ID=iron_door,amount=1;ID=redstone,amount=#rand(32,64);ID=repeater,amount=8;ID=comparator,amount=2;type=particle,ID=2002,damage=9)@luck=2
/ fire colorful
group(group:1:(ID=wool,damage=#randList(0,1,4,12,14,15),amount=#rand(32,64);ID=stained_hardened_clay,damage=#randList(0,1,4,7,12,14,15),amount=#rand(32,64);ID=dye,damage=#randList(0,1,7,11,14,15),amount=#rand(32,64));type=particle,ID=2002,damage=#randPotionParticle,amount=10)@luck=1
/ iron, gold, diamond, emerald, lapis with fireworks
group(ID=iron_ingot,amount=#rand(8,16);ID=gold_ingot,amount=#rand(8,16);ID=diamond,amount=#rand(8,16);ID=emerald,amount=#rand(8,16);ID=dye,damage=4,amount=#rand(8,16);type=entity,ID=FireworksRocketEntity,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag=#randFireworksRocket)),amount=20,posOffset=#circleOffset(0,2))@luck=2


/ nether stuff with fireworks
group(ID=quartz,amount=#rand(8,16);ID=gold_ingot,amount=#rand(8,16);ID=glowstone_dust,amount=#rand(8,16);ID=blaze_powder,amount=#rand(8,16);ID=lootplusplus:fire.netherite_scrap,amount=#rand(4,8);type=entity,ID=FireworksRocketEntity,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag=#randFireworksRocket)),amount=20,posOffset=#circleOffset(0,2))@luck=2

/ ores with fireworks
group(ID=iron_ore,amount=#rand(8,16);ID=gold_ore,amount=#rand(8,16);ID=diamond_ore,amount=#rand(8,16);ID=emerald_ore,amount=#rand(8,16);ID=lapis_ore,amount=#rand(8,16);type=entity,ID=FireworksRocketEntity,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag=#randFireworksRocket)),amount=20,posOffset=#circleOffset(0,2))@luck=2

/ nether ores with fireworks
group(ID=quartz_ore,amount=#rand(8,16);ID=lootplusplus:fire.nether_gold_ore,amount=#rand(8,16);ID=lootplusplus:fire.debris,amount=#rand(8,16);ID=lootplusplus:fire.basalt_gold_ore,amount=#rand(8,16);ID=glowstone,amount=#rand(8,16);type=entity,ID=FireworksRocketEntity,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag=#randFireworksRocket)),amount=20,posOffset=#circleOffset(0,2))@luck=2


/ quartz
group(ID=stone_slab,damage=7,amount=#rand(4,8);ID=quartz_ore,amount=#rand(16,32);ID=quartz_block,amount=#rand(4,8);ID=quartz_block,damage=1,amount=#rand(4,8);ID=quartz_block,damage=2,amount=#rand(4,8);ID=quartz_stairs,amount=#rand(4,8);ID=quartz,amount=#rand(24,32);type=particle,ID=2002,damage=14)@luck=1
/ nether brick
group(ID=stone_slab,damage=6,amount=#rand(4,8);ID=netherrack,amount=#rand(16,32);ID=nether_brick,amount=#rand(4,8);ID=lootplusplus:fire.netherchisel,amount=#rand,amount=#rand(4,8);ID=lootplusplus:fire.nethercrack,amount=#rand,amount=#rand(4,8);ID=nether_brick_stairs,amount=#rand(4,8);ID=netherbrick,amount=#rand(24,32);type=particle,ID=2002,damage=14)@luck=1

/ blackstone
group(ID=lootplusplus:fire.basaltslab,amount=#rand(4,8);ID=lootplusplus:fire.basalt,amount=#rand(16,32);ID=lootplusplus:fire.basaltbricks,amount=#rand(4,8);ID=lootplusplus:fire.basaltcrack,amount=#rand(4,8);ID=lootplusplus:fire.basaltchisel,amount=#rand(4,8);ID=lootplusplus:fire.basaltplate,amount=#rand(4,8);type=particle,ID=2002,damage=14)@luck=1
group(ID=lootplusplus:fire.basaltbrickslab,amount=#rand(4,8);ID=lootplusplus:fire.basaltbricks,amount=#rand(16,32);ID=lootplusplus:fire.basaltcrack,amount=#rand(4,8);ID=lootplusplus:fire.basaltchisel,amount=#rand(4,8);ID=lootplusplus:fire.basaltplate,amount=#rand(4,8);type=particle,ID=2002,damage=14)@luck=1
group(ID=lootplusplus:fire.basaltplateslab,amount=#rand(4,8);ID=lootplusplus:fire.basaltplate,amount=#rand(16,32);ID=lootplusplus:fire.basaltcrack,amount=#rand(4,8);ID=lootplusplus:fire.basaltchisel,amount=#rand(4,8);ID=lootplusplus:fire.basaltbrick,amount=#rand(4,8);type=particle,ID=2002,damage=14)@luck=1
/ vines
group(type=message,ID="$2VINES OP";ID=vine,amount=#rand(8,16);ID=lootplusplus:fire.crimsonvine,amount=#rand(4,8);ID=lootplusplus:fire.warpedvine,amount=#rand(4,8))@luck=1
group(type=message,ID="$2VINES OP";ID=vine,amount=#rand(16,32);ID=lootplusplus:fire.crimsonvine,amount=#rand(8,16);ID=lootplusplus:fire.warpedvine,amount=#rand(8,16))@luck=2
/ nether things
group(ID=netherrack,amount=#rand(32,64);ID=glowstone,amount=#rand(5,10);ID=soul_sand,amount=#rand(15,30);ID=nether_brick,amount=#rand(16,32);ID=nether_brick_fence,amount=#rand(5,10);ID=nether_brick_slab,amount=#rand(5,10);ID=glowstone_dust,amount=#rand(10,20);ID=netherbrick,amount=#rand(32,64);type=particle,ID=2002,damage=9)@luck=1
/ gigant portal intensifies
group(type=structure,ID=firelb_beeg_portal;type=command,ID=\"/playsound portal.travel @a ~ ~ ~ 2.0 1.0\";type=entity,ID=PigZombie,amount=#rand(8,40),posOffset=#circleOffset(#rand(15,40)) ;type=entity,ID=Blaze,amount=#rand(8,16),posY=#bPosY+5,posOffset=#circleOffset(4))@luck=-1

/ crimson warped wooden planks and logs
group(ID=lootplusplus:fire.crimson_planks,amount=#rand(32,64);ID=lootplusplus:fire.crimson_stem,amount=#rand(5,10);ID=lootplusplus:fire.warped_stem,amount=#rand(5,10);ID=lootplusplus:fire.crimsonslab,amount=#rand(5,10);ID=lootplusplus:fire.warpedslab,amount=#rand(5,10);ID=lootplusplus:fire.crimsonstairs,amount=#rand(3,6);ID=lootplusplus:fire.warpedfence,amount=#rand(6,12);ID=lootplusplus:fire.crimsonfence,amount=#rand(6,12);ID=lootplusplus:fire.warpedstairs,amount=#rand(3,6))@luck=0

/  crimson warped foliage
group(ID=lootplusplus:fire.crimson,amount=#rand(4,16);ID=lootplusplus:fire.warped,amount=#rand(4,16))@luck=0

/ fish
group(ID=fishing_rod;ID=349,damage=#rand(0,3),amount=#rand(10,20))@luck=1

/ strider head and fungi
group(ID=lootplusplus:fire.strider_head,NBTTag=(display=(Lore=["$rFly on lava!"]));ID=lootplusplus:fire.warped_fungi,amount=#rand(10,20))@luck=2

/ message with mushroom
group(type=command,ID="/tell #pName Listen to me, #pName. You are in grave danger. You need to run. Now. Take this mushroom, it is your only hope.",commandSender="PlayerInDistress";ID=red_mushroom,NBTTag=(display=(Name="$cOnly Hope")))@luck=-1
/ random jokes
group:1:(ID=clock,NBTTag=(display=(Name="You're wasting your time"));ID=fish,damage=2,NBTTag=(display=(Name="I'm funny"));ID=fish,damage=3,NBTTag=(display=(Name="Oooooh!")))@luck=-1
/ flowers
group(ID=red_flower,damage=#rand(0,8),amount=64)@luck=0
/ fungis
group(ID=#randList(brown_mushroom,red_mushroom,lootplusplus:fire.crimson,lootplusplus:fire.warped),amount=64)@luck=0

/ enchantment books
ID=enchanted_book,NBTTag=(StoredEnchantments=#randEnchantment),amount=#rand(7,10)@luck=1
/ prismarine
group(ID=prismarine,amount=#rand(4,8);ID=prismarine,damage=1,amount=#rand(4,8);ID=prismarine,damage=2,amount=#rand(4,8);ID=sea_lantern,amount=#rand(4,8);ID=prismarine_shard,amount=#rand(15,30);ID=prismarine_crystals,amount=#rand(10,20);type=particle,ID=2002,damage=14)@luck=1

/ ========== ENTITIES ==========

/ unlucky mobs
group:1:(type=entity,ID=Blaze,NBTTag=(CustomName="$e$lUnlucky Blaze",CustomNameVisible=true);type=entity,ID=LavaSlime,NBTTag=(CustomName="$e$lUnlucky Cube",CustomNameVisible=true);type=entity,ID=PigZombie,NBTTag=(CustomName="$e$lUnlucky Pigman",CustomNameVisible=true);type=entity,ID=Ghast,NBTTag=(CustomName="$e$lUnlucky Ghast",CustomNameVisible=true);type=entity,ID=Skeleton,NBTTag=(SkeletonType=1,CustomName="$e$lUnlucky Skeleton",CustomNameVisible=true))@luck=-1

/ colored sheep
type=entity,ID=Sheep,NBTTag=(CustomName="$6$lFire Sheep",CustomNameVisible=true,Color=#randList(0,1,4,14,7,8,15)),posOffset=#circleOffset(4),amount=16@luck=1

/ eggs + diamonds
type=entity,ID=lootplusplus.ThrownItem,NBTTag=(ItemThrown=lootplusplus:emerald_block.lucky_egg,Motion=#randLaunchMotion(0.6,15)),amount=#rand(30,50)@luck=2

/ lava florb
type=entity,ID=lootplusplus.ThrownItem,NBTTag=(ItemThrown=lootplusplus:fire.lava_florb,Motion=#randLaunchMotion(0.6,20)),amount=#rand(20,40)@luck=-2


/ thrown exp bottles
type=entity,ID=ThrownExpBottle,NBTTag=(Motion=#randLaunchMotion),amount=#rand(16,32)@luck=2

/ launched tnt
type=entity,ID=PrimedTnt,NBTTag=(Fuse=50b,Motion=#randLaunchMotion),amount=15@luck=-2

/ launched blazes
type=entity,ID=Blaze,NBTTag=(Fuse=50b,Motion=#randLaunchMotion),amount=15@luck=-2

/ launched ghast
type=entity,ID=Ghast,NBTTag=(Fuse=50b,Motion=#randLaunchMotion),amount=5@luck=-2

/ lightning creeper
group(type=difficulty,ID=hard;type=entity,ID=Creeper;type=entity,ID=LightningBolt)@luck=-2

/ suprise lightning pigman
group(type=difficulty,ID=hard;type=entity,ID=Pig,amount=#rand(5,20);type=entity,ID=LightningBolt)@luck=-2

/ giant
group(type=difficulty,ID=hard;type=entity,ID=Giant)@luck=-2
/ wither
group(type=difficulty,ID=hard;type=entity,ID=WitherBoss)@chance=0.2@luck=-2

/ ghast
group(type=difficulty,ID=hard;type=entity,ID=Ghast)@chance=0.5@luck=-2

/ bob zombie
group(type=difficulty,ID=hard;type=entity,ID=Zombie,NBTTag=(Equipment=[(id=diamond_sword,Count=1,tag=(ench=#luckySwordEnchantments)),(id=diamond_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments)),(id=diamond_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=diamond_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_boots,Count=1,tag=(ench=#luckyBootsEnchantments))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="$e$lBob",CustomNameVisible=true))@luck=-2

/ bob wither skeleton
group(type=difficulty,ID=hard;type=entity,ID=Skeleton,NBTTag=(SkeletonType=1,Equipment=[(id=lootplusplus:fire.netherite_sword,Count=1,tag=(ench=#luckySwordEnchantments)),(id=lootplusplus:fire.netherite_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments)),(id=lootplusplus:fire.netherite_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=lootplusplus:fire.netherite_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=lootplusplus:fire.netherite_boots,Count=1,tag=(ench=#luckyBootsEnchantments))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="$e$lNether Peter",CustomNameVisible=true))@luck=-2

/ bob pigman
group(type=difficulty,ID=hard;type=entity,ID=PigZombie,NBTTag=(Equipment=[(id=golden_sword,Count=1,tag=(ench=#luckySwordEnchantments)),(id=golden_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments)),(id=golden_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=golden_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=golden_boots,Count=1,tag=(ench=#luckyBootsEnchantments))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="$e$lZombified Boblin",CustomNameVisible=true))@luck=-2


/ ghastly horseman skeleton
group(type=difficulty,ID=hard;type=entity,ID=Skeleton,NBTTag=(Equipment=[(id=lootplusplus:fire.ghast_bazooka,Count=1,tag=(ench=#luckyBowEnchantments)),(id=lootplusplus:fire.ghast_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments)),(id=lootplusplus:fire.ghast_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=lootplusplus:fire.ghast_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=lootplusplus:fire.ghast_boots,Count=1,tag=(ench=#luckyBootsEnchantments))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="$7$lGhastly Horseman",CustomNameVisible=true,Riding=(id=EntityHorse,Tame=true,Type=0,Riding=(id=Bat,Silent=true,ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)]))))@luck=-2

/ power blaze
group(type=difficulty,ID=hard;type=entity,ID=Skeleton,NBTTag=(Equipment=[(id=lootplusplus:fire.blaze_zepter,Count=1,tag=(ench=#luckyBowEnchantments)),(id=lootplusplus:fire.blaze_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments)),(id=lootplusplus:fire.blaze_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=lootplusplus:fire.blaze_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=lootplusplus:fire.blaze_boots,Count=1,tag=(ench=#luckyBootsEnchantments))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="$6$lPower Blaze",CustomNameVisible=true,Riding=(id=Bat,Silent=true,ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)])))@luck=-2

/ stacked villager and pigs
type=entity,ID=Villager,NBTTag=(Riding=(id=Pig,Riding=(id=Pig,Riding=(id=Pig,Riding=(id=Pig,Riding=(id=Pig,Riding=(id=Pig,Riding=(id=Pig))))))))@luck=0

/ horses
type=entity,ID=EntityHorse,amount=12,posOffset=#circleOffset(4),NBTTag=(Type=#rand(0,4),Tame=true)@luck=1

/ nether mobs
type=entity,ID=Blaze,amount=12,posOffset=#circleOffset(6)@luck=-1
type=entity,ID=PigZombie,amount=12,posOffset=#circleOffset(4)@luck=-1
type=entity,ID=Enderman,amount=12,posOffset=#circleOffset(8)@luck=-1
type=entity,ID=LavaSlime,amount=12,posOffset=#circleOffset(12)@luck=-1
type=entity,ID=Ghast,amount=5,posOffset=#circleOffset(16)@luck=-2
type=entity,ID=Skeleton,amount=10,posOffset=#circleOffset(8),NBTTag=(SkeletonType=1)@luck=-1
/all at once
group(type=entity,ID=Blaze,amount=6,posOffset=#circleOffset(6);type=entity,ID=PigZombie,amount=6,posOffset=#circleOffset(4);type=entity,ID=Enderman,amount=6,posOffset=#circleOffset(8);type=entity,ID=LavaSlime,amount=6,posOffset=#circleOffset(12);type=entity,ID=Ghast,amount=2,posOffset=#circleOffset(16);type=entity,ID=Skeleton,amount=5,posOffset=#circleOffset(8),NBTTag=(SkeletonType=1))@luck=-2@chance=0.5
group:2:(type=entity,ID=Blaze,amount=6,posOffset=#circleOffset(6);type=entity,ID=PigZombie,amount=6,posOffset=#circleOffset(4);type=entity,ID=Enderman,amount=6,posOffset=#circleOffset(8);type=entity,ID=LavaSlime,amount=6,posOffset=#circleOffset(12);type=entity,ID=Ghast,amount=2,posOffset=#circleOffset(16);type=entity,ID=Skeleton,amount=5,posOffset=#circleOffset(8),NBTTag=(SkeletonType=1))@luck=-2@chance=0.9

/ huge  magma cube
group:1:(type=entity,ID=LavaSlime,NBTTag=(Size=10))@luck=-2

/ pet wolves
group(type=entity,ID=Wolf,amount=#rand(5,10),posOffset=#circleOffset(3),NBTTag=(CollarColor=#rand(0,14),Owner=#pName,Sitting=1);type=particle,ID="heart",size=(2,0,2),particleAmount=20)@luck=1
/ pet cats
group(type=entity,ID=Ozelot,amount=#rand(5,10),posOffset=#circleOffset(3),NBTTag=(CatType=#rand(0,3),Owner=#pName,Sitting=1);type=particle,ID="heart",size=(2,0,2),particleAmount=20)@luck=1
/ pet rabbits
group(type=entity,ID=Rabbit,amount=#rand(5,10),posOffset=#circleOffset(3),NBTTag=(RabbitType=#rand(0,5),Owner=#pName,Sitting=1);type=particle,ID="heart",size=(2,0,2),particleAmount=20)@luck=1

/ piglins
type=command,ID="/summon Villager ~ ~1 ~ {Profession:2,CustomName:"$e$lPiglin",CustomNameVisible:1,Career:1,CareerLevel:42,CanPickUpLoot:0,PersistenceRequired:1,Offers:{Recipes:[{buy:{id:"gold_ingot",Count:#rand(1,10)},maxUses:9999999,sell:{id:"gravel",Count:#rand(8,16)}},{buy:{id:"gold_ingot",Count:#rand(8,16)},maxUses:9999999,sell:{id:"soul_sand",Count:#rand(8,16)}},{buy:{id:"gold_ingot",Count:#rand(10,20)},maxUses:9999999,sell:{id:"obsidian",Count:#rand(4,10)}}]}}"@luck=1

type=command,ID="/summon Villager ~ ~1 ~ {Profession:2,CustomName:"$e$lPiglin",CustomNameVisible:1,Career:1,CareerLevel:42,CanPickUpLoot:0,PersistenceRequired:1,Offers:{Recipes:[{buy:{id:"gold_ingot",Count:#rand(2,10},maxUses:9999999,sell:{id:"fire_charge",Count:#rand(3,5)}},{buy:{id:"gold_ingot",Count:#rand(4,14)},maxUses:9999999,sell:{id:"quartz",Count:#rand(8,16)}},{buy:{id:"gold_ingot",Count:#rand(8,16)},maxUses:9999999,sell:{id:"string",Count:#rand(8,24)}},{buy:{id:"gold_ingot",Count:#rand(8,16)},maxUses:9999999,sell:{id:"glowstone_dust",Count:#rand(8,16)}},{buy:{id:"gold_ingot",Count:#rand(9,20)},maxUses:9999999,sell:{id:"magma_cream",Count:#rand(2,6)}},{buy:{id:"gold_ingot",Count:#rand(16,32)},maxUses:9999999,sell:{id:"ender_pearl",Count:#rand(1,3)}}]}}"@luck=1

type=command,ID="/summon Villager ~ ~1 ~ {Profession:2,CustomName:"$e$lPiglin",CustomNameVisible:1,Career:1,CareerLevel:42,CanPickUpLoot:0,PersistenceRequired:1,Offers:{Recipes:[{buy:{id:"gold_ingot",Count:#rand(12,24)},maxUses:9999999,sell:{id:"lootplusplus:fire.potion_fire",Count:#rand(1,3)}},{buy:{id:"gold_ingot",Count:#rand(16,32)},maxUses:9999999,sell:{id:"enchanted_book",Count:1}},{buy:{id:"gold_ingot",Count:#rand(20,44)},maxUses:9999999,sell:{id:"lootplusplus:fire.soulspeed_boots",Count:1}},{buy:{id:"gold_ingot",Count:#rand(32,56)},maxUses:9999999,sell:{id:"lootplusplus:fire.netherite_ingot",Count:#rand(1,3)}}]}}"@luck=1

type=command,ID="/summon Villager ~ ~1 ~ {Profession:2,CustomName:"$e$lPiglin",CustomNameVisible:1,Career:1,CareerLevel:42,CanPickUpLoot:0,PersistenceRequired:1,Offers:{Recipes:[{buy:{id:"gold_ingot",Count:#rand(4,8)},maxUses:9999999,sell:{id:"lootplusplus:fire.summon_pigman",Count:#rand(2,8)}},{buy:{id:"gold_ingot",Count:#rand(6,12)},maxUses:9999999,sell:{id:"lootplusplus:fire.summon_skeleton",Count:1}},{buy:{id:"gold_ingot",Count:#rand(8,16)},maxUses:9999999,sell:{id:"lootplusplus:fire.summon_blaze",Count:#rand(1,4)}},{buy:{id:"gold_ingot",Count:#rand(9,20)},maxUses:9999999,sell:{id:"lootplusplus:fire.summon_cube",Count:#rand(1,3)}},{buy:{id:"gold_ingot",Count:#rand(15,24)},maxUses:9999999,sell:{id:"lootplusplus:fire.summon_ghast",Count:#rand(1,2)}},{buy:{id:"gold_block",Count:#rand(10,24)},maxUses:9999999,sell:{id:"lootplusplus:fire.summon_wither",Count:1}}]}}"@luck=1

type=command,ID="/summon Villager ~1 ~ ~ {Profession:2,CustomName:"$e$lPiglin",CustomNameVisible:1,Career:1,CareerLevel:42,CanPickUpLoot:0,PersistenceRequired:1,Offers:{Recipes:[{buy:{id:"gold_ingot",Count:#rand(8,16)},maxUses:9999999,sell:{id:"lootplusplus:fire.potion_fire",Count:1}},{buy:{id:"gold_ingot",Count:#rand(8,16)},maxUses:9999999,sell:{id:"lootplusplus:fire.potion_harm",Count:1}},{buy:{id:"gold_ingot",Count:#rand(8,16)},maxUses:9999999,sell:{id:"lootplusplus:fire.potion_jump",Count:1}},{buy:{id:"gold_ingot",Count:#rand(8,20)},maxUses:9999999,sell:{id:"lootplusplus:fire.potion_poison",Count:1}},{buy:{id:"gold_ingot",Count:#rand(9,20)},maxUses:9999999,sell:{id:"lootplusplus:fire.potion_regen",Count:1}},{buy:{id:"gold_ingot",Count:#rand(8,16)},maxUses:9999999,sell:{id:"lootplusplus:fire.potion_slowness",Count:1}},{buy:{id:"gold_ingot",Count:#rand(8,16)},maxUses:9999999,sell:{id:"lootplusplus:fire.potion_speed",Count:1}},{buy:{id:"gold_ingot",Count:#rand(10,20)},maxUses:9999999,sell:{id:"lootplusplus:fire.potion_strength",Count:1}},{buy:{id:"gold_ingot",Count:#rand(8,16)},maxUses:9999999,sell:{id:"lootplusplus:fire.potion_weakness",Count:1}},{buy:{id:"gold_ingot",Count:#rand(32,64)},maxUses:9999999,sell:{id:"lootplusplus:fire.potion_flight",Count:1}},{buy:{id:"gold_ingot",Count:#rand(32,64)},maxUses:9999999,sell:{id:"lootplusplus:fire.potion_thunder",Count:1}}]}}"@luck=2

type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=gold_ingot,Count=#rand(12,17)),sell=(id=golden_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments,display=(Name="$e$lLucky Helmet"))),maxUses=1),(buy=(id=gold_ingot,Count=#rand(20,25)),sell=(id=golden_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments,display=(Name="$e$lLucky Chestplate"))),maxUses=1),(buy=(id=gold_ingot,Count=#rand(15,20)),sell=(id=golden_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments,display=(Name="$e$lLucky Leggings"))),maxUses=1),(buy=(id=gold_ingot,Count=#rand(12,17)),sell=(id=golden_boots,Count=1,tag=(ench=#luckyBootsEnchantments,display=(Name="$e$lLucky Boots"))),maxUses=1)]),CustomName="$e$lPiglin",CustomNameVisible=true)@luck=1

type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=gold_ingot,Count=#rand(10,15)),sell=(id=golden_shovel,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$e$lLucky Shovel"))),maxUses=1),(buy=(id=gold_ingot,Count=#rand(15,20)),sell=(id=golden_pickaxe,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$e$lLucky Pickaxe"))),maxUses=1),(buy=(id=gold_ingot,Count=#rand(15,20)),sell=(id=golden_axe,Count=1,tag=(ench=#luckyAxeEnchantments,display=(Name="$e$lLucky Axe"))),maxUses=1),(buy=(id=gold_ingot,Count=#rand(10,15)),sell=(id=golden_hoe,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$e$lLucky Hoe"))),maxUses=1)]),CustomName="$e$lPiglin",CustomNameVisible=true)@luck=1

type=command,ID="/summon Villager ~1 ~ ~ {Profession:2,CustomName:"$e$lPiglin",CustomNameVisible:1,Career:1,CareerLevel:42,CanPickUpLoot:0,PersistenceRequired:1,Offers:{Recipes:[{buy:{id:"gold_ingot",Count:#rand(12,20)},maxUses:9999999,sell:{id:"lucky:lucky_block_fire",Count:4}},{buy:{id:"gold_ingot",Count:#rand(16,24)},maxUses:9999999,sell:{id:"blaze_rod",Count:1}},{buy:{id:"gold_ingot",Count:#rand(24,36)},maxUses:9999999,sell:{id:"ghast_tear",Count:#rand(2,4)}},{buy:{id:"gold_ingot",Count:#rand(32,64)},maxUses:9999999,sell:{id:"lootplusplus:fire.netherite_ingot",Count:1}}]}}"@luck=2



type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=gold_ingot,Count=#rand(20,25)),sell=(id=lootplusplus:fire.fire_sword,Count=1,tag=(ench=#luckySwordEnchantments,display=(Lore=["$4Flame","$6Fire Boost","$r","$rBurn your enemies!"]))),maxUses=1),(buy=(id=gold_ingot,Count=#rand(20,25)),sell=(id=lootplusplus:fire.blaze_zepter,Count=1,tag=(ench=#luckyBowEnchantments,display=(Name="$e$lBlaze's Zepter"))),maxUses=1),(buy=(id=gold_ingot,Count=#rand(10,15)),sell=(id=fishing_rod,Count=1,tag=(ench=#luckyFishingRodEnchantments,display=(Name="$e$lFishing on Fire"))),maxUses=1),(buy=(id=gold_ingot,Count=#rand(10,15)),sell=(id=potion,Damage=8195,Count=1,tag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lLucky Potion"))),maxUses=1),(buy=(id=gold_ingot,Count=#rand(7,12)),sell=(id=potion,Damage=16428,Count=1,tag=(CustomPotionEffects=#unluckyPotionEffects,display=(Name="$4$lUnlucky Potion"))),maxUses=1)]),CustomName="$e$lPiglin",CustomNameVisible=true)@luck=1

type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=gold_ingot,Count=#rand(12,17)),sell=(id=lootplusplus:fire.netherite_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments,display=(Name="$e$lNetherite Lucky Helmet"))),maxUses=1),(buy=(id=gold_ingot,Count=#rand(20,25)),sell=(id=lootplusplus:fire.netherite_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments,display=(Name="$e$lNetherite Lucky Chestplete"))),maxUses=1),(buy=(id=gold_ingot,Count=#rand(15,20)),sell=(id=lootplusplus:fire.netherite_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments,display=(Name="$e$lNetherite Lucky Leggings"))),maxUses=1),(buy=(id=gold_ingot,Count=#rand(12,17)),sell=(id=lootplusplus:fire.netherite_boots,Count=1,tag=(ench=#luckyBootsEnchantments,display=(Name="$e$lNetherite Lucky Boots"))),maxUses=1)]),CustomName="$e$lPiglin",CustomNameVisible=true)@luck=2

type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=gold_ingot,Count=#rand(10,15)),sell=(id=lootplusplus:fire.netherite_shovel,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$e$lNetherite Lucky Shovel"))),maxUses=1),(buy=(id=gold_ingot,Count=#rand(15,20)),sell=(id=lootplusplus:fire.netherite_pick,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$e$lNetherite Lucky Pickaxe"))),maxUses=1),(buy=(id=gold_ingot,Count=#rand(15,20)),sell=(id=lootplusplus:fire.netherite_axe,Count=1,tag=(ench=#luckyAxeEnchantments,display=(Name="$e$lNetherite Lucky Axe"))),maxUses=1),(buy=(id=gold_ingot,Count=#rand(10,15)),sell=(id=lootplusplus:fire.netherite_hoe,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$e$lNetherite Lucky Hoe"))),maxUses=1)]),CustomName="$e$lPiglin",CustomNameVisible=true)@luck=2


/ falling blocks (iron, gold, diamond, emerald, netherite, respawn)
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=iron_block);type=particle,ID=largesmoke,size=(1,2,1),particleAmount=500;type=sound,ID=random.fizz)@luck=0
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=gold_block);type=particle,ID=flame,size=(1,2,1),particleAmount=500;type=sound,ID=item.fireCharge.use)@luck=0
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=diamond_block);type=entity,ID=LightningBolt)@luck=1
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=emerald_block);type=particle,ID=happyVillager,size=(1,2,1),particleAmount=500;type=sound,ID=dig.grass)@luck=0
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=lootplusplus:fire.netherite_block);type=particle,ID=lava,size=(1,2,1),particleAmount=1000;type=sound,ID=random.pop)@luck=0
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=lootplusplus:fire.respawn);type=particle,ID=portal,size=(1,2,1),particleAmount=500;type=sound,ID=note.snare)@luck=0





/ fire colorful pole
group(type=fill,ID=air,size=(1,51,1);group(NBTTag=(Block=stained_hardened_clay,Data=14),posY=#bPosY+5;NBTTag=(Block=stained_hardened_clay,Data=1),posY=#bPosY+10;NBTTag=(Block=stained_hardened_clay,Data=4),posY=#bPosY+15;NBTTag=(Block=stained_hardened_clay,Data=1),posY=#bPosY+20;NBTTag=(Block=stained_hardened_clay,Data=14),posY=#bPosY+25;NBTTag=(Block=stained_hardened_clay,Data=1),posY=#bPosY+30;NBTTag=(Block=stained_hardened_clay,Data=4),posY=#bPosY+35;NBTTag=(Block=stained_hardened_clay,Data=1),posY=#bPosY+40;NBTTag=(Block=stained_hardened_clay,Data=14),posY=#bPosY+45),type=entity,ID=FallingSand;type=entity,ID=FallingSand,NBTTag=(Block=gold_block),posY=#bPosY+50;type=entity,ID=LightningBolt,posY=#bPosY+10,delay=5.3)@luck=2
group(type=fill,ID=air,size=(1,51,1);group(NBTTag=(Block=stained_hardened_clay,Data=14),posY=#bPosY+5;NBTTag=(Block=stained_hardened_clay,Data=1),posY=#bPosY+10;NBTTag=(Block=stained_hardened_clay,Data=4),posY=#bPosY+15;NBTTag=(Block=stained_hardened_clay,Data=1),posY=#bPosY+20;NBTTag=(Block=stained_hardened_clay,Data=14),posY=#bPosY+25;NBTTag=(Block=stained_hardened_clay,Data=1),posY=#bPosY+30;NBTTag=(Block=stained_hardened_clay,Data=4),posY=#bPosY+35;NBTTag=(Block=stained_hardened_clay,Data=1),posY=#bPosY+40;NBTTag=(Block=stained_hardened_clay,Data=14),posY=#bPosY+45),type=entity,ID=FallingSand;type=entity,ID=FallingSand,NBTTag=(Block=lootplusplus:fire.netherite_block),posY=#bPosY+50;type=entity,ID=LightningBolt,posY=#bPosY+10,delay=5.3)@luck=2@chance=0.75



/ tnt pole
group(type=fill,ID=air,size=(1,51,1);type=entity,ID=FallingSand,NBTTag=(Block=redstone_block),posY=#bPosY+5;group(posY=#bPosY+10;posY=#bPosY+15;posY=#bPosY+20;posY=#bPosY+25;posY=#bPosY+30;posY=#bPosY+35;posY=#bPosY+40;posY=#bPosY+45;posY=#bPosY+50),type=entity,ID=FallingSand,NBTTag=(Block=tnt))@luck=-2
group(type=fill,ID=air,size=(1,51,1);type=entity,ID=FallingSand,NBTTag=(Block=tnt),posY=#bPosY+5;group(posY=#bPosY+10;posY=#bPosY+15;posY=#bPosY+20;posY=#bPosY+25;posY=#bPosY+30;posY=#bPosY+35;posY=#bPosY+40;posY=#bPosY+45;posY=#bPosY+50),type=entity,ID=FallingSand,NBTTag=(Block=fire))@luck=-1

/ fireman armor
group(ID=leather_helmet,NBTTag=(display=(color=13710131,Name="$4Firelayer Cap"),ench=[(id=1,lvl=10)]);ID=leather_chestplate,NBTTag=(display=(color=13710131,Name="$4Firelayer Jacket"),ench=[(id=1,lvl=10)]);ID=leather_leggings,NBTTag=(display=(color=13710131,Name="$4Firelayer Pants"),ench=[(id=1,lvl=10)]);ID=leather_boots,NBTTag=(display=(color=13710131,Name="$4Firelayer Shoes"),ench=[(id=1,lvl=10)]))@luck=0


/ ==== Nether Monster Apocalyple ====
/ sword, difficulty, time, potion effects
group(ID=golden_sword;type=difficulty,ID=hard;type=time,ID=18750;type=effect,ID=slowness,duration=30,amplifier=4;type=effect,ID=blindness,duration=30; \
/ nether mobs
group:1:(type=entity,ID=PigZombie,amount=#rand(20,50);type=entity,ID=Blaze,amount=#rand(10,30);group(type=entity,ID=LavaSlime,amount=#rand(15,45);type=entity,ID=Skeleton,NBTTag=(SkeletonType=1),amount=#rand(5,10));group(type=entity,ID=PigZombie,amount=#rand(15,45);type=entity,ID=Pig,amount=#rand(5,10));type=entity,ID=Ghast,amount=#rand(10,30); \
/ all
group(type=entity,ID=PigZombie,amount=#rand(20,50);type=entity,ID=Blaze,amount=#rand(10,30);group(type=entity,ID=LavaSlime,amount=#rand(15,45);type=entity,ID=Skeleton,NBTTag=(SkeletonType=1),amount=#rand(5,10);type=entity,ID=PigZombie,amount=#rand(15,45);type=entity,ID=Pig,amount=#rand(5,10);type=entity,ID=Ghast,amount=#rand(10,30)))),posOffset=#circleOffset(8,10))@luck=-2

/just the effects
group(ID=golden_sword;type=difficulty,ID=hard;type=time,ID=18750;type=effect,ID=slowness,duration=30,amplifier=4;type=effect,ID=blindness,duration=30)@luck=-1



/ ========== STRUCTURES ==========

/ traps
type=structure,ID=lava_trap,pos=#pPos,rotation=#pDirect@luck=-2
group(type=structure,ID=fire_lookup,pos=#pPos,rotation=#pDirect;type=command,ID="/setblock ~ ~3 ~ lava",pos=#pPos)@luck=-2
group(type=structure,ID=fire_lookup,pos=#pPos,rotation=#pDirect;type=command,ID="/setblock ~ ~60 ~ anvil";type=commnd,ID="/setblock ~ ~61 ~ anvil";type=commnd,ID="/setblock ~ ~62 ~ anvil",pos=#pPos)@luck=-2
type=structure,ID=pit_trap,pos=#pPos@luck=-2

type=structure,ID=firelb_lava_reactor,rotation=#pDirect@luck=-2
group(type=structure,ID=firelb_lavasoup,rotation=#pDirect;type=command,ID="/fill ~5 ~5 ~5 ~-5 ~-3 ~-5 air 0 replace slime 0")@luck=-2
type=structure,ID=fire_lavawalluno,pos=#pPos,rotation=#pDirect@luck=-1


/obsidian trap varints
group(type=structure,ID=firelb_gigantobsidian,pos=#pPos;type=command,ID="/execute #pName ~ ~ ~ setblock ~ ~2 ~ lava";type=command,ID="/execute #pName ~ ~ ~ setblock ~1 ~2 ~ lava";type=command,ID="/execute #pName ~ ~ ~ setblock ~ ~2 ~1 lava";type=command,ID="/execute #pName ~ ~ ~ setblock ~-1 ~2 ~ lava";type=command,ID="/execute #pName ~ ~ ~ setblock ~ ~2 ~-1 lava",pos=#pPos)@luck=-2
group(type=structure,ID=firelb_gigantobsidian,pos=#pPos;type=entity,ID=Blaze,amount=5,pos=#pPos)@luck=-2
group(type=structure,ID=firelb_gigantobsidian,pos=#pPos;type=entity,ID=PrimedTnt,,pos=#pPos.NBTTag=(Fuse=50b,Motion=#randLaunchMotion),amount=10)@luck=-2


/nether fortress
type=structure,ID=firelb_blazespawn,rotation=#pDirect
type=structure,ID=firelb_fortlava,rotation=#pDirect
type=structure,ID=firelb_fortop,rotation=#pDirect
type=structure,ID=firelb_fortwart,rotation=#pDirect@luck=1

/other structure
group(type=structure,ID=firelb_unfinishedportel,rotation=#pDirect;type=command,ID="/fill ~5 ~5 ~5 ~-5 ~-3 ~-5 lootplusplus:fire.crying_obsidian 0 replace lapis_block 0")@luck=-1
type=structure,ID=firelb_huh,rotation=#pDirect@luck=0
type=structure,ID=firelb_furnace,rotation=#pDirect@luck=1
type=structure,ID=firelb_beeg_portal,rotation=#pDirect@luck=1
group(type=structure,ID=firelb_furnace,rotation=#pDirect)@luck=1@chance=0.5
group(type=structure,ID=firelb_netherore,rotation=#pDirect;type=command,ID="/fill ~6 ~6 ~6 ~-6 ~-6 ~-6 lootplusplus:fire.nether_gold_ore 0 replace emerald_block 0";type=command,ID="/fill ~6 ~6 ~6 ~-6 ~-6 ~-6 lootplusplus:fire.debris 0 replace packed_ice 0")@luck=2


/  temple
type=structure,ID=firelb_temple,pos=#pPos@luck=2


/ bedrock problem
type=structure,ID=bedrock_problem,rotation=#pDirect@luck=-1

/ explosion
group(type=difficulty,ID=hard;type=explosion,radius=6)@luck=-2


/ wishing wells



group(type=structure,ID=firelb_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName lootplusplus:fire.ash 1 0 ";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$4Your fire spread wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=FallingSand,NBTTag=(Motion='#'randLaunchMotion,Block=fire),posY='#'bPosY+9,amount=30)"]))@luck=-2
group(type=structure,ID=firelb_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName lootplusplus:fire.ash 1 0 ";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$4Your fire spread wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=FallingSand,NBTTag=(Motion='#'randLaunchMotion,Block=fire),posY='#'bPosY+9,amount=60)"]))@luck=-2
group(type=structure,ID=firelb_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName lootplusplus:fire.ash 1 0  ";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$4Your nether army wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=#randList(Blaze,PigZombie,Ghast,LavaSlime,Enderman),posY='#'bPosY+7,amount=30)"]))@luck=-2
group(type=structure,ID=firelb_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName lootplusplus:fire.ash 1 0  ";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$4Your lava pool wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=command,ID=\"fill ~3 ~1 ~3 ~-3 ~-3 ~-3 lava 0\" )"]))@luck=-2
group(type=structure,ID=firelb_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName lootplusplus:fire.ash 1 0 ";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$4Your fire death wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=explosion,radius=7,fire=true,delay=9;type=entity,ID=PrimedTnt,NBTTag=(Fuse=50b,Motion='#'randLaunchMotion),posY='#'bPosY+7,amount=20)"]))@luck=-2
group(type=structure,ID=firelb_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName lootplusplus:fire.ash 1 0  ";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$5Get trolled!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=command,ID=\"fill ~1 ~7 ~1 ~-1 ~-1 ~-1 air 0 destroy\" )"]))@luck=-1
group(type=structure,ID=firelb_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName lootplusplus:fire.ash 1 0  ";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$4Your lava hole wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=structure,ID=pit_trap,posY='#'bPosY+4)"]))@luck=-2
group(type=structure,ID=firelb_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName lootplusplus:fire.ash 1 0 ";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$6Your nether wish came true! (If you like blocks)\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=soulsand,amount=128,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=netherrack,amount=64,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=lootplusplus:fire.soil,amount=32,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=0
group(type=structure,ID=firelb_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName lootplusplus:fire.ash 1 0 ";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$6Your nether wish came true! (If you like ores)\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=gold_nugget,amount=128,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=quartz,amount=64,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=glowstone_dust,amount=32,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=1
group(type=structure,ID=firelb_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName lootplusplus:fire.ash 1 0 ";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$6Your nether wish came true! (If you like ores)\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=FireworksRocketEntity,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag='#'randFireworksRocket)),amount=20,posY='#'bPosY+3,posOffset='#'circleOffset(2);ID=gold_nugget,amount=#rand(20,60),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=glowstone_dust,amount=#rand(9,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=quartz,amount=#rand(9,20),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=lootplusplus:fire.netherite_scrap,amount=#rand(4,14),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
group(type=structure,ID=firelb_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName lootplusplus:fire.ash 1 0 ";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$6Your fire burning wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=fire_charge,amount=32,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=lootplusplus:fire.fire,amount=10,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=flint_and_steel,amount=2,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=1
group(type=structure,ID=firelb_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName lootplusplus:fire.ash 1 0 ";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$6Your lava burning wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=bucket,amount=32,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=lava_bucket,amount=10,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=lootplusplus:fire.florb,amount=5,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=1
group(type=structure,ID=firelb_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName lootplusplus:fire.ash 1 0 ";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$2Your nether drops with came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=FireworksRocketEntity,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag='#'randFireworksRocket)),amount=20,posY='#'bPosY+3,posOffset='#'circleOffset(2);ID=rotten_flesh,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=blaze_powder,amount=#rand(4,14),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=magma_cream,amount=#rand(2,8),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=ghast_tear,amount=#rand(1,4),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=0
group(type=structure,ID=firelb_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName lootplusplus:fire.ash 1 0 ";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$5Your potions wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=lootplusplus:fire.potion_speed,amount=8,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=lootplusplus:fire.potion_fire,amount=4,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=lootplusplus:fire.potion_regen,amount=1,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
group(type=structure,ID=firelb_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName lootplusplus:fire.ash 1 0 ";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$7Your ingots wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=gold_ingot,amount=32,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=iron_ingot,amount=20,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=lootplusplus:fire.netherite_ingot,amount=#rand(1,5),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
group(type=structure,ID=firelb_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName lootplusplus:fire.ash 1 0 ";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$cYour mushrooms wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=FireworksRocketEntity,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag='#'randFireworksRocket)),amount=20,posY='#'bPosY+3,posOffset='#'circleOffset(2);ID=brown_mushroom,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=red_mushroom,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=lootplusplus:fire.crimson,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=lootplusplus:fire.warped,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=0
group(type=structure,ID=firelb_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName lootplusplus:fire.ash 1 0 ";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$eYour stews wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=FireworksRocketEntity,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag='#'randFireworksRocket)),amount=20,posY='#'bPosY+3,posOffset='#'circleOffset(2);ID=mushroom_stew,amount=#rand(10,20),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=lootplusplus:fire.sus_soup,amount=#rand(5,10),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=lootplusplus:fire.soup_crimson,amount=#rand(2,5),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=lootplusplus:fire.soup_warped,amount=#rand(2,5),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
group(type=structure,ID=firelb_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName lootplusplus:fire.ash 1 0 ";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$dYour pigman army wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=PigZombie,NBTTag=(Fuse=50b,Motion='#'randLaunchMotion),posY='#'bPosY+7,amount=20)"]))@luck=0
group(type=structure,ID=firelb_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName lootplusplus:fire.ash 1 0 ";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$eYour wish came true! $6(If you like gold)\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=gold_nugget,amount=128,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=gold_ingot,amount=24,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=gold_block,amount=2,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
group(type=structure,ID=firelb_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName lootplusplus:fire.ash 1 0 ";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$4Your death wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=PrimedTnt,NBTTag=(Fuse=50b,Motion='#'randLaunchMotion),posY='#'bPosY+7,amount=20)"]))@luck=-2

/ bouncing castle
group(type=structure,ID=firelb_magmabounce,pos=#pPos,rotation=#pDirect;type=command,ID=\"fill ~5 ~5 ~5 ~-5 ~-3 ~-5 lootplusplus:fire.magma 0 replace quartz_ore 0\"  )@luck=-1
/ fire invasion
type=command,ID=\"fill ~3 ~3 ~3 ~-3 ~-3 ~-3 fire 0 replace air 0\"@luck=-1
type=command,ID=\"fill ~5 ~5 ~5 ~-5 ~-5 ~-5 fire 0 replace air 0\"@luck=-2
type=command,ID=\"fill ~3 ~3 ~3 ~-3 ~-3 ~-3 lava 0 replace air 0\"@luck=-2

/ ========== ENCHANTED + LUCKY ITEMS ==========

/ hero sword
ID=golden_sword,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$e$lGolden Lucky Sword"))@luck=1

/ hero tools
group:#rand(1,2):(ID=golden_shovel,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$e$lGolden Lucky Shovel"));ID=golden_pickaxe,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$e$lGolden Lucky Pickaxe"));ID=golden_axe,NBTTag=(ench=#luckyAxeEnchantments,display=(Name="$e$lGolden Lucky Axe"));ID=golden_hoe,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$e$lGolden Lucky Hoe")))@luck=1
/ hero armor
group:#rand(1,2):(ID=golden_helmet,NBTTag=(ench=#luckyHelmetEnchantments,display=(Name="$e$lGolden Lucky Helmet"));ID=golden_chestplate,NBTTag=(ench=#luckyChestplateEnchantments,display=(Name="$e$lGolden Lucky Chestplate"));ID=golden_leggings,NBTTag=(ench=#luckyLeggingsEnchantments,display=(Name="$e$lGolden Lucky Leggings"));ID=golden_boots,NBTTag=(ench=#luckyBootsEnchantments,display=(Name="$e$lGolden Lucky Boots")))@luck=1




/ hero sword
ID=lootplusplus:fire.netherite_sword,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$e$lNetherite Lucky Sword"))@luck=2

/ hero tools
group:#rand(1,2):(ID=lootplusplus:fire.netherite_shovel,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$e$lNetherite Lucky Shovel"));ID=lootplusplus:fire.netherite_pick,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$e$lNetherite Lucky Pickaxe"));ID=lootplusplus:fire.netherite_axe,NBTTag=(ench=#luckyAxeEnchantments,display=(Name="$e$lNetherite Lucky Axe"));ID=lootplusplus:fire.netherite_hoe,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$e$lNetherite Lucky Hoe")))@luck=2
/ hero armor
group:#rand(1,2):(ID=lootplusplus:fire.netherite_helmet,NBTTag=(ench=#luckyHelmetEnchantments,display=(Name="$e$lNetherite Lucky Helmet"));ID=lootplusplus:fire.netherite_chestplate,NBTTag=(ench=#luckyChestplateEnchantments,display=(Name="$e$lNetherite Lucky Chestplate"));ID=lootplusplus:fire.netherite_leggings,NBTTag=(ench=#luckyLeggingsEnchantments,display=(Name="$e$lNetherite Lucky Leggings"));ID=lootplusplus:fire.netherite_boots,NBTTag=(ench=#luckyBootsEnchantments,display=(Name="$e$lNetherite Lucky Boots")))@luck=2


/ hero potion
ID=potion,damage=8195,NBTTag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lLucky Potion"))@luck=2
/ unlucky potion
ID=potion,damage=16428,NBTTag=(CustomPotionEffects=#unluckyPotionEffects,display=(Name="$4$lUnlucky Potion"))@luck=1

/ lucky items
type=item,ID=lucky:fire_lucky_sword@luck=2
group(ID=arrow,amount=#rand(8,24);type=item,ID=lucky:fire_lucky_bow)@luck=2
group(type=item,ID=lucky:fire_lucky_sword;type=item,ID=lucky:fire_lucky_bow;type=item,ID=lucky:fire_lucky_potion,NBTTag=(Luck=#randList(100,-100)),amount=#rand(10,15);type=entity,ID=FireworksRocketEntity,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag=#randFireworksRocket)),amount=20,posOffset=#circleOffset(0,2))@luck=2



/ LOOT++ ITEMS


type=item,ID=lootplusplus:fire.fire_helmet,NBTTag=(display=(Lore=["$rFull Set Bonus: Fire Immunity + Fire Aura I"]),ench=[(id=0,lvl=#rand(0,4)),(id=34,lvl=#rand(0,4)),(id=3,lvl=#rand(0,4)),(id=5,lvl=#rand(0,4)),(id=1,lvl=#rand(4,10))])@luck=2
type=item,ID=lootplusplus:fire.fire_chestplate,NBTTag=(display=(Lore=["$rFull Set Bonus: Fire Immunity + Fire Aura I"]),ench=[(id=0,lvl=#rand(0,4)),(id=34,lvl=#rand(0,4)),(id=3,lvl=#rand(0,4)),(id=5,lvl=#rand(0,4)),(id=1,lvl=#rand(4,10))])@luck=2
type=item,ID=lootplusplus:fire.fire_leggings,NBTTag=(display=(Lore=["$rFull Set Bonus: Fire Immunity + Fire Aura I"]),ench=[(id=0,lvl=#rand(0,4)),(id=34,lvl=#rand(0,4)),(id=3,lvl=#rand(0,4)),(id=5,lvl=#rand(0,4)),(id=1,lvl=#rand(4,10))])@luck=2
type=item,ID=lootplusplus:fire.fire_boots,NBTTag=(display=(Lore=["$rFull Set Bonus: Fire Immunity + Fire Aura I"]),ench=[(id=0,lvl=#rand(0,4)),(id=34,lvl=#rand(0,4)),(id=3,lvl=#rand(0,4)),(id=5,lvl=#rand(0,4)),(id=1,lvl=#rand(4,10))])@luck=2
type=item,ID=lootplusplus:fire.fire_sword,NBTTag=(display=(Lore=["$rBurn your enemies!"]),ench=[(id=16,lvl=#rand(0,4)),(id=17,lvl=#rand(0,4)),(id=18,lvl=#rand(0,4)),(id=#randList(19,21),lvl=#rand(0,4)),(id=20,lvl=#rand(5,10))])@luck=2
type=item,ID=lootplusplus:fire.fire_pick,NBTTag=(display=(Lore=["$r5% chance of greatly increased mining speed"]),ench=[(id=32,lvl=#rand(0,3)),(id=35,lvl=#rand(0,4)),(id=34,lvl=#rand(0,4)),(id=33,lvl=#rand(-4,1)),(id=20,lvl=#rand(5,10))])@luck=2
type=item,ID=lootplusplus:fire.fire_axe,NBTTag=(display=(Lore=["$r5% chance of greatly increased mining speed"]),ench=[(id=32,lvl=#rand(0,3)),(id=35,lvl=#rand(0,4)),(id=34,lvl=#rand(0,4)),(id=33,lvl=#rand(-4,1)),(id=20,lvl=#rand(5,10))])@luck=2
type=item,ID=lootplusplus:fire.fire_shovel,NBTTag=(display=(Lore=["$r5% chance of greatly increased mining speed"]),ench=[(id=32,lvl=#rand(0,3)),(id=35,lvl=#rand(0,4)),(id=34,lvl=#rand(0,4)),(id=33,lvl=#rand(-4,1)),(id=20,lvl=#rand(5,10))])@luck=2
type=item,ID=lootplusplus:fire.fire_paxel,NBTTag=(display=(Lore=["$r5% chance of greatly increased mining speed"]),ench=[(id=32,lvl=#rand(0,3)),(id=35,lvl=#rand(0,4)),(id=34,lvl=#rand(0,4)),(id=33,lvl=#rand(-4,1)),(id=20,lvl=#rand(5,10))])@luck=2@chance=0.89

type=item,ID=lootplusplus:fire.fire_cleaver,NBTTag=(display=(Lore=["$rBurn your enemies!","$rGreat damage but also very slow"]),ench=[(id=16,lvl=#rand(0,4)),(id=17,lvl=#rand(0,4)),(id=18,lvl=#rand(0,4)),(id=#randList(19,21),lvl=#rand(0,4)),(id=20,lvl=#rand(5,10))])@luck=2@chance=0.89
type=item,ID=lootplusplus:fire.fire_cutless,NBTTag=(display=(Lore=["$rBurn your enemies!","$r50% chance of speed when attacking"]),ench=[(id=16,lvl=#rand(0,4)),(id=17,lvl=#rand(0,4)),(id=18,lvl=#rand(0,4)),(id=#randList(19,21),lvl=#rand(0,4)),(id=20,lvl=#rand(5,10))])@luck=2@chance=0.89
type=item,ID=lootplusplus:fire.fire_sign,NBTTag=(display=(Lore=["$rBurn your enemies!","$rBlocks 40% of incoming damage"]),ench=[(id=16,lvl=#rand(0,4)),(id=17,lvl=#rand(0,4)),(id=18,lvl=#rand(0,4)),(id=#randList(19,21),lvl=#rand(0,4)),(id=20,lvl=#rand(5,10))])@luck=2@chance=0.89

type=item,ID=lootplusplus:fire.soul_fire_helmet,NBTTag=(display=(Lore=["$rFull Set Bonus: Fire Aura II, Wither Immunity, Night Vision, Potion Extension"]),ench=[(id=0,lvl=#rand(1,6)),(id=34,lvl=#rand(1,6)),(id=3,lvl=#rand(1,6)),(id=5,lvl=#rand(1,6)),(id=1,lvl=#rand(10,30))])@luck=2@chance=0.44
type=item,ID=lootplusplus:fire.soul_fire_chestplate,NBTTag=(display=(Lore=["$rFull Set Bonus: Fire Aura II, Wither Immunity, Night Vision, Potion Extension"]),ench=[(id=0,lvl=#rand(1,6)),(id=34,lvl=#rand(1,6)),(id=3,lvl=#rand(1,6)),(id=5,lvl=#rand(1,6)),(id=1,lvl=#rand(10,30))])@luck=2@chance=0.44
type=item,ID=lootplusplus:fire.soul_fire_leggings,NBTTag=(display=(Lore=["$rFull Set Bonus: Fire Aura II, Wither Immunity, Night Vision, Potion Extension"]),ench=[(id=0,lvl=#rand(1,6)),(id=34,lvl=#rand(1,6)),(id=3,lvl=#rand(1,6)),(id=5,lvl=#rand(1,6)),(id=1,lvl=#rand(10,30))])@luck=2@chance=0.44
type=item,ID=lootplusplus:fire.soul_fire_boots,NBTTag=(display=(Lore=["$rFull Set Bonus: Fire Aura II, Wither Immunity, Night Vision, Potion Extension"]),ench=[(id=0,lvl=#rand(1,6)),(id=34,lvl=#rand(1,6)),(id=3,lvl=#rand(1,6)),(id=5,lvl=#rand(1,6)),(id=1,lvl=#rand(10,30))])@luck=2@chance=0.44
type=item,ID=lootplusplus:fire.soul_fire_sword,NBTTag=(display=(Lore=["$rBurn your enemies with the increased strength of Soul Fire!"]),ench=[(id=16,lvl=#rand(1,6)),(id=17,lvl=#rand(1,6)),(id=18,lvl=#rand(1,6)),(id=#randList(19,21),lvl=#rand(1,6)),(id=20,lvl=#rand(10,30))])@luck=2@chance=0.44
type=item,ID=lootplusplus:fire.soul_fire_pick,NBTTag=(display=(Lore=["$rBreak through blocks like paper","$rSo fast that you might get combusted"]),ench=[(id=32,lvl=#rand(4,16)),(id=35,lvl=#rand(1,6)),(id=34,lvl=#rand(1,6)),(id=33,lvl=#rand(0,0)),(id=20,lvl=#rand(5,10))])@luck=2@chance=0.44
type=item,ID=lootplusplus:fire.soul_fire_axe,NBTTag=(display=(Lore=["$rBreak through blocks like paper","$rSo fast that you might get combusted"]),ench=[(id=32,lvl=#rand(4,16)),(id=35,lvl=#rand(1,6)),(id=34,lvl=#rand(1,6)),(id=33,lvl=#rand(0,0)),(id=20,lvl=#rand(5,10))])@luck=2@chance=0.44
type=item,ID=lootplusplus:fire.soul_fire_shovel,NBTTag=(display=(Lore=["$rBreak through blocks like paper","$rSo fast that you might get combusted"]),ench=[(id=32,lvl=#rand(4,16)),(id=35,lvl=#rand(1,6)),(id=34,lvl=#rand(1,6)),(id=33,lvl=#rand(0,0)),(id=20,lvl=#rand(5,10))])@luck=2@chance=0.44


type=item,ID=lootplusplus:fire.fire_staff,NBTTag=(ench=[(id=50,lvl=1)],display=(Name="$4Fire Staff",Lore=["$7Right-click to shoot fire.]))@luck=2

type=item,ID=lootplusplus:fire.fire_staff_explosion,NBTTag=(ench=[(id=50,lvl=1)],display=(Name="$4Fire Explosion Staff",Lore=["$7Right-click to shoot fire","$7and to generate a timed explosion"]))@luck=2

type=item,ID=lootplusplus:fire.fire_staff_jetpack,NBTTag=(ench=[(id=50,lvl=1)],display=(Name="$4Fire Jetpack",Lore=["$7Right-click to fly through the skies"]))@luck=2

type=item,ID=lootplusplus:fire.fire_staff_wut,NBTTag=(ench=[(id=50,lvl=1)],display=(Name="$4Flaming Boost",Lore=["$7Right-click to get a flaming boost","$7for a brief amount of time."]))@luck=2

type=item,ID=lootplusplus:fire.soul_fire_staff,NBTTag=(ench=[(id=50,lvl=1)],display=(Name="$bSoul Fire Staff",Lore=["$rRight-click to burn the area of the world you're facing at."]))@luck=2@chance=0.44

type=item,ID=lootplusplus:fire.blaze_zepter,NBTTag=(ench=[(id=50,lvl=#rand(1,4))],display=(Lore=["$bRight-click to shoot Blaze's Fire"]))@luck=2
type=item,ID=lootplusplus:fire.ghast_bazooka,NBTTag=(ench=[(id=49,lvl=#rand(1,4))],display=(Lore=["$bRight-click to shoot Ghast's Fireballs"]))@luck=2





group(type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=fire),amount=50,posOffset=#circleOffset(5,50))@luck=-1
group(type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=fire),amount=150,posOffset=#circleOffset(5,80))@luck=-2
group(type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=lava),amount=60,posOffset=#circleOffset(5,80))@luck=-2




































