/ ========== TOOLS & ARMOR ========== (not changed much, just luck + bow and arrow)

/ 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
/ bows and arrow (arrow and bow switched)
group(ID=arrow;ID=bow,amount=#rand(16,32))@luck=-1

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

ID=water@luck=0 (was sponge)
ID=obsidian,amount=8@luck=-1 (was tnt)
ID=tnt,amount=14@luck=-1 (was obsidian)
ID=soul_sand@luck=-2 (was enchantingtable)
ID=end_portal,amount=#rand(2,6)@luck=-2 (was end portal frame)
ID=cake@luck=-1 (was Dragon Egg)
ID=trapped_chest),amount=2@luck=-0 (was enderchest)
ID=dirt@luck=-2 (was beacon)
ID=hopper,amount=8@luck=0 (was dropper)
ID=web,amount=8@luck=0 (was hay block)

/ chests (here nothing changed... just luck)
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

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

ID=iron_ingot,amount=#rand(8,16)@luck=-1 (was gold ingot)
ID=stick,NBTTag=(display=(Name="$4not a Stick!"))@luck=--1 (was stick)
ID=sign,amount=4@luck=0 (was painting)
ID=carrot_on_a_stick,amount=2@luck=0 (was saddle)
ID=dragon_egg@luck=0 (was Cake)
ID=rabbit_stew@luck=--1 (was rotten flesh)
ID=dirt@luck=-2 (was netherstar)
ID=deadbush,NBTTag=(display=(Name="$6Deadbush"))@luck=1 (was Romantic Rose)
ID=rotten_flesh,amount=#rand(5,7)@luck=-1 (was rabbit stew)

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

