/ Named Items
/ 2 Luck
ID=red_flower,NBTTag=(display=(Name="$9$lInternet Friends"))@luck=2
ID=red_flower,NBTTag=(display=(Name="$9$lFor Helping, Kristen"))@luck=2
ID=bow,NBTTag=(ench=#luckyBowEnchantments,display=(Name="$9$lHero's Bow"))@luck=2
ID=diamond_sword,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$9$lHero's Sword"))@luck=2

/ -1 Luck
ID=splash_potion,NBTTag=(Potion="harming",CustomPotionEffects=#unluckyPotionEffects,display=(Name="$4$IThrow Me >:)"))@luck=-1

/ -2 Luck
ID=potion,NBTTag=(Potion="harming",CustomPotionEffects=#unluckyPotionEffects,display=(Name="$4$IDrink Me >:)"))@luck=-2

/ Unnamed Items
/ 2 Luck
ID=elytra@luck=2
ID=totem_of_undying@luck=2
// ID=lucky:destiny_lucky_sword@luck=2
ID=emerald,amount=#rand(3,15)@luck=2
// ID=lucky:destiny_lucky_potion@luck=2
ID=cooked_beef,amount=#rand(3,15)@luck=2
ID=golden_carrot,amount=#rand(1,8)@luck=2

/ 1 Luck
ID=shield@luck=1
ID=lava_bucket@luck=1
ID=golden_apple@luck=1
ID=diamond_shovel@luck=1
ID=diamond_pickaxe@luck=1
ID=flint_and_steel@luck=1
ID=gold_ingot,amount=#rand(2,9)@luck=1
ID=iron_ingot,amount=#rand(2,9)@luck=1
ID=ender_pearl,amount=#rand(1,3)@luck=1
ID=rabbit_stew,amount=#rand(5,7)@luck=1
ID=spectral_arrow,amount=#rand(7,19)@luck=1

/ 0 Luck
ID=apple@luck=0
ID=iron_shovel@luck=0
ID=stone_sword@luck=0
ID=iron_pickaxe@luck=0
ID=water_bucket@luck=0
ID=arrow,amount=#rand(7,19)@luck=0
ID=leather,amount=#rand(2,9)@luck=0

/ -1 Luck
ID=flint@luck=-1
ID=iron_nugget@luck=-1
ID=rotten_flesh@luck=-1
ID=wooden_sword@luck=-1
ID=wooden_shovel@luck=-1
ID=wooden_pickaxe@luck=-1
ID=rotten_flesh,amount=#rand(3,5)@luck=-1
ID=wooden_axe,amount=#rand(34,64)@luck=-1

/ Blocks
/ Named Blocks
/ 2 Luck
ID=blue_shulker_box,NBTTag=(display=(Name="$9$lDestiny Lucky Block?"))@luck=2

/ Unnamed Blocks
/ 2 Luck
ID=barrier@luck=2
ID=diamond_block,amount=2@luck=2
ID=lucky:lucky_block_destiny,amount=10@luck=2

/ 1 Luck
ID=obsidian,amount=14@luck=1
ID=packed_ice,amount=#rand(5,32)@luck=1
ID=lucky:lucky_block_destiny,amount=3@luck=1

/ 0 Luck
ID=cake@luck=0
ID=crafting_table@luck=0
ID=ice,amount=#rand(5,32)@luck=0
ID=glass,amount=#rand(5,32)@luck=0
ID=grass,amount=#rand(5,32)@luck=0
ID=lucky:lucky_block_destiny@luck=0
ID=planks,amount=#rand(5,32)@luck=0

/ -1 Luck
ID=dirt,amount=#rand(5,32)@luck=-1

/ Chests
/ 2 Luck
type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/woodland_mansion"))@luck=2
/1 Luck
type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/simple_dungeon"))@luck=1
type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/village_blacksmith"))@luck=1
type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/stronghold_corridor"))@luck=1

/ Groups
/ 2 Luck
group(ID=chorus_flower,amount=#rand(1,4);ID=end_stone,amount=#rand(4,16))@luck=2
group:#rand(1,2):(ID=diamond_sword;ID=diamond_shovel;ID=diamond_pickaxe;ID=diamond_axe;ID=diamond_hoe)@luck=2
group:#rand(1,2):(ID=diamond_helmet,NBTTag=(ench=#luckyHelmetEnchantments,display=(Name="$9$lHero's Helmet"));ID=diamond_chestplate,NBTTag=(ench=#luckyChestplateEnchantments,display=(Name="$9$lHero's Chestplate"));ID=diamond_leggings,NBTTag=(ench=#luckyLeggingsEnchantments,display=(Name="$9$lHero's Leggings"));ID=diamond_boots,NBTTag=(ench=#luckyBootsEnchantments,display=(Name="$9$lHero's Boots")))@luck=2

/ 1 Luck
group(ID=bow;ID=arrow,amount=#rand(16,32))@luck=1
group(ID=minecart;ID=rail,amount=#rand(16,32))@luck=1
group:#rand(2,3):(ID=iron_shovel;ID=iron_pickaxe;ID=iron_axe;ID=iron_sword;ID=iron_hoe)@luck=1
group:#rand(2,3):(ID=iron_helmet;ID=iron_chestplate;ID=iron_leggings;ID=iron_boots;ID=iron_horse_armor)@luck=1
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

/ 0 Luck
group(ID=lucky:lucky_block;ID=dye,damage=4,amount=8)@luck=0
group(ID=bookshelf,amount=#rand(6,12);ID=book,amount=#rand(8,16))@luck=0
group(ID=carrot;ID=apple;ID=poisonous_potato;ID=baked_potato;ID=potato)@luck=0
group(ID=leather_helmet;ID=leather_chestplate;ID=leather_leggings;ID=leather_boots)@luck=0

/ -1 Luck
group(ID=leather_helmet;ID=leather_chestplate;ID=leather_leggings;ID=leather_boots)@luck=-1
group(ID=golden_sword;ID=golden_shovel;ID=golden_pickaxe;ID=golden_axe;ID=golden_hoe)@luck=-1

/ Commands
/ 0 Luck
group(type=command,ID="/fill ~1 ~4 ~-1 ~-1 ~2 ~1 lucky:lucky_block_destiny",commandSender="Kristen")@luck=0

/ -2 Luck
group(type=command,ID="/fill ~1 ~72 ~-1 ~-1 ~70 ~1 anvil",commandSender="Kristen")@luck=-2

/ Falling Blocks
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=falling_block,posY=#bPosY+7,NBTTag=(Block=sponge);type=particle,ID=largesmoke,size=(1,2,1),particleAmount=500;type=sound,ID=block.fire.extinguish)@luck=0
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=falling_block,posY=#bPosY+7,NBTTag=(Block=iron_block);type=particle,ID=largesmoke,size=(1,2,1),particleAmount=500;type=sound,ID=block.fire.extinguish)@luck=0

/ Falling Towers
/ 2 Luck
group(type=fill,ID=air,size=(1,51,1);type=entity,ID=falling_block,NBTTag=(Block=diamond_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=falling_block,NBTTag=(Block=obsidian))@luck=2

/ -1 Luck
group(type=fill,ID=air,size=(1,51,1);type=entity,ID=falling_block,NBTTag=(Block=dirt),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=falling_block,NBTTag=(Block=dirt))@luck=-1
group(type=fill,ID=air,size=(1,51,1);type=entity,ID=falling_block,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=falling_block,NBTTag=(Block=tnt))@luck=-1

/ Entitites
/ XP
/ 2 Luck
type=entity,ID=xp_bottle,NBTTag=(Motion=#randLaunchMotion),amount=#rand(16,32)@luck=2

/ Arrows
/ -1 Luck
type=entity,ID=arrow,NBTTag=(Motion=#randLaunchMotion),amount=#rand(16,32)@luck=-1
type=entity,ID=spectral_arrow,NBTTag=(Motion=#randLaunchMotion),amount=#rand(16,32)@luck=-1

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

/ Mobs
/ Named mobs
/ 1 Luck
type=entity,ID=pig,NBTTag=(CustomName="$5$lFreed Pig",CustomNameVisible=true),posOffset=#circleOffset(4),amount=3@luck=1
type=entity,ID=cow,NBTTag=(CustomName="$5$lEmergency Rations,CustomNameVisible=true),posOffset=#circleOffset(4),amount=3@luck=1

/ 0 Luck
type=entity,ID=sheep,NBTTag=(CustomName="$cM$6r. $eR$aa$2i$bn$3b$5o$dw",CustomNameVisible=true,Color=#rand(0,15)),posOffset=#circleOffset(4),amount=16@luck=1
type=entity,ID=llama,amount=8,posOffset=#circleOffset(4),NBTTag=(CustomName=#randList("$5$lLlama","$5$lLlama","$5$lLlama","$5$lLama","$5$lLlama","$5$lLlama","$5$lFortnite Llama?","$5$lLlama"),Variant=#rand(0,3),CustomNameVisible=true)@luck=0
group:1:(type=entity,ID=pig,NBTTag=(CustomName="$e$lLucky Pig",CustomNameVisible=true);type=entity,ID=cow,NBTTag=(CustomName="$e$lLucky Cow",CustomNameVisible=true);type=entity,ID=chicken,NBTTag=(CustomName="$e$lLucky Chicken",CustomNameVisible=true);type=entity,ID=sheep,NBTTag=(CustomName="$e$lLucky Sheep",CustomNameVisible=true);type=entity,ID=rabbit,NBTTag=(CustomName="$e$lLucky Rabbit",CustomNameVisible=true);type=entity,ID=squid,NBTTag=(CustomName="$e$lUnlucky Squid",CustomNameVisible=true))@luck=0

/ Boss Mobs
/ -2 Luck
group(type=difficulty,ID=hard;type=entity,ID=zombie,NBTTag=(HandItems=[(id=wooden_sword,Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=leather_boots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=leather_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=leather_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=leather_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$9$lTier I Bob",CustomNameVisible=false))@luck=-1
group(type=difficulty,ID=hard;type=entity,ID=zombie,NBTTag=(HandItems=[(id=golden_sword,Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=golden_boots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=golden_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=golden_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=golden_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$9$lTier II Bob",CustomNameVisible=false))@luck=-1
group(type=difficulty,ID=hard;type=entity,ID=Zombie,NBTTag=(HandItems=[(id=stone_sword,Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=chainmail_boots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=chainmail_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=chainmail_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=chainmail_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$9$lTier III Bob",CustomNameVisible=false))@luck=-2
group(type=difficulty,ID=hard;type=entity,ID=Zombie,NBTTag=(HandItems=[(id=iron_sword,Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=iron_boots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=iron_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=iron_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=iron_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$9$lTier IV Bob",CustomNameVisible=false))@luck=-2
group(type=difficulty,ID=hard;type=entity,ID=Zombie,NBTTag=(HandItems=[(id=diamond_sword,Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=diamond_boots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=diamond_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=diamond_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$9$lTier V Bob",CustomNameVisible=false))@luck=-2

/ Flying Boss Mobs
group(type=difficulty,ID=hard;type=entity,ID=Bat,NBTTag=(Silent=true,ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)],Passengers=[(id=skeleton_horse,Tame=true,Type=4,Passengers=[(id=Skeleton,HandItems=[(id=bow,Count=1,tag=(ench=#luckyBowEnchantments))],ArmorItems=[(id=chainmail_boots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=chainmail_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=chainmail_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=chainmail_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$7$lThe Haunting Horseman",CustomNameVisible=true)])]))@luck=-2

/ Unnamed Mobs
/ 2 Luck
group(type=difficulty,ID=hard;type=entity,ID=mooshroom)@luck=2

/ 0 Luck
group(type=difficulty,ID=hard;type=entity,ID=giant)@luck=0
group(type=difficulty,ID=hard;type=entity,ID=chicken)@luck=0
group(type=difficulty,ID=hard;type=entity,ID=cow),amount=#rand(4,16)@luck=0
group(type=difficulty,ID=hard;type=entity,ID=pig),amount=#rand(4,16)@luck=0
group(type=entity,ID=Wolf,amount=#rand(5,10),posOffset=#circleOffset(3),NBTTag=(CollarColor=#rand(0,14),OwnerUUID=#pUUID,Sitting=1);type=particle,ID="heart",size=(2,0,2),particleAmount=20)@luck=1

/ -2 Luck 
group(type=difficulty,ID=hard;type=entity,ID=vex)@luck=-2
group(type=difficulty,ID=hard;type=entity,ID=shulker)@luck=-2
group(type=difficulty,ID=hard;type=entity,ID=elder_guardian)@luck=-2
group(type=difficulty,ID=hard;type=entity,ID=ghast)@chance=0.2@luck=-2
group(type=difficulty,ID=hard;type=entity,ID=zombie),amount=#rand(4,16)@luck=-2
group(type=difficulty,ID=hard;type=entity,ID=creeper;type=entity,ID=LightningBolt)@luck=-2

/ Mobs with commands
/ -2 Luck
group(type=entity,ID=creeper;type=command,ID="/effect @e[type=creeper] minecraft:poison 45000",commandSender="Kristen")@luck=-2
group(type=entity,ID=villager;type=command,ID="/effect @e[type=villager] minecraft:levitation 45000",commandSender="Kristen")@luck=-2

/ Mob Stack
/ 2 Luck
type=entity,ID=bat,NBTTag=(Passengers=[(id=polar_bear,Passengers=[(id=llama,Passengers=[(id=sheep,Passengers=[(id=mooshroom,Passengers=[(id=cow,Passengers=[(id=chicken,Passengers=[(id=rabbit,Passengers=[(id=parrot)])])])])])])])])@luck=2

/ 0 Luck
type=entity,ID=pig,NBTTag=(Passengers=[(id=pig,Passengers=[(id=pig,Passengers=[(id=pig,Passengers=[(id=pig,Passengers=[(id=pig,Passengers=[(id=pig,Passengers=[(id=pig,Passengers=[(id=villager)])])])])])])])])@luck=0

/ -2 Luck
type=entity,ID=cave_spider,NBTTag=(Passengers=[(id=wither_skeleton,Passengers=[(id=husk,Passengers=[(id=guardian,Passengers=[(id=evocation_illager,Passengers=[(id=enderman,Passengers=[(id=creeper,Passengers=[(id=witch,Passengers=[(id=blaze)])])])])])])])])@luck=-2

/ Villagers
/ 1 Luck
type=entity,ID=villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(20,25)),sell=(id=diamond_sword,Count=1,tag=(ench=#luckySwordEnchantments,display=(Name="$9$lHero's Sword"))),maxUses=1),(buy=(id=diamond,Count=#rand(20,25)),sell=(id=bow,Count=1,tag=(ench=#luckyBowEnchantments,display=(Name="$9$lHero's Bow"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=fishing_rod,Count=1,tag=(ench=#luckyFishingRodEnchantments,display=(Name="$9$lHero's Fishing Rod"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=potion,Count=1,tag=(Potion="fire_resistance",CustomPotionEffects=#luckyPotionEffects,display=(Name="$9$lHero's Potion"))),maxUses=1),(buy=(id=diamond,Count=#rand(7,12)),sell=(id=splash_potion,Count=1,tag=(Potion="harming",CustomPotionEffects=#unluckyPotionEffects,display=(Name="$4$lEvil Potion"))),maxUses=1)]),CustomName="$9$lHero Villager",CustomNameVisible=true)@luck=1

/ Structures
/ 2 Luck
type=structure,ID=masterdragonstructure@luck=2

/ 0 Luck
type=structure,ID=netherportal@luck=0