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


/all wood, stone and gold tools
group(ID=wooden_sword,NBTTag=(display=(Name="$f$lWood Knife"));ID=wooden_shovel,NBTTag=(display=(Name="$f$lWood Spoon"));ID=wooden_pickaxe,NBTTag=(display=(Name="$f$lWood Jar Breaker"));ID=wooden_axe,NBTTag=(display=(Name="$f$lWood Cake Slicer"));ID=wooden_hoe,NBTTag=(display=(Name="$f$lWood Fork"),AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=3,Operation=0,UUIDLeast=1,UUIDMost=1)]))@luck=0

group(ID=stone_sword,NBTTag=(display=(Name="$f$lStone Knife"));ID=stone_shovel,NBTTag=(display=(Name="$f$lStone Spoon"));ID=stone_pickaxe,NBTTag=(display=(Name="$f$lStone Jar Breaker"));ID=stone_axe,NBTTag=(display=(Name="$f$lStone Cake Slicer"));ID=stone_hoe,NBTTag=(display=(Name="$f$lStone Fork"),AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=4,Operation=0,UUIDLeast=1,UUIDMost=1)]))@luck=0

group(ID=golden_sword,NBTTag=(display=(Name="$f$lGold Knife"));ID=golden_shovel,NBTTag=(display=(Name="$f$lGold Spoon"));ID=golden_pickaxe,NBTTag=(display=(Name="$f$lGold Jar Breaker"));ID=golden_axe,NBTTag=(display=(Name="$f$lGold Cake Slicer"));ID=golden_hoe,NBTTag=(display=(Name="$f$lGold Fork"),AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=3,Operation=0,UUIDLeast=1,UUIDMost=1)]))@luck=1

/2-3 iron tools
group:#rand(2,3):(ID=iron_shovel,NBTTag=(display=(Name="$f$lIron Spoon"));ID=iron_pickaxe,NBTTag=(display=(Name="$f$lIron Jar Breaker"));ID=iron_axe,NBTTag=(display=(Name="$f$lIron Cake Slicer"));ID=iron_sword,NBTTag=(display=(Name="$f$lIron Knife"));ID=iron_hoe,NBTTag=(display=(Name="$f$lIron Fork"),AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=5,Operation=0,UUIDLeast=1,UUIDMost=1)]))@luck=1

/1-2 diamond tools
group:#rand(1,2):(ID=diamond_sword,NBTTag=(display=(Name="$f$lParty Knife"));ID=diamond_shovel,NBTTag=(display=(Name="$f$lParty Spoon"));ID=diamond_pickaxe,NBTTag=(display=(Name="$f$lParty Jar Breaker"));ID=diamond_axe,NBTTag=(display=(Name="$f$lParty Cake Slicer"));ID=diamond_hoe,NBTTag=(display=(Name="$f$lParty Fork"),AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=6,Operation=0,UUIDLeast=1,UUIDMost=1)]))@luck=2

/all leather and gold armor
group(ID=leather_helmet,NBTTag=(display=(Name="$f$lWooden Hat"));ID=leather_chestplate,NBTTag=(display=(Name="$f$lWooden Shirt"));ID=leather_leggings,NBTTag=(display=(Name="$f$lWooden Pants"));ID=leather_boots,NBTTag=(display=(Name="$f$lWooden Shoes")))@luck=0

group(ID=golden_helmet,NBTTag=(display=(Name="$f$lShiny Hat"));ID=golden_chestplate,NBTTag=(display=(Name="$f$lShiny Shirt"));ID=golden_leggings,NBTTag=(display=(Name="$f$lShiny Pants"));ID=golden_boots,NBTTag=(display=(Name="$f$lShiny Shoes"));ID=golden_horse_armor,NBTTag=(display=(Name="$f$lShiny Horse Armour")))@luck=1

/2-3 chain and iron armor
group:#rand(2,3):(ID=chainmail_helmet,NBTTag=(display=(Name="$f$lDrafty Hat"));ID=chainmail_chestplate,NBTTag=(display=(Name="$f$lDrafty Shirt"));ID=chainmail_leggings,NBTTag=(display=(Name="$f$lDrafty Pants"));ID=chainmail_boots,NBTTag=(display=(Name="$f$lDrafty Shoes")))@luck=2

group:#rand(2,3):(ID=iron_helmet,NBTTag=(display=(Name="$f$lHeavy Hat"));ID=iron_chestplate,NBTTag=(display=(Name="$f$lHeavy Shirt"));ID=iron_leggings,NBTTag=(display=(Name="$f$lHeavy Pants"));ID=iron_boots,NBTTag=(display=(Name="$f$lHeavy Shoes"));ID=iron_horse_armor,NBTTag=(display=(Name="$f$lHeavy Horse Armour")))@luck=1

/1-2 diamond armor
group:#rand(1,2):(ID=diamond_helmet,NBTTag=(display=(Name="$f$lParty Hat"));ID=diamond_chestplate,NBTTag=(display=(Name="$f$lParty Suit"));ID=diamond_leggings,NBTTag=(display=(Name="$f$lParty Pants"));ID=diamond_boots,NBTTag=(display=(Name="$f$lParty Shoes"));ID=diamond_horse_armor,NBTTag=(display=(Name="$f$lFancy Horse Armour")))@luck=2

/all horse armor
group(ID=iron_horse_armor,NBTTag=(display=(Name="$f$lHeavy Horse Armour"));ID=golden_horse_armor,NBTTag=(display=(Name="$f$lShiny Horse Armour"));ID=diamond_horse_armor,NBTTag=(display=(Name="$f$lFancy Horse Armour")))@luck=1