/ lvl down (was bookshelves and books )
group(type=command,ID="/xp -10L @p";type=message,ID="$4 #pName Level Down!")@luck=0
/ melons (was pumpkins and jack o laterns)
group(ID=melon,amount=#rand(8,16);ID=melon_block,amount=#rand(8,16))@luck=0
/ golden apples (was golden apples)
group(ID=web,amount=#rand(2,4);ID=rotten_flesh,amount=#rand(1,2),damage=1)@luck=-2
/ buckets (nothing changed)
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) (just luck)
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) (just luck)
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 (was: enderpearls and eyes)
group(ID=egg,amount=10;ID=snowball,amount=5)@luck=-2
/ potions (just luck)
ID=potion,damage=#randPotionDamage,amount=#rand(4,8)@luck=-1
/ spawn eggs (just luck)
ID=spawn_egg,damage=#randSpawnEggDamage,amount=#rand(4,8)@luck=-1
/ heads (nothing to change)
ID=skull,damage=#rand(0,4),amount=#rand(1,3)@luck=0
/ jukebox music discs (just luck)
group(ID=jukebox;ID=#rand(2256,2267),amount=#rand(1,3))@luck=-1
/ brewing (just luck)
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 (just luck)
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 (just luck)
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 (just luck)
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 (just luck)
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 (just luck)
group(ID=fishing_rod;ID=349,damage=#rand(0,3),amount=#rand(10,20))@luck=-1
/ message with mushroom (not)
group(type=command,ID="/tell not #pName Listen not to me, not #pName. You are not in grave danger. You not need to run. Now. Do not take this mushroom, it is not your only hope.",commandSender="notPlayerInDistress-SomebodyWhoCantWriteEnglisch";ID=brown_mushroom,NBTTag=(display=(Name="$cNot Only Hope")))@luck=1
/ random jokes (just luck)
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 (nothing... i could make deadbush and grass but... its not the real opposite)
group(ID=red_flower,damage=#rand(0,8),amount=64)@luck=0
/ enchantment books (just luck)
ID=enchanted_book,NBTTag=(StoredEnchantments=#randEnchantment),amount=#rand(7,10)@luck=-1
/ prismarine (just luck)
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 + lucky squid (was lucky, not the squid)
group:1:(type=entity,ID=Pig,NBTTag=(CustomName="$c$lUnlucky Pig",CustomNameVisible=true);type=entity,ID=Cow,NBTTag=(CustomName="$c$lUnlucky Cow",CustomNameVisible=true);type=entity,ID=Chicken,NBTTag=(CustomName="$c$lUnlucky Chicken",CustomNameVisible=true);type=entity,ID=Sheep,NBTTag=(CustomName="$c$lUnlucky Sheep",CustomNameVisible=true);type=entity,ID=Rabbit,NBTTag=(CustomName="$c$lUnlucky Rabbit",CustomNameVisible=true);type=entity,ID=Squid,NBTTag=(CustomName="$e$lVery Lucky Squid",CustomNameVisible=true))@luck=0
/ colored sheep (just 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

/ eggs + dirt (was egg + diamonds)
group(type=entity,ID=ThrownEgg,NBTTag=(Motion=#randLaunchMotion(0.6,15)),amount=40;type=entity,ID=Item,NBTTag=(Item=(id=dirt,Count=1),Motion=#randLaunchMotion(0.7,18)),amount=20)@luck=2

/ thrown exp bottles (1 time no lvl down)
type=entity,ID=ThrownExpBottle,NBTTag=(Motion=#randLaunchMotion),amount=#rand(16,32)@luck=-2
/ launched obsidian (was launched tnt)
type=entity,ID=falling_block,NBTTag=(Block=#randList("minecraft:anvil","minecraft:obsidian"),Motion=#randLaunchMotion),amount=15@luck=-2

/ ocelot (was lightning creeper)
type=entity,ID=Ocelot@luck=2
/ giant (just luck)
group(type=difficulty,ID=hard;type=entity,ID=Giant)@luck=2
/ wither (just luck) (i dont have a pink wither)
group(type=difficulty,ID=hard;type=entity,ID=WitherBoss)@chance=0.1@luck=2
/ ghast (just luck) (There is no opposite in minecraft)
group(type=difficulty,ID=hard;type=entity,ID=Ghast)@chance=0.2@luck=2
/ squid (was elder guardian)
type=entity,ID=Squid@chance=0.5@luck=2
/ Toast (was killer Rabbit)
type=entity,ID=Rabbit,NBTTag=(CustomName="Toast")@luck=1
/ lightning creeper (one time, no change! just luck)
group(type=difficulty,ID=hard;type=entity,ID=Creeper;type=entity,ID=LightningBolt)@luck=2
/ boB zombie (was Bob)
group(type=difficulty,ID=hard;type=entity,ID=Zombie,NBTTag=(Equipment=[(id=wooden_sword,Count=1,tag=(ench=#luckySwordEnchantments)),(id=leather_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments)),(id=leather_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=leather_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=leather_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="$a$lboB",CustomNameVisible=true))@luck=2

/ rotten horseman zombie (was skeleton, with chainmal)
group(type=difficulty,ID=hard;type=entity,ID=Zombie,NBTTag=(Equipment=[(id=bow,Count=1,tag=(ench=#luckyBowEnchantments)),(id=iron_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments)),(id=iron_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=iron_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=iron_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="$2$lRotten Horseman",CustomNameVisible=true,Riding=(id=EntityHorse,Tame=true,Type=3,Riding=(id=Bat,Silent=true,ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)]))))@luck=2

/ stacked villagers and pig (opposite :P) (was villager and pigs)
type=entity,ID=Pig,NBTTag=(Riding=(id=Villager,Riding=(id=Villager,Riding=(id=Villager,Riding=(id=Villager,Riding=(id=Villager,Riding=(id=Villager,Riding=(id=Villager))))))))@luck=0

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

/ villager with Pigs (was witch with bats)
group(type=difficulty,ID=hard;type=entity,ID=Villager;type=entity,ID=Pig,posY=#bPosY+#rand(0,2),posOffset=#circleOffset(0,1),amount=64)@luck=1
/ huge slime and magma cube (now little :c)
group:1:(type=entity,ID=Slime,NBTTag=(Size=1);type=entity,ID=LavaSlime,NBTTag=(Size=1))@luck=2

/ pet wolves (just luck)
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 (just luck)
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 (just luck)
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

/ villain villagers (was Hero)
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="$4$9Villains Sword"))),maxUses=1),(buy=(id=diamond,Count=#rand(20,25)),sell=(id=bow,Count=1,tag=(ench=#luckyBowEnchantments,display=(Name="$4$9Villains Bow"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=fishing_rod,Count=1,tag=(ench=#luckyFishingRodEnchantments,display=(Name="$4$9Villains Fishing Rod"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=potion,Damage=8195,Count=1,tag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="$4$9Villains Potion"))),maxUses=1),(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potion,Damage=16428,Count=1,tag=(CustomPotionEffects=#unluckyPotionEffects,display=(Name="$4$4Evil Potion"))),maxUses=1)]),CustomName="$c$lUnlucky 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="$4$9Villains Helmet"))),maxUses=1),(buy=(id=diamond,Count=#rand(20,25)),sell=(id=diamond_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments,display=(Name="$4$9Villains Chestplate"))),maxUses=1),(buy=(id=diamond,Count=#rand(15,20)),sell=(id=diamond_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments,display=(Name="$4$9Villains Leggings"))),maxUses=1),(buy=(id=diamond,Count=#rand(12,17)),sell=(id=diamond_boots,Count=1,tag=(ench=#luckyBootsEnchantments,display=(Name="$4$9Villains Boots"))),maxUses=1)]),CustomName="$c$lUnlucky 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="$4$9Villains Shovel"))),maxUses=1),(buy=(id=diamond,Count=#rand(15,20)),sell=(id=diamond_pickaxe,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$4$9Villains Pickaxe"))),maxUses=1),(buy=(id=diamond,Count=#rand(15,20)),sell=(id=diamond_axe,Count=1,tag=(ench=#luckyAxeEnchantments,display=(Name="$4$9Villains Axe"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=diamond_hoe,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$4$9Villains Hoe"))),maxUses=1)]),CustomName="$c$lUnlucky Villager",CustomNameVisible=true)@luck=-1

/ falling blocks (iron, gold, diamond, emerald) (just luck, one time)
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=lapis_block);type=particle,ID=splash,size=(1,2,1),particleAmount=1000;type=sound,ID=game.neutral.swim.splash)@luck=0

/ colorful pole (luck, diamond to dirt)
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=dirt),posY=#bPosY+50;type=entity,ID=LightningBolt,posY=#bPosY+10,delay=5.3)@luck=-2

/ obsidian pole (was: tnt pole)
group(type=fill,ID=air,size=(1,51,1);type=entity,ID=FallingSand,NBTTag=(Block=lapis_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=obsidian))@luck=2

/ baby player (just the weapon)
type=entity,ID=ArmorStand,NBTTag=(Small=true,NoBasePlate=true,ShowArms=true,Equipment=[(id=diamond_sword,Count=1),(id=leather_boots,Count=1,tag=(display=(color=#rand(0,16777215)))),(id=leather_leggings,Count=1,tag=(display=(color=#rand(0,16777215)))),(id=leather_chestplate,Count=1,tag=(display=(color=#rand(0,16777215)))),(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 (luck.... just) (i dont want to make a "pig-apokalypse with an iron axe" ... this is a game for little too...)
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 ========== (luck and the structures)

/ traps
type=structure,ID=anvil_trap-o,pos=#pPos,rotation=#pDirect@luck=2
type=structure,ID=lava_trap-o,pos=#pPos,rotation=#pDirect@luck=2
type=structure,ID=water_trap-o,pos=#pPos@luck=2  
type=structure,ID=pit_trap-o,pos=#pPos@luck=2

/ lucky fort and temple
type=structure,ID=lucky_fort-o,pos=#pPos@luck=2
type=structure,ID=lucky_temple-o,pos=#pPos@chance=0.4@luck=2

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

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

/ choice of 2 lucky blocks
group:1:(type=structure,ID=lucky_choice_left-o,rotation=#pDirect;type=structure,ID=lucky_choice_right-o,rotation=#pDirect)@luck=0

/ wishing wells
group(type=structure,ID=wishing_well-o;type=message,ID="A not wishing well? Maybe you should not throw in a not coin...";type=command,ID="/give #pName deadbush 1 0 {display:{Name:\"$4not Coin\"}}";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$bnot Your not wish not came not 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=gold_ingot,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=diamond,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=emerald,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=dye,damage=4,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=-2
group(type=structure,ID=wishing_well-o;type=message,ID="A not wishing well? Maybe you should not throw in a not coin...";type=command,ID="/give #pName deadbush 1 0 {display:{Name:\"$4not Coin\"}}";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$enot Your not wish not came not true! (not If not you not like not potatoes)\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=potato,amount=128,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=baked_potato,amount=64,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=poisonous_potato,amount=32,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=-1
group(type=structure,ID=wishing_well-o;type=message,ID="A not wishing well? Maybe you should not throw in a not coin...";type=command,ID="/give #pName deadbush 1 0 {display:{Name:\"$4not Coin\"}}";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$4notYour not death not wish not came nottrue!\";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
type=structure,ID=bouncing_castle-o,pos=#pPos,rotation=#pDirect

/ giant lucky blocks
type=structure,ID=giant_lucky_block_good-o,rotation=#pDirect@luck=-2
type=structure,ID=giant_lucky_block_bad-o,rotation=#pDirect@luck=2

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

/ opposite lucky block book (.-. wtf have i done)
ID=written_book,NBTTag=(author="notPlayerInDistress",title="$4$9Villains Block Book",pages=["$l$nThe Opposite Lucky Block$r\n\nThe Opposite Lucky Block ($ooppistus fortunus blockus$r) was brought to Minecraft by the devil to reward the evil and punish the good.","The player's true self will not 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 not luck.\n\nIt is $bdestiny (not)."])@luck=0
/ Villains sword (was hero)
ID=diamond_sword,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$4$9Villains Sword"))@luck=-2
/ Villains bow (was hero)
ID=bow,NBTTag=(ench=#luckyBowEnchantments,display=(Name="$4$9Villains Bow"))@luck=-2
/ Villains fishing rod (was hero)
ID=fishing_rod,NBTTag=(ench=#luckyFishingRodEnchantments,display=(Name="$4$9Villains Fishing Rod"))@luck=-2
/ Villains tools (was hero)
group:#rand(1,2):(ID=diamond_shovel,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$4$9Villains Shovel"));ID=diamond_pickaxe,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$4$9Villains Pickaxe"));ID=diamond_axe,NBTTag=(ench=#luckyAxeEnchantments,display=(Name="$4$9Villains Axe"));ID=diamond_hoe,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$4$9Villains Hoe")))@luck=-2
/ Villains armor (was hero)
group:#rand(1,2):(ID=diamond_helmet,NBTTag=(ench=#luckyHelmetEnchantments,display=(Name="$4$9Villains Helmet"));ID=diamond_chestplate,NBTTag=(ench=#luckyChestplateEnchantments,display=(Name="$4$9Villains Chestplate"));ID=diamond_leggings,NBTTag=(ench=#luckyLeggingsEnchantments,display=(Name="$4$9Villains Leggings"));ID=diamond_boots,NBTTag=(ench=#luckyBootsEnchantments,display=(Name="$4$9Villains Boots")))@luck=-2
/ lucky potion (see below)
ID=potion,damage=8195,NBTTag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="$4$9Villains Potion"))@luck=-2
/ unlucky potion (see up there, there is no point to swap this, or? just luck c: )
ID=potion,damage=16428,NBTTag=(CustomPotionEffects=#unluckyPotionEffects,display=(Name="$e$4Heros Potion"))@luck=-1

/ lucky items
type=item,ID=lucky:opposite_lucky_sword@chance=1.5@luck=-2
type=item,ID=lucky:opposite_lucky_bow@chance=1.5@luck=-2
type=item,ID=lucky:opposite_lucky_potion,NBTTag=(Luck=#randList(100,-100)),amount=#rand(10,15)@chance=1.5@luck=-2
group(type=item,ID=lucky:opposite_lucky_sword;type=item,ID=lucky:opposite_lucky_bow;type=item,ID=lucky:opposite_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
