/ ========== 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
/ 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
/ 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 ==========

ID=sponge@luck=0
ID=tnt,amount=8@luck=1
ID=obsidian,amount=14@luck=1
ID=enchanting_table@luck=2
ID=end_portal_frame,amount=#rand(2,6)@luck=2
ID=dragon_egg@luck=1
ID=ender_chest,amount=2@luck=0
ID=beacon@luck=2
ID=dropper,amount=8@luck=0
ID=hay_block,amount=8@luck=0
ID=diamond_block,amount=#rand(1,3)@luck=2
ID=emerald_block,amount=#rand(1,3)@luck=2
ID=coal_block,amount=#rand(1,3)@luck=1
ID=iron_block,amount=#rand(1,3)@luck=1
ID=redstone_block,amount=#rand(1,3)@luck=1
ID=quartz_block,amount=#rand(1,3)@luck=0
ID=lapis_block,amount=#rand(1,3)@luck=1
ID=gold_block,amount=#rand(4,8)@luck=2
ID=cake,amount=#rand(1,10)@luck=1
ID=packed_ice,amount=#rand(1,64)@luck=2
ID=ice,amount=#rand(1,64)@luck=1
ID=sand,amount=#rand(1,64)@luck=0
ID=dirt,amount=#rand(1,64)@luck=-1
ID=cobblestone,amount=#rand(1,64)@luck=-2
ID=furnace@luck=0
ID=crafting_table@luck=0
ID=anvil@luck=2
ID=brewing_stand@luck=1
ID=lucky:lucky_block,NBTTag=(display=(Name="$e$lYellow Refund"))@luck=1
ID=skull,Damage=3,tag=(SkullOwner=Citizens14)@luck=0
ID=skull,Damage=3,tag=(SkullOwner=FuriousDestroyer)@luck=0
ID=skull,Damage=3,tag=(SkullOwner=Supergirlygamer)@luck=0
ID=skull,Damage=3,tag=(SkullOwner=BajanCanadian)@luck=0
ID=skull,Damage=3,tag=(SkullOwner=JeromeASF)@luck=0
ID=skull,Damage=3,tag=(SkullOwner=Vikkstar123)@luck=0
ID=skull,Damage=3,tag=(SkullOwner=Lachlan)@luck=0 ID=skull,Damage=3,tag=(SkullOwner=TBNRFrags)@luck=0
ID=skull,Damage=3,tag=(SkullOwner=Woofless)@luck=0
ID=wool,amount=#rand(1,64)@luck=0
ID=bedrock@luck=2
ID=grass,amount=#rand(1,64)@luck=1
ID=diamond_ore,amount=#rand(1,5)@luck=1
ID=iron_ore,amount=#rand(1,32)@luck=1
ID=gold_ore,amount=#rand(1,16)@luck=1
ID=redstone_ore,amount=#rand(1,16)@luck=1
ID=quartz_ore,amount=#rand(1,64)@luck=1
ID=lapis_ore,amount=#rand(1,16)@luck=1
ID=coal_ore,amount=#rand(1,64)@luck=1
ID=emerald_ore,amount=#rand(1,5)@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=#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
type=block,ID=chest,tileEntity=(Items=#chest(contents=[(id=ice,maxAmount=8,weight=10),(id=gold_nugger,maxAmount=4,weight=10),(id=paper,maxAmount=4,weight=10),(id=apple,maxAmount=4,weight=10),(id=coal,maxAmount=4,weight=10),(id=wool,maxAmount=2,weight=10),(id=spider_eye,maxAmount=2,weight=10),(id=brown_mushroom,maxAmount=2,weight=10)],maxTotalAmount=12))@luck=-1
type=block,ID=chest,tileEntity=(Items=#chest(contents=[(id=end_portal_frame,maxAmount=7,weight=10),(id=saddle,maxAmount=5,weight=10),(id=dragon_egg,maxAmount=3,weight=10),(id=nether_star,maxAmount=3,weight=10),(id=lucky:lucky_block,maxAmount=7,weight=10),(id=lucky:lucky_block,maxAmount=7,weight=10),(id=lucky:Purple Lucky Block,maxAmount=7,weight=10),(id=golden_apple,Damage=1,maxAmount=2,weight=10)],maxTotalAmount=12))@luck=2
type=block,ID=chest,tileEntity=(Items=#chest(contents=[(id=iron_block,maxAmount=8,weight=10),(id=gold_block,maxAmount=4,weight=10),(id=diamond_block,maxAmount=4,weight=10),(id=emerald_block,maxAmount=4,weight=10),(id=lapis_block,maxAmount=4,weight=10),(id=lucky:Purple Lucky Block,maxAmount=2,weight=10),(id=golden_apple,Damage=1,maxAmount=2,weight=10),(id=diamond_horse_armor,maxAmount=2,weight=10)],maxTotalAmount=12))@luck=2


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

ID=gold_ingot,amount=#rand(8,16)@luck=1
ID=stick@luck=-1
ID=painting,amount=4@luck=0
ID=saddle,amount=2@luck=0
ID=cake@luck=0
ID=rotten_flesh@luck=-1
ID=nether_star@luck=2
ID=red_flower,NBTTag=(display=(Name="$cRomantic Rose"))@luck=-1
ID=rabbit_stew,amount=#rand(5,7)@luck=1
ID=compass,NBTTag=(display=(Name="$cAre you lost?")),amount=#rand(1,64)@luck=1
ID=carrot,amount=#rand(1,64)@luck=1
ID=golden_carrot,amount=#rand(1,64)@luck=2
ID=diamond,amount=#rand(1,11)@luck=2
ID=sign@luck=-2
ID=banner@luck=0
ID=bow@luck=0
ID=golden_sword@luck=-1
ID=potion@luck=-1
ID=stick,amount=#rand(1,64)@luck=1
ID=red_flower,amount=#rand(1,64)@luck=1
ID=dye,Damage=9,amount=#rand(1,64)@luck=1
ID=bucket@luck=2
ID=fish,NBTTag=(display=(Name="$cSeems Fishy")),amount=#rand(1,64)@luck=-2
ID=arrow,amount=#rand(15,64)@luck=1
ID=gold_ingot,NBTTag=(display=(Name="$cI don't like butter")),amount=#rand(1,64)@luck=1
ID=coal,amount=#rand(1,64)@luck=1
ID=spider_eye,amount=#rand(1,5)@luck=-2
ID=string,amount=#rand(5,64)@luck=0
ID=rabbit_foot,amount=#rand(1,3)@luck=1
ID=bucket,amount=#rand(2,5)@luck=0

/ ========== 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
/ 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
/ potions
ID=potion,damage=#randPotionDamage,amount=#rand(4,8)@luck=1
/ lesspotions
ID=potion,damage=#randPotionDamage,amount=#rand(1,3)@luck=1
/ spawn eggs
ID=spawn_egg,damage=#randSpawnEggDamage,amount=#rand(4,8)@luck=1
/ lessspawneggs
ID=spawn_egg,damage=#randSpawnEggDamage,amount=#rand(1,3)@luck=1
/ heads
ID=skull,damage=#rand(0,4),amount=#rand(1,3)@luck=0
/ jukebox music discs
group(ID=jukebox;ID=#rand(2256,2267),amount=#rand(1,3))@luck=1
/ 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
/ colorful
group(group:1:(ID=wool,damage=#rand(0,15),amount=#rand(32,64);ID=stained_hardened_clay,damage=#rand(0,15),amount=#rand(32,64);ID=dye,damage=#rand(0,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
/ 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
/ fish
group(ID=fishing_rod;ID=349,damage=#rand(0,3),amount=#rand(10,20))@luck=1
/ 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
/ Oldmessages
group(type=command,ID="/tell #pName Listen to me, #pName. I'm crazy, now take my fish man!",commandSender="Hobo Dave";ID=fish,NBTTag=(display=(Name="$cI'm a stolen fish!")))@luck=0;
group(type=command,ID="/tell #pName Listen to me, #pName. I think I am playing Minecraft!",commandSender="Jeb_";ID=iron_block,NBTTag=(display=(Name="$cComputer!")))@luck=-1;
group(type=command,ID="/tell #pName Listen to me, #pName. I LOVE THESE",commandSender="GAMINGWITHJEN";ID=cooked_chicken,NBTTag=(display=(Name="$CGAMINGWITHJENS FAVOURITEFOOD")))@luck=1

/ ModifiedMessage
group(type=command,ID="/tell #pName Listen to me, #pName. I have a gift for you also happy valentine's day !",commandSender="Cupid";ID=diamond_block,NBTTag=(display=(Name="$cGift from a unknown person")))@luck=2;

/ NewMessage
group(type=command,ID="/tell #pName Listen to me, #pName. Sub to my Youtube it is Citizens14 Gaming.",commandSender="Citizens14";ID=diamond_block,NBTTag=(display=(Nae="$bPLS DO")))@luck=2

/ 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
/ 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
/ stone
ID=stone,damage=#rand(0,6),amount=#rand(1,64)@luck=0
/ dirt
ID=dirt,damage=#rand(0,2),amount=#rand(1,64)@luck=0
/ wood
ID=planks,damage=#rand(0,5),amount=#rand(1,64)@luck=1
/ banner
ID=banner,damage=#rand(0,15),amount=#rand(1,64)@luck=0
/prestontorch
group(type=command,ID="/tell #playerName Hey #playerName. I got your back!",commandSender="Preston";ID=torch,amount=#random(64,250))@luck=-1

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

/ lucky mobs
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
/ colored sheep
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

/ thrown eggs
group(type=entity,ID=ThrownEgg,NBTTag=(Motion=#randLaunchMotion(0.6,15)),amount=40;type=entity,ID=Item,NBTTag=(Item=(id=diamond,Count=1),Motion=#randLaunchMotion(0.7,18)),amount=20)@luck=2
/ thrown exp bottles
type=entity,ID=ThrownExpBottle,NBTTag=(Motion=#randLaunchMotion),amount=#rand(16,32)@luck=1
/ Xps
type=entity,ID=ThrownExpBottle,NBTTag=(Motion=#randLaunchMotion),amount=#rand(18,64)@luck=2
type=entity,ID=ThrownExpBottle,NBTTag=(Motion=#randLaunchMotion),amount=#rand(1,3)@luck=0
type=entity,ID=ThrownExpBottle,NBTTag=(Motion=#randLaunchMotion),amount=#rand(65,205)@luck=2

/ WeirdItems
type=entity,ID=Item,NBTTag=(CustomName="$e$lOne Chance",CustomNameVisible=true,Item=(Count=1,id=diamond_pickaxe,Damage=1561,tag=(ench=[(id=35,lvl=100)],display=(Name="$e$lOne Chance"),RepairCost=1000)))@luck=1
type=entity,ID=Item,NBTTag=(CustomName="$e$lEpic Lucky Sword",CustomNameVisible=true,Item=(Count=1,id=diamond_sword,Damage=1561,tag=(ench=[(id=16,lvl=1337)],display=(Name="$e$lEpic Lucky Sword"),RepairCost=1000)))@luck=1
type=entity,ID=Item,NBTTag=(CustomName="$e$lEpic Lucky Pickaxe",CustomNameVisible=true,Item=(Count=1,id=diamond_pickaxe,Damage=1561,tag=(ench=[(id=32,lvl=1337)],display=(Name="$e$lEpic Lucky Pickaxe"),RepairCost=1000)))@luck=1
type=entity,ID=Item,NBTTag=(CustomName="$e$lEpic Lucky Axe",CustomNameVisible=true,Item=(Count=1,id=diamond_axe,Damage=1561,tag=(ench=[(id=32,lvl=1337)],display=(Name="$e$lEpic Lucky Axe"),RepairCost=1000)))@luck=1
type=entity,ID=Item,NBTTag=(CustomName="$e$lEpic Lucky Shovel",CustomNameVisible=true,Item=(Count=1,id=diamond_shovel,Damage=1561,tag=(ench=[(id=32,lvl=1337)],display=(Name="$e$lEpic Lucky Shovel"),RepairCost=1000)))@luck=1
type=entity,ID=Item,NBTTag=(CustomName="$e$lEpic Lucky Hoe",CustomNameVisible=true,Item=(Count=1,id=diamond_hoe,Damage=1561,tag=(ench=[(id=32,lvl=1337)],display=(Name="$e$lEpic Lucky Hoe"),RepairCost=1000)))@luck=1
type=entity,ID=Item,NBTTag=(CustomName="$e$lEpic Lucky Bow",CustomNameVisible=true,Item=(Count=1,id=bow,Damage=384,tag=(ench=[(id=48,lvl=1337)],display=(Name="$e$lEpic Lucky Bow"),RepairCost=1000)))@luck=1
type=entity,ID=Item,NBTTag=(CustomName="$e$lEpic Lucky Fishing Rod",CustomNameVisible=true,Item=(Count=1,id=fishing_rod,Damage=64,tag=(ench=[(id=61,lvl=1337)],display=(Name="$e$lEpic Lucky Fishing Rod"),RepairCost=1000)))@luck=1
type=entity,ID=Item,NBTTag=(CustomName="$e$lEpic Lucky Helmet",CustomNameVisible=true,Item=(Count=1,id=diamond_helmet,Damage=363,tag=(ench=[(id=0,lvl=1337)],display=(Name="$e$lEpic Lucky Helmet"),RepairCost=1000)))@luck=1
type=entity,ID=Item,NBTTag=(CustomName="$e$lEpic Lucky Chestplate",CustomNameVisible=true,Item=(Count=1,id=diamond_Chestplate,Damage=528,tag=(ench=[(id=0,lvl=1337)],display=(Name="$e$lEpic Lucky Chestplate"),RepairCost=1000)))@luck=1
type=entity,ID=Item,NBTTag=(CustomName="$e$lEpic Lucky Leggings",CustomNameVisible=true,Item=(Count=1,id=diamond_leggings,Damage=495,tag=(ench=[(id=0,lvl=1337)],display=(Name="$e$lEpic Lucky Leggings"),RepairCost=1000)))@luck=1
type=entity,ID=Item,NBTTag=(CustomName="$e$lEpic Lucky Boots",CustomNameVisible=true,Item=(Count=1,id=diamond_boots,Damage=429,tag=(ench=[(id=0,lvl=1337)],display=(Name="$e$lEpic Lucky Boots"),RepairCost=1000)))@luck=1




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


/ lightning creeper
group(type=difficulty,ID=hard;type=entity,ID=Creeper;type=entity,ID=LightningBolt)@luck=-2
/ giant
group(type=difficulty,ID=hard;type=entity,ID=Giant)@luck=-2
/ friends
group(type=difficulty,ID=hard;type=entity,ID=Villager)@luck=0
group(type=difficulty,ID=hard;type=entity,ID=Blaze)@luck=-1

/ TheDragon
group(type=difficulty,ID=hard;type=entity,ID=EnderDragon)@chance=0.1@luck=-2
/ wither
group(type=difficulty,ID=hard;type=entity,ID=WitherBoss)@chance=0.1@luck=-2
/ ghast
group(type=difficulty,ID=hard;type=entity,ID=Ghast)@chance=0.2@luck=-2
/ elder guardian
group(type=difficulty,ID=hard;type=entity,ID=Guardian,NBTTag=(Elder=1)))@chance=0.5@luck=-2
/ killer rabbit
group(type=difficulty,ID=hard;type=entity,ID=Rabbit,NBTTag=(RabbitType=99))@luck=-1
/ lightning creeper
group(type=difficulty,ID=hard;type=entity,ID=Creeper;type=entity,ID=LightningBolt)@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
/ AZ's Return
group(type=difficulty,ID=hard;type=entity,ID=Zombie,NBTTag=(Equipment=[(id=diamond_axe,Count=1,tag=(ench=#luckySwordEnchantments)),(id=golden_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments)),(id=diamond_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=diamond_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$lAZ",CustomNameVisible=true))@luck=-2
/ OtherOldMobs
group(type=difficulty,ID=hard;type=entity,ID=Silverfish,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$lZack",CustomNameVisible=true))@luck=-2
group(type=difficulty,ID=hard;type=entity,ID=Pig,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$lTadd",CustomNameVisible=true))@luck=0
group(type=difficulty,ID=hard;type=entity,ID=Villager,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$lDate",CustomNameVisible=true))@luck=1
group(type=difficulty,ID=hard;type=entity,ID=Skeleton,NBTTag=(Equipment=[(id=bow,Count=1,tag=(ench=#luckyBowEnchantments)),(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$lLong Lost Date",CustomNameVisible=true))@luck=0
group(type=difficulty,ID=hard;type=entity,ID=Witch,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$lJen",CustomNameVisible=true))@luck=-2
group(type=difficulty,ID=hard;type=entity,ID=Blaze,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$lPat",CustomNameVisible=true))@luck=-2
group(type=difficulty,ID=hard;type=entity,ID=Slime,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$lJames",CustomNameVisible=true))@luck=-1
group(type=difficulty,ID=hard;type=entity,ID=LavaSlime,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$lJack",CustomNameVisible=true))@luck=-2
group(type=difficulty,ID=hard;type=entity,ID=Giant,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$lJen's Mom",CustomNameVisible=true))@luck=-2
group(type=difficulty,ID=hard;type=entity,ID=Creeper,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$lShelly",CustomNameVisible=true))@luck=-2
group(type=difficulty,ID=hard;type=entity,ID=Ozelot,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$lSally",CustomNameVisible=true))@luck=1
group(type=difficulty,ID=hard;type=entity,ID=Wolf,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$lSparky",CustomNameVisible=true))@luck=2
group(type=difficulty,ID=hard;type=entity,ID=Spider,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$lXavier",CustomNameVisible=true))@luck=-2
group(type=difficulty,ID=hard;type=entity,ID=CaveSpider,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$lXavier's Aggressive Teenage Daughter",CustomNameVisible=true))@luck=-2
group(type=difficulty,ID=hard;type=entity,ID=PigZombie,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$lDave",CustomNameVisible=true))@luck=-2


/ NewMobs
group(type=difficulty,ID=hard;type=entity,ID=Enderman,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=$0$lSlender Man))@luck=-2


/ ghostly horseman skeleton
group(type=difficulty,ID=hard;type=entity,ID=Skeleton,NBTTag=(Equipment=[(id=bow,Count=1,tag=(ench=#luckyBowEnchantments)),(id=chainmail_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments)),(id=chainmail_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=chainmail_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=chainmail_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$lGhostly Horseman",CustomNameVisible=true,Riding=(id=EntityHorse,Tame=true,Type=4,Riding=(id=Bat,Silent=true,ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)]))))@luck=-2
/ IbeliveIcanflyIbeliveIcanDie
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,Riding=(id=EntityHorse,Tame=true,Type=4,Riding=(id=Bat,Silent=true,ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)]))))@luck=-2
group(type=difficulty,ID=hard;type=entity,ID=Villager,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$lDate",CustomNameVisible=true,Riding=(id=EntityHorse,Tame=true,Type=4,Riding=(id=Bat,Silent=true,ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)]))))@luck=-2
group(type=difficulty,ID=hard;type=entity,ID=Witch,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$lJen",CustomNameVisible=true,Riding=(id=EntityHorse,Tame=true,Type=4,Riding=(id=Bat,Silent=true,ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)]))))@luck=-2
group(type=difficulty,ID=hard;type=entity,ID=Skeleton,NBTTag=(Equipment=[(id=bow,Count=1,tag=(ench=#luckyBowEnchantments)),(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$lLong Lost Date",CustomNameVisible=true,Riding=(id=EntityHorse,Tame=true,Type=4,Riding=(id=Bat,Silent=true,ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)]))))@luck=-2
group(type=difficulty,ID=hard;type=entity,ID=Blaze,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$lPat",CustomNameVisible=true,Riding=(id=EntityHorse,Tame=true,Type=4,Riding=(id=Bat,Silent=true,ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)]))))@luck=-2
group(type=difficulty,ID=hard;type=entity,ID=Zombie,NBTTag=(Equipment=[(id=diamond_axe,Count=1,tag=(ench=#luckySwordEnchantments)),(id=golden_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments)),(id=diamond_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=diamond_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$lAZ",CustomNameVisible=true,Riding=(id=EntityHorse,Tame=true,Type=4,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

/oldstackedmobs
type=entity,ID=Witch,NBTTag=(Riding=(id=Blaze,Riding=(id=Blaze,Riding=(id=Blaze,Riding=(id=Blaze,Riding=(id=Blaze,Riding=(id=Blaze,Riding=(id=Blaze))))))))@luck=-1
type=entity,ID=Witch,NBTTag=(Riding=(id=Zombie,Riding=(id=Zombie,Riding=(id=Zombie,Riding=(id=Zombie,Riding=(id=Zombie,Riding=(id=Zombie,Riding=(id=Zombie))))))))@luck=-2
type=entity,ID=Blaze,NBTTag=(Riding=(id=Zombie,Riding=(id=Zombie,Riding=(id=Zombie,Riding=(id=Zombie,Riding=(id=Zombie,Riding=(id=Zombie,Riding=(id=Chicken))))))))@luck=-2
type=entity,ID=Blaze,NBTTag=(Riding=(id=Zombie,Riding=(id=Zombie,Riding=(id=Zombie,Riding=(id=Zombie,Riding=(id=Zombie,Riding=(id=Zombie,Riding=(id=WitherBoss))))))))@chance=0.1@luck=-2
type=entity,ID=CaveSpider,NBTTag=(Riding=(id=CaveSpider,Riding=(id=CaveSpider,Riding=(id=CaveSpider,Riding=(id=CaveSpider,Riding=(id=CaveSpider,Riding=(id=CaveSpider,Riding=(id=Spider))))))))@luck=-2
type=entity,ID=Blaze,NBTTag=(Riding=(id=Blaze,Riding=(id=Blaze,Riding=(id=Blaze,Riding=(id=Blaze,Riding=(id=Blaze,Riding=(id=Blaze,Riding=(id=Blaze))))))))@luck=-2

/ newstackedmobs
type=entity,ID=Villager,NBTTag=(Riding=(id=Cow,Riding=(id=Cow,Riding=(id=Cow,Riding=(id=Cow,Riding=(id=Cow,Riding=(id=Cow,Riding=(id=Cow))))))))@luck=0
type=entity,ID=Witch,NBTTag=(Riding=(id=Witch,Riding=(id=Witch,Riding=(id=Witch,Riding=(id=Witch,Riding=(id=Witch,Riding=(id=Witch,Riding=(id=Witch))))))))@luck=-2
type=entity,ID=Witch,NBTTag=(Riding=(id=Witch,Riding=(id=Witch,Riding=(id=Witch,Riding=(id=Witch,Riding=(id=Witch,Riding=(id=Witch,Riding=(id=Bat))))))))@luck=-2
type=entity,ID=Enderman,NBTTag=(Riding=(id=Enderman,Riding=(id=Enderman,Riding=(id=Enderman,Riding=(id=Enderman,Riding=(id=Enderman,Riding=(id=Enderman,Riding=(id=Enderman))))))))@luck=-2


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

/ witch with bats
group(type=difficulty,ID=hard;type=entity,ID=Witch;type=entity,ID=Bat,posY=#bPosY+#rand(0,2),posOffset=#circleOffset(0,1),amount=64)@luck=-1

/ lotsofmobs
type=entity,ID=Silverfish,amount=#rand(5,64),posOffset=#circleOffset(4),NBTTag=(Type=#rand(0,4))@luck=-1
type=entity,ID=Endermite,amount=#rand(5,64),posOffset=#circleOffset(4),NBTTag=(Type=#rand(0,4))@luck=-1
type=entity,ID=Enderman,amount=#rand(5,64),posOffset=#circleOffset(4),NBTTag=(Type=#rand(0,4))@luck=-2
type=entity,ID=Ghast,amount=#rand(5,64),posOffset=#circleOffset(4),NBTTag=(Type=#rand(0,4))@luck=-2
type=entity,ID=Cow,amount=#rand(5,64),posOffset=#circleOffset(4),NBTTag=(Type=#rand(0,4))@luck=1
type=entity,ID=Chicken,amount=#rand(5,64),posOffset=#circleOffset(4),NBTTag=(Type=#rand(0,4))@luck=0
type=entity,ID=Witch,amount=#rand(5,64),posOffset=#circleOffset(4),NBTTag=(Type=#rand(0,4))@luck=-2
type=entity,ID=Blaze,amount=#rand(5,64),posOffset=#circleOffset(4),NBTTag=(Type=#rand(0,4))@luck=-2
type=entity,ID=PigZombie,amount=#rand(5,64),posOffset=#circleOffset(4),NBTTag=(Type=#rand(0,4))@luck=-1
type=entity,ID=Creeper,amount=#rand(5,64),posOffset=#circleOffset(4),NBTTag=(Type=#rand(0,4))@luck=-2
type=entity,ID=LightningBolt,amount=#rand(5,64),posOffset=#circleOffset(4),NBTTag=(Type=#rand(0,4))@luck=-2
type=entity,ID=Pig,amount=#rand(5,64),posOffset=#circleOffset(4),NBTTag=(Type=#rand(0,4))@luck=2
type=entity,ID=VillagerGolem,amount=#rand(5,64),posOffset=#circleOffset(4),NBTTag=(Type=#rand(0,4))@luck=0
type=entity,ID=SnowMan,amount=#rand(5,64),posOffset=#circleOffset(4),NBTTag=(Type=#rand(0,4))@luck=0
type=entity,ID=Arrow,amount=#rand(5,64),posOffset=#circleOffset(4),NBTTag=(Type=#rand(0,4))@luck=0


/ huge slime and magma cube
group:1:(type=entity,ID=Slime,NBTTag=(Size=100);type=entity,ID=LavaSlime,NBTTag=(Size=100))@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

/ lucky villagers
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="$e$lLucky Sword"))),maxUses=1),(buy=(id=diamond,Count=#rand(20,25)),sell=(id=bow,Count=1,tag=(ench=#luckyBowEnchantments,display=(Name="$e$lLucky Bow"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=fishing_rod,Count=1,tag=(ench=#luckyFishingRodEnchantments,display=(Name="$e$lLucky Fishing Rod"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=potion,Damage=8195,Count=1,tag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lLucky Potion"))),maxUses=1),(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potion,Damage=16428,Count=1,tag=(CustomPotionEffects=#unluckyPotionEffects,display=(Name="$e$lUnlucky Potion"))),maxUses=1)]),CustomName="$e$lLucky Villager",CustomNameVisible=true)@luck=1
type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(12,17)),sell=(id=diamond_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments,display=(Name="$e$lLucky Helmet"))),maxUses=1),(buy=(id=diamond,Count=#rand(20,25)),sell=(id=diamond_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments,display=(Name="$e$lLucky Chestplate"))),maxUses=1),(buy=(id=diamond,Count=#rand(15,20)),sell=(id=diamond_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments,display=(Name="$e$lLucky Leggings"))),maxUses=1),(buy=(id=diamond,Count=#rand(12,17)),sell=(id=diamond_boots,Count=1,tag=(ench=#luckyBootsEnchantments,display=(Name="$e$lLucky Boots"))),maxUses=1)]),CustomName="$e$lLucky Villager",CustomNameVisible=true)@luck=1
type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(10,15)),sell=(id=diamond_shovel,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$e$lLucky Shovel"))),maxUses=1),(buy=(id=diamond,Count=#rand(15,20)),sell=(id=diamond_pickaxe,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$e$lLucky Pickaxe"))),maxUses=1),(buy=(id=diamond,Count=#rand(15,20)),sell=(id=diamond_axe,Count=1,tag=(ench=#luckyAxeEnchantments,display=(Name="$e$lLucky Axe"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=diamond_hoe,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$e$lLucky Hoe"))),maxUses=1)]),CustomName="$e$lLucky Villager",CustomNameVisible=true)@luck=1
/ old lucky villagers
type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(20,25)),sell=(id=golden_sword,Count=1,tag=(ench=#luckySwordEnchantments,display=(Name="$e$lLucky Sword"))),maxUses=1),(buy=(id=diamond,Count=#rand(20,25)),sell=(id=bow,Count=1,tag=(ench=#luckyBowEnchantments,display=(Name="$e$lLucky Bow"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=fishing_rod,Count=1,tag=(ench=#luckyFishingRodEnchantments,display=(Name="$e$lLucky Fishing Rod"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=potion,Damage=8195,Count=1,tag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lLucky Potion"))),maxUses=1),(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potion,Damage=16428,Count=1,tag=(CustomPotionEffects=#unluckyPotionEffects,display=(Name="$e$lUnlucky Potion"))),maxUses=1)]),CustomName="$e$lOld Lucky Villager",CustomNameVisible=true)@luck=1
type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(12,17)),sell=(id=golden_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments,display=(Name="$e$lLucky Helmet"))),maxUses=1),(buy=(id=diamond,Count=#rand(20,25)),sell=(id=golden_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments,display=(Name="$e$lLucky Chestplate"))),maxUses=1),(buy=(id=diamond,Count=#rand(15,20)),sell=(id=golden_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments,display=(Name="$e$lLucky Leggings"))),maxUses=1),(buy=(id=diamond,Count=#rand(12,17)),sell=(id=golden_boots,Count=1,tag=(ench=#luckyBootsEnchantments,display=(Name="$e$lLucky Boots"))),maxUses=1)]),CustomName="$e$lOld Lucky Villager",CustomNameVisible=true)@luck=1
type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(10,15)),sell=(id=golden_shovel,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$e$lLucky Shovel"))),maxUses=1),(buy=(id=diamond,Count=#rand(15,20)),sell=(id=golden_pickaxe,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$e$lLucky Pickaxe"))),maxUses=1),(buy=(id=diamond,Count=#rand(15,20)),sell=(id=golden_axe,Count=1,tag=(ench=#luckyAxeEnchantments,display=(Name="$e$lLucky Axe"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=golden_hoe,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$e$lLucky Hoe"))),maxUses=1)]),CustomName="$e$lOld Lucky Villager",CustomNameVisible=true)@luck=1


/ falling blocks (iron, gold, diamond, emerald)
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
/Morefallingsand
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=lapis_block);type=particle,ID=splash,size=(1,2,1),particleAmount=1000;type=sound,ID=game.neutral.swim.splash)@luck=0
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=lucky:Purple Lucky Block);type=particle,ID=heart,size=(1,2,1),particleAmount=500;type=sound,ID=dig.stone)@luck=0
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=lucky:lucky_block);type=entity,ID=LightningBolt)@luck=0
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=reds



/ 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=5),posY=#bPosY+20;NBTTag=(Block=stained_hardened_clay,Data=3),posY=#bPosY+25;NBTTag=(Block=stained_hardened_clay,Data=11),posY=#bPosY+30;NBTTag=(Block=stained_hardened_clay,Data=10),posY=#bPosY+35;NBTTag=(Block=stained_hardened_clay,Data=2),posY=#bPosY+40;NBTTag=(Block=stained_hardened_clay,Data=6),posY=#bPosY+45),type=entity,ID=FallingSand;type=entity,ID=FallingSand,NBTTag=(Block=emerald_block),posY=#bPosY+50;type=entity,ID=happyVillager,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=5),posY=#bPosY+20;NBTTag=(Block=stained_hardened_clay,Data=3),posY=#bPosY+25;NBTTag=(Block=stained_hardened_clay,Data=11),posY=#bPosY+30;NBTTag=(Block=stained_hardened_clay,Data=10),posY=#bPosY+35;NBTTag=(Block=stained_hardened_clay,Data=2),posY=#bPosY+40;NBTTag=(Block=stained_hardened_clay,Data=6),posY=#bPosY+45),type=entity,ID=FallingSand;type=entity,ID=FallingSand,NBTTag=(Block=diamond_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=5),posY=#bPosY+20;NBTTag=(Block=stained_hardened_clay,Data=3),posY=#bPosY+25;NBTTag=(Block=stained_hardened_clay,Data=11),posY=#bPosY+30;NBTTag=(Block=stained_hardened_clay,Data=10),posY=#bPosY+35;NBTTag=(Block=stained_hardened_clay,Data=2),posY=#bPosY+40;NBTTag=(Block=stained_hardened_clay,Data=6),posY=#bPosY+45),type=entity,ID=FallingSand;type=entity,ID=FallingSand,NBTTag=(Block=bedrock),posY=#bPosY+50;type=entity,ID=LightningBolt,posY=#bPosY+10,delay=5.3)@luck=-1
group(type=fill,ID=air,size=(1,51,1);group(NBTTag=(Block=redstone_block),posY=#bPosY+5;NBTTag=(Block=lapis_block),posY=#bPosY+10;NBTTag=(Block=coal_block),posY=#bPosY+15;NBTTag=(Block=gold_block),posY=#bPosY+20;NBTTag=(Block=iron_block),posY=#bPosY+25;NBTTag=(Block=emerald_block),posY=#bPosY+30;NBTTag=(Block=diamond_block),posY=#bPosY+35;NBTTag=(Block=obsidian),posY=#bPosY+40;NBTTag=(Block=piston),posY=#bPosY+45),type=entity,ID=FallingSand;type=entity,ID=FallingSand,NBTTag=(Block=dragon_egg),posY=#bPosY+50;type=entity,ID=LightningBolt,posY=#bPosY+10,delay=5.3)@luck=2

/ULTIMATEPurpleness
group(type=fill,ID=air,size=(1,51,1);group(NBTTag=(Block=stained_hardened,Data=6),posY=#bPosY+5;NBTTag=(Block=stained_hardened,Data=6),posY=#bPosY+10;NBTTag=(Block=stained_hardened,Data=6),posY=#bPosY+15;NBTTag=(Block=stained_hardened,Data=6),posY=#bPosY+20;NBTTag=(Block=stained_hardened,Data=6),posY=#bPosY+25;NBTTag=(Block=stained_hardened,Data=6),posY=#bPosY+30;NBTTag=(Block=diamond_block),posY=#bPosY+35;NBTTag=(Block=stained_hardened,Data=6),posY=#bPosY+40;NBTTag=(Block=stained_hardened,Data=6),posY=#bPosY+45),type=entity,ID=FallingSand;type=entity,ID=FallingSand,NBTTag=(Block=lucky:Purple Lucky Block),posY=#bPosY+50;type=entity,ID=LightningBolt,posY=#bPosY+10,delay=5.3)@luck=2

/challengegamestrollpole
group(type=fill,ID=air,size=(1,51,1);group(NBTTag=(Block=beacon),posY=#bPosY+5;NBTTag=(Block=beacon),posY=#bPosY+10;NBTTag=(Block=beacon),posY=#bPosY+15;NBTTag=(Block=beacon),posY=#bPosY+20;NBTTag=(Block=beacon),posY=#bPosY+25;NBTTag=(Block=emerald_block),posY=#bPosY+30;NBTTag=(Block=beacon),posY=#bPosY+35;NBTTag=(Block=beacon),posY=#bPosY+40;NBTTag=(Block=beacon),posY=#bPosY+45),type=entity,ID=FallingSand;type=entity,ID=FallingSand,NBTTag=(Block=flowing_water),posY=#bPosY+50;type=entity,ID=LightningBolt,posY=#bPosY+10,delay=5.3)@luck=0

/ 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


/ baby player
type=entity,ID=ArmorStand,NBTTag=(Small=true,NoBasePlate=true,ShowArms=true,Equipment=[(id=diamond_pickaxe,Count=1),(id=diamond_boots,Count=1,(id=diamond_leggings,Count=1,(id=Diamond_chestplate,Count=1,id=skull,Damage=3,Count=1,tag=(SkullOwner=#pName))],Rotation=[#pYaw+180f,0f],CustomName="Baby #pName",CustomNameVisible=true)@luck=0

/ ==== Monster Apocalyple ====
/ sword, difficulty, time, potion effects
group(ID=wooden_sword;type=difficulty,ID=hard;type=time,ID=18750;type=effect,ID=slowness,duration=30,amplifier=4;type=effect,ID=blindness,duration=30; 
/ zombies, creepers, spiders & cave spiders, silverfish & endermites, guardians
group:1:(type=entity,ID=Zombie,amount=#rand(20,50);type=entity,ID=Creeper,amount=#rand(10,30);group(type=entity,ID=Spider,amount=#rand(15,45);type=entity,ID=CaveSpider,amount=#rand(5,10));group(type=entity,ID=Silverfish,amount=#rand(15,45);type=entity,ID=Endermite,amount=#rand(5,10));type=entity,ID=Guardian,amount=#rand(10,30); \
/ all
group(type=entity,ID=Zombie,amount=#rand(20,50);type=entity,ID=Creeper,amount=#rand(10,30);group(type=entity,ID=Spider,amount=#rand(15,45);type=entity,ID=CaveSpider,amount=#rand(5,10);type=entity,ID=Silverfish,amount=#rand(15,45);type=entity,ID=Endermite,amount=#rand(5,10);type=entity,ID=Guardian,amount=#rand(10,30)))),posOffset=#circleOffset(8,10))@luck=-2

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

/wishing wells
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_rainbow,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$4MWAHAHA!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=Blaze,posY='#'bPosY+7,amount=20)"]))@luck=-2
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_rainbow,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$eYour (farming) wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=60,amount=128,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=diamond_hoe,amount=30,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=iron_hoe,amount=30,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=stone_hoe,amount=30,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=golden_hoe,amount=30,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=wooden_hoe,amount=30,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=seeds,amount=128,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=326,amount=30,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=1
group(type=structure,ID=wishing_well;type=message,ID="Just normal well, why should you throw in a coin..?";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_rainbow,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$eThis is no wishing well so you just wasted $eYour coin!\";type=block,ID=air,posY='#'bPosY+3)"]))@luck=0
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_rainbow,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$2Your wish came true(sort of)!\";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=2,posY='#'bPosY+3,posOffset='#'circleOffset(2),reinitialize=true;ID=redstone,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=351,damage=4,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=quartz,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=coal,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_rainbow,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$4THINK FAST!\";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;ID=gold_ingot,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=emerald,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=diamond,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=1
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_rainbow,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$4THERE IS NO ESCAPE!\";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=100,posOffset='#'circleOffset(3))"]))@luck=-2
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_rainbow,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$bI hope you like apples!\";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=60,posY='#'bPosY+3,posOffset='#'circleOffset(2),reinitialize=true;ID=golden_apple,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=apple,amount=#rand(40,60),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=golden_apple,amount=#rand(3,15),damage=1,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_rainbow,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$bThis would be so good in the challenge games!\";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=5,posY='#'bPosY+3,posOffset='#'circleOffset(2),reinitialize=true;ID=sponge,amount=#rand(1,3),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=end_portal_frame,amount=#rand(1,40),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=cake,amount=#rand(1,3),damage=1,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=saddle,amount=#rand(1,10),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=0
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_rainbow,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$bOOOH Diamonds!\";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),reinitialize=true;ID=diamond,amount=#rand(30,40),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_rainbow,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$bOOOH EMERALDS!\";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),reinitialize=true;ID=emerald,amount=#rand(30,40),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_rainbow,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$bYou must feel dapper with so much gold!\";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),reinitialize=true;ID=gold_ingot,amount=#rand(30,40),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_rainbow,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$bJen's 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=fish,damage=3,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=diamond_hoe,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=diamond_horse_armor,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=wool,damage=6,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2

/chests
type=structure,ID=jen_chest@luck=0
type=structure,ID=diamond_chest@luck=2
type=structure,ID=gold_chest@luck=2
type=structure,ID=troll_chest@luck=1

/door trap
type=structure,ID=door_trap,pos=#pPos@luck=-1

/trampoline
type=structure,ID=trampoline@luck=1

/bigger hole
type=structure,ID=giant_pit_trap,pos=#pPos@luck=-1

/rainbow or not
type=structure,ID=lucky_choise_rainbow,rotation=#pDirect@luck=1

/jen's hole
group(type=message,ID="$d[Jen] $7IM IN A HOLE";type=block,ID=air,posY=#bPosY-1;type=block,ID=air,posY=#bPosY-2;type=block,ID=air,posY=#bPosY-3;type=entity,ID=Witch,NBTTag=(CustomName="$7Jen",CustomNameVisible=true,scatterOffset=0-2,reinitialize=true))@luck=0

/rainbow made of lucky blocks
group(type=block,ID=lucky:lucky_block_rainbow_rainbow;type=block,ID=lucky:lucky_block_rainbow_rainbow,posY=#bPosY+1;type=block,ID=lucky:lucky_block_rainbow_rainbow,posX=#bPosX+1;type=block,ID=lucky:lucky_block_rainbow_rainbow,posX=#bPosX+1,posY=#bPosY+1;type=block,ID=lucky:lucky_block_rainbow_rainbow,posX=#bPosX+2,posY=#bPosY+1;type=block,ID=lucky:lucky_block_rainbow_rainbow,posX=#bPosX+1,posY=#bPosY+2;type=block,ID=lucky:lucky_block_rainbow_rainbow,posX=#bPosX+2,posY=#bPosY+2;type=block,ID=lucky:lucky_block_rainbow_rainbow,posX=#bPosX+2,posY=#bPosY+3;type=block,ID=lucky:lucky_block_rainbow_rainbow,posX=#bPosX+3,posY=#bPosY+2;type=block,ID=lucky:lucky_block_rainbow_rainbow,posX=#bPosX+4,posY=#bPosY+2;type=block,ID=lucky:lucky_block_rainbow_rainbow,posX=#bPosX+5,posY=#bPosY+2;type=block,ID=lucky:lucky_block_rainbow_rainbow,posX=#bPosX+6,posY=#bPosY+2;type=block,ID=lucky:lucky_block_rainbow_rainbow,posX=#bPosX+7,posY=#bPosY+2;type=block,ID=lucky:lucky_block_rainbow_rainbow,posX=#bPosX+3,posY=#bPosY+3;type=block,ID=lucky:lucky_block_rainbow_rainbow,posX=#bPosX+4,posY=#bPosY+3;type=block,ID=lucky:lucky_block_rainbow_rainbow,posX=#bPosX+5,posY=#bPosY+3;type=block,ID=lucky:lucky_block_rainbow_rainbow,posX=#bPosX+6,posY=#bPosY+3;type=block,ID=lucky:lucky_block_rainbow_rainbow,posX=#bPosX+6,posY=#bPosY+1;type=block,ID=lucky:lucky_block_rainbow_rainbow,posX=#bPosX+7,posY=#bPosY+1;type=block,ID=lucky:lucky_block_rainbow_rainbow,posX=#bPosX+8,posY=#bPosY+1;type=block,ID=lucky:lucky_block_rainbow_rainbow,posX=#bPosX+7;type=block,ID=lucky:lucky_block_rainbow_rainbow,posX=#bPosX+8)@luck=2

/diamond trap
group(type=block,ID=diamond_ore,posY=#bPosY-1;type=block,ID=diamond_ore,posY=#bPosY-2;type=block,ID=diamond_ore,posY=#bPosY-3;type=block,ID=air,posY=#bPosY-4;type=block,ID=lava,posY=#bPosY-5;type=block,ID=lava,posY=#bPosY-6)@luck=0

/big pyramid
type=structure,ID=pyramid@luck=3

/random pole
group(type=fill,ID=air,size=(1,71,1);group(type=entity,ID=FallingSand,NBTTag=(Block=sponge);type=entity,ID=FallingSand,NBTTag=(Block=bookshelf),posY=#bPosY+10;type=entity,ID=FallingSand,NBTTag=(Block=redstone_block),posY=#bPosY+30;type=entity,ID=FallingSand,NBTTag=(Block=hay_block),posY=#bPosY+50;type=entity,ID=FallingSand,NBTTag=(Block=tnt),posY=#bPosY+60;type=entity,ID=FallingSand,NBTTag=(Block=mossy_cobblestone),posY=#bPosY+70;type=entity,ID=FallingSand,NBTTag=(Block=brick_block),posY=#bPosY+80;type=entity,ID=FallingSand,NBTTag=(Block=cake),posY=#bPosY+90)@luck=0

/tnt sphere
type=structure,ID=tnt_sphere,pos=#pPos,rotation=#pDirect@luck=0

/village structures
type=structure,ID=house@luck=1
type=structure,ID=garden@luck=1
type=structure,ID=blacksmith@luck=2

/pat and jen
group:1:(type=structure,ID=Jen;type=structure,ID=Pat)@luck=1

/cobweb
type=structure,ID=cobweb_trap@luck=-1

/obsidian treasure
type=structure,ID=Dobsidian@luck=1
type=structure,ID=Eobsidian@luck=1
type=structure,ID=Sobsidian@luck=0

/lucky and unlucky blocks
type=structure,ID=unlucky_block@luck=-1
type=structure,ID=very_lucky_block@luck=1

/trapped chest
group(type=block,ID=trapped_chest;type=block,ID=tnt,posY=#bPosY-2;type=block,ID=tnt,posY=#bPosY-3;type=block,ID=tnt,posY=#bPosY-4;type=block,ID=tnt,posY=#bPosY-2,posZ=#bPosZ-1;type=block,ID=tnt,posY=#bPosY-3,posZ=#bPosZ-1;type=block,ID=tnt,posY=#bPosY-4,posZ=#bPosZ-1;type=block,ID=tnt,posY=#bPosY-2,posZ=#bPosZ+1;type=block,ID=tnt,posY=#bPosY-3,posZ=#bPosZ+1;type=block,ID=tnt,posY=#bPosY-4,posZ=#bPosZ+1;type=block,ID=tnt,posY=#bPosY-2,posX=#bPosX-1;type=block,ID=tnt,posY=#bPosY-3,posX=#bPosX-1;type=block,ID=tnt,posY=#bPosY-4,posX=#bPosX-1;type=block,ID=tnt,posY=#bPosY-2,posX=#bPosX+1;type=block,ID=tnt,posY=#bPosY-3,posX=#bPosX+1;type=block,ID=tnt,posY=#bPosY-4,posX=#bPosX+1)@luck=-1

/tnt trap
type=structure,ID=tnt_trap,pos=#pPos,rotation=#pDirect@luck=-2

/barrier cage
type=structure,ID=barrier_sphere,pos=#pPos,rotation=#pDirect@luck=-2

/ore pole
group(type=entity,ID=FallingSand,NBTTag=(Block=coal_ore);type=entity,ID=FallingSand,NBTTag=(Block=redstone_ore),posY=#bPosY+10;type=entity,ID=FallingSand,NBTTag=(Block=lapis_ore),posY=#bPosY+20;type=entity,ID=FallingSand,NBTTag=(Block=quartz_ore),posY=#bPosY+40;type=entity,ID=FallingSand,NBTTag=(Block=iron_ore),posY=#bPosY+50;type=entity,ID=FallingSand,NBTTag=(Block=gold_ore),posY=#bPosY+60;type=entity,ID=FallingSand,NBTTag=(Block=diamond_ore),posY=#bPosY+70;type=entity,ID=FallingSand,NBTTag=(Block=emerald_ore),posY=#bPosY+80;type=entity,ID=FallingSand,NBTTag=(Block=flowing_water),posY=#bPosY+90)@luck=1

/OP pole
group(type=fill,ID=air,size=(1,71,1);group(type=entity,ID=FallingSand,NBTTag=(Block=coal_block);type=entity,ID=FallingSand,NBTTag=(Block=redstone_block),posY=#bPosY+10;type=entity,ID=FallingSand,NBTTag=(Block=lapis_block),posY=#bPosY+20;type=entity,ID=FallingSand,NBTTag=(Block=quartz_block),posY=#bPosY+40;type=entity,ID=FallingSand,NBTTag=(Block=iron_block),posY=#bPosY+50;type=entity,ID=FallingSand,NBTTag=(Block=gold_block),posY=#bPosY+60;type=entity,ID=FallingSand,NBTTag=(Block=diamond_block),posY=#bPosY+70;type=entity,ID=FallingSand,NBTTag=(Block=emerald_block),posY=#bPosY+80;type=entity,ID=FallingSand,NBTTag=(Block=lava),posY=#bPosY+90)@luck=1

/tower of usefull blocks
group(type=fill,ID=air,size=(1,71,1);group(type=entity,ID=FallingSand,NBTTag=(Block=crafting_table);type=entity,ID=FallingSand,NBTTag=(Block=furnace),posY=#bPosY+10;type=entity,ID=FallingSand,NBTTag=(Block=enchanting_table),posY=#bPosY+20;type=entity,ID=FallingSand,NBTTag=(Block=anvil),posY=#bPosY+30;type=entity,ID=FallingSand,NBTTag=(Block=chest),NBTTag=(Block=items=[(id=iron_ingot,maxAmount=8,weight=10),(id=gold_ingot,maxAmount=4,weight=10),(id=emerald,maxAmount=4,weight=10),(id=diamond,maxAmount=4,weight=10),(id=lucky:lucky_block_rainbow,maxAmount=2,weight=10),(id=golden_apple,maxAmount=2,weight=10),(id=golden_apple,damage=1,maxAmount=1,weight=5)],min=8,max=8),posY=#bPosY+40;type=entity,ID=FallingSand,NBTTag=(Block=brewing_stand),posY=#bPosY+50)@luck=1

/ocean monument
type=structure,ID=ocean_monument@chance=0.3@luck=1

/rainbow beacon
type=structure,ID=rainbow_beacon@luck=-1

/wither statue
type=structure,ID=wither_statue@luck=-1

/LADDER TO THE MOON
type=structure,ID=joey_pole,rotation=#pDirect@luck=-1

/jump scare
group(type=structure,ID=creeper_scare,pos=#pPos;type=particle,ID=largesmoke,size=(1,2,1),particleAmount=500,pos=#pPos;type=sound,ID=random.fizz)@luck=-1

/house trap
type=structure,ID=house_trap,rotation=#pDirect@luck=-1

/rainbow dungeon
group(type=structure,ID=dungeon;type=difficulty,ID=hard)@luck=3

/pack statues
group:1:(type=structure,ID=Mitch;type=structure,ID=Jerome;type=structure,ID=Lachlan;type=structure,ID=Vik;type=structure,ID=Rob;type=structure,ID=Preston)@luck=1

/ ========== ENCHANTED ITEMS ==========

/ lucky block book
ID=written_book,NBTTag=(author="PlayerInDistress",title="$e$lLucky Block Book",pages=["$l$nThe Lucky Block$r\n\nThe Lucky Block ($ofortunus blockus$r) was brought to Minecraft by the gods to reward the good and punish the evil.","The player's true self will be revealed after mining this block.\n\nSome fear it, and others have been made rich by it.","You must mine it and be prepared for whatever will follow.\n\nIt is not luck.\n\nIt is $bdestiny."])@luck=0
/ lucky sword
ID=diamond_sword,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$e$lLucky Sword"))@luck=2
/ luckypufferfish
ID=fish,damage=3,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$e$lLucky Pufferfish"))@luck=2
/ lucky bow
ID=bow,NBTTag=(ench=#luckyBowEnchantments,display=(Name="$e$lLucky Bow"))@luck=2
/ lucky fishing rod
ID=fishing_rod,NBTTag=(ench=#luckyFishingRodEnchantments,display=(Name="$e$lLucky Fishing Rod"))@luck=2
/ lucky tools
group:#rand(1,2):(ID=diamond_shovel,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$e$lLucky Shovel"));ID=diamond_pickaxe,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$e$lLucky Pickaxe"));ID=diamond_axe,NBTTag=(ench=#luckyAxeEnchantments,display=(Name="$e$lLucky Axe"));ID=diamond_hoe,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$e$lLucky Hoe")))@luck=2
/ lucky armor
group:#rand(1,2):(ID=diamond_helmet,NBTTag=(ench=#luckyHelmetEnchantments,display=(Name="$e$lLucky Helmet"));ID=diamond_chestplate,NBTTag=(ench=#luckyChestplateEnchantments,display=(Name="$e$lLucky Chestplate"));ID=diamond_leggings,NBTTag=(ench=#luckyLeggingsEnchantments,display=(Name="$e$lLucky Leggings"));ID=diamond_boots,NBTTag=(ench=#luckyBootsEnchantments,display=(Name="$e$lLucky Boots")))@luck=2
/ lucky 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="$e$lUnlucky Splash Potion"))@luck=1
/luckysplash
/lucky splash potion
ID=potion,damage=16428,NBTTag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lLucky Splash Potion"))@luck=2
/unlucky
ID=potion,damage=8195,NBTTag=(CustomPotionEffects=#unluckyPotionEffects,display=(Name="$e$lUnlucky Potion"))@luck=-2
/ myfriendwumbomineryoutubechannelrefernce
ID=diamond_pickaxe,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$c$lWumbo"))@luck=2
/ lucky coal
ID=coal,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$e$lLucky Lump of Coal"))@luck=2
/BootySlapper
type=item,ID=diamond_shovel,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$bBootySlapper"))@luck=2
/Betty
type=item,ID=diamond_axe,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$bBetty"))@luck=2
/ShesaHoe
type=item,ID=diamond_hoe,NBTTag=(ench=#luckyFishingRodEnchantment,display=(Name="$bPaulyaulk Hoe"))@luck=2
/TheLostPickaxe
type=item,ID=diamond_pickaxe,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$bTheLostPickaxe"))@luck=1
/ShesaHoe 2.0
type=item,ID=diamond_hoe,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$bPaulyaulk Fighting Hoe #forJen"))@luck=2
/chicken
type=item, ID=Cooked_Chicken,NBTTag=(ench=#luckySwordEnchantments,display=(Name=$bJens Breasts #forJen))@luck=2