/bow and arrows
group(ID=bow,NBTTag=(display=(Name="$f$lBoring Wooden Bow"));ID=arrow,amount=#rand(16,32))@luck=1


//coloured leather armour
group(ID=leather_helmet,NBTTag=(display=(color=#rand(0,16777215),Name="$f$lStained Hat"));ID=leather_chestplate,NBTTag=(display=(color=#rand(0,16777215),Name="$f$lStained Shirt"));ID=leather_leggings,NBTTag=(display=(color=#rand(0,16777215),Name="$f$lStained Pants"));ID=leather_boots,NBTTag=(display=(color=#rand(0,16777215),Name="$f$lStained Shoes")))@luck=0


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


ID=end_portal_frame,amount=#rand(2,6)@luck=2

ID=ender_chest,amount=2@luck=0


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


ID=saddle,amount=2@luck=0

ID=nether_star@luck=2

ID=red_flower,NBTTag=(display=(Name="$cRomantic Rose"))@luck=-1


/~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ID=cake,NBTTag=(display=(Name="$e$2Party Cake",Lore=["Yummy!"]))@luck=0

ID=rotten_flesh,NBTTag=(display=(Lore=["Not so yummy..."]))@luck=-1

ID=stick,NBTTag=(display=(Name="$f$lBoring Stick"),(Lore=["Maybe you can make swords out of it"]))@luck=-1

ID=cookie,amount=#rand(10,30),NBTTag=(display=(Name="$e$lFriendship Cookie",Lore=["Instructions for making a friend", "1. Walk up to someone and say 'Hi'.", "2. Give them one or more of these cookies.", "3. Have fun with your new friend."]))@luck=1

ID=skull,damage=3,NBTTag=(SkullOwner=#pName)@luck=0

ID=rabbit_stew,NBTTag=(display=(Name="$e$lLucky Stew")),amount=#rand(1,3)@luck=1

ID=mushroom_stew,NBTTag=(display=(Name="$e$looo")),amount=#rand(1,3)@luck=1
ID=web,amount=#rand(5,20)@luck=0


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


/ bookshelves
ID=bookshelf,amount=15@luck=0

/ golden apples
group(ID=golden_apple,amount=#rand(2,4),NBTTag=(display=(Name="$e$lParty Desert"));ID=golden_apple,amount=#rand(1,2),damage=1,NBTTag=(display=(Name="$e$lParty Special Desert")))@luck=2

/ meat (cooked)
group:1:(ID=cooked_porkchop,amount=#rand(8,16);ID=cooked_fish,amount=#rand(8,24);ID=cooked_fish,damage=1,amount=#rand(8,24);ID=cooked_beef,amount=#rand(8,24);ID=cooked_chicken,amount=#rand(8,24);ID=cooked_mutton,amount=#rand(8,24);ID=cooked_rabbit,amount=#rand(8,24))@luck=1

/ vegetable food (carrots, potatoes, pumpkin pie)
group:1:(group(ID=pumpkin,amount=#rand(8,16);ID=lit_pumpkin,amount=#rand(8,16));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
ID=ender_pearl,amount=16@luck=2

/ potions
ID=potion,damage=#randPotionDamage,amount=#rand(6,10)@luck=1

/ spawn eggs
ID=spawn_egg,damage=#randSpawnEggDamage,amount=#rand(4,8)@luck=1

/ brewing
group(ID=glass_bottle,amount=#rand(3,12);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=16;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);ID=stained_glass,damage=#rand(0,15),amount=#rand(32,64);ID=stained_glass_pane,damage=#rand(0,15),amount=#rand(32,64);ID=carpet,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

/ flowers
group(ID=red_flower,damage=#rand(0,8),amount=64)@luck=0

/ enchantment books
ID=enchanted_book,NBTTag=(StoredEnchantments=#randEnchantment),amount=#rand(10,15)@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


/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/ores

group(ID=coal_ore,amount=#rand(32,64);ID=quartz_ore,amount=#rand(16,32);ID=diamond_ore,amount=#rand(8,16);ID=emerald_ore,amount=#rand(8,16);ID=redstone_ore,amount=#rand(8,16);ID=lapis_ore,amount=#rand(8,16);type=entity,ID=FireworksRocketEntity,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag=#randFireworksRocket)),amount=5,posOffset=#circleOffset(0,2))@luck=2


/heads

/mobs
group:#rand(1,4):(ID=skull,damage=0;ID=skull,damage=1;ID=skull,damage=2;ID=skull,damage=4;ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Blaze,display=(Name="$rBlaze Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_CaveSpider,display=(Name="$rCave Spider Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Chicken,display=(Name="$rChicken Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Cow,display=(Name="$rCow Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Enderman,display=(Name="$rEnderman Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Ghast,display=(Name="$rGhast Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_LavaSlime,display=(Name="$rMagma Cube Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_MushroomCow,display=(Name="$rMooshroom Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Pig,display=(Name="$rPig Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_PigZombie,display=(Name="$rZombie Pigman Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Sheep,display=(Name="$rSheep Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Slime,display=(Name="$rSlime Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Spider,display=(Name="$rSpider Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Squid,display=(Name="$rSquid Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Villager,display=(Name="$rVillager Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Golem,display=(Name="$rIron Golem Head")))@luck=0

/directions
group(ID=skull,damage=3,NBTTag=(SkullOwner=MHF_ArrowUp,display=(Name="$rUp"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_ArrowDown,display=(Name="$rDown"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_ArrowLeft,display=(Name="$rLeft"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_ArrowRight,display=(Name="$rRight"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Exclamation,display=(Name="$rExclamation"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Question,display=(Name="$rQuestion")))@luck=0

/decorations
group:#rand(2,6):(ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Cactus,display=(Name="$rMini Cactus"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Chest,display=(Name="$rMini Chest"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Melon,display=(Name="$rMini Melon"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Pumpkin,display=(Name="$rMini Pumpkin"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_TNT,display=(Name="$rMini TNT"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_TNT2,display=(Name="$rMini TNT"));ID=skull,damage=3,NBTTag=(SkullOwner=C418,display=(Name="$rMini Jukebox"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Cake,display=(Name="$rMini Cake"));ID=skull,damage=3,NBTTag=(SkullOwner=Tereneckla,display=(Name="$rMini Emerald Ore"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Apple,display=(Name="$rApple"));ID=skull,damage=3,NBTTag=(SkullOwner=Edna_I,display=(Name="$rEnder Eye"));ID=skull,damage=3,NBTTag=(SkullOwner=uioz,display=(Name="$rRadio"));ID=skull,damage=3,NBTTag=(SkullOwner=scemm,display=(Name="$rMini Dispenser"));ID=skull,damage=3,NBTTag=(SkullOwner=cake,display=(Name="$rMini Grass"));ID=skull,damage=3,NBTTag=(SkullOwner=SkitScape,display=(Name="$rRubik's Cube"));ID=skull,damage=3,NBTTag=(SkullOwner=TheMrLief,display=(Name="$rBurger"));ID=skull,damage=3,NBTTag=(SkullOwner=Thanauser,display=(Name="$rTankard"));ID=skull,damage=3,NBTTag=(SkullOwner=foreverwonders,display=(Name="$rMini Log"));ID=skull,damage=3,NBTTag=(SkullOwner=nickbg7n,display=(Name="$rToaster")))@luck=0

/players
ID=skull,damage=3,amount=#rand(1,4),NBTTag=(SkullOwner=#randList(Josh7506EI,PlayerInDistress,Herobrine,FuriousDestroyer,SuperGirlyGamer,CyaNideEPiC,CaptainSparklez,AntVenom,CavemanFilms,DanTDM,SkythekidRS,logdotzip))@luck=0


/minecart stuff
group(ID=rail,amount=#rand(32,64);ID=golden_rail,amount=#rand(5,10);ID=detector_rail,amount=#rand(5,10);ID=activator_rail,amount=#rand(5,10);ID=minecart,amount=#rand(1,2);ID=chest_minecart,amount=#rand(1,2);ID=furnace_minecart,amount=#rand(1,2);ID=hopper_minecart,amount=#rand(1,2);ID=tnt_minecart,amount=#rand(1,10);type=particle,ID=2002,damage=14)@luck=1


/wood
group(ID=sapling,damage=0,amount=#rand(4,8);ID=sapling,damage=1,amount=#rand(4,8);ID=sapling,damage=2,amount=#rand(4,8);ID=sapling,damage=3,amount=#rand(4,8);ID=sapling,damage=4,amount=#rand(4,8);ID=sapling,damage=5,amount=#rand(4,8);ID=log,damage=0,amount=#rand(1,5);ID=log,damage=1,amount=#rand(1,5);ID=log,damage=2,amount=#rand(1,5);ID=log,damage=3,amount=#rand(1,5);ID=log2,damage=0,amount=#rand(1,5);ID=log2,damage=1,amount=#rand(1,5);ID=planks,damage=0,amount=#rand(5,10);ID=planks,damage=2,amount=#rand(5,10);ID=planks,damage=3,amount=#rand(5,10);ID=planks,damage=4,amount=#rand(5,10);ID=planks,damage=5,amount=#rand(5,10);ID=wooden_slab,damage=0,amount=#rand(5,10);ID=wooden_slab,damage=1,amount=#rand(5,10);ID=wooden_slab,damage=2,amount=#rand(5,10);ID=wooden_slab,damage=3,amount=#rand(5,10);ID=wooden_slab,damage=4,amount=#rand(5,10);ID=wooden_slab,damage=5,amount=#rand(5,10);ID=oak_stairs,amount=#rand(5,10);ID=spruce_stairs,amount=#rand(5,10);ID=birch_stairs,amount=#rand(5,10);ID=jungle_stairs,amount=#rand(5,10);ID=acacia_stairs,amount=#rand(5,10);ID=dark_oak_stairs,amount=#rand(5,10);ID=oak_fence,amount=#rand(5,10);ID=spruce_fence,amount=#rand(5,10);ID=birch_fence,amount=#rand(5,10);ID=jungle_fence,amount=#rand(5,10);ID=acacia_fence,amount=#rand(5,10);ID=dark_oak_fence,amount=#rand(5,10);ID=oak_fence_gate,amount=#rand(1,2);ID=spruce_fence_gate,amount=#rand(1,2);ID=birch_fence_gate,amount=#rand(1,2);ID=jungle_fence_gate,amount=#rand(1,2);ID=acacia_fence_gate,amount=#rand(1,2);ID=dark_oak_fence_gate,amount=#rand(1,2);ID=oak_door,amount=#rand(2,2);ID=spruce_door,amount=#rand(2,2);ID=birch_door,amount=#rand(1,2);ID=jungle_door,amount=#rand(1,2);ID=acacia_door,amount=#rand(1,2);ID=dark_oak_door,amount=#rand(1,2))@luck=-1


/double plants
ID=double_plant,damage=#rand(0,5),amount=32,reinitialize=true@luck=0


/other random plants
group(ID=tallgrass,damage=#rand(0,2),amount=20,reinitialize=true;ID=deadbush,amount=#rand(4,10);ID=yellow_flower,amount=#rand(4,10);ID=brown_mushroom,amount=#rand(4,10);ID=red_mushroom,amount=#rand(4,10);ID=vine,amount=#rand(4,10);ID=waterlily,amount=#rand(4,10);ID=cactus,amount=#rand(4,10))@luck=0


/stone monster eggs
ID=monster_egg,damage=#rand(0,5),amount=32,NBTTag=(display=(Name="$rTotally Normal Stone Stuff"),reinitialize=true)@luck=-1


/banners
ID=banner,damage=#rand(0,15),amount=#rand(32,64),reinitialize=true@luck=0

ID=banner,damage=#rand(0,15),amount=#rand(5,10),NBTTag=(BlockEntityTag=(Patterns=[(Pattern=#randList(o,o,o,o,o,o,o,o,ld,rud,lud,rd,vh,vhr,hh,hhb),Color=#rand(0,15)),(Pattern=#randList(o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,ts,bs,ls,rs,cs,ms,drs,dls,ss,cr,sc,tl,tr,bl,br,bt,tt,bts,tts),Color=#rand(0,15)),(Pattern=#randList(o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,ts,bs,ls,rs,cs,ms,drs,dls,ss,cr,sc,tl,tr,bl,br,bt,tt,bts,tts),Color=#rand(0,15)),(Pattern=#randList(o,o,o,o,bo,cbo,bri,gra,gru),Color=#rand(0,15)),(Pattern=#randList(o,o,o,o,o,o,o,o,o,bo,cbo,bri,gra,gru),Color=#rand(0,15)),(Pattern=#randList(o,o,mr,mc,sku,cri,moj,flo),Color=#rand(0,15))])),reinitialize=true@luck=0


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


/ thrown eggs
group(type=entity,ID=ThrownEgg,NBTTag=(Motion=#randLaunchMotion(0.6,15)),amount=#rand(30,40);type=entity,ID=Item,NBTTag=(Item=(id=diamond,Count=1),Motion=#randLaunchMotion(0.7,18)),amount=#rand(15,25))@luck=2

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

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


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

/ wither
group(type=difficulty,ID=hard;type=entity,ID=WitherBoss)@chance=0.1@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


/ 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=ThrownPotion,posY=#bPosY+#rand(0,2),posOffset=#circleOffset(0,1),amount=#rand(16,32),NBTTag=(OwnerName="Bomber Bat",Potion=(id=potion,Damage=#randPotionDamage),Riding=(id=Bat)))@luck=-1

/ huge slime and magma cube
group:1:(type=entity,ID=Slime,NBTTag=(Size=10,CustomName="$e$lBig Jim");type=entity,ID=LavaSlime,NBTTag=(Size=9,CustomName="$e$lBig Henry"))@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 mobs
group:1:(type=entity,ID=Pig,NBTTag=(Equipment=[(id=porkchop,Count=1,tag=(ench=[(id=35,lvl=1)],display=(Name="$e$lLucky Pork")))],DropChances=[2f],CustomName="$e$lLucky Pig",CustomNameVisible=true);type=entity,ID=Cow,NBTTag=(Equipment=[(id=leather,Count=1,tag=(ench=[(id=35,lvl=1)],display=(Name="$e$lLucky Leather")))],DropChances=[2f],CustomName="$e$lLucky Cow",CustomNameVisible=true);type=entity,ID=Chicken,NBTTag=(Equipment=[(id=feather,Count=1,tag=(ench=[(id=35,lvl=1)],display=(Name="$e$lLucky Feather")))],DropChances=[2f],CustomName="$e$lLucky Chicken",CustomNameVisible=true);type=entity,ID=Sheep,NBTTag=(Equipment=[(id=wool,Count=1,tag=(ench=[(id=35,lvl=1)],display=(Name="$e$lLucky Wool")))],DropChances=[2f],CustomName="$e$lLucky Sheep",CustomNameVisible=true);type=entity,ID=Rabbit,NBTTag=(Equipment=[(id=rabbit_foot,Count=1,tag=(ench=[(id=35,lvl=1)],display=(Name="$e$lLucky Rabbit's Foot")))],DropChances=[2f],CustomName="$e$lLucky Rabbit",CustomNameVisible=true);type=entity,ID=Squid,NBTTag=(Equipment=[(id=dye,Count=1,tag=(ench=[(id=7,lvl=1)],display=(Name="$e$lUnlucky Ink")))],DropChances=[2f],CustomName="$e$lUnlucky Squid",CustomNameVisible=true))@luck=0

/colored sheep
type=entity,ID=Snowball,NBTTag=(CustomName="$cM$6r. $eR$aa$2i$bn$3b$5o$dw",CustomNameVisible=true,Riding=(id=Sheep,Color=#rand(0,15)b)),posOffset=#circleOffset(4),amount=16,reinitialize=true@luck=1


/giant
group(type=difficulty,ID=hard;type=entity,ID=GiantNBTTag=(Equipment=[(id=none),(id=rotten_flesh,Count=#rand(32,64))],DropChances=[0f,2f])@luck=0

/ghast
group(type=difficulty,ID=hard;type=entity,ID=Ghast,NBTTag=(CustomName="$f$lMarshmallow"))@chance=0.2@luck=-2


/~~ bosses ~~


/ bob zombie
group(type=difficulty,ID=hard;type=entity,ID=Zombie,NBTTag=(Equipment=[(id=diamond_sword,Count=1,tag=(ench=#luckySwordEnchantments,display=(Name="$e$lBob's Sword"))),(id=diamond_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments,display=(Name="$e$lBob's Helmet"))),(id=diamond_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments,display=(Name="$e$lBob's Chestplate"))),(id=diamond_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments,display=(Name="$e$lBob's Pants"))),(id=diamond_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments,display=(Name="$e$lBob's Boots")))],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

group(type=difficulty,ID=hard;type=entity,ID=Zombie,NBTTag=(Equipment=[(id=wooden_sword,Count=1,tag=(ench=#luckySwordEnchantments,display=(Name="$7$lBob's Wooden Knife"))),(id=leather_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments,display=(color=#rand(0,16777215),Name="$7$lBob's Stained Helmet"))),(id=leather_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments,display=(color=#rand(0,16777215),Name="$7$lBob's Stained Chestplate"))),(id=leather_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments,display=(color=#rand(0,16777215),Name="$7$lBob's Stained Pants"))),(id=leather_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments,display=(color=#rand(0,16777215),Name="$7$lBob's Stained Boots")))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="$7$lUnlucky Bob"))@luck=-1


/ Josh wskeleton
group(type=difficulty,ID=hard;type=entity,ID=skeleton,Damage=1,NBTTag=(Equipment=[(id=diamond_sword,Count=1,tag=(ench=#luckySwordEnchantments,display=(Name="$e$lJosh's Sword"))),(id=diamond_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments,display=(Name="$e$lJosh's Helmet"))),(id=diamond_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments,display=(Name="$e$lJosh's Chestplate"))),(id=diamond_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments,display=(Name="$e$lJosh's Pants"))),(id=diamond_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments,display=(Name="$e$lJosh's Boots")))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="$e$lJosh",CustomNameVisible=true))@luck=-2

group(type=difficulty,ID=hard;type=entity,ID=skeleton,Damage=1,NBTTag=(Equipment=[(id=wooden_sword,Count=1,tag=(ench=#luckySwordEnchantments,display=(Name="$7$lJosh's Wooden Knife"))),(id=leather_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments,display=(color=#rand(0,16777215),Name="$7$lJosh's Stained Helmet"))),(id=leather_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments,display=(color=#rand(0,16777215),Name="$7$lJosh's Stained Chestplate"))),(id=leather_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments,display=(color=#rand(0,16777215),Name="$7$lJosh's Stained Pants"))),(id=leather_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments,display=(color=#rand(0,16777215),Name="$7$lJosh's Stained Boots")))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="$7$lUnlucky Josh"))@luck=-1


/ ghostly horseman skeleton
group(type=difficulty,ID=hard;type=command,ID="/playsound records.11 @a ~ ~ ~ 0.0001 2.0";type=command,delay=0.5,ID="/playsound records.11 @a ~ ~ ~ 0.0001 2.0";type=command,delay=1,ID="/playsound records.11 @a ~ ~ ~ 0.0001 2.0";type=command,delay=1.5,ID="/playsound records.13 @a ~ ~ ~ 2.0 2.0";type=entity,ID=Snowball,NBTTag=(CustomName="$f$lGhostly Horseman",CustomNameVisible=true,Riding=(id=Skeleton,CustomName="$f$lGhostly Horseman",Equipment=[(id=bow,Count=1,Damage=0,tag=(ench=#luckyBowEnchantments,display=(Name="$f$lGhostly Bow"))),(id=chainmail_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments,display=(Name="$f$lGhostly Helmet"))),(id=chainmail_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments,display=(Name="$f$lGhostly Chestplate"))),(id=chainmail_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments,display=(Name="$f$lGhostly Pants"))),(id=chainmail_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments,display=(Name="$f$lGhostly Boots")))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)],Riding=(id=EntityHorse,CustomName="$f$lGhostly Horse",Tame=true,Type=4,Riding=(id=Bat,Silent=true,ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)])))))@luck=-2


/lol creepers
type=entity,ID=Snowball,amount=8,posOffset=#circleOffset(2,3),posY=#bPosY+#rand(10,50),reinitialize=true,NBTTag=(CustomName="$e$lLol Creeper",CustomNameVisible=true,Riding=(id=Creeper,powered=1,ExplosionRadius=1,ActiveEffects=[(Id=11,Amplifier=5,Duration=60,ShowParticles=false)],Attributes=[(Name=generic.movementSpeed,Base=0.4f)],Equipment=[(id=gunpowder,Count=#rand(3,8),tag=(ench=[(id=9,lvl=1)],display=(Name="$e$lLol Dust")))],DropChances=[2f]))@luck=-1


/tiny terrors
group(type=difficulty,ID=hard;type=command,ID="/playsound records.11 @a ~ ~ ~ 0.0001 2.0";type=command,delay=0.5,ID="/playsound records.11 @a ~ ~ ~ 0.0001 2.0";type=command,delay=1,ID="/playsound records.11 @a ~ ~ ~ 0.0001 2.0";type=command,delay=1.5,ID="/playsound records.stal @a ~ ~ ~ 2.0 2.0";type=entity,ID=Snowball,amount=#rand(4,6),posOffset=#circleOffset(0,4),reinitialize=true,NBTTag=(CustomName="$7$lTiny Terror",CustomNameVisible=true,Riding=(id=Zombie,IsBaby=true,Riding=(id=Chicken),Equipment=[(id=wooden_sword,Count=1,Damage=0,tag=(ench=#luckySwordEnchantments,display=(Name="$7$lTiny Terror's Pointy Poker"))),(id=leather_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments,display=(color=#rand(0,16777215),Name="$7$lTiny Terror's Stained Helmet"))),(id=leather_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments,display=(color=#rand(0,16777215),Name="$7$lTiny Terror's Stained Chestplate"))),(id=leather_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments,display=(color=#rand(0,16777215),Name="$7$lTiny Terror's Stained Pants"))),(id=leather_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments,display=(color=#rand(0,16777215),Name="$7$lTiny Terror's Stained Boots")))],DropChances=[#randList(0,0,0,0,0,2)f,#randList(0,0,0,0,0,2)f,#randList(0,0,0,0,0,2)f,#randList(0,0,0,0,0,2)f,#randList(0,0,0,0,0,2)f],CustomName="$7$lTiny Terror")))@luck=-2


/grim
group(type=difficulty,ID=hard;type=command,ID="/playsound records.11 @a ~ ~ ~ 0.0001 2.0";type=command,delay=0.5,ID="/playsound records.11 @a ~ ~ ~ 0.0001 2.0";type=command,delay=1,ID="/playsound records.11 @a ~ ~ ~ 0.0001 2.0";type=command,delay=1.5,ID="/playsound records.ward @a ~ ~ ~ 2.0 1.5";type=entity,ID=Skeleton,NBTTag=(SkeletonType=1,Attributes=[(Name=generic.maxHealth,Base=200f)],CustomName="$0$lGrim",Equipment=[(id=diamond_hoe,Count=1,tag=(display=(Name="$8$lAncient fork of $kDEATH$r"),Unbreakable=true,ench=#luckySwordEnchantments,AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=13,Operation=0,UUIDLeast=1,UUIDMost=1)])),(id=leather_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments,display=(color=0,Name="$8$lHood of Death"))),(id=leather_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments,display=(color=0,Name="$8$lCloak of Death"))),(id=leather_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments,display=(color=0,Name="$8$lPants of Death"))),(id=leather_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments,display=(color=0,Name="$8$lShoes of Death")))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f]))@luck=-2


/bob's mom
group(type=difficulty,ID=hard;type=entity,ID=Giant,Attributes=[(Name=generic.maxHealth,Base=1000f)],NBTTag=(Equipment=[(id=rotten_flesh,Count=#rand(32,64)),(id=diamond_boots,Count=1,Damage=0,tag=(ench=[(id=0,lvl=#rand(4,6),(id=7,lvl=10),(id=2,lvl=#rand(2,5))],display=(Name="$e$lBob's Mom's Boots"))),(id=diamond_chestplate,Count=1,Damage=0,tag=(ench=[(id=0,lvl=#rand(4,6)),(id=7,lvl=10)],display=(Name="$e$lBob's Mom's Chestplate"))),(id=diamond_leggings,Count=1,Damage=0,tag=(ench=[(id=0,lvl=#rand(4,6)),(id=7,lvl=10)],display=(Name="$e$lBob's Mom's Pants"))),(id=diamond_helmet,Count=1,Damage=0,tag=(ench=[(id=0,lvl=#rand(4,6)),(id=7,lvl=10),(id=5,lvl=#rand(2,5))],display=(Name="$e$lBob's Mom's Helmet")))],DropChances=[2f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="$e$lBob's Mom"))@luck=-2


/"player"
group(type=difficulty,ID=hard;type=entity,ID=Skeleton,NBTTag=(Silent=true,Equipment=[(id=stick,Count=1,Damage=0,tag=(ench=#luckySwordEnchantments,display=(Name="$7$lSurprisingly Sharp Stick"),AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=3,Operation=0,UUIDLeast=1,UUIDMost=1)])),(id=leather_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments,display=(color=#rand(0,16777215),Name="$7$l#pName's Stained Boots"))),(id=leather_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments,display=(color=#rand(0,16777215),Name="$7$l#pName's Stained Chestplate"))),(id=leather_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments,display=(color=#rand(0,16777215),Name="$7$l#pName's Stained Pants"))),(id=skull,Damage=3,Count=1,tag=(ench=#luckyHelmetEnchantments,SkullOwner=#pName))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="#pName"))@luck=-1

group(type=difficulty,ID=hard;type=entity,ID=Skeleton,NBTTag=(Silent=true,Equipment=[(id=bone,Count=1,Damage=0,tag=(ench=#luckySwordEnchantments,display=(Name="$f$lBone Club"),AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=7,Operation=0,UUIDLeast=1,UUIDMost=1)])),(id=diamond_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments,display=(Name="$e$l#pName's Lucky Boots"))),(id=diamond_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments,display=(Name="$e$l#pName's Lucky Chestplate"))),(id=diamond_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments,display=(Name="$e$l#pName's Lucky Pants"))),(id=skull,Damage=3,Count=1,tag=(ench=#luckyHelmetEnchantments,SkullOwner=#pName))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="#pName"))@luck=-2


/hostile mob stack
group(type=difficulty,ID=hard;type=entity,ID=Snowball,amount=#rand(2,3),posOffset=#circleOffset(2),NBTTag=(CustomName="$e$lMob Stack",CustomNameVisible=true,Riding=(id=Ghast,CustomName="$e$lMob Stack Marshmallow",Riding=(id=PigZombie,Equipment=[(id=golden_sword,Count=1)],CustomName="$e$lMob Stack Pigman",Riding=(id=LavaSlime,CustomName="$e$lMob Stack Magma Cube",Riding=(id=Blaze,CustomName="$e$lMob Stack Blaze",Riding=(id=Skeleton,SkeletonType=1,Equipment=[(id=stone_sword,Count=1)],CustomName="$e$lMob Stack Wither Skelly",Riding=(id=Slime,CustomName="$e$lMob Stack Slime",Riding=(id=Witch,CustomName="$e$lMob Stack Witch",Riding=(id=Enderman,CustomName="$e$lMob Stack Enderman",Riding=(id=Endermite,CustomName="$e$lMob Stack Mite",Riding=(id=Zombie,CustomName="$e$lMob Stack Zombie",Equipment=[(id=none),(id=none),(id=none),(id=none),(id=pumpkin)],Riding=(id=Skeleton,CustomName="$e$lMob Stack Skelly",Equipment=[(id=bow,Count=1),(id=none),(id=none),(id=none),(id=pumpkin)],Riding=(id=Creeper,ExplosionRadius=1,CustomName="$e$lMob Stack Creep",Riding=(id=CaveSpider,CustomName="$e$lMob Stack Cave Spider",Riding=(id=Spider,CustomName="$e$lMob Stack Spider",Riding=(id=Guardian,CustomName="$e$lMob Stack Fish",Riding=(id=Silverfish,CustomName="$e$lMob Stack Silverfish",Riding=(id=Zombie,IsBaby=true,CustomName="$e$lMob Stack Baby")))))))))))))))))))@luck=-2


/~~ villagers ~~


/ lucky villagers
type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(30,35)),sell=(id=diamond_sword,Count=1,tag=(ench=#luckySwordEnchantments,display=(Name="$e$lLucky Sword"))),maxUses=1),(buy=(id=diamond,Count=#rand(30,35)),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=8193,Count=1,tag=(CustomPotionEffects=[(Id=6,Amplifier=#rand(0,1)),(Id=#randList(12,13,14,16),Amplifier=0,Duration=#rand(1200,2400)),(Id=#randList(1,3,5,10),Amplifier=#rand(0,1),Duration=#rand(1200,2400)),(Id=#randList(8,11,22,23),Amplifier=#rand(0,1),Duration=#rand(1200,2400))],display=(Name="$e$lLess OP Lucky Potion"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=potion,Damage=16457,Count=1,tag=(CustomPotionEffects=[(Id=7,Amplifier=#rand(0,1)),(Id=#randList(9,15),Amplifier=0,Duration=#rand(600,1800)),(Id=#randList(2,17,19),Amplifier=#rand(0,1),Duration=#rand(600,1800)),(Id=#randList(4,18,20),Amplifier=#rand(0,1),Duration=#rand(600,1800))],display=(Name="$e$lLess OP Unlucky Potion"))),maxUses=1)]),CustomName="$e$lLucky Villager",CustomNameVisible=true,Career=1,CareerLevel=100)@luck=1

type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(22,27)),sell=(id=diamond_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments,display=(Name="$e$lLucky Helmet"))),maxUses=1),(buy=(id=diamond,Count=#rand(30,35)),sell=(id=diamond_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments,display=(Name="$e$lLucky Chestplate"))),maxUses=1),(buy=(id=diamond,Count=#rand(25,30)),sell=(id=diamond_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments,display=(Name="$e$lLucky Leggings"))),maxUses=1),(buy=(id=diamond,Count=#rand(22,27)),sell=(id=diamond_boots,Count=1,tag=(ench=#luckyBootsEnchantments,display=(Name="$e$lLucky Boots"))),maxUses=1)]),CustomName="$e$lLucky Villager",CustomNameVisible=true,Career=1,CareerLevel=100)@luck=1

type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(20,25)),sell=(id=diamond_shovel,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$e$lLucky Shovel"))),maxUses=1),(buy=(id=diamond,Count=#rand(25,30)),sell=(id=diamond_pickaxe,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$e$lLucky Pickaxe"))),maxUses=1),(buy=(id=diamond,Count=#rand(25,30)),sell=(id=diamond_axe,Count=1,tag=(ench=#luckyAxeEnchantments,display=(Name="$e$lLucky Axe"))),maxUses=1),(buy=(id=diamond,Count=#rand(20,25)),sell=(id=diamond_hoe,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$e$lLucky fork"),AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=5,Operation=0,UUIDLeast=1,UUIDMost=1)])),maxUses=1)]),CustomName="$e$lLucky Villager",CustomNameVisible=true,Career=1,CareerLevel=100)@luck=1


/super lucky villager
group:1:(type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(30,35)),sell=(id=lucky:lucky_block_party,Count=1,tag=(display=(Name="$f$lParty Balloon"),ench=#luckySwordEnchantments,AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=10,Operation=0,UUIDLeast=1,UUIDMost=1)])),maxUses=1),(buy=(id=diamond,Count=#rand(30,50)),sell=(Count=1,id=diamond_leggings,tag=(Unbreakable=true,ench=#luckyLeggingsEnchantments,display=(Lore=["$7Knockback Resistance I"],Name="$e$lUltra Party Pants"),AttributeModifiers=[(AttributeName=generic.knockbackResistance,Name="resist",Amount=1,Operation=0,UUIDLeast=1,UUIDMost=1)])),maxUses=1),(buy=(id=diamond,Count=#rand(20,25)),sell=(id=potion,Damage=8195,Count=1,tag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lSuper Lucky Potion"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=potion,Damage=16428,Count=1,tag=(CustomPotionEffects=#unluckyPotionEffects,display=(Name="$e$lSuper Unlucky Potion"))),maxUses=1)]),Profession=2,CustomName="$e$lSuper Lucky Villager",Career=1,CareerLevel=100);type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(30,35)),sell=(id=lucky:lucky_block_party,Count=1,tag=(display=(Name="$f$lParty Balloon"),ench=#luckySwordEnchantments,AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=10,Operation=0,UUIDLeast=1,UUIDMost=1)])),maxUses=1),(buy=(id=diamond,Count=#rand(30,50)),sell=(Count=1,id=diamond_boots,tag=(Unbreakable=true,ench=#luckyBootsEnchantments,display=(Lore=["$7Swiftness II"],Name="$e$lUltra Party Shoes"),AttributeModifiers=[(AttributeName=generic.movementSpeed,Name="fast",Amount=0.4f,Operation=1,UUIDLeast=2,UUIDMost=2)])),maxUses=1),(buy=(id=diamond,Count=#rand(20,25)),sell=(id=potion,Damage=8195,Count=1,tag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lSuper Lucky Potion"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=potion,Damage=16428,Count=1,tag=(CustomPotionEffects=#unluckyPotionEffects,display=(Name="$e$lSuper Unlucky Potion"))),maxUses=1)]),Profession=2,CustomName="$e$lSuper Lucky Villager",Career=1,CareerLevel=100);type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(30,35)),sell=(id=lucky:lucky_block_party,Count=1,tag=(display=(Name="$f$lParty Balloon"),ench=#luckySwordEnchantments,AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=10,Operation=0,UUIDLeast=1,UUIDMost=1)])),maxUses=1),(buy=(id=diamond,Count=#rand(30,50)),sell=(Count=1,id=diamond_helmet,tag=(Unbreakable=true,ench=#luckyHelmetEnchantments,display=(Lore=["$7Health Boost II"],Name="$e$lUltra Party Hat"),AttributeModifiers=[(AttributeName=generic.maxHealth,Name="health",Amount=8,Operation=0,UUIDLeast=3,UUIDMost=3)])),maxUses=1),(buy=(id=diamond,Count=#rand(20,25)),sell=(id=potion,Damage=8195,Count=1,tag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lSuper Lucky Potion"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=potion,Damage=16428,Count=1,tag=(CustomPotionEffects=#unluckyPotionEffects,display=(Name="$e$lSuper Unlucky Potion"))),maxUses=1)]),Profession=2,CustomName="$e$lSuper Lucky Villager",Career=1,CareerLevel=100);type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(30,35)),sell=(id=lucky:lucky_block_party,Count=1,tag=(display=(Name="$f$lParty Balloon"),ench=#luckySwordEnchantments,AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=10,Operation=0,UUIDLeast=1,UUIDMost=1)])),maxUses=1),(buy=(id=diamond,Count=#rand(30,50)),sell=(Count=1,id=diamond_chestplate,tag=(Unbreakable=true,ench=#luckyChestplateEnchantments,display=(Lore=["$7Strength I"],Name="$e$lUltra Party Shirt"),AttributeModifiers=[(AttributeName=generic.attackDamage,Name="strength",Amount=1.3f,Operation=1,UUIDLeast=4,UUIDMost=4)])),maxUses=1),(buy=(id=diamond,Count=#rand(20,25)),sell=(id=potion,Damage=8195,Count=1,tag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lSuper Lucky Potion"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=potion,Damage=16428,Count=1,tag=(CustomPotionEffects=#unluckyPotionEffects,display=(Name="$e$lSuper Unlucky Potion"))),maxUses=1)]),Profession=2,CustomName="$e$lSuper Lucky Villager",Career=1,CareerLevel=100))@luck=2


/unlucky villagers
type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=coal,Count=#rand(30,35)),sell=(id=wooden_sword,Count=1,tag=(ench=#luckySwordEnchantments,display=(Name="$e$lWooden Knife"))),maxUses=1),(buy=(id=coal,Count=#rand(15,20)),sell=(id=bow,Count=1,tag=(display=(Name="$e$lWooden Bow"))),maxUses=1),(buy=(id=coal,Count=#rand(10,15)),sell=(id=fishing_rod,Count=1,tag=(display=(Name="$e$lWooden Fishing Rod"))),maxUses=1),(buy=(id=coal,Count=#rand(1,5)),sell=(id=glass_bottle,Damage=0,Count=3),maxUses=10)]),CustomName="$e$lUnlucky Villager",CustomNameVisible=true,Career=1,CareerLevel=100)@luck=0

type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=coal,Count=#rand(24,30)),sell=(id=leather_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments,display=(color=#rand(0,16777215),Name="$e$lStained Helmet"))),maxUses=1),(buy=(id=coal,Count=#rand(40,50)),sell=(id=leather_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments,display=(color=#rand(0,16777215),Name="$e$lStained Chestplate"))),maxUses=1),(buy=(id=coal,Count=#rand(30,40)),sell=(id=leather_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments,display=(color=#rand(0,16777215),Name="$e$lStained Leggings"))),maxUses=1),(buy=(id=coal,Count=#rand(12,17)),sell=(id=leather_boots,Count=1,tag=(ench=#luckyBootsEnchantments,display=(color=#rand(0,16777215),Name="$e$lStained Boots"))),maxUses=1)]),CustomName="$e$lUnlucky Villager",CustomNameVisible=true,Career=1,CareerLevel=100)@luck=0

type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=coal,Count=#rand(20,30)),sell=(id=wooden_shovel,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$e$lWooden Spoon"))),maxUses=1),(buy=(id=coal,Count=#rand(30,40)),sell=(id=wooden_pickaxe,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$e$lWooden Pickaxe"))),maxUses=1),(buy=(id=coal,Count=#rand(30,40)),sell=(id=wooden_axe,Count=1,tag=(ench=#luckyAxeEnchantments,display=(Name="$e$lWooden Cake Slicer"))),maxUses=1),(buy=(id=coal,Count=#rand(20,30)),sell=(id=wooden_hoe,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$e$lWooden fork"),AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=3,Operation=0,UUIDLeast=1,UUIDMost=1)])),maxUses=1)]),CustomName="$e$lUnlucky Villager",CustomNameVisible=true,Career=1,CareerLevel=100)@luck=0


/mysterious villager
/group:1:(type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potion,Damage=0,Count=1,tag=(CustomPotionEffects=#unluckyPotionEffects,display=(Name="$e$lMystery Potion"))),maxUses=1),(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potion,Damage=16384,Count=1,tag=(HideFlags=32,CustomPotionEffects=#unluckyPotionEffects,display=(Name="$e$lMystery Potion"))),maxUses=1)]),Profession=1,CustomName="$e$lMysterious Villager",CustomNameVisible=true,Career=1,CareerLevel=100);type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potion,Damage=0,Count=1,tag=(CustomPotionEffects=#unluckyPotionEffects,display=(Name="$e$lMystery Potion"))),maxUses=1),(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potion,Damage=16384,Count=1,tag=(HideFlags=32,CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lMystery Potion"))),maxUses=1)]),Profession=1,CustomName="$e$lMysterious Villager",CustomNameVisible=true,Career=1,CareerLevel=100);type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potion,Damage=0,Count=1,tag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lMystery Potion"))),maxUses=1),(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potion,Damage=16384,Count=1,tag=(HideFlags=32,CustomPotionEffects=#unluckyPotionEffects,display=(Name="$e$lMystery Potion"))),maxUses=1)]),Profession=1,CustomName="$e$lMysterious Villager",CustomNameVisible=true,Career=1,CareerLevel=100);type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potion,Damage=0,Count=1,tag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lMystery Potion"))),maxUses=1),(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potion,Damage=16384,Count=1,tag=(HideFlags=32,CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lMystery Potion"))),maxUses=1)]),Profession=1,CustomName="$e$lMysterious Villager",CustomNameVisible=true,Career=1,CareerLevel=100))@luck=1


/~~ Friendlies ~~


/great defender
group(type=particle,ID="heart",size=(1,0,1),particleAmount=5;type=entity,ID=VillagerGolem,NBTTag=(PlayerCreated=1,Equipment=[(id=diamond_sword,Count=1,Damage=0,tag=(ench=#luckySwordEnchantments)),(id=diamond_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments)),(id=diamond_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments)),(id=diamond_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments))],DropChances=[0f,0f,0f,0f,0f],CustomName="$e$l#randList(Josh,Smith,Tom,Steven,Peter,No Diamond Gears for you.Lol) The Defender"))@luck=2


/lucky wolf
group(type=particle,ID="heart",size=(1,0,1),particleAmount=5;type=entity,ID=Wolf,NBTTag=(CollarColor=#rand(0,14),Owner=#pName,Sitting=1,Equipment=[(id=diamond_sword,Count=1,Damage=0,tag=(ench=#luckySwordEnchantments)),(id=diamond_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments)),(id=diamond_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments)),(id=diamond_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments))],DropChances=[0f,0f,0f,0f,0f],CustomName="$e$l#pName's Lucky Wolf"))@luck=2


/lucky cat
group(type=particle,ID="heart",size=(1,0,1),particleAmount=5;type=entity,ID=Ozelot,NBTTag=(CatType=#rand(0,3),Owner=#pName,Sitting=1,Equipment=[(id=none),(id=diamond_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments)),(id=diamond_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments)),(id=diamond_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments))],DropChances=[0f,0f,0f,0f,0f],CustomName="$e$l#pName's Lucky Kitty"))@luck=2


/lucky horse
group(type=particle,ID="heart",size=(1,0,1),particleAmount=5;type=entity,ID=EntityHorse,NBTTag=(Type=0,Tame=1,Variant=#randList(#rand(0,6),#rand(256,262),#rand(512,518),#rand(768,774),#rand(1024,1030)),Equipment=[(id=none),(id=diamond_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments)),(id=diamond_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments)),(id=diamond_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments))],DropChances=[0f,0f,0f,0f,0f],ArmorItem=(id=diamond_horse_armor,Count=1,tag=(display=(Name="$e$l#pName's Lucky Horse Armor"))),SaddleItem=(id=saddle,Count=1),CustomName="$e$l#pName's Lucky Horse"))@luck=2


/lucky mule
group(type=particle,ID="heart",size=(1,0,1),particleAmount=5;type=entity,ID=EntityHorse,NBTTag=(Type=2,Tame=1,Equipment=[(id=none),(id=diamond_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments)),(id=diamond_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments)),(id=diamond_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments))],DropChances=[0f,0f,0f,0f,0f],ChestedHorse=true,SaddleItem=(id=saddle,Count=1),CustomName="$e$l#pName's Lucky Mule"))@luck=2


/~~ other random passive mobs ~~


/rainbow sheep tower
type=entity,ID=FallingSand,posY=#bPosY+1,NBTTag=(Block=diamond_block,Time=1,Riding=(id=Sheep,Color=10,Riding=(id=Sheep,Color=11,Riding=(id=Sheep,Color=5,Riding=(id=Sheep,Color=4,Riding=(id=Sheep,Color=1,Riding=(id=Sheep,Color=14)))))))@luck=1


/fairies
group(type=entity,ID=XPOrb,NBTTag=(Value=5,Riding=(id=Bat,Silent=true,ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)])),amount=#rand(5,10),posOffset=#circleOffset(2,3),reinitialize=true;type=entity,ID=XPOrb,NBTTag=(Value=20,Riding=(id=Bat,Silent=true,ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)])),amount=#rand(5,10),posOffset=#circleOffset(3),reinitialize=true)@luck=1


/pig with saddle
type=entity,ID=Item,NBTTag=(Item=(id=carrot_on_a_stick,Count=1),CustomName="$6Ride Me",CustomNameVisible=true,Riding=(id=Pig,Saddle=true))@luck=0


/true mr rainbow
type=entity,ID=Snowball,NBTTag=(CustomName="$cT$6h$ee $aT$2r$bu$de $cM$6r. $eR$aa$2i$bn$3b$5o$dw",CustomNameVisible=true,Riding=(id=Sheep,Color=#rand(0,15)b,CustomName="jeb_"))


/~~ completely random stuff ~~


/mini ghast
group(type=command,ID="/playsound mob.ghast.moan @a ~ ~ ~ 1.0 2.0";type=entity,ID=Skeleton,NBTTag=(SkeletonType=1,Silent=true,CustomName="$lMini Ghast",ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)],Equipment=[(id=bow),(id=none),(id=none),(id=none),(id=skull,Damage=3,tag=(SkullOwner=MHF_Ghast))]))@luck=-1


/stacked endermites
type=entity,ID=Endermite,posOffset=#circleOffset(1,2),amount=#rand(3,5),NBTTag=(Riding=(id=Endermite,Riding=(id=Endermite,Riding=(id=Endermite,Riding=(id=Endermite,Riding=(id=Endermite,Riding=(id=Endermite,Riding=(id=Endermite,Riding=(id=Endermite,Riding=(id=Endermite,Riding=(id=Endermite,Riding=(id=Endermite))))))))))))@luck=-1


/confused creepers
type=entity,ID=Ozelot,posOffset=#circleOffset(1,2),NBTTag=(Riding=(id=Creeper)),amount=#rand(2,5)@luck=-1


/hug me zombie
type=entity,ID=PrimedTnt,NBTTag=(CustomName="$6$lHug Me",CustomNameVisible=true,Fuse=100,Riding=(id=Zombie,IsBaby=true,CustomName="$6$lHug Me")))@luck=-2


/cake delivery enderman
type=entity,ID=Snowball,NBTTag=(CustomName="$d$lCake Delivery",CustomNameVisible=true,Riding=(id=Enderman,CustomName="$d$lCake Delivery",carried=cake))@luck=0


/diamond enderman
type=entity,ID=Snowball,NBTTag=(CustomName="$d$lCake Delivery",CustomNameVisible=true,Riding=(id=Enderman,CustomName="$d$lKill me to get the diamond",carried=diamond_block))@luck=0


/pest control enderman
group(type=difficulty,ID=hard;type=time,ID=13000;type=entity,ID=Snowball,NBTTag=(CustomName="$d$lPest Control",CustomNameVisible=true,Riding=(id=Enderman,CustomName="$d$lPest Control"));type=entity,ID=Endermite,amount=12,posOffset=#circleOffset(1,3),reinitialize=true,NBTTag=(PlayerSpawned=1))@luck=-1


/cannon balls
type=entity,ID=Fireball,amount=#rand(4,8),posOffset=#circleOffset(0,6),posY=#bPosY+1,reinitialize=true,NBTTag=(ExplosionPower=2,direction=[0.0,0.0,0.0],CustomName="$lCannon Ball - Punch Me!",CustomNameVisible=true)@luck=-1


/baby player
type=entity,ID=ArmorStand,NBTTag=(Small=true,NoBasePlate=true,ShowArms=true,Equipment=[(id=stone_pickaxe,Count=1,Damage=0,tag=(display=(Name="$7$lBaby #pName's Pickaxe"))),(id=leather_boots,Count=1,Damage=0,tag=(display=(color=#rand(0,16777215),Name="$7$lBaby #pName's Stained Boots"))),(id=leather_leggings,Count=1,Damage=0,tag=(display=(color=#rand(0,16777215),Name="$7$lBaby #pName's Stained Pants"))),(id=leather_chestplate,Count=1,Damage=0,tag=(display=(color=#rand(0,16777215),Name="$7$lBaby #pName's Stained Chestplate"))),(id=skull,Damage=3,Count=1,tag=(SkullOwner=#pName))],Rotation=[#pYaw+180f,0f],CustomName="Baby #pName",CustomNameVisible=true)@luck=0


/twin player
type=entity,ID=ArmorStand,NBTTag=(Small=false,NoBasePlate=true,ShowArms=true,Equipment=[(id=stone_pickaxe,Count=1,Damage=0,tag=(display=(Name="$7$lBaby #pName's Pickaxe"))),(id=leather_boots,Count=1,Damage=0,tag=(display=(color=#rand(0,16777215),Name="$7$lBaby #pName's Stained Boots"))),(id=leather_leggings,Count=1,Damage=0,tag=(display=(color=#rand(0,16777215),Name="$7$lBaby #pName's Stained Pants"))),(id=leather_chestplate,Count=1,Damage=0,tag=(display=(color=#rand(0,16777215),Name="$7$lBaby #pName's Stained Chestplate"))),(id=skull,Damage=3,Count=1,tag=(SkullOwner=#pName))],Rotation=[#pYaw+180f,0f],CustomName="Twin #pName",CustomNameVisible=true)@luck=0


/creeper babies
type=entity,ID=ArmorStand,amount=8,posOffset=#circleOffset(0,4),reinitialize=true,NBTTag=(Small=true,NoBasePlate=true,Equipment=[(id=none),(id=none),(id=none),(id=none),(id=skull,Damage=4,Count=1)],Pose=(Head=[0f,#rand(0,360)f,0f]))


/ ========== FALLING BLOCKS ===============



/ 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


/ lbp 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=lucky:lucky_block_party))@luck=0


/ diamond pole
group(type=fill,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=barrier);ID=air,size=(1,51,1);type=entity,ID=FallingSand,NBTTag=(Block=diamond_block),posY=#bPosY+55)@luck=2


/ emerald pole
group(type=fill,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=barrier);ID=air,size=(1,51,1);type=entity,ID=FallingSand,NBTTag=(Block=emerald_block),posY=#bPosY+55)@luck=2


/~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/ 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,delay=2;type=sound,ID=random.fizz,delay=2)@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,delay=2;type=sound,ID=item.fireCharge.use,delay=2)@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,delay=2)@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,delay=2;type=sound,ID=dig.grass,delay=2)@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,delay=2;type=sound,ID=game.neutral.swim.splash,delay=2)@luck=0

group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=redstone_block);type=particle,ID=reddust,size=(1,2,1),particleAmount=500,delay=2;type=sound,ID=game.tnt.primed,pitch=2,delay=2)@luck=0


group(type=command,ID="/fill ~-2 ~ ~-2 ~2 ~50 ~1 air";type=command,delay=6,ID="/fill ~-2 ~-1 ~-2 ~2 ~10 ~1 air 0 replace barrier";type=entity,ID=FallingSand,NBTTag=(Block=stained_hardened_clay,Data=14),posOffset=(0,5,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_hardened_clay,Data=1),posOffset=(0,10,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_hardened_clay,Data=4),posOffset=(0,15,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_hardened_clay,Data=5),posOffset=(0,20,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_hardened_clay,Data=9),posOffset=
(0,25,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_hardened_clay,Data=3),posOffset=(0,30,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_hardened_clay,Data=11),posOffset=(0,35,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_hardened_clay,Data=10),posOffset=(0,40,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_hardened_clay,Data=2),posOffset=(0,45,0);type=entity,ID=FallingSand,NBTTag=(Block=diamond_block),posOffset=(0,50,0);type=entity,ID=LightningBolt,posOffset=(0,10,0),delay=5.5)@luck=1

group(type=command,ID="/fill ~-2 ~ ~-2 ~2 ~50 ~1 air";type=command,delay=6,ID="/fill ~-2 ~-1 ~-2 ~2 ~10 ~1 air 0 replace barrier";type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=14),posOffset=(0,5,0);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=1),posOffset=(0,10,0);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=4),posOffset=(0,15,0);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=5),posOffset=(0,20,0);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=9),posOffset=(0,25,0);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=3),posOffset=(0,30,0);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=11),posOffset=(0,35,0);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=10),posOffset=(0,40,0);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=2),posOffset=(0,45,0);type=entity,ID=FallingSand,NBTTag=(Block=gold_block),posOffset=(0,50,0);type=particle,ID=flame,size=(1,2,1),particleAmount=500,posOffset=(0,10,0),delay=5.5;type=sound,ID=item.fireCharge.use,posOffset=(0,10,0),delay=5.5)@luck=1

group(type=command,ID="/fill ~-2 ~ ~-2 ~2 ~50 ~1 air";type=command,delay=6,ID="/fill ~-2 ~-1 ~-2 ~2 ~10 ~1 air 0 replace barrier";type=entity,ID=FallingSand,NBTTag=(Block=stained_glass,Data=14),posOffset=(0,5,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass,Data=1),posOffset=(0,10,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass,Data=4),posOffset=(0,15,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass,Data=5),posOffset=(0,20,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass,Data=9),posOffset=(0,25,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass,Data=3),posOffset=(0,30,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass,Data=11),posOffset=(0,35,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass,Data=10),posOffset=(0,40,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass,Data=2),posOffset=(0,45,0);type=entity,ID=FallingSand,NBTTag=(Block=emerald_block),posOffset=(0,50,0);type=particle,ID=happyVillager,size=(0,2,0),particleAmount=500,posOffset=(0,10,0),delay=5.5;type=sound,ID=dig.grass,posOffset=(0,10,0),delay=5.5)@luck=1

group(type=command,ID="/fill ~-2 ~ ~-2 ~2 ~50 ~1 air";type=command,delay=6,ID="/fill ~-2 ~-1 ~-2 ~2 ~10 ~1 air 0 replace barrier";type=entity,ID=FallingSand,NBTTag=(Block=stained_glass_pane,Data=14),posOffset=(0,5,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass_pane,Data=1),posOffset=(0,10,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass_pane,Data=4),posOffset=(0,15,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass_pane,Data=5),posOffset=(0,20,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass_pane,Data=9),posOffset=(0,25,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass_pane,Data=3),posOffset=(0,30,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass_pane,Data=11),posOffset=(0,35,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass_pane,Data=10),posOffset=(0,40,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass_pane,Data=2),posOffset=(0,45,0);type=entity,ID=FallingSand,NBTTag=(Block=lapis_block),posOffset=(0,50,0);type=particle,ID=splash,size=(1,2,1),particleAmount=1000,posOffset=(0,10,0),delay=5.5;type=sound,ID=game.neutral.swim.splash,posOffset=(0,10,0),delay=5.5)@luck=1

group(type=command,ID="/fill ~-2 ~ ~-2 ~2 ~50 ~1 air";type=command,delay=6,ID="/fill ~-2 ~-1 ~-2 ~2 ~10 ~1 air 0 replace barrier";type=entity,ID=FallingSand,NBTTag=(Block=redstone_ore),posOffset=(0,5,0);type=entity,ID=FallingSand,NBTTag=(Block=iron_ore),posOffset=(0,10,0);type=entity,ID=FallingSand,NBTTag=(Block=gold_ore),posOffset=(0,15,0);type=entity,ID=FallingSand,NBTTag=(Block=emerald_ore),posOffset=(0,20,0);type=entity,ID=FallingSand,NBTTag=(Block=diamond_ore),posOffset=(0,25,0);type=entity,ID=FallingSand,NBTTag=(Block=diamond_ore),posOffset=(0,30,0);type=entity,ID=FallingSand,NBTTag=(Block=lapis_ore),posOffset=(0,35,0);type=entity,ID=FallingSand,NBTTag=(Block=coal_ore),posOffset=(0,40,0);type=entity,ID=FallingSand,NBTTag=(Block=quartz_ore),posOffset=(0,45,0);type=entity,ID=FallingSand,NBTTag=(Block=iron_block),posOffset=(0,50,0);type=particle,ID=largesmoke,size=(1,2,1),particleAmount=500,posOffset=(0,10,0),delay=5.5;type=sound,ID=random.fizz,posOffset=(0,10,0),delay=5.5)@luck=1

group(type=command,ID="/fill ~-2 ~ ~-2 ~2 ~50 ~1 air";type=command,delay=6,ID="/fill ~-2 ~-1 ~-2 ~2 ~10 ~1 air 0 replace barrier";type=entity,ID=FallingSand,NBTTag=(Block=redstone_block),posOffset=(0,5,0);type=particle,ID=reddust,size=(1,2,1),particleAmount=500,posOffset=(0,1,0),delay=0.5;type=sound,ID=game.tnt.primed,pitch=2,posOffset=(0,1,0),delay=0.5;type=entity,ID=FallingSand,NBTTag=(Block=glowstone),posOffset=(0,10,0);type=particle,ID=2002,damage=3,posOffset=(0,2,0),delay=1;type=entity,ID=FallingSand,NBTTag=(Block=gold_block),posOffset=(0,15,0);type=particle,ID=flame,size=(1,2,1),particleAmount=500,delay=1.5,posOffset=(0,3,0);type=sound,ID=item.fireCharge.use,delay=1.5,posOffset=(0,3,0);type=entity,ID=FallingSand,NBTTag=(Block=emerald_block),posOffset=(0,20,0);type=particle,ID=happyVillager,size=(1,2,1),particleAmount=500,posOffset=(0,4,0),delay=2;type=sound,ID=dig.grass,posOffset=(0,4,0),delay=2;type=entity,ID=FallingSand,NBTTag=(Block=diamond_block),posOffset=(0,25,0);type=entity,ID=LightningBolt,posOffset=(0,5,0),delay=2.5;type=entity,ID=FallingSand,NBTTag=(Block=packed_ice),posOffset=(0,30,0);type=particle,ID=2002,damage=1,posOffset=(0,6,0),delay=3;type=entity,ID=FallingSand,NBTTag=(Block=lapis_block),posOffset=(0,35,0);type=particle,ID=splash,size=(1,2,1),particleAmount=1000,posOffset=(0,7,0),delay=3.5;type=sound,ID=game.neutral.swim.splash,posOffset=(0,7,0),delay=3.5;type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=10),posOffset=(0,40,0);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=2),posOffset=(0,45,0);type=entity,ID=FallingSand,NBTTag=(Block=lucky:lucky_block_party,TileEntityData=(Luck=100)),posOffset=(0,50,0);type=particle,ID=portal,size=(1,2,1),particleAmount=500,posOffset=(0,10,0),delay=5.5;type=sound,ID=portal.travel,posOffset=(0,10,0),delay=5.5)@luck=2


/ lava party
group(type=command,ID="/say a big staircase!of lava!";type=entity,ID=FallingSand,NBTTag=(Block=lava);type=entity,ID=FallingSand,NBTTag=(Block=lava),posOffset=(0,5,-1);type=entity,ID=FallingSand,NBTTag=(Block=lava),posOffset=(-1,10,-1);type=entity,ID=FallingSand,NBTTag=(Block=lava),posOffset=(-1,15,0);type=entity,ID=FallingSand,NBTTag=(Block=lava),posOffset=(-1,20,1);type=entity,ID=FallingSand,NBTTag=(Block=lava),posOffset=(0,25,1);type=entity,ID=FallingSand,NBTTag=(Block=lava),posOffset=(1,30,1);type=entity,ID=FallingSand,NBTTag=(Block=lava),posOffset=(1,35,0);type=entity,ID=FallingSand,NBTTag=(Block=lava),posOffset=(1,40,-1);type=entity,ID=FallingSand,NBTTag=(Block=lava),posOffset=(1,50,-2);type=entity,ID=FallingSand,NBTTag=(Block=lava),posOffset=(0,55,-2);type=entity,ID=FallingSand,NBTTag=(Block=lava),posOffset=(-1,60,-2);type=entity,ID=FallingSand,NBTTag=(Block=lava),posOffset=(-2,65,-2);type=entity,ID=FallingSand,NBTTag=(Block=lava),posOffset=(-2,70,-1);type=entity,ID=FallingSand,NBTTag=(Block=lava),posOffset=(-2,75,0);type=entity,ID=FallingSand,NBTTag=(Block=lava),posOffset=(-2,80,1);type=entity,ID=FallingSand,NBTTag=(Block=lava),posOffset=(-2,85,2);type=entity,ID=FallingSand,NBTTag=(Block=lava),posOffset=(-1,90,2);type=entity,ID=FallingSand,NBTTag=(Block=lava),posOffset=(0,95,2);type=entity,ID=FallingSand,NBTTag=(Block=lava),posOffset=(1,100,2);type=entity,ID=FallingSand,NBTTag=(Block=lava),posOffset=(2,105,2);type=entity,ID=FallingSand,NBTTag=(Block=lava),posOffset=(2,110,1);type=entity,ID=FallingSand,NBTTag=(Block=lava),posOffset=(2,115,0);type=entity,ID=FallingSand,NBTTag=(Block=lava),posOffset=(2,120,-1);type=entity,ID=FallingSand,NBTTag=(Block=lava),posOffset=(2,125,-2))@luck=-1


/ dragon egg type=entity,ID=FallingSand,NBTTag=(Block=dragon_egg),posOffset=(0,5,0)@luck=1
/ chests

/ bonus
group  type=entity,ID=FallingSand,NBTTag=(Block=chest,TileEntityData=(Items=#chestBonusChest)),posOffset=(0,5,0)@luck=0
/ blacksmith
group type=entity,ID=FallingSand,NBTTag=(Block=chest,TileEntityData=(Items=#chestBlacksmithChest)),posOffset=(0,5,0) @luck=0

/ village
group type=entity,ID=FallingSand,NBTTag=(Block=chest,TileEntityData=(Items=#chestVillageBlacksmith)),posOffset=(0,5,0) @luck=0
/ dungeon
group type=entity,ID=FallingSand,NBTTag=(Block=chest,TileEntityData=(Items=#chestDungeonChest)),posOffset=(0,5,0)@luck=0
/ awesome stuff
group type=entity,ID=FallingSand,NBTTag=(Block=chest,TileEntityData=(Items=#chest(contents=[(id=iron_ingot,maxAmount=8,weight=10),(id=gold_ingot,maxAmount=4,weight=10),(id=lucky:lucky_block_party,maxAmount=5,weight=10),(id=golden_apple,maxAmount=5,weight=10),(id=golden_apple,damage=1,maxAmount=1,weight=7)],maxTotalAmount=8))),posOffset=(0,5,0) @luck=2
/Popularmmos's Challenge Box
type=entity,ID=FallingSand,NBTTag=(Block=chest,TileEntityData=(Items=#chest(contents=[(id=saddle,maxAmount=5,weight=10),(id=end_portal_frame,maxAmount=8,weight=10),(id=lucky:lucky_block_party,maxAmount=5,weight=10),(id=golden_apple,maxAmount=5,weight=10),(id=golden_apple,damage=1,maxAmount=1,weight=7),(id=sponge,maxAmount=3,weight=7),(id=nether_star,Count=1,weight=7),(id=glass,Count=5,weight=7),(id=obsidian,Count=3,weight=7),(id=paper,NBTTag=(display=(Lore=["Make some beacons!"])))],maxTotalAmount=8))),posOffset=(0,5,0)@luck=2
/Crundee's Challenge Box
 type=entity,ID=FallingSand,NBTTag=(Block=chest,TileEntityData=(Items=#chest(contents=[(id=emerald,maxAmount=5,weight=10),(id=diamond,maxAmount=8,weight=10),(id=lucky:lucky_block_party,maxAmount=5,weight=10),(id=golden_apple,maxAmount=5,weight=10),(id=golden_apple,damage=1,maxAmount=1,weight=7),(id=obsidian,Count=6,weight=7),(id=glass,Count=10,weight=7)(id=paper,NBTTag=(display=(Lore=["Make some beacons!"])))],maxTotalAmount=8))),posOffset=(0,5,0) @luck=2
/ crafting ingredients
 type=entity,ID=FallingSand,NBTTag=(Block=diamond_block),posOffset=(0,131,0);type=entity,ID=FallingSand,NBTTag=(Block=chest,TileEntityData=(Items=#chest(contents=[(id=lucky:lucky_block,maxAmount=5,weight=10),(id=dye,Damage=4,maxAmount=10,weight=10),(id=emerald,maxAmount=5,weight=10),(id=diamond,maxAmount=5,weight=10),(id=redstone,maxAmount=15,weight=10)],maxTotalAmount=16))),posOffset=(0,5,0)@luck=2
/ food
group type=entity,ID=FallingSand,NBTTag=(Block=chest,TileEntityData=(Items=#chest(contents=[(id=cooked_beef,maxAmount=4,weight=5),(id=cooked_porkchop,maxAmount=4,weight=5),(id=cooked_mutton,maxAmount=4,weight=5),(id=cooked_rabbit,maxAmount=4,weight=5),(id=cooked_chicken,maxAmount=4,weight=5),(id=cooked_fish,maxAmount=4,weight=5),(id=bread,maxAmount=10,weight=5),(id=baked_potato,maxAmount=6,weight=5),(id=pumpkin_pie,maxAmount=6,weight=5),(id=cookie,maxAmount=30,weight=5),(id=cake,maxAmount=1,weight=10),(id=apple,maxAmount=8,weight=5),(id=melon,maxAmount=30,weight=5)],maxTotalAmount=12))),posOffset=(0,5,0)@luck=1
/ rare items
group type=entity,ID=FallingSand,NBTTag=(Block=chest,TileEntityData=(Items=#chest(contents=[(id=beacon,maxAmount=1,weight=5),(id=skull,Damage=1,maxAmount=3,weight=10),(id=saddle,maxAmount=1,weight=5),(id=name_tag,maxAmount=5,weight=10),(id=enchanting_table,maxAmount=1,weight=10),(id=end_portal_frame,maxAmount=5,weight=5),(id=experience_bottle,maxAmount=32,weight=30)],maxTotalAmount=8))),posOffset=(0,5,0)@luck=2




/ =========== MONSTER APOCALYPSE ==========

/ sword, difficulty, time, potion effects
group(ID=wooden_sword,NBTTag=(display=(Name="$f$lWooden Knife"));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, killer bunnies
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);type=entity,ID=Rabbit,amount=#rand(5,10),NBTTag=(RabbitType=99); \
/ 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 ==========


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

type=structure,ID=lava_trap,pos=#pPos,rotation=#pDirect@luck=-2

type=structure,ID=water_trap,pos=#pPos@luck=-2  

type=structure,ID=pit_trap,pos=#pPos@luck=-2

type=structure,ID=bedrock_trap,pos=#pPos@luck=-2

type=structure,ID=sand_trap,pos=#pPos,rotation=#pDirect@luck=-2


/ barrier problem
type=structure,ID=barrier_problem,rotation=#pDirect@luck=-1


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


/ wishing wells
group(type=structure,ID=wishing_well;type=message,ID="Is that 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_party,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$bYour 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=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;type=message,ID="Is that 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_party,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$4Your death wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=PrimedTnt,NBTTag=(Fuse=50b,Motion='#'randLaunchMotion),posY='#'bPosY+7,amount=20)"]))@luck=-2


/bouncing castle
group(type=command,ID="/playsound mob.slime.big #playerName ~ ~ ~ 1.0 0.6";type=structure,ID=bouncing_castle,pos=#pPos,rotation=#pDirect)

/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/ lucky forts and temples
type=structure,ID=party_neutral_fort,pos=#pPos@luck=1

type=structure,ID=party_lucky_fort,pos=#pPos@chance=0.5@luck=2

type=structure,ID=party_unlucky_fort,pos=#pPos@luck=-1

type=structure,ID=party_neutral_temple,pos=#pPos@chance=0.6@luck=1

type=structure,ID=party_lucky_temple,pos=#pPos@chance=0.4@luck=2

type=structure,ID=party_unlucky_temple,pos=#pPos@luck=-1


type=structure,ID=party_room,pos=#pPos@luck=2

/ other wishing wells
group(type=structure,ID=wishing_well;type=message,ID="Is that 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_party,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$6Your investment wish came true! Coins for days!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=fireworks,NBTTag='#'randomFireworkRocket,amount=1,posY='#'bPosY+3,scatterOffset=2-2,reinitialize=true;ID=gold_nugget,amount=404,NBTTag=(display=(Name=\"$6Coin\")),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=1

group(type=structure,ID=wishing_well;type=message,ID="Is that 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_party,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$aYour wish came true! (If you like cute little slimes)\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=Slime,NBTTag=(size=0),posY='#'bPosY+3,posOffset='#'circleOffset(3),amount=50,reinitialize=true)"]))@luck=0

group(type=structure,ID=wishing_well;type=message,ID="Is that 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_party,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$6Why would you wish for lava?\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=lava_bucket,amount=9,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=flint_and_steel,amount=9,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=0


group(type=structure,ID=wishing_well;type=message,ID="Is that 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_party,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$6Did you just say you don't have a death wish?\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=PrimedTnt,amount=32,posY='#'bPosY+10,posOffset='#'circleOffset(2);)"]))@luck=-1

/snowy wonderland
group(type=command,ID="fill ~-5 ~-5 ~-5 ~5 ~5 ~5 snow_layer 0 replace tallgrass";type=command,ID="fill ~-5 ~-5 ~-5 ~5 ~5 ~5 snow_layer 0 replace yellow_flower";type=command,ID="fill ~-5 ~-5 ~-5 ~5 ~5 ~5 snow_layer 0 replace red_flower";type=command,ID="/fill ~-5 ~-5 ~-5 ~5 ~5 ~5 ice 0 replace water";type=command,ID="/fill ~-6 ~-5 ~-4 ~6 ~5 ~4 ice 0 replace water";type=command,ID="/fill ~-4 ~-5 ~-6 ~4 ~5 ~6 ice 0 replace water";type=command,ID="/fill ~-7 ~-5 ~-2 ~7 ~5 ~2 ice 0 replace water";type=command,ID="/fill ~-2 ~-5 ~-7 ~2 ~5 ~7 ice 0 replace water";type=command,ID="/fill ~-5 ~-5 ~-5 ~5 ~5 ~5 ice 0 replace flowing_water";type=command,ID="/fill ~-6 ~-5 ~-4 ~6 ~5 ~4 ice 0 replace flowing_water";type=command,ID="/fill ~-4 ~-5 ~-6 ~4 ~5 ~6 ice 0 replace flowing_water";type=command,ID="/fill ~-7 ~-5 ~-2 ~7 ~5 ~2 ice 0 replace flowing_water";type=command,ID="/fill ~-2 ~-5 ~-7 ~2 ~5 ~7 ice 0 replace flowing_water";type=command,ID="fill ~-5 ~-5 ~-5 ~5 ~5 ~5 snow 0 replace grass";type=command,ID="fill ~-6 ~-5 ~-4 ~6 ~5 ~4 snow 0 replace grass";type=command,ID="fill ~-4 ~-5 ~-6 ~4 ~5 ~6 snow 0 replace grass";type=command,ID="fill ~-7 ~-5 ~-2 ~7 ~5 ~2 snow 0 replace grass";type=command,ID="fill ~-2 ~-5 ~-7 ~2 ~5 ~7 snow 0 replace grass";type=command,ID="fill ~-5 ~-5 ~-5 ~5 ~5 ~5 snow 0 replace sand";type=command,ID="fill ~-6 ~-5 ~-4 ~6 ~5 ~4 snow 0 replace sand";type=command,ID="fill ~-4 ~-5 ~-6 ~4 ~5 ~6 snow 0 replace sand";type=command,ID="fill ~-7 ~-5 ~-2 ~7 ~5 ~2 snow 0 replace sand";type=command,ID="fill ~-2 ~-5 ~-7 ~2 ~5 ~7 snow 0 replace sand";type=entity,ID=SnowMan,amount=8,posOffset=#circleOffset(0,4),reinitialize=true)@luck=0


/partyroom type=structure,ID=party_room,pos=#pPos@luck=-2

/redstones type=structure,ID=CreepingVines,posOffsetY=-4;type=entity,ID=Creeper,NBTTag=(CustomName="Spawn Vines",CustomNameVisible=true")@luck=-2



type=structure,ID=PocketSand,posOffsetY=-4;type=entity,ID=sand,amount=15,NBTTag=(ench=#luckySwordEnchantments,display=(Name="Pocket Sand"))@luck=0
/ ============= DUNGEONS ==============


/ lucky tower
group(type=structure,ID=lucky_tower,posOffsetY=-1,posOffsetX=-1;type=command,ID="/title @p[name=#pName] title {text:\"Lucky Tower\", color:yellow}";ID=chest,posOffset=(5,16,5),tileEntity=(Items=#chestDungeonChest));type=entity,ID=skeleton,Damage=1,posOffset=(5,21,5),NBTTag=(Equipment=[(id=diamond_sword,Count=1,tag=(ench=#luckySwordEnchantments,display=(Name="$e$lBoss Josh's Sword"))),(id=diamond_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments,display=(Name="$e$lBoss Josh's Helmet"))),(id=diamond_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments,display=(Name="$e$lBoss Josh's Chestplate"))),(id=diamond_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments,display=(Name="$e$lBoss Josh's Pants"))),(id=diamond_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments,display=(Name="$e$lBoss Josh's Boots"))),absorption=1000],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="$e$lBoss Josh",CustomNameVisible=true))@luck=0



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


/ lucky sword
ID=diamond_sword,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$e$lLucky Sword"))@luck=2

/ lucky bow
ID=bow,NBTTag=(ench=#luckyBowEnchantments,display=(Name="$e$lLucky Bow"))@luck=2

/ lucky tools
group:#rand(1,2):(ID=diamond_shovel,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$e$lLucky Spoon"));ID=diamond_pickaxe,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$e$lLucky Pickaxe"));ID=diamond_axe,NBTTag=(ench=#luckyAxeEnchantments,display=(Name="$e$lLucky Cake Slicer"));ID=diamond_hoe,NBTTag=(ench=#luckyAxeEnchantments,display=(Name="$e$lLucky fork"),AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=6,Operation=0,UUIDLeast=1,UUIDMost=1)]))@luck=2

/ lucky armor
group:#rand(1,2):(ID=diamond_helmet,NBTTag=(ench=#luckyHelmetEnchantments,display=(Name="$e$lLucky Hat"));ID=diamond_chestplate,NBTTag=(ench=#luckyChestplateEnchantments,display=(Name="$e$lLucky Shirt"));ID=diamond_leggings,NBTTag=(ench=#luckyLeggingsEnchantments,display=(Name="$e$lLucky Pants"));ID=diamond_boots,NBTTag=(ench=#luckyBootsEnchantments,display=(Name="$e$lLucky Shoes")))@luck=2


/~~~~~~~~~~~~~~~~~~~~~~

/lucky potion
ID=potion,damage=8195,NBTTag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lSuper Lucky Potion"))@luck=2

/unlucky potion
ID=potion,damage=16428,NBTTag=(CustomPotionEffects=#unluckyPotionEffects,display=(Name="$e$lSuper Unlucky Potion"))@luck=1


/lucky and unlucky potions (slightly less overpowered)
ID=potion,damage=8193,NBTTag=(CustomPotionEffects=[(Id=6,Amplifier=#rand(0,1)),(Id=#randList(12,13,14,16),Amplifier=0,Duration=#rand(1200,2400)),(Id=#randList(1,3,5,10),Amplifier=#rand(0,1),Duration=#rand(1200,2400)),(Id=#randList(8,11,22,23),Amplifier=#rand(0,1),Duration=#rand(1200,2400))],display=(Name="$e$lLess OP Lucky Potion"))@luck=1

ID=potion,damage=16457,NBTTag=(CustomPotionEffects=[(Id=7,Amplifier=#rand(0,1)),(Id=#randList(9,15),Amplifier=0,Duration=#rand(600,1800)),(Id=#randList(2,17,19),Amplifier=#rand(0,1),Duration=#rand(600,1800)),(Id=#randList(4,18,20),Amplifier=#rand(0,1),Duration=#rand(600,1800))],display=(Name="$e$lLess OP Unlucky Potion"))@luck=1


/mystery potions
group:1:(ID=potion,damage=0,NBTTag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lSuper Mystery Potion"));ID=potion,damage=0,NBTTag=(CustomPotionEffects=#unluckyPotionEffects,display=(Name="$e$lSuper Mystery Potion")))@luck=1

group:1:(ID=potion,damage=16384,NBTTag=(HideFlags=32,CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lSuper Mystery Potion"));ID=potion,damage=16384,NBTTag=(HideFlags=32,CustomPotionEffects=#unluckyPotionEffects,display=(Name="$e$lSuper Mystery Potion")))@luck=1


ID=potion,damage=16459,amount=#rand(1,2),NBTTag=(HideFlags=32,CustomPotionEffects=[(Id=8,Amplifier=49,Duration=200)],display=(Lore=["$7Contains the essence of extreme slime."],Name="$a$lSplash Me"))@luck=0

ID=potion,damage=16386,amount=#rand(1,2),NBTTag=(HideFlags=32,CustomPotionEffects=[(Id=1,Amplifier=79,Duration=200)],display=(Lore=["$7Contains a lot of sugar. Not","$7recommended while on a diet."],Name="$b$lSplash Me"))@luck=1

ID=potion,damage=16388,amount=#rand(1,2),NBTTag=(HideFlags=32,CustomPotionEffects=[(Id=14,Amplifier=0,Duration=200),(Id=15,Amplifier=0,Duration=200),(Id=16,Amplifier=0,Duration=200)],display=(Lore=["$7Made from a root know to make seeing","$7very hard. In every respect..."],Name="$3$lSplash Me"))@luck=0

ID=potion,damage=16393,amount=#rand(1,2),NBTTag=(HideFlags=32,CustomPotionEffects=[(Id=18,Amplifier=79,Duration=400)],display=(Lore=["$7Very popular among pacifists."],Name="$5$lSplash Me"))@luck=1

ID=potion,damage=16426,amount=#rand(1,2),NBTTag=(HideFlags=32,CustomPotionEffects=[(Id=2,Amplifier=7,Duration=400)],display=(Lore=["$7Contains the essence of extreme mud."],Name="$7$lSplash Me"))@luck=1


ID=potion,damage=16422,amount=1,NBTTag=(HideFlags=32,CustomPotionEffects=[(Id=1,Amplifier=0,Duration=400),(Id=2,Amplifier=0,Duration=400),(Id=3,Amplifier=0,Duration=400),(Id=4,Amplifier=0,Duration=400),(Id=5,Amplifier=0,Duration=400),(Id=8,Amplifier=0,Duration=400),(Id=9,Amplifier=0,Duration=400),(Id=10,Amplifier=0,Duration=400),(Id=11,Amplifier=0,Duration=400),(Id=12,Amplifier=0,Duration=400),(Id=13,Amplifier=0,Duration=400),(Id=14,Amplifier=0,Duration=400),(Id=15,Amplifier=0,Duration=400),(Id=17,Amplifier=2,Duration=400),(Id=18,Amplifier=5,Duration=400),(Id=19,Amplifier=4,Duration=400),(Id=20,Amplifier=4,Duration=400),(Id=21,Amplifier=0,Duration=400),(Id=22,Amplifier=0,Duration=400)],display=(Name="$7$lDon't Splash Me"))@luck=0


/other potions
ID=potion,amount=#rand(1,5),damage=8261,NBTTag=(HideFlags=32,CustomPotionEffects=[(Id=23,Amplifier=0,Duration=20)],display=(Lore=["$7Healthy and nutritious!"],Name="$c$lSuper Strawberry Milkshake"))@luck=1

ID=potion,damage=16430,NBTTag=(CustomPotionEffects=[(Id=14,Amplifier=0,Duration=2400),(Id=5,Amplifier=0,Duration=2400),(Id=1,Amplifier=1,Duration=2400)],display=(Name="$8$lThe Ultimate Blur"))@luck=1

ID=potion,damage=16453,NBTTag=(CustomPotionEffects=[(Id=9,Amplifier=0,Duration=300),(Id=10,Amplifier=2,Duration=300)],display=(Lore=["$rForces your body to heal so fast","$ryou feel sick."],Name="$c$lEmergency Health"))@luck=1

ID=potion,damage=16430,NBTTag=(CustomPotionEffects=[(Id=21,Amplifier=1,Duration=2400),(Id=22,Amplifier=0,Duration=2400),(Id=11,Amplifier=0,Duration=2400),(Id=18,Amplifier=2,Duration=2400)],display=(Name="$8$lThe Ultimate Tank"))@luck=1


ID=potion,damage=16460,NBTTag=(CustomPotionEffects=[(Id=9,Amplifier=0,Duration=600)],display=(Name="$4$lSplash Me"))@luck=1

ID=potion,damage=16459,NBTTag=(CustomPotionEffects=[(Id=17,Amplifier=20,Duration=600)],display=(Name="$2$lSplash Me"))@luck=1


/fork book
group(ID=written_book,NBTTag=(author="Tmtravlr",title="$e$lCaring for your fork",pages=["$l$nCaring for your $l$nfork\n\nA fork is a versatile tool. It's main purpose is farming(???), but in a pinch it makes a handy weapon.\n\nA fork needs proper care and attention to stay in top condition.","To properly care for your fork, you must do the following:\n\n#r#l1.#r Clean your fork daily, or every other day. Or just keep it dirty. It is a farming tool after all.\n\n#l2.#r Avoid hitting creepers with the fork. Explosions knock the head off.","#l3.#r Never break glass with the fork. That's for your sake. Glass shards might cut you. The fork will be okay.\n\n#l4.#r If you are saving up your experience levels to enchant your fork, well, don't. It's not enchantable.","If you follow these simple steps, your fork will remain in good condition."]);ID=iron_hoe,NBTTag=(display=(Name="$rfork"),AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=5,Operation=0,UUIDLeast=1,UUIDMost=1)]))@luck=0


/make it count pickaxe
type=entity,ID=Item,NBTTag=(CustomName="$eMake it Count",CustomNameVisible=true,Item=(Count=1,id=diamond_pickaxe,Damage=1560,tag=(ench=[(id=35,lvl=100)],display=(Name="$e$lMake it Count"),RepairCost=100)))@luck=1


/get some coal pickaxe
type=entity,ID=Item,NBTTag=(CustomName="$eGet some coal",CustomNameVisible=true,Item=(Count=1,id=wooden_pickaxe,Damage=58,tag=(ench=[(id=35,lvl=100)],display=(Name="$e$lGet some coal"),RepairCost=100)))@luck=-1


/========== ATTRIBUTE ITEMS =============


/Telescope
type=entity,ID=Item,NBTTag=(CustomName="Telescope",CustomNameVisible=true,Item=(Count=1,id=stick,tag=(ench=[(id=9,lvl=1)],display=(Name="$f$lTelescope",Lore=["$7Farsight I"]),AttributeModifiers=[(AttributeName=generic.movementSpeed,Name="slow",Amount=-1,Operation=0,UUIDLeast=1,UUIDMost=1)])))@luck=0


/Party Block
type=entity,ID=Item,NBTTag=(CustomName="Party Block",CustomNameVisible=true,Item=(Count=1,id=lucky:lucky_block_party,tag=(display=(Name="$f$lParty Balloon"),ench=#luckySwordEnchantments,AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=12,Operation=0,UUIDLeast=1,UUIDMost=1)])))@luck=2


/Ultra Party Pants
type=entity,ID=Item,NBTTag=(CustomName="$eUltra Party Pants",CustomNameVisible=true,Item=(Count=1,id=diamond_leggings,tag=(Unbreakable=true,ench=#luckyLeggingsEnchantments,display=(Lore=["$7Knockback Resistance V"],Name="$e$Ultra Party Pants"),AttributeModifiers=[(AttributeName=generic.knockbackResistance,Name="resist",Amount=5,Operation=0,UUIDLeast=1,UUIDMost=1)])))@luck=2


/Ultra Party Shoes
type=entity,ID=Item,NBTTag=(CustomName="$eUltra Party Shoes",CustomNameVisible=true,Item=(Count=1,id=diamond_boots,tag=(Unbreakable=true,ench=#luckyBootsEnchantments,display=(Lore=["$7Swiftness V"],Name="$e$lUltra Party Shoes"),AttributeModifiers=[(AttributeName=generic.movementSpeed,Name="fast",Amount=0.4f,Operation=1,UUIDLeast=2,UUIDMost=2)])))@luck=2


/Ultra Party Hat
type=entity,ID=Item,NBTTag=(CustomName="$eUltra Party Hat",CustomNameVisible=true,Item=(Count=1,id=diamond_helmet,tag=(Unbreakable=true,ench=#luckyHelmetEnchantments,display=(Lore=["$7Health Boost V"],Name="$e$lUltra Party Hat"),AttributeModifiers=[(AttributeName=generic.maxHealth,Name="health",Amount=50,Operation=0,UUIDLeast=3,UUIDMost=3)])))@luck=2


/Ultra Party Suit
type=entity,ID=Item,NBTTag=(CustomName="$eUltra Party Suit",CustomNameVisible=true,Item=(Count=1,id=diamond_chestplate,tag=(Unbreakable=true,ench=#luckyChestplateEnchantments,display=(Lore=["$7Strength V"],Name="$e$lUltra Party Suit"),AttributeModifiers=[(AttributeName=generic.attackDamage,Name="strength",Amount=5.3f,Operation=1,UUIDLeast=4,UUIDMost=4)])))@luck=2

/========== PARTY ITEMS	============
/unused enchantments type=entity,ID=Item,NBTTag=(ench=[(id=9,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Farsight I"]),AttributeModifiers=[(AttributeName=generic.movementSpeed,Name="slow",Amount=-1,Operation=0,UUIDLeast=1,UUIDMost=1)])))@luck=0


type=entity,ID=stick,NBTTag=(ench=[(id=10,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID10)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=11,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID11)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=12,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID12)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=13,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID13)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=14,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID14)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=15,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID15)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=22,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID22)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=23,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID23)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=24,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID24)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=25,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID25)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=26,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID26)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=27,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID27)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=28,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID28)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=29,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID29)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=31,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID31)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=36,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID36)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=37,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID37)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=38,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID38)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=39,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID39)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=40,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID40)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=41,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID41)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=42,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID42)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=43,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID43)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=44,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID44)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=45,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID45)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=46,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID46)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=47,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID47)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=52,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID52)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=53,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID53)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=54,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID54)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=55,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID55)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=56,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID56)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=57,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID57)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=58,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID58)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=59,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID59)"])))@luck=0
type=entity,ID=stick,NBTTag=(ench=[(id=60,lvl=1)],display=(Name="Unused enchantments",Lore=["$7Unknown Ench I(ID60)"])))@luck=0
/random jokes
type=command,ID="/say #pName fell out of the world" @luck=-1
type=command,ID="/say #pName was killed by #pName using magic" @luck=-1
type=command,ID="/effect #pName absorptsion 255 10" @luck=1
type=command,ID="/effect #pName health_boost 255 10" @luck=1
type=command,ID="/say Josh7506EI joined the game", color:yellow @luck=0
type=command,ID="/kill #pName" @luck=-1
/========== THE ENTITY UPDATE	============
/buffet group:1:(ID=cake,NBTTag=(display=(Name="$e$2Party Cake",Lore=["Yummy!"]));ID=rotten_flesh,NBTTag=(display=(Lore=["Not so yummy..."]));ID=cooked_porkchop,amount=#rand(8,16);ID=cooked_fish,amount=#rand(8,24);ID=cooked_fish,damage=1,amount=#rand(8,24);ID=cooked_beef,amount=#rand(8,24);ID=cooked_chicken,amount=#rand(8,24);ID=cooked_mutton,amount=#rand(8,24);ID=cooked_rabbit,amount=#rand(8,24);ID=pumpkin,amount=#rand(8,16);ID=carrot,amount=#rand(8,16);ID=golden_carrot,amount=#rand(4,8);ID=potato,amount=#rand(8,16);ID=baked_potato,amount=#rand(4,8);ID=poisonous_potato,amount=#rand(2,4);ID=pumpkin_pie,amount=#rand(6,12))@luck=1

/zombie party type=entity,ID=Zombie,NBTTag=(Equipment=[(id=diamond_sword,Count=1,tag=(ench=#luckySwordEnchantments,display=(Name="$e$lParty Sword"))),(id=leather_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments,display=(Name="$e$lParty Helmet"))))]),amount=30,posOffset=#circleOffset(3)@luck=-1
/skeleton party type=entity,ID=Skeleton,NBTTag=(Equipment=[(id=diamond_sword,Count=1,tag=(ench=#luckySwordEnchantments,display=(Name="$e$lParty Sword"))),(id=leather_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments,display=(Name="$e$lParty Helmet"))))]),amount=30,posOffset=#circleOffset(3)@luck=-1
/creeper party type=entity,ID=Creeper,NBTTag=(Equipment=[(id=diamond_sword,Count=1,tag=(ench=#luckySwordEnchantments,display=(Name="$e$lParty Sword"))),(id=leather_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments,display=(Name="$e$lParty Helmet"))))]),amount=30,posOffset=#circleOffset(3)@luck=-1
/zpigman party type=entity,ID=PigZombie,NBTTag=(Equipment=[(id=diamond_sword,Count=1,tag=(ench=#luckySwordEnchantments,display=(Name="$e$lParty Sword"))),(id=leather_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments,display=(Name="$e$lParty Helmet"))))]),amount=30,posOffset=#circleOffset(3)@luck=-1
/villager party type=entity,ID=Villager,NBTTag=(Display=(CustomName="Party Guests")),amount=30,posOffset=#circleOffset(3)@luck=0
/player party type=command,ID="/tp @a ~ ~ ~";type=command,ID="/title @a title {text:\"Party Time!!\", color:yellow}""@luck=0
/some trolls type=command,ID="/tp @a ~ ~ ~" @luck=-1
type=command,ID="/title @p[name=#pName] title {text:\"Lucky Tower\", color:yellow}"@luck=-1
type=command,ID="/say Well, that block has nothing." @luck=-1
type=command,ID="/say The block is a lie, only diamonds are true." ;type=entity,ID=Item,NBTTag=(CustomName="True Diamond",CustomNameVisible=true,Item=(Count=1,id=diamond))@luck=1
type=command,ID="/say The block is a lie, only emeralds are true." ;type=entity,ID=Item,NBTTag=(CustomName="True Emerald",CustomNameVisible=true,Item=(Count=1,id=emerald))@luck=1
type=entity,ID=Item,NBTTag=(CustomName="This is a beacom from a well",CustomNameVisible=true,Item=(Count=1,id=beacon))@luck=0
type=entity,ID=Item,NBTTag=(CustomName="This is an egg from the hell",CustomNameVisible=true,Item=(Count=1,id=dragon_egg))@luck=1
type=entity,ID=Item,NBTTag=(CustomName="Cook me in a furnace",CustomNameVisible=true,Item=(Count=1,id=sponge,Damage=1))@luck=0
type=entity,ID=Item,NBTTag=(CustomName="A command block",CustomNameVisible=true,Item=(Count=1,id=command_block))@luck=0
type=entity,ID=Item,NBTTag=(CustomName="The Mod Creator's head",CustomNameVisible=true,Item=(Count=1,id=Skull,SkullOwner="Josh7506EI",tag=(ench=#luckyHelmetEnchantments))@luck=0
(type=fill,ID=air,size=(1,51,1);type=entity,ID=FallingSand,NBTTag=(Block=fence),posY=#bPosY+5;type=entity,ID=FallingSand,NBTTag=(Block=carpet),posY=#bPosY+10;type=command,id="Here's a party table for you!")@luck=0
(type=fill,ID=air,size=(20,5,5);type=structure,ID=PartyBow;type=entity,ID=Item,NBTTag=(CustomName="Party Bow",CustomNameVisible=true,Item=(Count=1,id=bow,tag=(ench=[(id=9,lvl=2),(id=51,lvl=5)],display=(Name="Party Bow",Lore="Infinity I","Farsight I")));type=entity,ID=Item,NBTTag=(CustomName="#r How to use your Party Bow",Item=(Count=1,ID=written_book,NBTTag=(author="Josh7506EI",title="$e$lHow to use your Party Bow",pages=["$l$nHow to use your $l$nParty Bow\n\nThe Party Bow is a good bow. It's main purpose is TO SHOOT SOMEONE IN THE FACE.\n\nThe Party Bow needs proper care and attention to stay in top condition.","To properly use your Party Bow, you must do the following:\n\n#r#l1.#r Clean your Party Bow daily, or every other day. \n\n#l2.#r Put your Party Bow in your hotbar slot1 to use.Otherwise will not work.","#l3.#r Do NOT change my name. \n\n#l4.#r If you are saving up your experience levels to enchant your Party Bow, well, don't. It's already enchanted.","If you follow these simple steps, your Party Bow will remain in good condition and useable. \n\n #1 Enjoy playing with your new friend Party Bow who shoots #cFIREBALLS!"]))))@luck=2
