/ Knockback
group(type=effect,ID=special_knockback,range=6,excludePlayer=true,power=1.8,pos=#pPos,delay=0.1;type=particle,ID=explode,size=(1.0,0.3,1.0),particleAmount=500,pos=#pExactPos)@luck=2

/ Nothing
type=nothing@luck=0@chance=2


/ Lucky drop: iron tools
group(ID=iron_shovel;ID=iron_pickaxe;ID=iron_axe;ID=iron_sword;ID=iron_hoe)@luck=2

/ Unlucky drop: explosion
type=explosion,radius=4,fire=true@luck=-2



/ Lucky drop: iron tools
group(ID=iron_shovel;ID=iron_pickaxe;ID=iron_axe;ID=iron_sword;ID=iron_hoe)@luck=2

/ Unlucky drop: explosion
type=explosion,radius=4,fire=true@luck=-2





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

/all wood, stone and gold tools
group(ID=wooden_sword,NBTTag=(display=(Name="$f$lMuddy Sword"));ID=wooden_shovel,NBTTag=(display=(Name="$f$lMuddy Shovel"));ID=wooden_pickaxe,NBTTag=(display=(Name="$f$lMuddy Pick"));ID=wooden_axe,NBTTag=(display=(Name="$f$lMuddy Axe"));ID=wooden_hoe,NBTTag=(display=(Name="$f$lMuddy Scythe"),AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=3,Operation=0,UUIDLeast=1,UUIDMost=1)]))@luck=0
group(ID=stone_sword,NBTTag=(display=(Name="$f$lChipped Sword"));ID=stone_shovel,NBTTag=(display=(Name="$f$lChipped Shovel"));ID=stone_pickaxe,NBTTag=(display=(Name="$f$lChipped Pick"));ID=stone_axe,NBTTag=(display=(Name="$f$lChipped Axe"));ID=stone_hoe,NBTTag=(display=(Name="$f$lChipped Scythe"),AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=4,Operation=0,UUIDLeast=1,UUIDMost=1)]))@luck=0
group(ID=golden_sword,NBTTag=(display=(Name="$f$lShiny Sword"));ID=golden_shovel,NBTTag=(display=(Name="$f$lShiny Shovel"));ID=golden_pickaxe,NBTTag=(display=(Name="$f$lShiny Pick"));ID=golden_axe,NBTTag=(display=(Name="$f$lShiny Axe"));ID=golden_hoe,NBTTag=(display=(Name="$f$lShiny Scythe"),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$lSharpened Shovel"));ID=iron_pickaxe,NBTTag=(display=(Name="$f$lSharpened Pick"));ID=iron_axe,NBTTag=(display=(Name="$f$lSharpened Axe"));ID=iron_sword,NBTTag=(display=(Name="$f$lSharpened Sword"));ID=iron_hoe,NBTTag=(display=(Name="$f$lSharpened Scythe"),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$lFancy Sword"));ID=diamond_shovel,NBTTag=(display=(Name="$f$lFancy Shovel"));ID=diamond_pickaxe,NBTTag=(display=(Name="$f$lFancy Pick"));ID=diamond_axe,NBTTag=(display=(Name="$f$lFancy Axe"));ID=diamond_hoe,NBTTag=(display=(Name="$f$lFancy Scythe"),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$lMuddy Hat"));ID=leather_chestplate,NBTTag=(display=(Name="$f$lMuddy Shirt"));ID=leather_leggings,NBTTag=(display=(Name="$f$lMuddy Pants"));ID=leather_boots,NBTTag=(display=(Name="$f$lMuddy 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$lFancy Hat"));ID=diamond_chestplate,NBTTag=(display=(Name="$f$lFancy Shirt"));ID=diamond_leggings,NBTTag=(display=(Name="$f$lFancy Pants"));ID=diamond_boots,NBTTag=(display=(Name="$f$lFancy 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

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

type=block,ID=red_flower,damage=#rand(0,8),posOffset=#circleOffset(0,5),amount=64,reinitialize=true@luck=0
type=block,ID=standing_banner,damage=#rand(0,15),posOffset=#circleOffset(0,5),amount=6,NBTTag=(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))],Base=#rand(0,15)),reinitialize=true@luck=0

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


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

ID=cake,NBTTag=(display=(Lore=["Yummy!"]))@luck=0
ID=stick,NBTTag=(display=(Name="$f$lBoring Stick"))@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=web,amount=#rand(5,20),NBTTag=(display=(Name="$r$lSticky Situation"))@luck=0

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

/ bookshelves
ID=bookshelf,amount=15@chance=0.3@luck=0
/ golden apples
group(ID=golden_apple,amount=#rand(2,4),NBTTag=(display=(Name="$e$lShiny!"));ID=golden_apple,amount=#rand(1,2),damage=1,NBTTag=(display=(Name="$e$lSuper Shiny!")))@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))@chance=0.6@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)))@chance=0.6@luck=1
/ ender pearls
ID=ender_pearl,amount=16@chance=0.6@luck=2
/ potions
ID=potion,damage=#randPotionDamage,amount=#rand(6,10)@chance=0.5@luck=1
/ spawn eggs
ID=spawn_egg,damage=#randSpawnEggDamage,amount=#rand(4,8)@chance=0.4@luck=1
/ brewing
group(ID=brewing_stand;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)@chance=0.8@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)@chance=0.8@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
/ 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

/lucky resources
group(ID=diamond,amount=#rand(5,20);ID=emerald,amount=#rand(5,20);ID=dye,damage=4,amount=32;ID=redstone,amount=64;ID=iron_ingot,amount=#rand(10,30);ID=gold_ingot,amount=#rand(5,20);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(Tmtravlr,PlayerInDistress,Herobrine,IHasCupquake,redb15,EcuTruin,BigBadChris,boni,Mr_okushama,AlgorithmX2,Mikeemoo,_CrazyP_,MysteriousAges,MineMaarten,nekosune,tlovetech,FireFall1725,PurpleMentat,calclavia,Minalien,fuj1n,Mithion,RWTema,WayofFlowingTime,TTFTCUTS,bskprs,futureamnet,azanor,chicken_bones,Cloudhunter,CovertJaguar,cpw11,dan200,Eloraam,florastar,iChun,KingLemming,Krapht,LexManos,TheMattaBase,mDiyo,Myrathi,Morvelaira,Pahimar,sfPlayer1,ProfMobius,Rorax,Sacheverell,sirsengir,Soaryn,x3n0ph0b3,XCompWiz,Vswe,Vazkii,ZeldoKaviera,neptunepink,EddieRuckus,eyamaz,jadedcat,slowpoke101,progwm16,adlingtont,AnderZEL,Arkas,Aureylian,AvidyaZEN,BdoubleO100,BlameTC,Coestar,Docm77,Etho,generikb,Guude,JSano19,kurtmac,SuperMCGamer,Mhykol,Millbee,Nebris,Pakratt0013,paulsoaresjr,PauseUnpause,Pyro_0,SethBling,thejims,Sevadus,Vechs_,VintageBeef,W92Baj,Zisteau,aidancbrady,spacetoad,FyberOptic,Vexatos,Mineshopper,AUTOMATIC_MAIDEN,sanandreasMC,FatherToast,Erasmus_Crowley,Alblaka,Emoniph,Nuchaz,Kobata,powercrystals,AbrarSyed,sdkillen,Taelnia,Lycanite,asiekierka,GregoriusT,skyboy,Flaxbeard,Emasher,joshiejack,Reika,MatrexsVigil,ganymedes01,Pokefenn,chylex,vadis365,Kihira,jakimfett,Notch,jeb_,C418,Dinnerbone,Grumm,Search_DP,EvilSeph,TheMogMiner,Kyrinon,vasili02,Jeb_Jeb,KingPurpleRaptor,DylanGK,Nerdcubed,Kleetho,DanTDM,Runew0lf,GiantWaffle,Bacon_Donut,Vaygrim,Heph,ChimneySwift,FuriousDestroyer,SuperGirlyGamer,CyaNideEPiC,Jarrenitis,direwolf20,Sjin,Xephos,LividCoffee,Rythian,Zoeya,TheStrippin,InTheLittleWood,Quetzz,Blorph,xbony2,CaptainSparklez,AntVenom,CavemanFilms,Fosler,BevoLJ,Sips_,Honeydew,TobyofBuscus,corjaantje))@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

/scythe book
group(ID=written_book,NBTTag=(author="Tmtravlr",title="$e$lCaring for your Scythe",pages=["$l$nCaring for your $l$nScythe\n\nA scythe is a versatile tool. It's main purpose is farming, but in a pinch it makes a handy weapon.\n\nA scythe needs proper care and attention to stay in top condition.","To properly care for your scythe, you must do the following:\n\n$r$l1.$r Clean your scythe 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 scythe. Explosions knock the head off.","$l3.$r Never break glass with the scythe. That's for your sake. Glass shards might cut you. The scythe will be okay.\n\n$l4.$r If you are saving up your experience levels to enchant your scythe, well, don't. It's not enchantable.","If you follow these simple steps, your scythe will remain in good condition."]);ID=iron_hoe,NBTTag=(display=(Name="$rScythe"),AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=5,Operation=0,UUIDLeast=1,UUIDMost=1)]))@luck=0

/message from future self
group(type=command,ID="/tell #pName #pName, listen to me. I'm the ghost of your future self. You have to stop breaking lucky blocks or you're going to die!",commandSender="Future #pName";ID=skull,NBTTag=(display=(Name="$cSkull of your Future Self")))@luck=-1

/spawners
group:#rand(1,3):(ID=mob_spawner,NBTTag=(BlockEntityTag=(EntityId=Zombie),display=(Name="$rZombie Spawner"));ID=mob_spawner,NBTTag=(BlockEntityTag=(EntityId=Skeleton),display=(Name="$rSkeleton Spawner"));ID=mob_spawner,NBTTag=(BlockEntityTag=(EntityId=Spider),display=(Name="$rSpider Spawner"));ID=mob_spawner,NBTTag=(BlockEntityTag=(EntityId=Creeper),display=(Name="$rCreeper Spawner"));ID=mob_spawner,NBTTag=(BlockEntityTag=(EntityId=Enderman),display=(Name="$rEnderman Spawner"));ID=mob_spawner,NBTTag=(BlockEntityTag=(EntityId=Endermite),display=(Name="$rEndermite Spawner"));ID=mob_spawner,NBTTag=(BlockEntityTag=(EntityId=Silverfish),display=(Name="$rSilverfish Spawner"));ID=mob_spawner,NBTTag=(BlockEntityTag=(EntityId=Witch),display=(Name="$rWitch Spawner"));ID=mob_spawner,NBTTag=(BlockEntityTag=(EntityId=Slime),display=(Name="$rSlime Spawner"));ID=mob_spawner,NBTTag=(BlockEntityTag=(EntityId=CaveSpider),display=(Name="$rCave Spider Spawner"));ID=mob_spawner,NBTTag=(BlockEntityTag=(EntityId=Guardian),display=(Name="$rGuardian Spawner"));ID=mob_spawner,NBTTag=(BlockEntityTag=(EntityId=PigZombie),display=(Name="$rZombie Pigman Spawner"));ID=mob_spawner,NBTTag=(BlockEntityTag=(EntityId=Blaze),display=(Name="$rBlaze Spawner"));ID=mob_spawner,NBTTag=(BlockEntityTag=(EntityId=LavaSlime),display=(Name="$rMagma Cube Spawner"));ID=mob_spawner,NBTTag=(BlockEntityTag=(EntityId=Ghast),display=(Name="$rGhast Spawner"));ID=mob_spawner,NBTTag=(BlockEntityTag=(EntityId=Pig),display=(Name="$rPig Spawner"));ID=mob_spawner,NBTTag=(BlockEntityTag=(EntityId=Sheep),display=(Name="$rSheep Spawner"));ID=mob_spawner,NBTTag=(BlockEntityTag=(EntityId=Cow),display=(Name="$rCow Spawner"));ID=mob_spawner,NBTTag=(BlockEntityTag=(EntityId=Rabbit),display=(Name="$rRabbit Spawner"));ID=mob_spawner,NBTTag=(BlockEntityTag=(EntityId=Wolf),display=(Name="$rWolf Spawner"));ID=mob_spawner,NBTTag=(BlockEntityTag=(EntityId=Ozelot),display=(Name="$rOcelot Spawner"));ID=mob_spawner,NBTTag=(BlockEntityTag=(EntityId=MushroomCow),display=(Name="$rMooshroom Spawner"));ID=mob_spawner,NBTTag=(BlockEntityTag=(EntityId=Squid),display=(Name="$rSquid Spawner"));ID=mob_spawner,NBTTag=(BlockEntityTag=(EntityId=EntityHorse),display=(Name="$rHorse Spawner"));ID=mob_spawner,NBTTag=(BlockEntityTag=(EntityId=Bat),display=(Name="$rBat Spawner")))@chance=0.5@luck=2

/ ========== 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@chance=0.5@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)@chance=0.5@luck=1

/ 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

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

/ 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=32,NBTTag=(OwnerName="Bomber Bat",Potion=(id=potion,Damage=#randPotionDamage),Riding=(id=Bat,Silent=true,ActiveEffects=[(Id=20,Amplifier=#rand(0,2),Duration=1000,ShowParticles=false)])))@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

/ 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=Giant,NBTTag=(Equipment=[(id=none),(id=rotten_flesh,Count=#rand(16,32)),(id=rotten_flesh,Count=#rand(16,32)),(id=rotten_flesh,Count=#rand(16,32)),(id=rotten_flesh,Count=#rand(16,32))],DropChances=[0f,2f,2f,2f,2f]))@luck=0
/ghast
group(type=difficulty,ID=hard;type=entity,ID=Ghast,NBTTag=(CustomName="$f$lMarshmallow"))@chance=0.2@luck=-2

/~~ bosses ~~

/bob
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 Muddy Sword"))),(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

/ghostly horseman
group(type=difficulty,ID=hard;type=command,ID="/gamerule commandBlockOutput false";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

/astral creepers
type=entity,ID=Snowball,amount=8,posOffset=#circleOffset(2,3),posY=#bPosY+#rand(10,50),reinitialize=true,NBTTag=(CustomName="$e$lAstral 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$lAstral Dust")))],DropChances=[2f]))@luck=-1

/grim
group(type=difficulty,ID=hard;type=command,ID="/gamerule commandBlockOutput false";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 Scythe 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

/mother of bob
group(type=difficulty,ID=hard;type=command,ID="/gamerule commandBlockOutput false";type=entity,ID=Giant,NBTTag=(Attributes=[(Name=generic.maxHealth,Base=1000f)],Equipment=[(id=rotten_flesh,Count=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$lThe Mother of Bob")))@chance=0.2@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$lEvil #pName's Stained Boots"))),(id=leather_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments,display=(color=#rand(0,16777215),Name="$7$lEvil #pName's Stained Chestplate"))),(id=leather_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments,display=(color=#rand(0,16777215),Name="$7$lEvil #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$lEvil #pName's Lucky Boots"))),(id=diamond_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments,display=(Name="$e$lEvil #pName's Lucky Chestplate"))),(id=diamond_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments,display=(Name="$e$lEvil #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(1,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

/tiny terrors
group(type=difficulty,ID=hard;type=command,ID="/gamerule commandBlockOutput false";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")))@chance=0.4@luck=-2

/azkor the questionable
group(type=difficulty,ID=hard;type=command,ID="/gamerule commandBlockOutput false";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.chirp @a ~ ~ ~ 2.0 2.0";type=entity,ID=Snowball,NBTTag=(CustomName="$e$lAzkor the Questionable",CustomNameVisible=true,Riding=(id=Skeleton,CustomName="$e$lAzkor the Questionable",SkeletonType=1,Attributes=[(Name=generic.maxHealth,Base=500f)],Equipment=[(id=blaze_rod,Count=1,tag=(display=(Name="$e$lAzkor's Fiery Whacking Stick"),ench=[(id=17,lvl=5),(id=19,lvl=5),(id=20,lvl=5)],AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=12,Operation=0,UUIDLeast=1,UUIDMost=1)])),(id=leather_boots,Count=1,Damage=0,tag=(Unbreakable=true,display=(color=#rand(0,16777215),Name="$e$lAzkor's Boots"),ench=[(id=7,lvl=10)])),(id=leather_leggings,Count=1,Damage=0,tag=(Unbreakable=true,display=(color=#rand(0,16777215),Name="$e$lAzkor's Pants"),ench=[(id=7,lvl=10)])),(id=leather_chestplate,Count=1,Damage=0,tag=(Unbreakable=true,display=(color=#rand(0,16777215),Name="$e$lAzkor's Chestplate"),ench=[(id=7,lvl=10)])),(id="lucky:lucky_block_spiral",Count=#rand(2,3),tag=(display=(Name="$e$lAzkor's Personal Lucky Block"),Luck=100))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,2f])))@chance=0.3@luck=-2

/master of the spiral
group(type=difficulty,ID=hard;type=entity,ID=PigZombie,NBTTag=(Attributes=[(Name=generic.maxHealth,Base=100f)],CustomName="$e$lMaster of the Spiral",Equipment=[(Count=1,id=lucky:lucky_block_spiral,tag=(Luck=100,display=(Name="$f$lSpiral Sword"),ench=#luckySwordEnchantments,AttributeModifiers=[(AttributeName=generic.attackDamage,Name=damage,Amount=10,Operation=0,UUIDLeast=1,UUIDMost=1)])),(Count=1,id=diamond_boots,tag=(Unbreakable=true,ench=#luckyBootsEnchantments,display=(Lore=["$7Swiftness II"],Name="$e$lSpeedy Spiral Lucky Boots"),AttributeModifiers=[(AttributeName=generic.movementSpeed,Name="fast",Amount=0.4f,Operation=1,UUIDLeast=2,UUIDMost=2)])),(Count=1,id=diamond_leggings,tag=(Unbreakable=true,ench=#luckyLeggingsEnchantments,display=(Lore=["$7Knockback Resistance I"],Name="$e$lRiveting Spiral Lucky Leggings"),AttributeModifiers=[(AttributeName=generic.knockbackResistance,Name="resist",Amount=1,Operation=0,UUIDLeast=1,UUIDMost=1)])),(Count=1,id=diamond_chestplate,tag=(Unbreakable=true,ench=#luckyChestplateEnchantments,display=(Lore=["$7Strength I"],Name="$e$lStrengthening Spiral Lucky Chestplate"),AttributeModifiers=[(AttributeName=generic.attackDamage,Name="strength",Amount=1.3f,Operation=1,UUIDLeast=4,UUIDMost=4)])),(Count=1,id=diamond_helmet,tag=(Unbreakable=true,ench=#luckyHelmetEnchantments,display=(Lore=["$7Health Boost II"],Name="$e$lFortifying Spiral Lucky Helmet"),AttributeModifiers=[(AttributeName=generic.maxHealth,Name="health",Amount=8,Operation=0,UUIDLeast=3,UUIDMost=3)]))],DropChances=[#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f]))@chance=0.3@luck=-1

/~~ 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(8,12)),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=5),(buy=(id=diamond,Count=#rand(8,12)),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=5)]),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 Scythe"),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_spiral,Count=1,tag=(display=(Name="$f$lSpiral Sword"),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$lRiveting Spiral Lucky Leggings"),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_spiral,Count=1,tag=(display=(Name="$f$lSpiral Sword"),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$lSpeedy Spiral Lucky Boots"),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_spiral,Count=1,tag=(display=(Name="$f$lSpiral Sword"),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$lFortifying Spiral Lucky Helmet"),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_spiral,Count=1,tag=(display=(Name="$f$lSpiral Sword"),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$lStrengthening Spiral Lucky Chestplate"),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$lMuddy Sword"))),maxUses=1),(buy=(id=coal,Count=#rand(15,20)),sell=(id=bow,Count=1,tag=(display=(Name="$e$lMuddy Bow"))),maxUses=1),(buy=(id=coal,Count=#rand(10,15)),sell=(id=fishing_rod,Count=1,tag=(display=(Name="$e$lMuddy 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$lMuddy Shovel"))),maxUses=1),(buy=(id=coal,Count=#rand(30,40)),sell=(id=wooden_pickaxe,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$e$lMuddy Pickaxe"))),maxUses=1),(buy=(id=coal,Count=#rand(30,40)),sell=(id=wooden_axe,Count=1,tag=(ench=#luckyAxeEnchantments,display=(Name="$e$lMuddy Axe"))),maxUses=1),(buy=(id=coal,Count=#rand(20,30)),sell=(id=wooden_hoe,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$e$lMuddy Scythe"),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$lSuper Mystery Potion",Lore=["$7Is it lucky? Or is it not?"]))),maxUses=1),(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potion,Damage=16384,Count=1,tag=(HideFlags=32,CustomPotionEffects=#unluckyPotionEffects,display=(Name="$e$lSuper Mystery Potion",Lore=["$7Is it lucky? Or is it not?"]))),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$lSuper Mystery Potion",Lore=["$7Is it lucky? Or is it not?"]))),maxUses=1),(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potion,Damage=16384,Count=1,tag=(HideFlags=32,CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lSuper Mystery Potion",Lore=["$7Is it lucky? Or is it not?"]))),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$lSuper Mystery Potion",Lore=["$7Is it lucky? Or is it not?"]))),maxUses=1),(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potion,Damage=16384,Count=1,tag=(HideFlags=32,CustomPotionEffects=#unluckyPotionEffects,display=(Name="$e$lSuper Mystery Potion",Lore=["$7Is it lucky? Or is it not?"]))),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$lSuper Mystery Potion",Lore=["$7Is it lucky? Or is it not?"]))),maxUses=1),(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potion,Damage=16384,Count=1,tag=(HideFlags=32,CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lSuper Mystery Potion",Lore=["$7Is it lucky? Or is it not?"]))),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(Smith,Tom,Timmy,Greg,Sam,Steven) 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

/pixies
type=entity,ID=XPOrb,NBTTag=(CustomName="$#randList(6,9,a,b,c,d,e)$lPixie",CustomNameVisible=true,Value=#randList(5,20),Riding=(id=Bat,Silent=true,ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)])),amount=#rand(10,20),posOffset=#circleOffset(2,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,CustomName="jeb_"))@luck=0

/~~ completely random stuff ~~

/unbalanced slime stack
type=entity,ID=Slime,NBTTag=(CustomName="$a$lSlime Stack",Size=7,Riding=(id=Slime,CustomName="$a$lSlime Stack",Size=6,Riding=(id=Slime,CustomName="$a$lSlime Stack",Size=5,Riding=(id=Slime,CustomName="$a$lSlime Stack",Size=4,Riding=(id=Slime,CustomName="$a$lSlime Stack",Size=3,Riding=(id=Slime,CustomName="$a$lSlime Stack",Size=2,Riding=(id=Slime,CustomName="$a$lSlime Stack",Size=1,Riding=(id=Slime,CustomName="$a$lSlime Stack",Size=0))))))))@luck=-1

/unbalanced magma stack
type=entity,ID=LavaSlime,NBTTag=(Size=7,CustomName="$6$lMagma Stack",Riding=(id=LavaSlime,CustomName="$6$lMagma Stack",Size=6,Riding=(id=LavaSlime,CustomName="$6$lMagma Stack",Size=5,Riding=(id=LavaSlime,CustomName="$6$lMagma Stack",Size=4,Riding=(id=LavaSlime,CustomName="$6$lMagma Stack",Size=3,Riding=(id=LavaSlime,CustomName="$6$lMagma Stack",Size=2,Riding=(id=LavaSlime,CustomName="$6$lMagma Stack",Size=1,Riding=(id=LavaSlime,CustomName="$6$lMagma Stack",Size=0))))))))@luck=-2

/mini ghast
group(type=entity,ID=Skeleton,NBTTag=(SkeletonType=1,Silent=true,CustomName="MiniGhast",ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)],Equipment=[(id=bow),(id=ghast_tear,Count=1,tag=(display=(Name="$rMini Ghast Tear"))),(id=none),(id=none),(id=skull,Count=1,Damage=3,tag=(display=(Name="$rMini Ghast's Head"),SkullOwner=MHF_Ghast))],DropChances=[0f,#randList(0,2)f,0f,0f,#randList(0,2)f],Riding=(id=Bat,Silent=true,ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)]));type=command,ID="/gamerule commandBlockOutput false";type=command,ID="/execute @e[name=MiniGhast] ~ ~ ~ playsound mob.ghast.moan @a ~ ~ ~ 1.0 2.0";type=command,ID="/execute @e[name=MiniGhast] ~ ~ ~ playsound mob.ghast.moan @a ~ ~ ~ 1.0 2.0",delay=15;type=command,ID="/execute @e[name=MiniGhast] ~ ~ ~ playsound mob.ghast.moan @a ~ ~ ~ 1.0 2.0",delay=30;type=command,ID="/execute @e[name=MiniGhast] ~ ~ ~ playsound mob.ghast.moan @a ~ ~ ~ 1.0 2.0",delay=45;type=command,ID="/execute @e[name=MiniGhast] ~ ~ ~ playsound mob.ghast.moan @a ~ ~ ~ 1.0 2.0",delay=60;type=command,ID="/execute @e[name=MiniGhast] ~ ~ ~ playsound mob.ghast.moan @a ~ ~ ~ 1.0 2.0",delay=75;type=command,ID="/execute @e[name=MiniGhast] ~ ~ ~ playsound mob.ghast.moan @a ~ ~ ~ 1.0 2.0",delay=90)@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,Equipment=[(id=cake,Count=1)],DropChances=[0f,2f,0f,0f,0f]))@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=4,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

/random thrown potions
type=entity,ID=ThrownPotion,NBTTag=(Potion=(id=potion,Damage=#randPotionDamage)),amount=#rand(10,20)@luck=0

/Shooting Star
group(type=fill,ID=air,size=(1,64,1);type=entity,ID=Item,posOffsetY=64,NBTTag=(CustomName="Shooting Star",CustomNameVisible=true,Item=(id=nether_star,Count=1),Riding=(id=Creeper,Silent=true,CustomName="Shooting Star",ignited=1,Fuse=47,ExplosionRadius=2,ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)]));type=sound,ID=fireworks.launch,posOffsetY=64,volume=2.0,pitch=0.8)@luck=2

/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

/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]))


/ =========== MONSTER APOCALYPSE ==========
/ sword, difficulty, time, potion effects
group(ID=wooden_sword,NBTTag=(display=(Name="$f$lMuddy Sword"));type=difficulty,ID=hard;type=time,ID=18750;type=effect,ID=slowness,duration=30,amplifier=4;type=effect,ID=blindness,duration=30; \
/ zombies, creepers, spiders & cave spiders, silverfish & endermites, guardians, 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


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

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

/ 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

/spiral towers
group(type=command,ID="/gamerule commandBlockOutput false";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=command,ID="/setblock ~1 ~-1 ~1 barrier";type=command,ID="/setblock ~2 ~ ~ barrier";type=command,ID="/setblock ~2 ~1 ~-1 barrier";type=command,ID="/setblock ~1 ~2 ~-2 barrier";type=command,ID="/setblock ~ ~3 ~-2 barrier";type=command,ID="/setblock ~-1 ~4 ~-1 barrier";type=command,ID="/setblock ~-1 ~5 ~ barrier";type=command,ID="/setblock ~ ~6 ~1 barrier";type=command,ID="/setblock ~1 ~7 ~ barrier";type=command,ID="/setblock ~ ~8 ~-1 barrier";type=entity,ID=FallingSand,NBTTag=(Block=stained_hardened_clay,Data=14),posOffset=(1,5,1);type=entity,ID=FallingSand,NBTTag=(Block=stained_hardened_clay,Data=1),posOffset=(2,10,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_hardened_clay,Data=4),posOffset=(2,15,-1);type=entity,ID=FallingSand,NBTTag=(Block=stained_hardened_clay,Data=5),posOffset=(1,20,-2);type=entity,ID=FallingSand,NBTTag=(Block=stained_hardened_clay,Data=9),posOffset=(0,25,-2);type=entity,ID=FallingSand,NBTTag=(Block=stained_hardened_clay,Data=3),posOffset=(-1,30,-1);type=entity,ID=FallingSand,NBTTag=(Block=stained_hardened_clay,Data=11),posOffset=(-1,35,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_hardened_clay,Data=10),posOffset=(0,40,1);type=entity,ID=FallingSand,NBTTag=(Block=stained_hardened_clay,Data=2),posOffset=(1,45,0);type=entity,ID=FallingSand,NBTTag=(Block=diamond_block),posOffset=(0,50,-1);type=entity,ID=LightningBolt,posOffset=(0,10,-1),delay=5.5)@luck=1
group(type=command,ID="/gamerule commandBlockOutput false";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=command,ID="/setblock ~1 ~-1 ~1 barrier";type=command,ID="/setblock ~2 ~ ~ barrier";type=command,ID="/setblock ~2 ~1 ~-1 barrier";type=command,ID="/setblock ~1 ~2 ~-2 barrier";type=command,ID="/setblock ~ ~3 ~-2 barrier";type=command,ID="/setblock ~-1 ~4 ~-1 barrier";type=command,ID="/setblock ~-1 ~5 ~ barrier";type=command,ID="/setblock ~ ~6 ~1 barrier";type=command,ID="/setblock ~1 ~7 ~ barrier";type=command,ID="/setblock ~ ~8 ~-1 barrier";type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=14),posOffset=(1,5,1);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=1),posOffset=(2,10,0);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=4),posOffset=(2,15,-1);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=5),posOffset=(1,20,-2);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=9),posOffset=(0,25,-2);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=3),posOffset=(-1,30,-1);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=11),posOffset=(-1,35,0);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=10),posOffset=(0,40,1);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=2),posOffset=(1,45,0);type=entity,ID=FallingSand,NBTTag=(Block=gold_block),posOffset=(0,50,-1);type=particle,ID=flame,size=(1,2,1),particleAmount=500,posOffset=(0,10,-1),delay=5.5;type=sound,ID=item.fireCharge.use,posOffset=(0,10,-1),delay=5.5)@luck=1
group(type=command,ID="/gamerule commandBlockOutput false";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=command,ID="/setblock ~1 ~-1 ~1 barrier";type=command,ID="/setblock ~2 ~ ~ barrier";type=command,ID="/setblock ~2 ~1 ~-1 barrier";type=command,ID="/setblock ~1 ~2 ~-2 barrier";type=command,ID="/setblock ~ ~3 ~-2 barrier";type=command,ID="/setblock ~-1 ~4 ~-1 barrier";type=command,ID="/setblock ~-1 ~5 ~ barrier";type=command,ID="/setblock ~ ~6 ~1 barrier";type=command,ID="/setblock ~1 ~7 ~ barrier";type=command,ID="/setblock ~ ~8 ~-1 barrier";type=entity,ID=FallingSand,NBTTag=(Block=stained_glass,Data=14),posOffset=(1,5,1);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass,Data=1),posOffset=(2,10,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass,Data=4),posOffset=(2,15,-1);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass,Data=5),posOffset=(1,20,-2);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass,Data=9),posOffset=(0,25,-2);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass,Data=3),posOffset=(-1,30,-1);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass,Data=11),posOffset=(-1,35,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass,Data=10),posOffset=(0,40,1);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass,Data=2),posOffset=(1,45,0);type=entity,ID=FallingSand,NBTTag=(Block=emerald_block),posOffset=(0,50,-1);type=particle,ID=happyVillager,size=(1,2,1),particleAmount=500,posOffset=(0,10,-1),delay=5.5;type=sound,ID=dig.grass,posOffset=(0,10,-1),delay=5.5)@luck=1
group(type=command,ID="/gamerule commandBlockOutput false";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=command,ID="/setblock ~1 ~-1 ~1 barrier";type=command,ID="/setblock ~2 ~ ~ barrier";type=command,ID="/setblock ~2 ~1 ~-1 barrier";type=command,ID="/setblock ~1 ~2 ~-2 barrier";type=command,ID="/setblock ~ ~3 ~-2 barrier";type=command,ID="/setblock ~-1 ~4 ~-1 barrier";type=command,ID="/setblock ~-1 ~5 ~ barrier";type=command,ID="/setblock ~ ~6 ~1 barrier";type=command,ID="/setblock ~1 ~7 ~ barrier";type=command,ID="/setblock ~ ~8 ~-1 barrier";type=entity,ID=FallingSand,NBTTag=(Block=stained_glass_pane,Data=14),posOffset=(1,5,1);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass_pane,Data=1),posOffset=(2,10,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass_pane,Data=4),posOffset=(2,15,-1);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass_pane,Data=5),posOffset=(1,20,-2);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass_pane,Data=9),posOffset=(0,25,-2);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass_pane,Data=3),posOffset=(-1,30,-1);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass_pane,Data=11),posOffset=(-1,35,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass_pane,Data=10),posOffset=(0,40,1);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass_pane,Data=2),posOffset=(1,45,0);type=entity,ID=FallingSand,NBTTag=(Block=lapis_block),posOffset=(0,50,-1);type=particle,ID=splash,size=(1,2,1),particleAmount=1000,posOffset=(0,10,-1),delay=5.5;type=sound,ID=game.neutral.swim.splash,posOffset=(0,10,-1),delay=5.5)@luck=1
group(type=command,ID="/gamerule commandBlockOutput false";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=command,ID="/setblock ~1 ~-1 ~1 barrier";type=command,ID="/setblock ~2 ~ ~ barrier";type=command,ID="/setblock ~2 ~1 ~-1 barrier";type=command,ID="/setblock ~1 ~2 ~-2 barrier";type=command,ID="/setblock ~ ~3 ~-2 barrier";type=command,ID="/setblock ~-1 ~4 ~-1 barrier";type=command,ID="/setblock ~-1 ~5 ~ barrier";type=command,ID="/setblock ~ ~6 ~1 barrier";type=command,ID="/setblock ~1 ~7 ~ barrier";type=command,ID="/setblock ~ ~8 ~-1 barrier";type=entity,ID=FallingSand,NBTTag=(Block=redstone_ore),posOffset=(1,5,1);type=entity,ID=FallingSand,NBTTag=(Block=iron_ore),posOffset=(2,10,0);type=entity,ID=FallingSand,NBTTag=(Block=gold_ore),posOffset=(2,15,-1);type=entity,ID=FallingSand,NBTTag=(Block=emerald_ore),posOffset=(1,20,-2);type=entity,ID=FallingSand,NBTTag=(Block=diamond_ore),posOffset=(0,25,-2);type=entity,ID=FallingSand,NBTTag=(Block=diamond_ore),posOffset=(-1,30,-1);type=entity,ID=FallingSand,NBTTag=(Block=lapis_ore),posOffset=(-1,35,0);type=entity,ID=FallingSand,NBTTag=(Block=coal_ore),posOffset=(0,40,1);type=entity,ID=FallingSand,NBTTag=(Block=quartz_ore),posOffset=(1,45,0);type=entity,ID=FallingSand,NBTTag=(Block=iron_block),posOffset=(0,50,-1);type=particle,ID=largesmoke,size=(1,2,1),particleAmount=500,posOffset=(0,10,-1),delay=5.5;type=sound,ID=random.fizz,posOffset=(0,10,-1),delay=5.5)@luck=1
group(type=command,ID="/gamerule commandBlockOutput false";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=command,ID="/setblock ~1 ~-1 ~1 barrier";type=command,ID="/setblock ~2 ~ ~ barrier";type=command,ID="/setblock ~2 ~1 ~-1 barrier";type=command,ID="/setblock ~1 ~2 ~-2 barrier";type=command,ID="/setblock ~ ~3 ~-2 barrier";type=command,ID="/setblock ~-1 ~4 ~-1 barrier";type=command,ID="/setblock ~-1 ~5 ~ barrier";type=command,ID="/setblock ~ ~6 ~1 barrier";type=command,ID="/setblock ~1 ~7 ~ barrier";type=command,ID="/setblock ~ ~8 ~-1 barrier";type=entity,ID=FallingSand,NBTTag=(Block=redstone_block),posOffset=(1,5,1);type=particle,ID=reddust,size=(1,2,1),particleAmount=500,posOffset=(1,1,1),delay=0.5;type=entity,ID=FallingSand,NBTTag=(Block=glowstone),posOffset=(2,10,0);type=particle,ID=2002,damage=3,posOffset=(2,2,0),delay=1;type=entity,ID=FallingSand,NBTTag=(Block=gold_block),posOffset=(2,15,-1);type=particle,ID=flame,size=(1,2,1),particleAmount=500,delay=1.5,posOffset=(2,3,-1);type=entity,ID=FallingSand,NBTTag=(Block=emerald_block),posOffset=(1,20,-2);type=particle,ID=happyVillager,size=(1,2,1),particleAmount=500,posOffset=(1,4,-2),delay=2;type=entity,ID=FallingSand,NBTTag=(Block=diamond_block),posOffset=(0,25,-2);type=entity,ID=LightningBolt,posOffset=(0,5,-2),delay=2.5;type=entity,ID=FallingSand,NBTTag=(Block=packed_ice),posOffset=(-1,30,-1);type=entity,ID=FallingSand,NBTTag=(Block=lapis_block),posOffset=(-1,35,0);type=particle,ID=splash,size=(1,2,1),particleAmount=1000,posOffset=(-1,7,0),delay=3.5;type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=10),posOffset=(0,40,1);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=2),posOffset=(1,45,0);type=entity,ID=FallingSand,NBTTag=(Block=lucky:lucky_block_spiral,TileEntityData=(Luck=100)),posOffset=(0,50,-1);type=particle,ID=portal,size=(1,2,1),particleAmount=500,posOffset=(0,10,-1),delay=5.5;type=sound,ID=portal.travel,posOffset=(0,10,-1),delay=5.5)@chance=0.5@luck=2

/ cake spiral
group(type=entity,ID=FallingSand,NBTTag=(Block=cake);type=entity,ID=FallingSand,NBTTag=(Block=cake),posOffset=(0,5,-1);type=entity,ID=FallingSand,NBTTag=(Block=cake),posOffset=(-1,10,-1);type=entity,ID=FallingSand,NBTTag=(Block=cake),posOffset=(-1,15,0);type=entity,ID=FallingSand,NBTTag=(Block=cake),posOffset=(-1,20,1);type=entity,ID=FallingSand,NBTTag=(Block=cake),posOffset=(0,25,1);type=entity,ID=FallingSand,NBTTag=(Block=cake),posOffset=(1,30,1);type=entity,ID=FallingSand,NBTTag=(Block=cake),posOffset=(1,35,0);type=entity,ID=FallingSand,NBTTag=(Block=cake),posOffset=(1,40,-1);type=entity,ID=FallingSand,NBTTag=(Block=cake),posOffset=(1,50,-2);type=entity,ID=FallingSand,NBTTag=(Block=cake),posOffset=(0,55,-2);type=entity,ID=FallingSand,NBTTag=(Block=cake),posOffset=(-1,60,-2);type=entity,ID=FallingSand,NBTTag=(Block=cake),posOffset=(-2,65,-2);type=entity,ID=FallingSand,NBTTag=(Block=cake),posOffset=(-2,70,-1);type=entity,ID=FallingSand,NBTTag=(Block=cake),posOffset=(-2,75,0);type=entity,ID=FallingSand,NBTTag=(Block=cake),posOffset=(-2,80,1);type=entity,ID=FallingSand,NBTTag=(Block=cake),posOffset=(-2,85,2);type=entity,ID=FallingSand,NBTTag=(Block=cake),posOffset=(-1,90,2);type=entity,ID=FallingSand,NBTTag=(Block=cake),posOffset=(0,95,2);type=entity,ID=FallingSand,NBTTag=(Block=cake),posOffset=(1,100,2);type=entity,ID=FallingSand,NBTTag=(Block=cake),posOffset=(2,105,2);type=entity,ID=FallingSand,NBTTag=(Block=cake),posOffset=(2,110,1);type=entity,ID=FallingSand,NBTTag=(Block=cake),posOffset=(2,115,0);type=entity,ID=FallingSand,NBTTag=(Block=cake),posOffset=(2,120,-1);type=entity,ID=FallingSand,NBTTag=(Block=cake),posOffset=(2,125,-2))@luck=0

/ lava spiral
group(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

/ lucky (or perhaps unlucky?) block spiral
group(type=command,ID="/gamerule commandBlockOutput false";type=command,ID="/fill ~-1 ~ ~-1 ~1 ~48 ~1 air";type=command,ID="/fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 redstone_block";type=entity,ID=FallingSand,NBTTag=(Block="lucky:lucky_block_spiral");type=entity,ID=FallingSand,NBTTag=(Block="lucky:lucky_block_spiral"),posOffset=(0,5,-1);type=entity,ID=FallingSand,NBTTag=(Block="lucky:lucky_block_spiral"),posOffset=(-1,10,-1);type=entity,ID=FallingSand,NBTTag=(Block="lucky:lucky_block_spiral"),posOffset=(-1,15,0);type=entity,ID=FallingSand,NBTTag=(Block="lucky:lucky_block_spiral"),posOffset=(-1,20,1);type=entity,ID=FallingSand,NBTTag=(Block="lucky:lucky_block_spiral"),posOffset=(0,25,1);type=entity,ID=FallingSand,NBTTag=(Block="lucky:lucky_block_spiral"),posOffset=(1,30,1);type=entity,ID=FallingSand,NBTTag=(Block="lucky:lucky_block_spiral"),posOffset=(1,35,0);type=entity,ID=FallingSand,NBTTag=(Block="lucky:lucky_block_spiral"),posOffset=(1,40,-1))@luck=0

/ dragon egg shrine
group(type=command,ID="/gamerule commandBlockOutput false";type=command,ID="/fill ~-2 ~ ~-2 ~2 ~132 ~2 air";type=command,ID="/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 cobblestone";type=sound,ID=mob.enderdragon.growl,delay=11;type=block,ID=stone_button,damage=1,posOffset=(1,1,0),delay=10;type=block,ID=stone_button,damage=2,posOffset=(-1,1,0),delay=10;type=block,ID=stone_button,damage=3,posOffset=(0,1,1),delay=10;type=block,ID=stone_button,damage=4,posOffset=(0,1,-1),delay=10;type=entity,ID=FallingSand,NBTTag=(Block=sticky_piston,Data=1),posOffset=(0,130,0);type=entity,ID=FallingSand,NBTTag=(Block=netherrack),posOffset=(0,131,0);type=entity,ID=FallingSand,NBTTag=(Block=dragon_egg),posOffset=(0,132,0);type=entity,ID=FallingSand,NBTTag=(Block=nether_brick_stairs,Data=3),posOffset=(0,5,-1);type=entity,ID=FallingSand,NBTTag=(Block=nether_brick_stairs,Data=3),posOffset=(-1,10,-1);type=entity,ID=FallingSand,NBTTag=(Block=nether_brick_stairs,Data=1),posOffset=(-1,15,0);type=entity,ID=FallingSand,NBTTag=(Block=nether_brick_stairs,Data=1),posOffset=(-1,20,1);type=entity,ID=FallingSand,NBTTag=(Block=nether_brick_stairs,Data=2),posOffset=(0,25,1);type=entity,ID=FallingSand,NBTTag=(Block=nether_brick_stairs,Data=2),posOffset=(1,30,1);type=entity,ID=FallingSand,NBTTag=(Block=nether_brick_stairs,Data=0),posOffset=(1,35,0);type=entity,ID=FallingSand,NBTTag=(Block=nether_brick_stairs,Data=0),posOffset=(1,40,-1);type=entity,ID=FallingSand,NBTTag=(Block=nether_brick_stairs,Data=2),posOffset=(1,50,-2);type=entity,ID=FallingSand,NBTTag=(Block=nether_brick_stairs,Data=2),posOffset=(0,55,-2);type=entity,ID=FallingSand,NBTTag=(Block=nether_brick_stairs,Data=2),posOffset=(-1,60,-2);type=entity,ID=FallingSand,NBTTag=(Block=nether_brick),posOffset=(-2,65,-2);type=entity,ID=FallingSand,NBTTag=(Block=nether_brick),posOffset=(-2,66,-2);type=entity,ID=FallingSand,NBTTag=(Block=netherrack),posOffset=(-2,67,-2);type=entity,ID=FallingSand,NBTTag=(Block=fire),posOffset=(-2,68,-2);type=entity,ID=FallingSand,NBTTag=(Block=nether_brick_stairs,Data=0),posOffset=(-2,70,-1);type=entity,ID=FallingSand,NBTTag=(Block=nether_brick_stairs,Data=0),posOffset=(-2,75,0);type=entity,ID=FallingSand,NBTTag=(Block=nether_brick_stairs,Data=0),posOffset=(-2,80,1);type=entity,ID=FallingSand,NBTTag=(Block=nether_brick),posOffset=(-2,85,2);type=entity,ID=FallingSand,NBTTag=(Block=nether_brick),posOffset=(-2,86,2);type=entity,ID=FallingSand,NBTTag=(Block=netherrack),posOffset=(-2,87,2);type=entity,ID=FallingSand,NBTTag=(Block=fire),posOffset=(-2,88,2);type=entity,ID=FallingSand,NBTTag=(Block=nether_brick_stairs,Data=3),posOffset=(-1,90,2);type=entity,ID=FallingSand,NBTTag=(Block=nether_brick_stairs,Data=3),posOffset=(0,95,2);type=entity,ID=FallingSand,NBTTag=(Block=nether_brick_stairs,Data=3),posOffset=(1,100,2);type=entity,ID=FallingSand,NBTTag=(Block=nether_brick),posOffset=(2,105,2);type=entity,ID=FallingSand,NBTTag=(Block=nether_brick),posOffset=(2,106,2);type=entity,ID=FallingSand,NBTTag=(Block=netherrack),posOffset=(2,107,2);type=entity,ID=FallingSand,NBTTag=(Block=fire),posOffset=(2,108,2);type=entity,ID=FallingSand,NBTTag=(Block=nether_brick_stairs,Data=1),posOffset=(2,110,1);type=entity,ID=FallingSand,NBTTag=(Block=nether_brick_stairs,Data=1),posOffset=(2,115,0);type=entity,ID=FallingSand,NBTTag=(Block=nether_brick_stairs,Data=1),posOffset=(2,120,-1);type=entity,ID=FallingSand,NBTTag=(Block=nether_brick),posOffset=(2,125,-2);type=entity,ID=FallingSand,NBTTag=(Block=nether_brick),posOffset=(2,126,-2);type=entity,ID=FallingSand,NBTTag=(Block=netherrack),posOffset=(2,127,-2);type=entity,ID=FallingSand,NBTTag=(Block=fire),posOffset=(2,128,-2))@luck=1

/ chests

/ bonus
group(type=command,ID="/gamerule commandBlockOutput false";type=command,ID="/fill ~-2 ~ ~-2 ~2 ~132 ~2 air";type=command,ID="/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 cobblestone";type=entity,ID=FallingSand,NBTTag=(Block=planks,Data=2),posOffset=(0,130,0);type=entity,ID=FallingSand,NBTTag=(Block=log),posOffset=(0,131,0);type=entity,ID=FallingSand,NBTTag=(Block=chest,TileEntityData=(Items=#chestBonusChest)),posOffset=(0,132,0);type=entity,ID=FallingSand,NBTTag=(Block=planks,Data=2),posOffset=(0,5,-1);type=entity,ID=FallingSand,NBTTag=(Block=planks,Data=2),posOffset=(-1,10,-1);type=entity,ID=FallingSand,NBTTag=(Block=planks,Data=2),posOffset=(-1,15,0);type=entity,ID=FallingSand,NBTTag=(Block=planks,Data=2),posOffset=(-1,20,1);type=entity,ID=FallingSand,NBTTag=(Block=planks,Data=2),posOffset=(0,25,1);type=entity,ID=FallingSand,NBTTag=(Block=planks,Data=2),posOffset=(1,30,1);type=entity,ID=FallingSand,NBTTag=(Block=planks,Data=2),posOffset=(1,35,0);type=entity,ID=FallingSand,NBTTag=(Block=planks,Data=2),posOffset=(1,40,-1);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab),posOffset=(1,50,-2);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab),posOffset=(0,55,-2);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab),posOffset=(-1,60,-2);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab),posOffset=(-2,65,-2);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab),posOffset=(-2,70,-1);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab),posOffset=(-2,75,0);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab),posOffset=(-2,80,1);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab),posOffset=(-2,85,2);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab),posOffset=(-1,90,2);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab),posOffset=(0,95,2);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab),posOffset=(1,100,2);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab),posOffset=(2,105,2);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab),posOffset=(2,110,1);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab),posOffset=(2,115,0);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab),posOffset=(2,120,-1);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab),posOffset=(2,125,-2))@luck=0
/ village
group(type=command,ID="/gamerule commandBlockOutput false";type=command,ID="/fill ~-2 ~ ~-2 ~2 ~132 ~2 air";type=command,ID="/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 cobblestone";type=sound,ID=mob.villager.yes,delay=11;type=particle,ID=happyVillager,size=(1,2,1),particleAmount=200,delay=11;type=entity,ID=FallingSand,NBTTag=(Block=brick_block),posOffset=(0,130,0);type=entity,ID=FallingSand,NBTTag=(Block=stone,Data=6),posOffset=(0,131,0);type=entity,ID=FallingSand,NBTTag=(Block=chest,TileEntityData=(Items=#chestVillageBlacksmith)),posOffset=(0,132,0);type=entity,ID=FallingSand,NBTTag=(Block=brick_block),posOffset=(0,5,-1);type=entity,ID=FallingSand,NBTTag=(Block=brick_block),posOffset=(-1,10,-1);type=entity,ID=FallingSand,NBTTag=(Block=brick_block),posOffset=(-1,15,0);type=entity,ID=FallingSand,NBTTag=(Block=brick_block),posOffset=(-1,20,1);type=entity,ID=FallingSand,NBTTag=(Block=brick_block),posOffset=(0,25,1);type=entity,ID=FallingSand,NBTTag=(Block=brick_block),posOffset=(1,30,1);type=entity,ID=FallingSand,NBTTag=(Block=brick_block),posOffset=(1,35,0);type=entity,ID=FallingSand,NBTTag=(Block=brick_block),posOffset=(1,40,-1);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab,Data=1),posOffset=(1,50,-2);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab,Data=1),posOffset=(0,55,-2);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab,Data=1),posOffset=(-1,60,-2);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab,Data=1),posOffset=(-2,65,-2);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab,Data=1),posOffset=(-2,70,-1);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab,Data=1),posOffset=(-2,75,0);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab,Data=1),posOffset=(-2,80,1);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab,Data=1),posOffset=(-2,85,2);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab,Data=1),posOffset=(-1,90,2);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab,Data=1),posOffset=(0,95,2);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab,Data=1),posOffset=(1,100,2);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab,Data=1),posOffset=(2,105,2);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab,Data=1),posOffset=(2,110,1);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab,Data=1),posOffset=(2,115,0);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab,Data=1),posOffset=(2,120,-1);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab,Data=1),posOffset=(2,125,-2))@luck=1
/ dungeon
group(type=command,ID="/gamerule commandBlockOutput false";type=command,ID="/fill ~-2 ~ ~-2 ~2 ~132 ~2 air";type=command,ID="/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 cobblestone";type=sound,ID=mob.zombie.unfect,delay=11;type=entity,ID=FallingSand,NBTTag=(Block=mossy_cobblestone),posOffset=(0,130,0);type=entity,ID=FallingSand,NBTTag=(Block=mob_spawner,TileEntityData=(EntityId=Zombie)),posOffset=(0,131,0);type=entity,ID=FallingSand,NBTTag=(Block=chest,TileEntityData=(Items=#chestDungeonChest)),posOffset=(0,132,0);type=entity,ID=FallingSand,NBTTag=(Block=mossy_cobblestone),posOffset=(0,5,-1);type=entity,ID=FallingSand,NBTTag=(Block=mossy_cobblestone),posOffset=(-1,10,-1);type=entity,ID=FallingSand,NBTTag=(Block=mossy_cobblestone),posOffset=(-1,15,0);type=entity,ID=FallingSand,NBTTag=(Block=mossy_cobblestone),posOffset=(-1,20,1);type=entity,ID=FallingSand,NBTTag=(Block=mossy_cobblestone),posOffset=(0,25,1);type=entity,ID=FallingSand,NBTTag=(Block=mossy_cobblestone),posOffset=(1,30,1);type=entity,ID=FallingSand,NBTTag=(Block=mossy_cobblestone),posOffset=(1,35,0);type=entity,ID=FallingSand,NBTTag=(Block=mossy_cobblestone),posOffset=(1,40,-1);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=3),posOffset=(1,50,-2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=3),posOffset=(0,55,-2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=3),posOffset=(-1,60,-2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=3),posOffset=(-2,65,-2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=3),posOffset=(-2,70,-1);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=3),posOffset=(-2,75,0);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=3),posOffset=(-2,80,1);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=3),posOffset=(-2,85,2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=3),posOffset=(-1,90,2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=3),posOffset=(0,95,2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=3),posOffset=(1,100,2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=3),posOffset=(2,105,2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=3),posOffset=(2,110,1);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=3),posOffset=(2,115,0);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=3),posOffset=(2,120,-1);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=3),posOffset=(2,125,-2))@luck=1
/ awesome stuff
group(type=command,ID="/gamerule commandBlockOutput false";type=command,ID="/fill ~-2 ~ ~-2 ~2 ~132 ~2 air";type=command,ID="/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 cobblestone";type=entity,ID=LightningBolt,delay=11;type=entity,ID=FallingSand,NBTTag=(Block=sandstone,Data=1),posOffset=(0,130,0);type=entity,ID=FallingSand,NBTTag=(Block=obsidian),posOffset=(0,131,0);type=entity,ID=FallingSand,NBTTag=(Block=chest,TileEntityData=(Items=#chest(contents=[(id=dropper,maxAmount=8,weight=10),(id=iron_ingot,maxAmount=8,weight=10),(id=gold_ingot,maxAmount=10,weight=10),(id=lucky:lucky_block_spiral,maxAmount=5,weight=10),(id=lucky:lucky_block,maxAmount=5,weight=5),(id=golden_apple,maxAmount=5,weight=10),(id=golden_apple,Damage=1,maxAmount=2,weight=8)],maxTotalAmount=8))),posOffset=(0,132,0);type=entity,ID=FallingSand,NBTTag=(Block=sandstone,Data=1),posOffset=(0,5,-1);type=entity,ID=FallingSand,NBTTag=(Block=sandstone,Data=1),posOffset=(-1,10,-1);type=entity,ID=FallingSand,NBTTag=(Block=sandstone,Data=1),posOffset=(-1,15,0);type=entity,ID=FallingSand,NBTTag=(Block=sandstone,Data=1),posOffset=(-1,20,1);type=entity,ID=FallingSand,NBTTag=(Block=sandstone,Data=1),posOffset=(0,25,1);type=entity,ID=FallingSand,NBTTag=(Block=sandstone,Data=1),posOffset=(1,30,1);type=entity,ID=FallingSand,NBTTag=(Block=sandstone,Data=1),posOffset=(1,35,0);type=entity,ID=FallingSand,NBTTag=(Block=sandstone,Data=1),posOffset=(1,40,-1);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=1),posOffset=(1,50,-2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=1),posOffset=(0,55,-2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=1),posOffset=(-1,60,-2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=1),posOffset=(-2,65,-2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=1),posOffset=(-2,70,-1);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=1),posOffset=(-2,75,0);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=1),posOffset=(-2,80,1);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=1),posOffset=(-2,85,2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=1),posOffset=(-1,90,2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=1),posOffset=(0,95,2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=1),posOffset=(1,100,2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=1),posOffset=(2,105,2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=1),posOffset=(2,110,1);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=1),posOffset=(2,115,0);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=1),posOffset=(2,120,-1);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=1),posOffset=(2,125,-2))@luck=2
/ crafting ingredients
group(type=command,ID="/gamerule commandBlockOutput false";type=command,ID="/fill ~-2 ~ ~-2 ~2 ~132 ~2 air";type=command,ID="/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 cobblestone";type=entity,ID=LightningBolt,delay=11;type=entity,ID=FallingSand,NBTTag=(Block=quartz_block,Data=1),posOffset=(0,130,0);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,132,0);type=entity,ID=FallingSand,NBTTag=(Block=quartz_block,Data=1),posOffset=(0,5,-1);type=entity,ID=FallingSand,NBTTag=(Block=quartz_block,Data=1),posOffset=(-1,10,-1);type=entity,ID=FallingSand,NBTTag=(Block=quartz_block,Data=1),posOffset=(-1,15,0);type=entity,ID=FallingSand,NBTTag=(Block=quartz_block,Data=1),posOffset=(-1,20,1);type=entity,ID=FallingSand,NBTTag=(Block=quartz_block,Data=1),posOffset=(0,25,1);type=entity,ID=FallingSand,NBTTag=(Block=quartz_block,Data=1),posOffset=(1,30,1);type=entity,ID=FallingSand,NBTTag=(Block=quartz_block,Data=1),posOffset=(1,35,0);type=entity,ID=FallingSand,NBTTag=(Block=quartz_block,Data=1),posOffset=(1,40,-1);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=7),posOffset=(1,50,-2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=7),posOffset=(0,55,-2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=7),posOffset=(-1,60,-2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=7),posOffset=(-2,65,-2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=7),posOffset=(-2,70,-1);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=7),posOffset=(-2,75,0);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=7),posOffset=(-2,80,1);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=7),posOffset=(-2,85,2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=7),posOffset=(-1,90,2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=7),posOffset=(0,95,2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=7),posOffset=(1,100,2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=7),posOffset=(2,105,2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=7),posOffset=(2,110,1);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=7),posOffset=(2,115,0);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=7),posOffset=(2,120,-1);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=7),posOffset=(2,125,-2))@chance=0.5@luck=2
/ food
group(type=command,ID="/gamerule commandBlockOutput false";type=command,ID="/fill ~-2 ~ ~-2 ~2 ~132 ~2 air";type=command,ID="/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 cobblestone";type=entity,ID=FallingSand,NBTTag=(Block=pumpkin),posOffset=(0,130,0);type=entity,ID=FallingSand,NBTTag=(Block=melon_block),posOffset=(0,131,0);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,132,0);type=entity,ID=FallingSand,NBTTag=(Block=pumpkin),posOffset=(0,5,-1);type=entity,ID=FallingSand,NBTTag=(Block=pumpkin),posOffset=(-1,10,-1);type=entity,ID=FallingSand,NBTTag=(Block=pumpkin),posOffset=(-1,15,0);type=entity,ID=FallingSand,NBTTag=(Block=pumpkin),posOffset=(-1,20,1);type=entity,ID=FallingSand,NBTTag=(Block=pumpkin),posOffset=(0,25,1);type=entity,ID=FallingSand,NBTTag=(Block=pumpkin),posOffset=(1,30,1);type=entity,ID=FallingSand,NBTTag=(Block=pumpkin),posOffset=(1,35,0);type=entity,ID=FallingSand,NBTTag=(Block=pumpkin),posOffset=(1,40,-1);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab,Data=5),posOffset=(1,50,-2);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab,Data=5),posOffset=(0,55,-2);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab,Data=5),posOffset=(-1,60,-2);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab,Data=5),posOffset=(-2,65,-2);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab,Data=5),posOffset=(-2,70,-1);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab,Data=5),posOffset=(-2,75,0);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab,Data=5),posOffset=(-2,80,1);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab,Data=5),posOffset=(-2,85,2);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab,Data=5),posOffset=(-1,90,2);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab,Data=5),posOffset=(0,95,2);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab,Data=5),posOffset=(1,100,2);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab,Data=5),posOffset=(2,105,2);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab,Data=5),posOffset=(2,110,1);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab,Data=5),posOffset=(2,115,0);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab,Data=5),posOffset=(2,120,-1);type=entity,ID=FallingSand,NBTTag=(Block=wooden_slab,Data=5),posOffset=(2,125,-2))@luck=1
/ rare items
group(type=command,ID="/gamerule commandBlockOutput false";type=command,ID="/fill ~-2 ~ ~-2 ~2 ~132 ~2 air";type=command,ID="/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 cobblestone";type=sound,ID=mob.zombie.remedy,delay=11;type=entity,ID=FallingSand,NBTTag=(Block=glowstone),posOffset=(0,130,0);type=entity,ID=FallingSand,NBTTag=(Block=bookshelf),posOffset=(0,131,0);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,132,0);type=entity,ID=FallingSand,NBTTag=(Block=glowstone),posOffset=(0,5,-1);type=entity,ID=FallingSand,NBTTag=(Block=glowstone),posOffset=(-1,10,-1);type=entity,ID=FallingSand,NBTTag=(Block=glowstone),posOffset=(-1,15,0);type=entity,ID=FallingSand,NBTTag=(Block=glowstone),posOffset=(-1,20,1);type=entity,ID=FallingSand,NBTTag=(Block=glowstone),posOffset=(0,25,1);type=entity,ID=FallingSand,NBTTag=(Block=glowstone),posOffset=(1,30,1);type=entity,ID=FallingSand,NBTTag=(Block=glowstone),posOffset=(1,35,0);type=entity,ID=FallingSand,NBTTag=(Block=glowstone),posOffset=(1,40,-1);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=6),posOffset=(1,50,-2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=6),posOffset=(0,55,-2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=6),posOffset=(-1,60,-2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=6),posOffset=(-2,65,-2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=6),posOffset=(-2,70,-1);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=6),posOffset=(-2,75,0);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=6),posOffset=(-2,80,1);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=6),posOffset=(-2,85,2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=6),posOffset=(-1,90,2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=6),posOffset=(0,95,2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=6),posOffset=(1,100,2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=6),posOffset=(2,105,2);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=6),posOffset=(2,110,1);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=6),posOffset=(2,115,0);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=6),posOffset=(2,120,-1);type=entity,ID=FallingSand,NBTTag=(Block=stone_slab,Data=6),posOffset=(2,125,-2))@luck=2

/ potion beacons

/ good
group(type=command,ID="/gamerule commandBlockOutput false";type=command,ID="/fill ~-1 ~ ~-1 ~1 ~67 ~1 air";type=command,ID="/fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 cobblestone";type=entity,ID=FallingSand,NBTTag=(Block=iron_block);type=entity,ID=FallingSand,NBTTag=(Block=iron_block),posOffset=(0,5,-1);type=entity,ID=FallingSand,NBTTag=(Block=iron_block),posOffset=(-1,10,-1);type=entity,ID=FallingSand,NBTTag=(Block=iron_block),posOffset=(-1,15,0);type=entity,ID=FallingSand,NBTTag=(Block=iron_block),posOffset=(-1,20,1);type=entity,ID=FallingSand,NBTTag=(Block=iron_block),posOffset=(0,25,1);type=entity,ID=FallingSand,NBTTag=(Block=iron_block),posOffset=(1,30,1);type=entity,ID=FallingSand,NBTTag=(Block=iron_block),posOffset=(1,35,0);type=entity,ID=FallingSand,NBTTag=(Block=iron_block),posOffset=(1,40,-1);group:1:(group(type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=1),posOffset=(1,45,0);type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=1),posOffset=(0,50,-1);type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=1),posOffset=(-1,55,0);type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=1),posOffset=(0,60,1);type=entity,ID=FallingSand,NBTTag=(Block=beacon,TileEntityData=(Primary=12)),posOffset=(0,65,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass,Data=1),posOffset=(0,66,0));group(type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=11),posOffset=(1,45,0);type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=11),posOffset=(0,50,-1);type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=11),posOffset=(-1,55,0);type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=11),posOffset=(0,60,1);type=entity,ID=FallingSand,NBTTag=(Block=beacon,TileEntityData=(Primary=14)),posOffset=(0,65,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass,Data=11),posOffset=(0,66,0));group(type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=6),posOffset=(1,45,0);type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=6),posOffset=(0,50,-1);type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=6),posOffset=(-1,55,0);type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=6),posOffset=(0,60,1);type=entity,ID=FallingSand,NBTTag=(Block=beacon,TileEntityData=(Primary=10)),posOffset=(0,65,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass,Data=6),posOffset=(0,66,0));group(type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=4),posOffset=(1,45,0);type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=4),posOffset=(0,50,-1);type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=4),posOffset=(-1,55,0);type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=4),posOffset=(0,60,1);type=entity,ID=FallingSand,NBTTag=(Block=beacon,TileEntityData=(Primary=21)),posOffset=(0,65,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass,Data=4),posOffset=(0,66,0));group(type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=14),posOffset=(1,45,0);type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=14),posOffset=(0,50,-1);type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=14),posOffset=(-1,55,0);type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=14),posOffset=(0,60,1);type=entity,ID=FallingSand,NBTTag=(Block=beacon,TileEntityData=(Primary=5)),posOffset=(0,65,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass,Data=14),posOffset=(0,66,0))))@chance=0.5@luck=2
/ bad
group(type=command,ID="/gamerule commandBlockOutput false";type=command,ID="/fill ~-1 ~ ~-1 ~1 ~67 ~1 air";type=command,ID="/fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 cobblestone";type=entity,ID=FallingSand,NBTTag=(Block=iron_block);type=entity,ID=FallingSand,NBTTag=(Block=iron_block),posOffset=(0,5,-1);type=entity,ID=FallingSand,NBTTag=(Block=iron_block),posOffset=(-1,10,-1);type=entity,ID=FallingSand,NBTTag=(Block=iron_block),posOffset=(-1,15,0);type=entity,ID=FallingSand,NBTTag=(Block=iron_block),posOffset=(-1,20,1);type=entity,ID=FallingSand,NBTTag=(Block=iron_block),posOffset=(0,25,1);type=entity,ID=FallingSand,NBTTag=(Block=iron_block),posOffset=(1,30,1);type=entity,ID=FallingSand,NBTTag=(Block=iron_block),posOffset=(1,35,0);type=entity,ID=FallingSand,NBTTag=(Block=iron_block),posOffset=(1,40,-1);group:1:(group(type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=13),posOffset=(1,45,0);type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=13),posOffset=(0,50,-1);type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=13),posOffset=(-1,55,0);type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=13),posOffset=(0,60,1);type=entity,ID=FallingSand,NBTTag=(Block=beacon,TileEntityData=(Primary=19)),posOffset=(0,65,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass,Data=13),posOffset=(0,66,0));group(type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=12),posOffset=(1,45,0);type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=12),posOffset=(0,50,-1);type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=12),posOffset=(-1,55,0);type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=12),posOffset=(0,60,1);type=entity,ID=FallingSand,NBTTag=(Block=beacon,TileEntityData=(Primary=4)),posOffset=(0,65,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass,Data=12),posOffset=(0,66,0));group(type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=15),posOffset=(1,45,0);type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=15),posOffset=(0,50,-1);type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=15),posOffset=(-1,55,0);type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=15),posOffset=(0,60,1);type=entity,ID=FallingSand,NBTTag=(Block=beacon,TileEntityData=(Primary=15)),posOffset=(0,65,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass,Data=15),posOffset=(0,66,0));group(type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=5),posOffset=(1,45,0);type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=5),posOffset=(0,50,-1);type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=5),posOffset=(-1,55,0);type=entity,ID=FallingSand,NBTTag=(Block=carpet,Data=5),posOffset=(0,60,1);type=entity,ID=FallingSand,NBTTag=(Block=beacon,TileEntityData=(Primary=9)),posOffset=(0,65,0);type=entity,ID=FallingSand,NBTTag=(Block=stained_glass,Data=5),posOffset=(0,66,0))))@chance=0.5@luck=1

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

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

/ wishing wells
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="/gamerule commandBlockOutput false";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_spiral,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="A wishing well? Maybe you should throw in a coin...";type=command,ID="/gamerule commandBlockOutput false";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_spiral,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

/ bouncy castle
group(type=command,ID="/gamerule commandBlockOutput false";type=command,ID="/playsound mob.slime.big #pName ~ ~ ~ 1.0 0.6";type=structure,ID=bouncing_castle,pos=#pPos,rotation=#pDirect)

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

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

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

/ lucky forts and temples
type=structure,ID=spiral_neutral_fort,pos=#pPos@luck=1
type=structure,ID=spiral_lucky_fort,pos=#pPos@chance=0.5@luck=2
type=structure,ID=spiral_unlucky_fort,pos=#pPos@luck=-1
type=structure,ID=spiral_neutral_temple,pos=#pPos@chance=0.6@luck=1
type=structure,ID=spiral_lucky_temple,pos=#pPos@chance=0.4@luck=2
type=structure,ID=spiral_unlucky_temple,pos=#pPos@luck=-1

/ other wishing wells
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="/gamerule commandBlockOutput false";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_spiral,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="A wishing well? Maybe you should throw in a coin...";type=command,ID="/gamerule commandBlockOutput false";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_spiral,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="A wishing well? Maybe you should throw in a coin...";type=command,ID="/gamerule commandBlockOutput false";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_spiral,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$6Your lava wish came true! Why would you wish for lava anyway?\";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="A wishing well? Maybe you should throw in a coin...";type=command,ID="/gamerule commandBlockOutput false";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_spiral,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$lYou have wished upon a shooting star!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=fill,posOffsetY=7,ID=air,size=(1,64,1);type=entity,ID=Item,posOffsetY=71,NBTTag=(CustomName=\"Shooting Star\",CustomNameVisible=true,Item=(id=nether_star,Count=1),Riding=(id=Creeper,Silent=true,CustomName=\"Shooting Star\",ignited=1,Fuse=47,ExplosionRadius=2,ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)]));type=sound,ID=fireworks.launch,posOffsetY=71,volume=2.0,pitch=0.8)"]))@luck=2
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="/gamerule commandBlockOutput false";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_spiral,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$dYour decoration wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;group(ID=wool,damage='#'rand(0,15),posOffset='#'circleOffset(3),posOffsetY=5,amount=16;ID=stained_hardened_clay,damage='#'rand(0,15),posOffset='#'circleOffset(3),posOffsetY=5,amount=16;ID=dye,posOffset='#'circleOffset(3),posOffsetY=5,damage='#'rand(0,15),amount=16;ID=stained_glass,posOffset='#'circleOffset(3),posOffsetY=5,damage='#'rand(0,15),amount=16;ID=stained_glass_pane,damage='#'rand(0,15),posOffset='#'circleOffset(3),posOffsetY=5,amount=16;ID=carpet,damage='#'rand(0,15),posOffset='#'circleOffset(3),posOffsetY=5,amount=16;ID=banner,damage=#rand(0,15),posOffset='#'circleOffset(3),posOffsetY=5,amount=16,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;type=particle,ID=2002,damage='#'randPotionParticle,amount=10))"]))@luck=-1

/snowy wonderland
group(type=command,ID="/gamerule commandBlockOutput false";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

/nether intrusion
group(type=command,ID="/gamerule commandBlockOutput false";type=command,ID="fill ~-5 ~-5 ~-5 ~5 ~5 ~5 fire 0 replace tallgrass";type=command,ID="fill ~-5 ~-5 ~-5 ~5 ~5 ~5 fire 0 replace yellow_flower";type=command,ID="fill ~-5 ~-5 ~-5 ~5 ~5 ~5 fire 0 replace double_plant";type=command,ID="fill ~-5 ~-5 ~-5 ~5 ~5 ~5 fire 0 replace red_flower";type=command,ID="/fill ~-5 ~-5 ~-5 ~5 ~5 ~5 barrier 0 replace water";type=command,ID="/fill ~-6 ~-5 ~-4 ~6 ~5 ~4 barrier 0 replace water";type=command,ID="/fill ~-4 ~-5 ~-6 ~4 ~5 ~6 barrier 0 replace water";type=command,ID="/fill ~-7 ~-5 ~-2 ~7 ~5 ~2 barrier 0 replace water";type=command,ID="/fill ~-2 ~-5 ~-7 ~2 ~5 ~7 barrier 0 replace water";type=command,ID="/fill ~-5 ~-5 ~-5 ~5 ~5 ~5 barrier 0 replace flowing_water";type=command,ID="/fill ~-6 ~-5 ~-4 ~6 ~5 ~4 barrier 0 replace flowing_water";type=command,ID="/fill ~-4 ~-5 ~-6 ~4 ~5 ~6 barrier 0 replace flowing_water";type=command,ID="/fill ~-7 ~-5 ~-2 ~7 ~5 ~2 barrier 0 replace flowing_water";type=command,ID="/fill ~-2 ~-5 ~-7 ~2 ~5 ~7 barrier 0 replace flowing_water";type=command,ID="fill ~-5 ~-5 ~-5 ~5 ~5 ~5 netherrack 0 replace grass";type=command,ID="fill ~-6 ~-5 ~-4 ~6 ~5 ~4 netherrack 0 replace grass";type=command,ID="fill ~-4 ~-5 ~-6 ~4 ~5 ~6 netherrack 0 replace grass";type=command,ID="fill ~-7 ~-5 ~-2 ~7 ~5 ~2 netherrack 0 replace grass";type=command,ID="fill ~-2 ~-5 ~-7 ~2 ~5 ~7 netherrack 0 replace grass";type=command,ID="fill ~-5 ~-5 ~-5 ~5 ~5 ~5 soul_sand 0 replace sand";type=command,ID="fill ~-6 ~-5 ~-4 ~6 ~5 ~4 soul_sand 0 replace sand";type=command,ID="fill ~-4 ~-5 ~-6 ~4 ~5 ~6 soul_sand 0 replace sand";type=command,ID="fill ~-7 ~-5 ~-2 ~7 ~5 ~2 soul_sand 0 replace sand";type=command,ID="fill ~-2 ~-5 ~-7 ~2 ~5 ~7 soul_sand 0 replace sand";type=command,ID="fill ~-5 ~-5 ~-5 ~5 ~5 ~5 netherrack 0 replace dirt";type=command,ID="fill ~-6 ~-5 ~-4 ~6 ~5 ~4 netherrack 0 replace dirt";type=command,ID="fill ~-4 ~-5 ~-6 ~4 ~5 ~6 netherrack 0 replace dirt";type=command,ID="fill ~-7 ~-5 ~-2 ~7 ~5 ~2 netherrack 0 replace dirt";type=command,ID="fill ~-2 ~-5 ~-7 ~2 ~5 ~7 netherrack 0 replace dirt";type=command,ID="fill ~-5 ~-5 ~-5 ~5 ~5 ~5 netherrack 0 replace stone";type=command,ID="fill ~-6 ~-5 ~-4 ~6 ~5 ~4 netherrack 0 replace stone";type=command,ID="fill ~-4 ~-5 ~-6 ~4 ~5 ~6 netherrack 0 replace stone";type=command,ID="fill ~-7 ~-5 ~-2 ~7 ~5 ~2 netherrack 0 replace stone";type=command,ID="fill ~-2 ~-5 ~-7 ~2 ~5 ~7 netherrack 0 replace stone";type=command,ID="fill ~-7 ~-5 ~-7 ~7 ~5 ~7 lava 0 replace barrier";type=entity,ID=PigZombie,amount=8,posOffset=#circleOffset(0,4),reinitialize=true)@luck=-1

/end intrusion
group(type=command,ID="/gamerule commandBlockOutput false";type=command,ID="fill ~-5 ~-5 ~-5 ~5 ~10 ~5 air 0 replace tallgrass";type=command,ID="fill ~-5 ~-5 ~-5 ~5 ~10 ~5 air 0 replace yellow_flower";type=command,ID="fill ~-5 ~-5 ~-5 ~5 ~10 ~5 air 0 replace double_plant";type=command,ID="fill ~-5 ~-5 ~-5 ~5 ~10 ~5 air 0 replace red_flower";type=command,ID="/fill ~-5 ~-5 ~-5 ~5 ~10 ~5 air 0 replace leaves";type=command,ID="/fill ~-5 ~-5 ~-5 ~5 ~10 ~5 obsidian 0 replace log";type=command,ID="/fill ~-5 ~-5 ~-5 ~5 ~10 ~5 air 0 replace leaves2";type=command,ID="/fill ~-5 ~-5 ~-5 ~5 ~10 ~5 obsidian 0 replace log2";type=command,ID="/fill ~-5 ~-5 ~-5 ~5 ~10 ~5 obsidian 0 replace cactus";type=command,ID="/fill ~-5 ~-5 ~-5 ~5 ~10 ~5 obsidian 0 replace water";type=command,ID="/fill ~-6 ~-5 ~-4 ~6 ~10 ~4 obsidian 0 replace water";type=command,ID="/fill ~-4 ~-5 ~-6 ~4 ~10 ~6 obsidian 0 replace water";type=command,ID="/fill ~-7 ~-5 ~-2 ~7 ~10 ~2 obsidian 0 replace water";type=command,ID="/fill ~-2 ~-5 ~-7 ~2 ~10 ~7 obsidian 0 replace water";type=command,ID="/fill ~-5 ~-5 ~-5 ~5 ~10 ~5 obsidian 0 replace flowing_water";type=command,ID="/fill ~-6 ~-5 ~-4 ~6 ~10 ~4 obsidian 0 replace flowing_water";type=command,ID="/fill ~-4 ~-5 ~-6 ~4 ~10 ~6 obsidian 0 replace flowing_water";type=command,ID="/fill ~-7 ~-5 ~-2 ~7 ~10 ~2 obsidian 0 replace flowing_water";type=command,ID="/fill ~-2 ~-5 ~-7 ~2 ~10 ~7 obsidian 0 replace flowing_water";type=command,ID="fill ~-5 ~-5 ~-5 ~5 ~10 ~5 end_stone 0 replace grass";type=command,ID="fill ~-6 ~-5 ~-4 ~6 ~10 ~4 end_stone 0 replace grass";type=command,ID="fill ~-4 ~-5 ~-6 ~4 ~10 ~6 end_stone 0 replace grass";type=command,ID="fill ~-7 ~-5 ~-2 ~7 ~10 ~2 end_stone 0 replace grass";type=command,ID="fill ~-2 ~-5 ~-7 ~2 ~10 ~7 end_stone 0 replace grass";type=command,ID="fill ~-5 ~-5 ~-5 ~5 ~10 ~5 end_stone 0 replace sand";type=command,ID="fill ~-6 ~-5 ~-4 ~6 ~10 ~4 end_stone 0 replace sand";type=command,ID="fill ~-4 ~-5 ~-6 ~4 ~10 ~6 end_stone 0 replace sand";type=command,ID="fill ~-7 ~-5 ~-2 ~7 ~10 ~2 end_stone 0 replace sand";type=command,ID="fill ~-2 ~-5 ~-7 ~2 ~10 ~7 end_stone 0 replace sand";type=command,ID="fill ~-5 ~-5 ~-5 ~5 ~10 ~5 end_stone 0 replace dirt";type=command,ID="fill ~-6 ~-5 ~-4 ~6 ~10 ~4 end_stone 0 replace dirt";type=command,ID="fill ~-4 ~-5 ~-6 ~4 ~10 ~6 end_stone 0 replace dirt";type=command,ID="fill ~-7 ~-5 ~-2 ~7 ~10 ~2 end_stone 0 replace dirt";type=command,ID="fill ~-2 ~-5 ~-7 ~2 ~10 ~7 end_stone 0 replace dirt";type=command,ID="fill ~-5 ~-5 ~-5 ~5 ~10 ~5 end_stone 0 replace stone";type=command,ID="fill ~-6 ~-5 ~-4 ~6 ~10 ~4 end_stone 0 replace stone";type=command,ID="fill ~-4 ~-5 ~-6 ~4 ~10 ~6 end_stone 0 replace stone";type=command,ID="fill ~-7 ~-5 ~-2 ~7 ~10 ~2 end_stone 0 replace stone";type=command,ID="fill ~-2 ~-5 ~-7 ~2 ~10 ~7 end_stone 0 replace stone";type=command,ID="fill ~-5 ~-5 ~-5 ~5 ~10 ~5 end_stone 0 replace gravel";type=command,ID="fill ~-6 ~-5 ~-4 ~6 ~10 ~4 end_stone 0 replace gravel";type=command,ID="fill ~-4 ~-5 ~-6 ~4 ~10 ~6 end_stone 0 replace gravel";type=command,ID="fill ~-7 ~-5 ~-2 ~7 ~10 ~2 end_stone 0 replace gravel";type=command,ID="fill ~-2 ~-5 ~-7 ~2 ~10 ~7 end_stone 0 replace gravel";type=entity,ID=Enderman,amount=8,posOffset=#circleOffset(0,4),reinitialize=true)@luck=-1

/ice jar
group(type=command,ID="/gamerule commandBlockOutput false";type=command,ID="/execute @p ~ ~ ~ fill ~-2 ~-1 ~-1 ~-2 ~2 ~1 glass";type=command,ID="/execute @p ~ ~ ~ fill ~2 ~-1 ~-1 ~2 ~2 ~1 glass";type=command,ID="/execute @p ~ ~ ~ fill ~-1 ~-1 ~-2 ~1 ~2 ~-2 glass";type=command,ID="/execute @p ~ ~ ~ fill ~-1 ~-1 ~2 ~1 ~2 ~2 glass";type=command,ID="/execute @p ~ ~ ~ fill ~-1 ~3 ~-1 ~1 ~3 ~1 glass";type=command,ID="/execute @p ~ ~ ~ setblock ~ ~3 ~ air";type=command,ID="/execute @p ~ ~ ~ fill ~-1 ~-1 ~-1 ~1 ~2 ~1 ice";type=command,ID="/execute @p ~ ~ ~ fill ~ ~ ~ ~ ~1 ~ air";type=command,ID="/execute @p ~ ~ ~ setblock ~ ~4 ~ planks";type=command,ID="/execute @p ~ ~ ~ fill ~-1 ~4 ~ ~-1 ~4 ~1 oak_stairs 4";type=command,ID="/execute @p ~ ~ ~ fill ~1 ~4 ~ ~1 ~4 ~-1 oak_stairs 5";type=command,ID="/execute @p ~ ~ ~ fill ~ ~4 ~-1 ~-1 ~4 ~-1 oak_stairs 6";type=command,ID="/execute @p ~ ~ ~ fill ~ ~4 ~1 ~1 ~4 ~1 oak_stairs 7";type=command,ID="/execute @p ~ ~ ~ setblock ~ ~2 ~-3 wall_sign 0 replace {Text2:\"Subject:\",Text3:\"#pName\"}";type=command,ID="/execute @p ~ ~ ~ setblock ~ ~1 ~-3 wall_sign 0 replace {Text1:\"Subject\",Text2:\"preserved in\",Text3:\"ice and ready\",Text4:\"for testing.\"}";type=command,ID="/execute @p ~ ~ ~ setblock ~ ~2 ~3 wall_sign 3 replace {Text2:\"Subject:\",Text3:\"#pName\"}";type=command,ID="/execute @p ~ ~ ~ setblock ~ ~1 ~3 wall_sign 3 replace {Text1:\"Subject\",Text2:\"preserved in\",Text3:\"ice and ready\",Text4:\"for testing.\"}";type=command,ID="/execute @p ~ ~ ~ setblock ~-3 ~2 ~ wall_sign 4 replace {Text2:\"Subject:\",Text3:\"#pName\"}";type=command,ID="/execute @p ~ ~ ~ setblock ~-3 ~1 ~ wall_sign 4 replace {Text1:\"Subject\",Text2:\"preserved in\",Text3:\"ice and ready\",Text4:\"for testing.\"}";type=command,ID="/execute @p ~ ~ ~ setblock ~3 ~2 ~ wall_sign 5 replace {Text2:\"Subject:\",Text3:\"#pName\"}";type=command,ID="/execute @p ~ ~ ~ setblock ~3 ~1 ~ wall_sign 5 replace {Text1:\"Subject\",Text2:\"preserved in\",Text3:\"ice and ready\",Text4:\"for testing.\"}")@luck=0


/ ============= DUNGEONS AND CUSTOM BLOCKS ==============

/ ore revealer
type=entity,ID=Item,NBTTag=(CustomName="Ore Revealer",CustomNameVisible=true,Item=(Count=1,id=lucky:lucky_block_spiral,tag=(display=(Lore=["$rUse me underground!"],Name="$f$lOre Revealer"),Luck=100,Drops=["group(type=command,ID=\"/gamerule commandBlockOutput false\";type=command,ID=\"/playsound random.explode @a ~ ~ ~ 1.0 1.5\";type=command,ID=\"/fill ~-10 ~ ~-10 ~10 ~5 ~10 glass 0 replace gravel\";type=command,ID=\"/fill ~-10 ~ ~-10 ~10 ~5 ~10 glass 0 replace dirt\";type=command,ID=\"/fill ~-10 ~ ~-10 ~10 ~5 ~10 glass 0 replace stone\";type=command,ID=\"/fill ~-10 ~ ~-10 ~10 ~5 ~10 glass 0 replace grass\";type=command,ID=\"/fill ~-10 ~ ~-10 ~10 ~5 ~10 glass 0 replace sand\";type=command,ID=\"/fill ~-10 ~ ~-10 ~10 ~5 ~10 glass 0 replace sandstone\";type=command,ID=\"/fill ~-10 ~ ~-10 ~10 ~5 ~10 glass 0 replace netherrack\";type=command,ID=\"/fill ~-10 ~ ~-10 ~10 ~5 ~10 glass 0 replace endstone\")"])))@luck=1

/ trampoline!
type=entity,ID=Item,NBTTag=(CustomName="Trampoline",CustomNameVisible=true,Item=(Count=1,id=lucky:lucky_block_spiral,tag=(display=(Lore=["$rUse me in an open area!"],Name="$f$lTrampoline"),Luck=100,Drops=["group(type=structure,ID=trampoline;type=command,ID=\"gamerule commandBlockOutput false\";type=command,ID=\"tp @e[r=2] ~ ~3 ~\")"])))@luck=1

/ roller coaster
type=entity,ID=Item,NBTTag=(CustomName="Little Rainbow Coaster",CustomNameVisible=true,Item=(Count=1,id=lucky:lucky_block_spiral,tag=(display=(Lore=["$rUse me in an open area!"],Name="$f$lLittle Rainbow Coaster"),Luck=100,Drops=["type=structure,ID=rainbow_coaster"])))@luck=0

/ instant tent
type=entity,ID=Item,NBTTag=(CustomName="Instant Tent",CustomNameVisible=true,Item=(Count=1,id=lucky:lucky_block_spiral,tag=(display=(Lore=["$rTake me camping!"],Name="$f$lInstant Tent"),Luck=100,Drops=["type=structure,posOffsetY=-1,ID=tent"])))@luck=0

/ lucky tower
type=entity,ID=Item,NBTTag=(CustomName="$eLucky Tower",CustomNameVisible=true,Item=(Count=1,id=lucky:lucky_block_spiral,tag=(display=(Lore=["$rUse me in an open area!"],Name="$e$lLucky Tower"),Luck=100,Drops=["group(type=structure,ID=tower_base,posOffsetY=-4;type=command,ID="/gamerule commandBlockOutput false";type=command,ID=\"/title @p[name=#pName] title {translate:\\\"structure.luckyTower.name\\\", color:yellow}\")"])))@luck=2

/spiral dungeon
type=entity,ID=Item,NBTTag=(CustomName="$eSpiral Dungeon",CustomNameVisible=true,Item=(Count=1,id=lucky:lucky_block_spiral,tag=(display=(Lore=["$rUse me in an open area above y=23!"],Name="$e$lSpiral Dungeon"),Luck=100,Drops=["group(type=fill,ID=air,size=(45,6,45),posOffset=(-22,-12,-22);type=structure,ID=dungeon_top;type=structure,ID=dungeon_base;type=structure,ID=dungeon_room,posOffset=(18,-11,18);type=structure,ID=dungeon_room,posOffset=(18,-11,9);type=structure,ID=dungeon_room,posOffset=(18,-11,0);type=structure,ID=dungeon_room,posOffset=(18,-11,-9);type=structure,ID=dungeon_room,posOffset=(18,-11,-18);type=structure,ID=dungeon_room,posOffset=(9,-11,18);type=structure,ID=dungeon_room,posOffset=(9,-11,9);type=structure,ID=dungeon_room,posOffset=(9,-11,0);type=structure,ID=dungeon_room,posOffset=(9,-11,-9);type=structure,ID=dungeon_room,posOffset=(9,-11,-18);type=structure,ID=dungeon_room,posOffset=(0,-11,18);type=structure,ID=dungeon_room,posOffset=(0,-11,9);type=structure,ID=dungeon_room,posOffset=(0,-11,-9);type=structure,ID=dungeon_room,posOffset=(0,-11,-18);type=structure,ID=dungeon_room,posOffset=(-9,-11,18);type=structure,ID=dungeon_room,posOffset=(-9,-11,9);type=structure,ID=dungeon_room,posOffset=(-9,-11,0);type=structure,ID=dungeon_room,posOffset=(-9,-11,-9);type=structure,ID=dungeon_room,posOffset=(-9,-11,-18);type=structure,ID=dungeon_room,posOffset=(-18,-11,18);type=structure,ID=dungeon_room,posOffset=(-18,-11,9);type=structure,ID=dungeon_room,posOffset=(-18,-11,0);type=structure,ID=dungeon_room,posOffset=(-18,-11,-9);type=structure,ID=dungeon_room,posOffset=(-18,-11,-18);type=structure,ID=dungeon_merchants,posOffset=(#randList(9,-9),-11,#randList(18,-18));type=structure,ID=dungeon_boss,posOffset=(#randList(18,-18),-11,#randList(18,-18));type=command,ID="/gamerule commandBlockOutput false";type=command,ID=\"/title @p[name=#pName] title {translate:\\\"structure.spiralDungeon.name\\\", color:yellow}\")"])))@luck=2

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

/ lucky sword
ID=diamond_sword,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$e$l#pName's Lucky Sword"))@luck=2
/ lucky bow
ID=bow,NBTTag=(ench=#luckyBowEnchantments,display=(Name="$e$l#pName's Lucky Bow"))@luck=2
/ lucky tools
group:#rand(1,2):(ID=diamond_shovel,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$e$l#pName's Lucky Shovel"));ID=diamond_pickaxe,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$e$l#pName's Lucky Pickaxe"));ID=diamond_axe,NBTTag=(ench=#luckyAxeEnchantments,display=(Name="$e$l#pName's Lucky Axe"));ID=diamond_hoe,NBTTag=(ench=#luckyAxeEnchantments,display=(Name="$e$l#pName's Lucky Scythe"),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$l#pName's Lucky Helmet"));ID=diamond_chestplate,NBTTag=(ench=#luckyChestplateEnchantments,display=(Name="$e$l#pName's Lucky Chestplate"));ID=diamond_leggings,NBTTag=(ench=#luckyLeggingsEnchantments,display=(Name="$e$l#pName's Lucky Leggings"));ID=diamond_boots,NBTTag=(ench=#luckyBootsEnchantments,display=(Name="$e$l#pName's Lucky Boots")))@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,amount=#rand(1,3),damage=8193,reinitialize=true,NBTTag=(CustomPotionEffects=[(Id=6,Amplifier=#rand(0,1),Duration=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,amount=#rand(1,3),damage=16457,reinitialize=true,NBTTag=(CustomPotionEffects=[(Id=7,Amplifier=#rand(0,1),Duration=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

/super mystery potions
group:1:(ID=potion,damage=0,NBTTag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lSuper Mystery Potion",Lore=["$7Is it lucky? Or is it not?"]));ID=potion,damage=0,NBTTag=(CustomPotionEffects=#unluckyPotionEffects,display=(Name="$e$lSuper Mystery Potion",Lore=["$7Is it lucky? Or is it not?"])))@luck=0
group:1:(ID=potion,damage=16384,NBTTag=(HideFlags=32,CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lSuper Mystery Potion",Lore=["$7Is it lucky? Or is it not?"]));ID=potion,damage=16384,NBTTag=(HideFlags=32,CustomPotionEffects=#unluckyPotionEffects,display=(Name="$e$lSuper Mystery Potion",Lore=["$7Is it lucky? Or is it not?"])))@luck=0

/mystery potions (less op)
group:1:(ID=potion,damage=0,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 Mystery Potion",Lore=["$7Is it lucky? Or is it not?"]));ID=potion,damage=0,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 Mystery Potion",Lore=["$7Is it lucky? Or is it not?"])))@luck=0
group:1:(ID=potion,damage=16384,NBTTag=(HideFlags=32,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 Mystery Potion",Lore=["$7Is it lucky? Or is it not?"]));ID=potion,damage=16384,NBTTag=(HideFlags=32,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 Mystery Potion",Lore=["$7Is it lucky? Or is it not?"])))@luck=0

/splash me
ID=potion,damage=16459,amount=#rand(1,2),NBTTag=(HideFlags=32,CustomPotionEffects=[(Id=8,Amplifier=79,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=0
ID=potion,damage=16426,amount=#rand(1,2),NBTTag=(HideFlags=32,CustomPotionEffects=[(Id=2,Amplifier=7,Duration=400),(Id=8,Amplifier=-128,Duration=400)],display=(Lore=["$7Contains the essence of extreme mud."],Name="$7$lSplash Me"))@luck=0
ID=potion,damage=16460,NBTTag=(CustomPotionEffects=[(Id=9,Amplifier=0,Duration=600)],display=(Name="$4$lSplash Me"))@luck=0
ID=potion,damage=16459,NBTTag=(CustomPotionEffects=[(Id=17,Amplifier=19,Duration=600)],display=(Name="$2$lSplash Me"))@luck=0

/don't splash me
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

/specialized potions
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=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=16430,NBTTag=(CustomPotionEffects=[(Id=1,Amplifier=2,Duration=2400),(Id=8,Amplifier=4,Duration=2400),(Id=12,Amplifier=0,Duration=2400),(Id=13,Amplifier=0,Duration=2400)],display=(Name="$8$lThe Ultimate Escapist"))@luck=1

/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=16453,NBTTag=(CustomPotionEffects=[(Id=10,Amplifier=3,Duration=100),(Id=9,Amplifier=0,Duration=100)],display=(Name="$c$lEmergency Health",Lore=["$rForces you to heal so fast","$ryou feel sick."]))@luck=1
ID=potion,damage=8227,NBTTag=(CustomPotionEffects=[(Id=22,Amplifier=2,Duration=1200)],display=(Name="$e$lShielding"))@luck=1


/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=1000)))@luck=1

/flesh of DOOM
type=entity,ID=Item,NBTTag=(CustomName="$cFlesh of DOOM",CustomNameVisible=true,Item=(Count=1,id=rotten_flesh,tag=(display=(Name="$c$lFlesh of DOOM"),ench=#luckySwordEnchantments)))@luck=-1

/whacking stick
type=entity,ID=Item,NBTTag=(CustomName="$eWhacking Stick",CustomNameVisible=true,Item=(Count=1,id=blaze_rod,tag=(display=(Name="$e$lWhacking Stick"),ench=[(id=19,lvl=10)])))@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

/Spiral Sword
type=entity,ID=Item,NBTTag=(CustomName="Spiral Sword",CustomNameVisible=true,Item=(Count=1,id=lucky:lucky_block_spiral,tag=(Luck=100,display=(Name="$f$lSpiral Sword"),ench=#luckySwordEnchantments,AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=10,Operation=0,UUIDLeast=1,UUIDMost=1)])))@luck=2

/Riveting Spiral Lucky Leggings
type=entity,ID=Item,NBTTag=(CustomName="$eRiveting Spiral Lucky Leggings",CustomNameVisible=true,Item=(Count=1,id=diamond_leggings,tag=(Unbreakable=true,ench=#luckyLeggingsEnchantments,display=(Lore=["$7Knockback Resistance I"],Name="$e$lRiveting Spiral Lucky Leggings"),AttributeModifiers=[(AttributeName=generic.knockbackResistance,Name="resist",Amount=1,Operation=0,UUIDLeast=1,UUIDMost=1)])))@luck=2

/Speedy Spiral Lucky Boots
type=entity,ID=Item,NBTTag=(CustomName="$eSpeedy Spiral Lucky Boots",CustomNameVisible=true,Item=(Count=1,id=diamond_boots,tag=(Unbreakable=true,ench=#luckyBootsEnchantments,display=(Lore=["$7Swiftness II"],Name="$e$lSpeedy Spiral Lucky Boots"),AttributeModifiers=[(AttributeName=generic.movementSpeed,Name="fast",Amount=0.4f,Operation=1,UUIDLeast=2,UUIDMost=2)])))@luck=2

/Fortifying Spiral Lucky Helmet
type=entity,ID=Item,NBTTag=(CustomName="$eFortifying Spiral Lucky Helmet",CustomNameVisible=true,Item=(Count=1,id=diamond_helmet,tag=(Unbreakable=true,ench=#luckyHelmetEnchantments,display=(Lore=["$7Health Boost II"],Name="$e$lFortifying Spiral Lucky Helmet"),AttributeModifiers=[(AttributeName=generic.maxHealth,Name="health",Amount=8,Operation=0,UUIDLeast=3,UUIDMost=3)])))@luck=2

/Strengthening Spiral Lucky Chestplate
type=entity,ID=Item,NBTTag=(CustomName="$eStrengthening Spiral Lucky Chestplate",CustomNameVisible=true,Item=(Count=1,id=diamond_chestplate,tag=(Unbreakable=true,ench=#luckyChestplateEnchantments,display=(Lore=["$7Strength I"],Name="$e$lStrengthening Spiral Lucky Chestplate"),AttributeModifiers=[(AttributeName=generic.attackDamage,Name="strength",Amount=1.3f,Operation=1,UUIDLeast=4,UUIDMost=4)])))@luck=2



/===Poseidon Drops===
type=entity,ID=Item,NBTTag=(CustomName="$1$lPoseidon's Trident",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:water.trident",tag=(Unbreakable=true,ench=[(id=16,lvl=5),(id=19,lvl=5),(id=20,lvl=5),(id=21,lvl=5),(id=34,lvl=5),(id=48,lvl=5),(id=49,lvl=5),(id=51,lvl=5)],display=(Lore=["$7Aquatic Aspect","","Trueshot","Drowning","","$9Belongs to Poseidon",""],Name="$1$lPoseidon's Trident"),AttributeModifiers=[(AttributeName="generic.attackDamage",Name="generic.attackDamage",Amount=300D,Operation=0,UUIDLeast=894654,UUIDMost=2872)])))@chance=0.2@luck=3
type=entity,ID=Item,NBTTag=(CustomName="$1$lPoseidon's Crown",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:water.crown",tag=(Unbreakable=true,ench=[(id=0,lvl=5),(id=7,lvl=5),(id=5,lvl=5),(id=8,lvl=5),(id=6,lvl=5)],display=(Lore=["$7Royalty","","","$9Belongs to Poseidon","The whole set of armor gives you all its power",""],Name="$1$lPoseidon's Crown"))))@chance=0.2@luck=3
type=entity,ID=Item,NBTTag=(CustomName="$1$lPoseidon's Himation",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:water.himation",tag=(Unbreakable=true,ench=[(id=0,lvl=5),(id=7,lvl=5),(id=5,lvl=5),(id=8,lvl=5),(id=6,lvl=5)],display=(Lore=["$7Increase in Life","","","$9Belongs to Poseidon","The whole set of armor gives you all its power",""],Name="$1$lPoseidon's Himation"),AttributeModifiers=[(AttributeName=generic.maxHealth,Name="health",Amount=20,Operation=0,UUIDLeast=3,UUIDMost=3)])))@chance=0.2@luck=3
type=entity,ID=Item,NBTTag=(CustomName="$1$lPoseidon's Peplo",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:water.peplo",tag=(Unbreakable=true,ench=[(id=0,lvl=5),(id=7,lvl=5),(id=5,lvl=5),(id=8,lvl=5),(id=6,lvl=5)],display=(Lore=["","","","$9Belongs to Poseidon","The whole set of armor gives you all its power",""],Name="$1$lPoseidon's Peplo"),AttributeModifiers=[(AttributeName="generic.knockbackResistance",Name="generic.knockbackResistance",Amount=1D,Operation=0,UUIDLeast=894654,UUIDMost=2872)])))@chance=0.2@luck=3
type=entity,ID=Item,NBTTag=(CustomName="$1$lPoseidon's Gold Boots",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:water.poseidon_gold_boots",tag=(Unbreakable=true,ench=[(id=0,lvl=5),(id=7,lvl=5),(id=5,lvl=5),(id=8,lvl=5),(id=6,lvl=5)],display=(Lore=["$7Swimming","","","$9Belongs to Poseidon","The whole set of armor gives you all its power",""],Name="$1$lPoseidon's Gold Boots"),AttributeModifiers=[(AttributeName=generic.movementSpeed,Name="fast",Amount=0.4f,Operation=1,UUIDLeast=2,UUIDMost=2)])))@chance=0.2@luck=3


/===Lucky Water Drops===
type=entity,ID=Item,NBTTag=(CustomName="$9$lWater Lucky Helmet",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:water.water_helmet",tag=(Unbreakable=true,ench=#luckyHelmetEnchantments,display=(Lore=["$7Touch of the Diver","","Water Breathing","Night vision","","$9Found by #pName",""],Name="$9$lWater Lucky Helmet"))))@luck=2
type=entity,ID=Item,NBTTag=(CustomName="$9$lWater Lucky Leggings",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:water.water_leggings",tag=(Unbreakable=true,ench=#luckyLeggingsEnchantments,display=(Lore=["$7Touch of the Diver","","Resistance","","$9Found by #pName",""],Name="$9$lWater Lucky Leggings"))))@luck=2
type=entity,ID=Item,NBTTag=(CustomName="$9$lWater Lucky Chestplate",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:water.water_chestplate",tag=(Unbreakable=true,ench=#luckyChestplateEnchantments,display=(Lore=["$7Touch of the Diver","","Jump Boost","","$9Found by #pName",""],Name="$9$lWater Lucky Chestplate"))))@luck=2
type=entity,ID=Item,NBTTag=(CustomName="$9$lWater Lucky Boots",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:water.water_boots",tag=(Unbreakable=true,ench=#luckyBootsEnchantments,display=(Lore=["$7Touch of the Diver","","Slow Fall","Flight","","$9Found by #pName",""],Name="$9$lWater Lucky Boots"))))@luck=2
type=entity,ID=Item,NBTTag=(CustomName="$9$lWater Lucky Sword",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:water.water_sword",tag=(Unbreakable=true,ench=[(id=16,lvl=5),(id=17,lvl=3),(id=18,lvl=3),(id=19,lvl=2),(id=21,lvl=3),(id=34,lvl=3)],display=(Lore=["$7Agility II","$7Aquatic Aspect","","Haste","","$9Found by #pName",""],Name="$9$lWater Lucky Sword"),AttributeModifiers=[(AttributeName="generic.attackDamage",Name="generic.attackDamage",Amount=17D,Operation=0,UUIDLeast=894654,UUIDMost=2872)])))@luck=2
type=entity,ID=Item,NBTTag=(CustomName="$9$lWater Lucky Dagger",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:water.water_dagger",tag=(Unbreakable=true,ench=[(id=16,lvl=2),(id=17,lvl=5),(id=18,lvl=3),(id=19,lvl=1),(id=21,lvl=3),(id=34,lvl=3)],display=(Lore=["$7Impulse","$7Aquatic Aspect","","","$9Found by #pName",""],Name="$9$lWater Lucky Dagger"),AttributeModifiers=[(AttributeName=generic.movementSpeed,Name="fast",Amount=0.4f,Operation=1,UUIDLeast=2,UUIDMost=2),(AttributeName="generic.attackDamage",Name="generic.attackDamage",Amount=12D,Operation=0,UUIDLeast=894654,UUIDMost=2872)])))@luck=2
type=entity,ID=Item,NBTTag=(CustomName="$9$lWater Lucky Bow",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:water.water_bow",tag=(Unbreakable=true,ench=[(id=34,lvl=3),(id=48,lvl=4),(id=49,lvl=2),(id=51,lvl=1)],display=(Lore=["$7Inpact I","$7Aquatic Aspect","","Trueshot","","$9Found by #pName",""],Name="$9$lWater Lucky Bow"))))@luck=2
type=entity,ID=Item,NBTTag=(CustomName="$9$lBig Water Lucky Blade",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:water.big_water_blade",tag=(Unbreakable=true,ench=[(id=16,lvl=5),(id=17,lvl=4),(id=18,lvl=2),(id=19,lvl=4),(id=21,lvl=4),(id=34,lvl=3)],display=(Lore=["$7Heaviness","$7Aquatic Aspect","","Reach","","$9Found by #pName",""],Name="$9$lBig Water Lucky Blade"),AttributeModifiers=[(AttributeName="generic.attackDamage",Name="generic.attackDamage",Amount=22D,Operation=0,UUIDLeast=894654,UUIDMost=2872),(AttributeName=potioncore.reach,Name=reach,Amount=15,Operation=0,UUIDLeast=15,UUIDMost=1)])))@luck=2
type=entity,ID=Item,NBTTag=(CustomName="$9$lWater Lucky Battleaxe",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:water.water_battleaxe",tag=(Unbreakable=true,ench=[(id=16,lvl=3),(id=17,lvl=3),(id=18,lvl=2),(id=19,lvl=1),(id=21,lvl=4),(id=34,lvl=3)],display=(Lore=["$7Stalker","$7Aquatic Aspect","","Reach","","$9Found by #pName",""],Name="$9$lWater Lucky Battleaxe"),AttributeModifiers=[(AttributeName="generic.attackDamage",Name="generic.attackDamage",Amount=15D,Operation=0,UUIDLeast=894654,UUIDMost=2872),(AttributeName=potioncore.reach,Name=reach,Amount=5,Operation=0,UUIDLeast=5,UUIDMost=13)])))@luck=2
type=entity,ID=Item,NBTTag=(CustomName="$9$lWater Lucky Scythe",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:water.water_scythe",tag=(Unbreakable=true,ench=[(id=16,lvl=4),(id=17,lvl=4),(id=18,lvl=3),(id=19,lvl=2),(id=21,lvl=4),(id=34,lvl=3)],display=(Lore=["$7Stalker","$7Aquatic Aspect","","Reach","","$9Found by #pName",""],Name="$9$lWater Lucky Scythe"),AttributeModifiers=[(AttributeName="generic.attackDamage",Name="generic.attackDamage",Amount=17D,Operation=0,UUIDLeast=894654,UUIDMost=2872),(AttributeName=potioncore.reach,Name=reach,Amount=12,Operation=0,UUIDLeast=12,UUIDMost=1)])))@luck=2
type=entity,ID=Item,NBTTag=(CustomName="$9$lWater Lucky Pickaxe",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:water.water_pickaxe",tag=(Unbreakable=true,ench=[(id=6,lvl=5),(id=32,lvl=4),(id=35,lvl=3),(id=34,lvl=3)],display=(Lore=["$7Touch of the Diver","","$9Found by #pName",""],Name="$9$lWater Lucky Pickaxe"))))@luck=2
type=entity,ID=Item,NBTTag=(CustomName="$9$lWater Lucky Axe",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:water.water_axe",tag=(Unbreakable=true,ench=[(id=6,lvl=5),(id=16,lvl=3),(id=17,lvl=5),(id=21,lvl=3),(id=32,lvl=4),(id=33,lvl=1),(id=34,lvl=3)],display=(Lore=["$7Touch of the Diver","","$9Found by #pName",""],Name="$9$lWater Lucky Axe"))))@luck=2
type=entity,ID=Item,NBTTag=(CustomName="$9$lWater Lucky Shovel",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:water.water_shovel",tag=(Unbreakable=true,ench=[(id=6,lvl=5),(id=32,lvl=4),(id=33,lvl=1),(id=34,lvl=3)],display=(Lore=["$7Touch of the Diver","","$9Found by #pName",""],Name="$9$lWater Lucky Shovel"))))@luck=2
type=entity,ID=Item,NBTTag=(CustomName="$9$lWater Lucky Hoe",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:water.water_hoe",tag=(Unbreakable=true,ench=[(id=6,lvl=5),(id=32,lvl=2),(id=33,lvl=1),(id=34,lvl=3)],display=(Lore=["$7Touch of the Diver","","$9Found by #pName",""],Name="$9$lWater Lucky Hoe"))))@luck=2


/===Potions===
type=entity,ID=Item,NBTTag=(CustomName="$1$lWater Potion",CustomNameVisible=true,Item=(Count=1,id=potioncore:custom_potion,tag=(display=(Name="$1$lWater Potion",color=8262),CustomPotionEffects=#luckyPotionEffects)))@luck=2
type=entity,ID=Item,NBTTag=(CustomName="$2$lInfected Potion",CustomNameVisible=true,Item=(Count=1,Damage=1,id=potioncore:custom_potion,tag=(display=(Name="$2$lInfected Potion",color=16388),CustomPotionEffects=#unluckyPotionEffects)))@luck=2
group(ID=potion,damage=#randPotionDamage,amount=#rand(3,5);ID=potioncore:custom_potion,amount=#rand(2,4),damage=#rand(0,1),NBTTag=(CustomPotionEffects=[(Id=#randList(minecraft:haste,minecraft:mining_fatigue,minecraft:blindness,potioncore:repair,potioncore:extension,potioncore:recoil,potioncore:reach,potioncore:rust,potioncore:vulnerable,potioncore:slowfall,potioncore:levitate,potioncore:revival,potioncore:weight,potioncore:klutz,potioncore:archery,potioncore:flight,potioncore:purity,potioncore:drown,potioncore:climb,potioncore:perplexity,potioncore:soildcore,potioncore:stepup,potioncore:antidote,potioncore:spin,minecraft:absorption,minecraft:health_boost,potioncore:perplexity),Duration=#randList(3600,9600))]);ID=potioncore:custom_potion,amount=#rand(2,4),damage=#rand(0,1),NBTTag=(CustomPotionEffects=[(Id=#randList(potioncore:love,potioncore:teleport,potioncore:teleportsurface,potioncore:cure,potioncore:disorganization,potioncore:explode,potioncore:burst,potioncore:dispel,potioncore:fire,potioncore:lightning,potioncore:chance,potioncore:bless,potioncore:curse,potioncore:invert,potioncore:launch),Duration=1)]))@luck=1


/===Items Drops===
ID=dye,damage=4,amount=#rand(8,24)@luck=0
ID=lootplusplus:water.prismarine_gem,amount=#rand(8,32)@luck=2
ID=lootplusplus:water.sea_shell,amount=#rand(8,32)@luck=2
ID=lootplusplus:water.aquamarine,amount=#rand(8,32)@luck=2
ID=lootplusplus:water.water_ball,amount=#rand(8,32)@luck=2
ID=lootplusplus:water.coral,amount=#rand(8,32)@luck=2
ID=lootplusplus:water.pearl,amount=#rand(8,32)@luck=2
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
group(ID=coal,amount=#rand(8,16);ID=fireball,amount=#rand(8,16);ID=blaze_powder,amount=#rand(8,16);ID=quartz,amount=#rand(8,16);ID=redstone_dust,amount=#rand(8,16);type=entity,ID=FireworksRocketEntity,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag=#randFireworksRocket)),amount=20,posOffset=#circleOffset(0,2))@luck=2
group(ID=lootplusplus:water.water_apple,amount=#rand(2,4);ID=lootplusplus:water.enchanted_water_apple,amount=#rand(2,4))@luck=2
ID=lucky:lucky_block_water,NBTTag=(Luck=#randPosNeg(0,100),display=(Name="$1$lWater $rLucky Block"))@chance=0.2@luck=0
ID=lucky:lucky_block,NBTTag=(Luck=#randPosNeg(0,100),display=(Name="$rLucky Block"))@chance=0.2@luck=0
type=entity,ID=Item,NBTTag=(CustomName="$4$lCurse Sword",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:water.curse_sword",tag=(Unbreakable=true,display=(Lore=["$4Whom you struck with the sword will be cursed","$6Sometimes the sword fails and the curse falls to you"],Name="$4$lCurse Sword"))))@luck=2
type=entity,ID=Item,NBTTag=(CustomName="$a$lFading Dagger",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:water.fading_dagger",tag=(Unbreakable=true,display=(Lore=["$aTeleport your enemy to a random place"],Name="$a$lFading Dagger"))))@luck=2
type=entity,ID=Item,NBTTag=(CustomName="$d$lPearl Nechlace",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:water.pearl_necklace",tag=(Unbreakable=true,display=(Lore=["$dAny negative effects will be quickly eliminated"],Name="$d$lPearl Nechlace"))))@luck=2


/===Items Unlucky drops===
ID=dirt,amount=#rand(4,26)@luck=0
ID=ice,amount=#rand(4,26)@luck=0
ID=lava_bucket,amount=#rand(4,8)@luck=0
ID=red_flower,NBTTag=(display=(Name="$cLaugh me"))@luck=0
ID=rotten_flesh@luck=-1
group(ID=leather_helmet;ID=leather_chestplate;ID=leather_leggings;ID=leather_boots)@luck=0
group(ID=wood_sword;ID=wood_axe;ID=wood_pickaxe;ID=wood_shovel;ID=wood_hoe)@luck=0
ID=water_bucket,NBTTag=(display=(Name="$lBecome a lucky block to me"))@luck=-1
group(ID=red_flower,damage=#rand(0,8),amount=64)@luck=-1


/===Aquamarine, Prismarine, Pearl, Coral and Sea Shell Armors and weapons===
ID=lootplusplus:water.aquamarine_sword@chance=0.5@luck=1
ID=lootplusplus:water.aquamarine_helmet@chance=0.5@luck=1
ID=lootplusplus:water.aquamarine_chestplate@chance=0.5@luck=1
ID=lootplusplus:water.aquamarine_leggings@chance=0.5@luck=1
ID=lootplusplus:water.aquamarine_boots@chance=0.5@luck=1
ID=lootplusplus:water.prismarine_sword@chance=0.5@luck=1
ID=lootplusplus:water.prismarine_helmet@chance=0.5@luck=1
ID=lootplusplus:water.prismarine_chestplate@chance=0.5@luck=1
ID=lootplusplus:water.prismarine_leggings@chance=0.5@luck=1
ID=lootplusplus:water.prismarine_boots@chance=0.5@luck=1
ID=lootplusplus:water.coral_sword@chance=0.5@luck=1
ID=lootplusplus:water.coral_helmet@chance=0.5@luck=1
ID=lootplusplus:water.coral_chestplate@chance=0.5@luck=1
ID=lootplusplus:water.coral_leggings@chance=0.5@luck=1
ID=lootplusplus:water.coral_boots@chance=0.5@luck=1
ID=lootplusplus:water.pearl_sword@chance=0.5@luck=1
ID=lootplusplus:water.pearl_helmet@chance=0.5@luck=1
ID=lootplusplus:water.pearl_chestplate@chance=0.5@luck=1
ID=lootplusplus:water.pearl_leggings@chance=0.5@luck=1
ID=lootplusplus:water.pearl_boots@chance=0.5@luck=1
group(ID=lootpluplus:water.sea_shell_sword;ID=lootpluplus:water.sea_shell_helmet;ID=lootpluplus:water.sea_shell_chestplate;ID=lootpluplus:water.sea_shell_leggings;ID=lootpluplus:water.sea_shell_boots)@luck=1


/===Normal drops minecraft===
group(ID=golden_axe;ID=golden_hoe)@luck=0
group(ID=golden_axe;ID=golden_pickaxe)@luck=0
group(ID=diamond_sword;ID=diamond_axe)@luck=0
group(ID=diamond_axe;ID=diamond_pickaxe)@luck=0
group(ID=wooden_sword;ID=wooden_shovel;ID=wooden_pickaxe;ID=wooden_axe;ID=wooden_hoe)@luck=0
group(ID=stone_sword;ID=stone_shovel;ID=stone_pickaxe;ID=stone_axe;ID=stone_hoe)@luck=0
group(ID=golden_sword;ID=golden_shovel;ID=golden_pickaxe;ID=golden_axe;ID=golden_hoe)@luck=0
group:#rand(2,3):(ID=iron_shovel;ID=iron_pickaxe;ID=iron_axe;ID=iron_sword;ID=iron_hoe)@luck=0
group:#rand(1,2):(ID=diamond_sword;ID=diamond_shovel;ID=diamond_pickaxe;ID=diamond_axe;ID=diamond_hoe)@luck=0
group(ID=bow;ID=arrow,amount=#rand(16,32))@luck=0
group(ID=golden_helmet;ID=golden_chestplate;ID=golden_leggings;ID=golden_boots;ID=golden_horse_armor)@luck=0
group:#rand(2,3):(ID=chainmail_helmet;ID=chainmail_chestplate;ID=chainmail_leggings;ID=chainmail_boots)@luck=0
group:#rand(2,3):(ID=iron_helmet;ID=iron_chestplate;ID=iron_leggings;ID=iron_boots;ID=iron_horse_armor)@luck=0
group:#rand(1,2):(ID=diamond_helmet;ID=diamond_chestplate;ID=diamond_leggings;ID=diamond_boots;ID=diamond_horse_armor)@luck=0
group(ID=iron_horse_armor;ID=golden_horse_armor;ID=diamond_horse_armor)@luck=0
group(ID=dispenser,amount=2;ID=noteblock,amount=1;ID=sticky_piston,amount=4;ID=piston,amount=4;ID=tnt,amount=6;ID=lever,amount=2;ID=stone_pressure_plate,amount=2;ID=wooden_pressure_plate,amount=2;ID=redstone_torch,amount=8;ID=stone_button,amount=2;ID=trapdoor,amount=2;ID=iron_trapdoor,amount=2;ID=fence_gate,amount=1;ID=redstone_lamp,amount=4;ID=tripwire_hook,amount=2;ID=wooden_button,amount=2;ID=light_weighted_pressure_plate,amount=1;ID=heavy_weighted_pressure_plate,amount=1;ID=daylight_detector,amount=1;ID=hopper,amount=4;ID=dropper,amount=#rand(2,4);ID=wooden_door,amount=1;ID=iron_door,amount=1;ID=redstone,amount=#rand(32,64);ID=repeater,amount=8;ID=comparator,amount=2;type=particle,ID=2002,damage=9)@luck=0
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);type=particle,ID=2002,damage=14)@luck=0
group(ID=snowball,amount=#rand(4,8);ID=slimeball,amount=#rand(4,8);ID=magma_cream,amount=#rand(4,8);ID=ender_pearl,amount=#rand(4,8);ID=ender_eye,amount=#rand(15,30);type=particle,ID="angryVillager",damage=20)@luck=0
group(ID=golden_apple,amount=#rand(2,4);ID=golden_apple,amount=#rand(1,2),damage=1)@luck=0
ID=sponge@luck=0
ID=tnt,amount=8@luck=0
ID=obsidian,amount=14@luck=0
ID=enchanting_table@luck=0
ID=end_portal_frame,amount=#rand(2,6)@luck=0
ID=dragon_egg@luck=0
ID=ender_chest,amount=2@luck=0
ID=beacon@luck=1
ID=dropper,amount=8@luck=0
ID=hay_block,amount=8@luck=0
ID=spawn_egg,damage=#randSpawnEggDamage,amount=#rand(4,8)@luck=0
ID=skull,damage=#rand(0,4),amount=#rand(1,3)@luck=0
group(ID=fishing_rod;ID=349,damage=#rand(0,3),amount=#rand(10,20))@luck=0
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=0


/===Enchanted Armor===
type=entity,ID=Item,NBTTag=(CustomName="$f$lSnow Sword",CustomNameVisible=true,Item=(Count=1,id="iron_sword",tag=(Unbreakable=true,ench=#luckySwordEnchantments,display=(Name="$f$lSnow Sword"),AttributeModifiers=[(AttributeName=generic.movementSpeed,Name="fast",Amount=0.4f,Operation=1,UUIDLeast=2,UUIDMost=2)])))@chance=0.3@luck=2
type=entity,ID=Item,NBTTag=(CustomName="$f$lSnow Helmet",CustomNameVisible=true,Item=(Count=1,id="iron_helmet",tag=(Unbreakable=true,ench=#luckyHelmetEnchantments,display=(Name="$f$lSnow Helmet"),AttributeModifiers=[(AttributeName=generic.movementSpeed,Name="fast",Amount=0.4f,Operation=1,UUIDLeast=2,UUIDMost=2)])))@chance=0.3@luck=2
type=entity,ID=Item,NBTTag=(CustomName="$f$lSnow Chestplate",CustomNameVisible=true,Item=(Count=1,id="iron_chestplate",tag=(Unbreakable=true,ench=#luckyChestplateEnchantments,display=(Name="$f$lSnow Chestplate"),AttributeModifiers=[(AttributeName=generic.movementSpeed,Name="fast",Amount=0.4f,Operation=1,UUIDLeast=2,UUIDMost=2)])))@chance=0.3@luck=2
type=entity,ID=Item,NBTTag=(CustomName="$f$lSnow Leggings",CustomNameVisible=true,Item=(Count=1,id="iron_leggings",tag=(Unbreakable=true,ench=#luckyLeggingsEnchantments,display=(Name="$f$lSnow Leggings"),AttributeModifiers=[(AttributeName=generic.movementSpeed,Name="fast",Amount=0.4f,Operation=1,UUIDLeast=2,UUIDMost=2)])))@chance=0.3@luck=2
type=entity,ID=Item,NBTTag=(CustomName="$f$lSnow Boots",CustomNameVisible=true,Item=(Count=1,id="iron_boots",tag=(Unbreakable=true,ench=#luckyBootsEnchantments,display=(Name="$f$lSnow Boots"),AttributeModifiers=[(AttributeName=generic.movementSpeed,Name="fast",Amount=0.4f,Operation=1,UUIDLeast=2,UUIDMost=2)])))@chance=0.3@luck=2
type=entity,ID=Item,NBTTag=(CustomName="$b$lIce Helmet",CustomNameVisible=true,Item=(Count=1,id="diamond_helmet",tag=(Unbreakable=true,ench=#luckyHelmetEnchantments,display=(Name="$b$lIce Helmet"),AttributeModifiers=[(AttributeName="generic.knockbackResistance",Name="generic.knockbackResistance",Amount=1D,Operation=0,UUIDLeast=894654,UUIDMost=2872)])))@chance=0.3@luck=2
type=entity,ID=Item,NBTTag=(CustomName="$b$lIce Chestplate",CustomNameVisible=true,Item=(Count=1,id="diamond_chestplate",tag=(Unbreakable=true,ench=#luckyChestplateEnchantments,display=(Name="$b$lIce Chestplate"),AttributeModifiers=[(AttributeName="generic.knockbackResistance",Name="generic.knockbackResistance",Amount=1D,Operation=0,UUIDLeast=894654,UUIDMost=2872)])))@chance=0.3@luck=2
type=entity,ID=Item,NBTTag=(CustomName="$b$lIce Leggings",CustomNameVisible=true,Item=(Count=1,id="diamond_leggings",tag=(Unbreakable=true,ench=#luckyLeggingsEnchantments,display=(Name="$b$lIce Leggings"),AttributeModifiers=[(AttributeName="generic.knockbackResistance",Name="generic.knockbackResistance",Amount=1D,Operation=0,UUIDLeast=894654,UUIDMost=2872)])))@chance=0.3@luck=2
type=entity,ID=Item,NBTTag=(CustomName="$b$lIce Boots",CustomNameVisible=true,Item=(Count=1,id="diamond_boots",tag=(Unbreakable=true,ench=#luckyBootsEnchantments,display=(Name="$b$lIce Boots"),AttributeModifiers=[(AttributeName="generic.knockbackResistance",Name="generic.knockbackResistance",Amount=1D,Operation=0,UUIDLeast=894654,UUIDMost=2872)])))@chance=0.3@luck=2
type=entity,ID=Item,NBTTag=(CustomName="$b$lIce Sword",CustomNameVisible=true,Item=(Count=1,id="diamond_sword",tag=(Unbreakable=true,ench=#luckySwordEnchantments,display=(Name="$b$lIce Sword"),AttributeModifiers=[(AttributeName="generic.knockbackResistance",Name="generic.knockbackResistance",Amount=1D,Operation=0,UUIDLeast=894654,UUIDMost=2872)])))@chance=0.3@luck=2


/===Structures===
type=structure,ID=anvil_trap,pos=#pPos,rotation=#pDirect@luck=-1
type=structure,ID=lava_trap,pos=#pPos,rotation=#pDirect@luck=-1
type=structure,ID=water_trap,pos=#pPos@luck=-1
type=structure,ID=pit_trap,pos=#pPos@luck=-1
type=block,ID=chest,tileEntity=(Items=#chestVillageBlacksmith)@luck=0
type=block,ID=chest,tileEntity=(Items=#chestBonusChest)@luck=1
type=block,ID=chest,tileEntity=(Items=#chestDungeonChest)@luck=1
group(type=fill,ID=air,size=(1,51,1);group(NBTTag=(Block=stained_hardened_clay,Data=14),posY=#bPosY+5;NBTTag=(Block=stained_hardened_clay,Data=1),posY=#bPosY+10;NBTTag=(Block=stained_hardened_clay,Data=4),posY=#bPosY+15;NBTTag=(Block=stained_hardened_clay,Data=5),posY=#bPosY+20;NBTTag=(Block=stained_hardened_clay,Data=3),posY=#bPosY+25;NBTTag=(Block=stained_hardened_clay,Data=11),posY=#bPosY+30;NBTTag=(Block=stained_hardened_clay,Data=10),posY=#bPosY+35;NBTTag=(Block=stained_hardened_clay,Data=2),posY=#bPosY+40;NBTTag=(Block=stained_hardened_clay,Data=6),posY=#bPosY+45),type=entity,ID=FallingSand;type=entity,ID=FallingSand,NBTTag=(Block=diamond_block),posY=#bPosY+50;type=entity,ID=LightningBolt,posY=#bPosY+10,delay=5.3)@luck=1
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=iron_block);type=particle,ID=largesmoke,size=(1,2,1),particleAmount=500;type=sound,ID=random.fizz)@luck=0
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=gold_block);type=particle,ID=flame,size=(1,2,1),particleAmount=500;type=sound,ID=item.fireCharge.use)@luck=0
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=diamond_block);type=entity,ID=LightningBolt)@luck=1
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=emerald_block);type=particle,ID=happyVillager,size=(1,2,1),particleAmount=500;type=sound,ID=dig.grass)@luck=0
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=lapis_block);type=particle,ID=splash,size=(1,2,1),particleAmount=1000;type=sound,ID=game.neutral.swim.splash)@luck=0
type=entity,ID=ArmorStand,NBTTag=(Small=true,NoBasePlate=true,ShowArms=true,Equipment=[(id=lootplusplus:water.trident,Count=1),(id=leather_boots,Count=1,tag=(display=(color=#rand(0,16777215)))),(id=leather_leggings,Count=1,tag=(display=(color=#rand(0,16777215)))),(id=leather_chestplate,Count=1,tag=(display=(color=#rand(0,16777215)))),(id=skull,Damage=3,Count=1,tag=(SkullOwner=#pName))],Rotation=[#pYaw+180f,0f],CustomName="Baby #pName",CustomNameVisible=true)@luck=1
type=structure,ID=lucky_water_fort,pos=#pPos@luck=2
type=structure,ID=lucky_water_temple,pos=#pPos@luck=2
group(type=structure,ID=waterhole;type=message,ID="This is a water 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_water,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=1
group(type=structure,ID=waterhole;type=message,ID="This is a water 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_water,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$9Your wish came true! (If you like apples rare and shoot water)\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=lootplusplus:water.enchanted_water_apple,amount=16,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=lootplusplus:water.water_apple,amount=32,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=lootplusplus:water.water_ball,amount=40,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
group(type=structure,ID=waterhole;type=message,ID="This is a water 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_water,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
type=structure,ID=Luh@chance=0.05@luck=1


type=structure,ID=Exsorz@chance=0.05@luck=1


type=structure,ID=Sarinha@chance=0.05@luck=1
type=structure,ID=Gona89@chance=0.05@luck=1
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=-1


/===Mobs===
/ Water Master 1

group(type=difficulty,ID=hard;type=entity,ID=lootplusplus.ThrownItem,NBTTag=(ItemThrown=lootplusplus:water.water_ball,CustomName="$9$lWater Master",CustomNameVisible=true,Riding=(id=Zombie,Attributes=[(Name=generic.maxHealth,Base=90f)],CustomName="$9$lWater Master",Equipment=[(id=lootplusplus:water.water_sword,Count=1,tag=(display=(Lore=["$7Agility II","","Haste","","$9Found by #pName",""],Name="$9$lWater Lucky Sword"),ench=#luckySwordEnchantments,Unbreakable=true)),(id=lootplusplus:water.water_helmet,Count=1,tag=(display=(Lore=["$7Touch of the Diver","","Water Breathing","Night vision","","$9Found by #pName","","$9Dropped by Water Master"],Name="$9$lWater Lucky Helmet"),ench=[(id=16,lvl=5),(id=17,lvl=3),(id=18,lvl=3),(id=19,lvl=2),(id=21,lvl=3),(id=34,lvl=3)],Unbreakable=true)),(id=lootplusplus:water.water_leggings,Count=1,tag=(display=(Lore=["$7Touch of the Diver","","Jump Boost","","$9Found by #pName","","$9Dropped by Water Master"],Name="$9$lWater Lucky Leggings"),ench=#luckyLeggingsEnchantments,Unbreakable=true)),(id=lootplusplus:water.water_chestplate,Count=1,tag=(display=(Lore=["$7Touch of the Diver","","Resistance","","$9Found by #pName","","$9Dropped by Water Master"],Name="$9$lWater Lucky Chestplate"),ench=#luckyChestplateEnchantments,Unbreakable=true)),(id=lootplusplus:water.water_boots,Count=1,tag=(display=(Lore=["$7Touch of the Diver","","Slow Fall","Flight","","$9Found by #pName","","$9Dropped by Water Master"],Name="$9$lWater Lucky Boots"),ench=#luckyBootsEnchantments,Unbreakable=true))],DropChances=[#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f])))@chance=0.5@luck=-1

/ Water Master 2
group(type=difficulty,ID=hard;type=entity,ID=lootplusplus.ThrownItem,NBTTag=(ItemThrown=lootplusplus:water.water_ball,CustomName="$9$lWater Master",CustomNameVisible=true,Riding=(id=Zombie,Attributes=[(Name=generic.maxHealth,Base=90f)],CustomName="$9$lWater Master",Equipment=[(id=lootplusplus:water.big_water_blade,Count=1,tag=(AttributeModifiers=[(AttributeName="generic.attackDamage",Name="generic.attackDamage",Amount=22D,Operation=0,UUIDLeast=894654,UUIDMost=2872),(AttributeName=potioncore.reach,Name=reach,Amount=15,Operation=0,UUIDLeast=15,UUIDMost=1)],display=(Lore=["$7Heaviness","$7Aquatic Aspect","","Reach","","$9Found by #pName",""],Name="$9$lBig Water Lucky Blade"),ench=[(id=16,lvl=5),(id=17,lvl=4),(id=18,lvl=2),(id=19,lvl=4),(id=21,lvl=4),(id=34,lvl=3)],Unbreakable=true)),(id=lootplusplus:water.water_helmet,Count=1,tag=(display=(Lore=["$7Touch of the Diver","","Water Breathing","Night vision","","$9Found by #pName",""],Name="$9$lWater Lucky Helmet"),ench=[(id=16,lvl=5),(id=17,lvl=3),(id=18,lvl=3),(id=19,lvl=2),(id=21,lvl=3),(id=34,lvl=3)],AttributeModifiers=[(AttributeName="generic.attackDamage",Name="generic.attackDamage",Amount=22D,Operation=0,UUIDLeast=894654,UUIDMost=2872),(AttributeName=potioncore.reach,Name=reach,Amount=15,Operation=0,UUIDLeast=15,UUIDMost=1)],Unbreakable=true)),(id=lootplusplus:water.water_leggings,Count=1,tag=(display=(Lore=["$7Touch of the Diver","","Jump Boost","","$9Found by #pName",""],Name="$9$lWater Lucky Leggings"),ench=#luckyLeggingsEnchantments,Unbreakable=true)),(id=lootplusplus:water.water_chestplate,Count=1,tag=(display=(Lore=["$7Touch of the Diver","","Resistance","","$9Found by #pName",""],Name="$9$lWater Lucky Chestplate"),ench=#luckyChestplateEnchantments,Unbreakable=true)),(id=lootplusplus:water.water_boots,Count=1,tag=(display=(Lore=["$7Touch of the Diver","","Slow Fall","Flight","","$9Found by #pName",""],Name="$9$lWater Lucky Boots"),ench=#luckyBootsEnchantments,Unbreakable=true))],DropChances=[#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f])))@chance=0.5@luck=-1

/ Poseidon 
type=entity,ID=lootplusplus.ThrownItem,NBTTag=(ItemThrown=lootplusplus:water.water_ball,CustomName="$1$lPoseidon Villager",CustomNameVisible=true,Riding=(id=Villager,Offers=(Recipes=[(buy=(id=diamond,Count=#rand(50,64)),sell=(id=lootplusplus:water.trident,Count=1,tag=(AttributeModifiers=[(AttributeName="generic.attackDamage",Name="generic.attackDamage",Amount=300D,Operation=0,UUIDLeast=894654,UUIDMost=2872)],display=(Lore=["$7Aquatic Aspect","","Trueshot","Drowning","","$9Belongs to Poseidon",""],Name="$1$lPoseidon's Trident"),ench=[(id=16,lvl=5),(id=19,lvl=5),(id=20,lvl=5),(id=21,lvl=5),(id=34,lvl=5),(id=48,lvl=5),(id=49,lvl=5),(id=51,lvl=5)],Unbreakable=true)),maxUses=1),(buy=(id=diamond,Count=#rand(50,64)),sell=(id=lootplusplus:water.crown,Count=1,tag=(ench=[(id=0,lvl=5),(id=7,lvl=5),(id=5,lvl=5),(id=8,lvl=5),(id=6,lvl=5)],display=(Lore=["$7Royalty","","","$9Belongs to Poseidon","The whole set of armor gives you all its power",""],Name="$1$lPoseidon's Crown"),Unbreakable=true)),maxUses=1),(buy=(id=diamond,Count=#rand(50,64)),sell=(id=lootplusplus:water.himation,Count=1,tag=(AttributeModifiers=[(AttributeName=generic.maxHealth,Name="health",Amount=20,Operation=0,UUIDLeast=3,UUIDMost=3)],display=(Lore=["$7Increase in Life","","","$9Belongs to Poseidon","The whole set of armor gives you all its power",""],Name="$1$lPoseidon's Himation"),ench=[(id=0,lvl=5),(id=7,lvl=5),(id=5,lvl=5),(id=8,lvl=5),(id=6,lvl=5)],Unbreakable=true)),maxUses=1),(buy=(id=diamond,Count=#rand(50,64)),sell=(id=lootplusplus:water.peplo,Count=1,tag=(AttributeModifiers=[(AttributeName="generic.knockbackResistance",Name="generic.knockbackResistance",Amount=1D,Operation=0,UUIDLeast=894654,UUIDMost=2872)],ench=[(id=0,lvl=5),(id=7,lvl=5),(id=5,lvl=5),(id=8,lvl=5),(id=6,lvl=5)],display=(Lore=["","","","$9Belongs to Poseidon","The whole set of armor gives you all its power",""],Name="$1$lPoseidon's Peplo"),Unbreakable=true)),maxUses=1),(buy=(id=diamond,Count=#rand(50,64)),sell=(id=lootplusplus:water.poseidon_gold_boots,Count=1,tag=(AttributeModifiers=[(AttributeName=generic.movementSpeed,Name="fast",Amount=0.4f,Operation=1,UUIDLeast=2,UUIDMost=2)],display=(Lore=["$7Swimming","","","$9Belongs to Poseidon","The whole set of armor gives you all its power",""],Name="$1$lPoseidon's Gold Boots"),ench=[(id=0,lvl=5),(id=7,lvl=5),(id=5,lvl=5),(id=8,lvl=5),(id=6,lvl=5),(id=9,lvl=5)],Unbreakable=true)),maxUses=1)]),Profession=3,CustomName="$1$lPoseidon Villager",Career=1,CareerLevel=100))@chance=0.2@luck=-3

/ Sea Shell Bob
group(type=difficulty,ID=hard;type=entity,ID=lootplusplus.ThrownItem,NBTTag=(ItemThrown=lootplusplus:water.water_ball,CustomName="§5§lSea Shell Bob",CustomNameVisible=true,Riding=(id=Zombie,Attributes=[(Name=generic.maxHealth,Base=30f)],CustomName="§5§lSea Shell Bob",Equipment=[(id=lootplusplus:water.sea_shell_sword,Count=1,tag=(display=(Name="$5$lBob's Sea Shell Sword"),ench=#luckySwordEnchantments)),(id=lootplusplus:water.sea_shell_helmet,Count=1,tag=(display=(Name="$5$lBob's Sea Shell Helmet"),ench=#luckyHelmetEnchantments)),(id=lootplusplus:water.sea_shell_leggings,Count=1,tag=(display=(Name="$5$lBob's Sea Shell Leggings"),ench=#luckyLeggingsEnchantments)),(id=lootplusplus:water.sea_shell_chestplate,Count=1,tag=(display=(Name="$5$lBob's Sea Shell Chestplate"),ench=#luckyChestplateEnchantments)),(id=lootplusplus:water.sea_shell_boots,Count=1,tag=(display=(Name="$5$lBob's Sea Shell Boots"),ench=#luckyBootsEnchantments))],DropChances=[#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f])))@chance=0.5@luck=-1

/ King Prismarine
group(type=difficulty,ID=hard;type=entity,ID=lootplusplus.ThrownItem,NBTTag=(ItemThrown=lootplusplus:water.water_ball,CustomName="§2§lKing Prismarine",CustomNameVisible=true,Riding=(id=PigZombie,Attributes=[(Name=generic.maxHealth,Base=70f)],CustomName="§2§lKing Prismarine",ActiveEffects=[(Id=1,Amplifier=2,Duration=999999)],Equipment=[(id=lootplusplus:water.prismarine_sword,Count=1,Count=1,tag=(display=(Name="$2$lKing's Prismarine Sword"),ench=#luckySwordEnchantments)),(id=lootplusplus:water.prismarine_helmet,Count=1,tag=(display=(Name="$2$lKing's Prismarine Helmet"),ench=#luckyHelmetEnchantments)),(id=lootplusplus:water.prismarine_leggings,Count=1,tag=(display=(Name="$2$lKing's Prismarine Leggings"),ench=#luckyLeggingsEnchantments)),(id=lootplusplus:water.prismarine_chestplate,Count=1,tag=(display=(Name="$2$lKing's Prismarine Chestplate"),ench=#luckyChestplateEnchantments)),(id=lootplusplus:water.prismarine_boots,Count=1,tag=(display=(Name="$2$lKing's Prismarine Boots"),ench=#luckyBootsEnchantments))],DropChances=[#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f])))@chance=0.5@luck=-1

/ Aquamarine Zombie
group(type=difficulty,ID=hard;type=entity,ID=lootplusplus.ThrownItem,NBTTag=(ItemThrown=lootplusplus:water.water_ball,CustomName="§b§lAquamarine Zombie",CustomNameVisible=true,Riding=(id=Zombie,Attributes=[(Name=generic.maxHealth,Base=30f)],CustomName="§b§lAquamarine Zombie",Equipment=[(id=lootplusplus:water.aquamarine_sword,Count=1),(id=lootplusplus:water.aquamarine_boots,Count=1),(id=lootplusplus:water.aquamarine_leggings,Count=1),(id=lootplusplus:water.aquamarine_chestplate,Count=1),(id=lootplusplus:water.aquamarine_helmet,Count=1)],DropChances=[#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f])))@chance=0.5@luck=-1

/ Coral Zombie
group(type=difficulty,ID=hard;type=entity,ID=lootplusplus.ThrownItem,NBTTag=(ItemThrown=lootplusplus:water.water_ball,CustomName="§c§lCoral Zombie",CustomNameVisible=true,Riding=(id=Zombie,Attributes=[(Name=generic.maxHealth,Base=30f)],CustomName="§c§lCoral Zombie",Equipment=[(id=lootplusplus:water.coral_sword,Count=1),(id=lootplusplus:water.coral_boots,Count=1),(id=lootplusplus:water.coral_leggings,Count=1),(id=lootplusplus:water.coral_chestplate,Count=1),(id=lootplusplus:water.coral_helmet,Count=1)],DropChances=[#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f])))@chance=0.5@luck=-1

/ Pearl Zombie
group(type=difficulty,ID=hard;type=entity,ID=lootplusplus.ThrownItem,NBTTag=(ItemThrown=lootplusplus:water.water_ball,CustomName="§7§lPearl Zombie",CustomNameVisible=true,Riding=(id=Zombie,Attributes=[(Name=generic.maxHealth,Base=30f)],CustomName="§7§lPearl Zombie",Equipment=[(id=lootplusplus:water.pearl_sword,Count=1),(id=lootplusplus:water.pearl_boots,Count=1),(id=lootplusplus:water.pearl_leggings,Count=1),(id=lootplusplus:water.pearl_chestplate,Count=1),(id=lootplusplus:water.pearl_helmet,Count=1)],DropChances=[#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f])))@chance=0.5@luck=-1

/ Water Lucky Villagers

type=entity,ID=lootplusplus.ThrownItem,NBTTag=(ItemThrown=lootplusplus:water.water_ball,CustomName="$9$lWater Lucky Villager",CustomNameVisible=true,Riding=(id=Villager,Offers=(Recipes=[(buy=(id=diamond,Count=#rand(20,25)),sell=(id=lootplusplus:water.water_sword,Count=1,tag=(AttributeModifiers=[(AttributeName="generic.attackDamage",Name="generic.attackDamage",Amount=17D,Operation=0,UUIDLeast=894654,UUIDMost=2872)],ench=[(id=16,lvl=5),(id=17,lvl=3),(id=18,lvl=3),(id=19,lvl=2),(id=21,lvl=3),(id=34,lvl=3)],display=(Lore=["$7Agility II","$7Aquatic Aspect","","Haste","","$9Found by #pName",""],Name="$9$lWater Lucky Sword"),Unbreakable=true)),maxUses=1),(buy=(id=diamond,Count=#rand(20,25)),sell=(id=lootplusplus:water.water_bow,Count=1,tag=(ench=[(id=34,lvl=3),(id=48,lvl=4),(id=49,lvl=2),(id=51,lvl=1)],display=(Lore=["$7Inpact I","$7Aquatic Aspect","","Trueshot","","$9Found by #pName",""],Name="$9$lWater Lucky Bow"),Unbreakable=true)),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=fishing_rod,Count=1,tag=(ench=#luckyFishingRodEnchantments,display=(Lore=["","$9Found by #pName",""],Name="$9$lWater Fishing Rod"),Unbreakable=true)),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=potioncore:custom_potion,Count=1,tag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="$1$lWater Potion",color=8262))),maxUses=1),(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potioncore:custom_potion,Damage=1,Count=1,tag=(CustomPotionEffects=#unluckyPotionEffects,display=(Name="$2$lInfected Potion",color=16388))),maxUses=1)]),Profession=6,CustomName="$9$lWater Lucky Villager",Career=1,CareerLevel=100))@luck=2

type=entity,ID=lootplusplus.ThrownItem,NBTTag=(ItemThrown=lootplusplus:water.water_ball,CustomName="$9$lWater Lucky Villager",CustomNameVisible=true,Riding=(id=Villager,Offers=(Recipes=[(buy=(id=diamond,Count=#rand(12,17)),sell=(id=lootplusplus:water.water_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments,display=(Lore=["$7Touch of the Diver","","Water Breathing","Night vision","","$9Found by #pName",""],Name="$9$lWater Lucky Helmet"),Unbreakable=true)),maxUses=1),(buy=(id=diamond,Count=#rand(20,25)),sell=(id=lootplusplus:water.water_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments,display=(Lore=["$7Touch of the Diver","","Resistance","","$9Found by #pName",""],Name="$9$lWater Lucky Chestplate"),Unbreakable=true)),maxUses=1),(buy=(id=diamond,Count=#rand(15,20)),sell=(id=lootplusplus:water.water_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments,display=(Lore=["$7Touch of the Diver","","Jump Boost","","$9Found by #pName",""],Name="$9$lWater Lucky Leggings"),Unbreakable=true)),maxUses=1),(buy=(id=diamond,Count=#rand(12,17)),sell=(id=lootplusplus:water.water_boots,Count=1,tag=(ench=#luckyBootsEnchantments,display=(Lore=["$7Touch of the Diver","","Slow Fall","Flight","","$9Found by #pName",""],Name="$9$lWater Lucky Boots"),Unbreakable=true)),maxUses=1)]),Profession=6,CustomName="$9$lWater Lucky Villager",Career=1,CareerLevel=100))@luck=2

type=entity,ID=lootplusplus.ThrownItem,NBTTag=(ItemThrown=lootplusplus:water.water_ball,CustomName="$9$lWater Lucky Villager",CustomNameVisible=true,Riding=(id=Villager,Offers=(Recipes=[(buy=(id=diamond,Count=#rand(10,15)),sell=(id=lootplusplus:water.water_shovel,Count=1,tag=(ench=[(id=6,lvl=5),(id=32,lvl=4),(id=33,lvl=1),(id=34,lvl=3)],display=(Lore=["$7Touch of the Diver","","$9Found by #pName",""],Name="$9$lWater Lucky Shovel"),Unbreakable=true)),maxUses=1),(buy=(id=diamond,Count=#rand(15,20)),sell=(id=lootplusplus:water.water_pickaxe,Count=1,tag=(ench=[(id=6,lvl=5),(id=32,lvl=4),(id=35,lvl=3),(id=34,lvl=3)],display=(Lore=["$7Touch of the Diver","","$9Found by #pName",""],Name="$9$lWater Lucky Pickaxe"),Unbreakable=true)),maxUses=1),(buy=(id=diamond,Count=#rand(15,20)),sell=(id=lootplusplus:water.water_axe,Count=1,tag=(ench=[(id=6,lvl=5),(id=16,lvl=3),(id=17,lvl=5),(id=21,lvl=3),(id=32,lvl=4),(id=33,lvl=1),(id=34,lvl=3)],display=(Lore=["$7Touch of the Diver","","$9Found by #pName",""],Name="$9$lWater Lucky Axe"),Unbreakable=true)),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=lootplusplus:water.water_hoe,Count=1,tag=(ench=[(id=6,lvl=5),(id=32,lvl=2),(id=33,lvl=1),(id=34,lvl=3)],display=(Lore=["$7Touch of the Diver","","$9Found by #pName",""],Name="$9$lWater Lucky Hoe"),Unbreakable=true)),maxUses=1)]),Profession=6,CustomName="$9$lWater Lucky Villager",Career=1,CareerLevel=100))@luck=2

/ Poseidon Villager
type=entity,ID=lootplusplus.ThrownItem,NBTTag=(ItemThrown=lootplusplus:water.water_ball,CustomName="$1$lPoseidon Villager",CustomNameVisible=true,Riding=(id=Villager,Offers=(Recipes=[(buy=(id=diamond,Count=#rand(50,64)),sell=(id=lootplusplus:water.trident,Count=1,tag=(AttributeModifiers=[(AttributeName="generic.attackDamage",Name="generic.attackDamage",Amount=300D,Operation=0,UUIDLeast=894654,UUIDMost=2872)],display=(Lore=["$7Aquatic Aspect","","Trueshot","Drowning","","$9Belongs to Poseidon",""],Name="$1$lPoseidon's Trident"),ench=[(id=16,lvl=5),(id=19,lvl=5),(id=20,lvl=5),(id=21,lvl=5),(id=34,lvl=5),(id=48,lvl=5),(id=49,lvl=5),(id=51,lvl=5)],Unbreakable=true)),maxUses=1),(buy=(id=diamond,Count=#rand(50,64)),sell=(id=lootplusplus:water.crown,Count=1,tag=(ench=[(id=0,lvl=5),(id=7,lvl=5),(id=5,lvl=5),(id=8,lvl=5),(id=6,lvl=5)],display=(Lore=["$7Royalty","","","$9Belongs to Poseidon","The whole set of armor gives you all its power",""],Name="$1$lPoseidon's Crown"),Unbreakable=true)),maxUses=1),(buy=(id=diamond,Count=#rand(50,64)),sell=(id=lootplusplus:water.himation,Count=1,tag=(AttributeModifiers=[(AttributeName=generic.maxHealth,Name="health",Amount=20,Operation=0,UUIDLeast=3,UUIDMost=3)],display=(Lore=["$7Increase in Life","","","$9Belongs to Poseidon","The whole set of armor gives you all its power",""],Name="$1$lPoseidon's Himation"),ench=[(id=0,lvl=5),(id=7,lvl=5),(id=5,lvl=5),(id=8,lvl=5),(id=6,lvl=5)],Unbreakable=true)),maxUses=1),(buy=(id=diamond,Count=#rand(50,64)),sell=(id=lootplusplus:water.peplo,Count=1,tag=(AttributeModifiers=[(AttributeName="generic.knockbackResistance",Name="generic.knockbackResistance",Amount=1D,Operation=0,UUIDLeast=894654,UUIDMost=2872)],ench=[(id=0,lvl=5),(id=7,lvl=5),(id=5,lvl=5),(id=8,lvl=5),(id=6,lvl=5)],display=(Lore=["","","","$9Belongs to Poseidon","The whole set of armor gives you all its power",""],Name="$1$lPoseidon's Peplo"),Unbreakable=true)),maxUses=1),(buy=(id=diamond,Count=#rand(50,64)),sell=(id=lootplusplus:water.poseidon_gold_boots,Count=1,tag=(AttributeModifiers=[(AttributeName=generic.movementSpeed,Name="fast",Amount=0.4f,Operation=1,UUIDLeast=2,UUIDMost=2)],display=(Lore=["$7Swimming","","","$9Belongs to Poseidon","The whole set of armor gives you all its power",""],Name="$1$lPoseidon's Gold Boots"),ench=[(id=0,lvl=5),(id=7,lvl=5),(id=5,lvl=5),(id=8,lvl=5),(id=6,lvl=5),(id=9,lvl=5)],Unbreakable=true)),maxUses=1)]),Profession=3,CustomName="$1$lPoseidon Villager",Career=1,CareerLevel=100))@chance=0.2@luck=3

/ eggs + prismarine gem
group(type=entity,ID=ThrownEgg,NBTTag=(Motion=#randLaunchMotion(0.6,15)),amount=40;type=entity,ID=Item,NBTTag=(Item=(id=lootplusplus:water.prismarine_gem,Count=1),Motion=#randLaunchMotion(0.7,18)),amount=20)@luck=2


/ eggs + aquamarine
group(type=entity,ID=ThrownEgg,NBTTag=(Motion=#randLaunchMotion(0.6,15)),amount=40;type=entity,ID=Item,NBTTag=(Item=(id=lootplusplus:water.aquamarine,Count=1),Motion=#randLaunchMotion(0.7,18)),amount=20)@luck=2


/ eggs + coral
group(type=entity,ID=ThrownEgg,NBTTag=(Motion=#randLaunchMotion(0.6,15)),amount=40;type=entity,ID=Item,NBTTag=(Item=(id=lootplusplus:water.coral,Count=1),Motion=#randLaunchMotion(0.7,18)),amount=20)@luck=2


/ eggs + pearl
group(type=entity,ID=ThrownEgg,NBTTag=(Motion=#randLaunchMotion(0.6,15)),amount=40;type=entity,ID=Item,NBTTag=(Item=(id=lootplusplus:water.pearl,Count=1),Motion=#randLaunchMotion(0.7,18)),amount=20)@luck=2


/ Elder Guardian
group(type=difficulty,ID=hard;type=entity,ID=Guardian,NBTTag=(Elder=1)))@luck=-2

/ Zombies, creepers, spiders & cave spiders, silverfish & endermites, guardians
group:1:(type=entity,ID=Zombie,amount=#rand(20,50);type=entity,ID=Creeper,amount=#rand(10,30);group(type=entity,ID=Spider,amount=#rand(15,45);type=entity,ID=CaveSpider,amount=#rand(5,10));group(type=entity,ID=Silverfish,amount=#rand(15,45);type=entity,ID=Endermite,amount=#rand(5,10));type=entity,ID=Guardian,amount=#rand(10,30)@luck=-2

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

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

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

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

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

/ Warrior's Kraken
group(type=message,ID=\"$1Kraken§r: ¡Now you will feel the power of my army!\";type=difficulty,ID=hard;type=entity,ID=Skeleton,amount=#rand(10,20),NBTTag=(CustomName="$1$lWarrior's Kraken",CustomNameVisible=1,SkeletonType=1,Equipment=[(id=diamond_sword,Count=1,tag=(display=(Name=$1$lWarrior's Kraken Sword),AttributeModifiers=[(AttributeName="generic.attackDamage",Name="generic.attackDamage",Amount=10D,Operation=0,UUIDLeast=894654,UUIDMost=2872)])),(id=leather_boots,Count=1,tag=(display=(color=#rand(0,16777215)),ench=[(id=0,lvl=3),(id=7,lvl=2),(id=34,lvl=3),(id=2,lvl=3),(id=8,lvl=2)])),(id=leather_leggings,Count=1,tag=(display=(color=#rand(0,16777215)),ench=[(id=0,lvl=3),(id=7,lvl=2),(id=34,lvl=3)])),(id=leather_chestplate,Count=1,tag=(display=(color=#rand(0,16777215)),ench=[(id=0,lvl=3),(id=7,lvl=2),(id=34,lvl=3)])),(id=skull,Damage=3,Count=1,tag=(SkullOwner="MHF_Squid",display=(Name="$1$lWarrior's Kraken Skull"),ench=[(id=0,lvl=3),(id=7,lvl=2),(id=34,lvl=3),(id=5,lvl=2),(id=6,lvl=2)]))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],Attributes=[(Name=generic.maxHealth,Base=70),(Name=generic.movementSpeed,Base=0.2),(Name=generic.attackDamage,Base=7)],HealF=70,PersistenceRequired=1,ActiveEffects=[(Id=3,Amplifier=0,Duration=199980)]))@chance=0.4@luck=-2

/ Kraken
group(type=message,ID=\"$1$lKraken§r: ¡I will take my human form and destroy you with my army!\";type=difficulty,ID=hard;type=entity,ID=Skeleton,NBTTag=(CustomName="$1$lKraken",CustomNameVisible=1,SkeletonType=1,Equipment=[(id=lootplusplus:water.water_sword,Count=1,tag=(AttributeModifiers=[(AttributeName="generic.attackDamage",Name="generic.attackDamage",Amount=17D,Operation=0,UUIDLeast=894654,UUIDMost=2872)],display=(Lore=["$7Agility II","$7Aquatic Aspect","","Haste","","$9Found by #pName",""],Name="$1$lKraken's Sword"),ench=[(id=16,lvl=5),(id=17,lvl=3),(id=18,lvl=3),(id=19,lvl=2),(id=21,lvl=3),(id=34,lvl=3)],Unbreakable=true)),(id=lootplusplus:water.water_boots,Count=1,tag=(display=(Lore=["$7Touch of the Diver","","Slow Fall","Flight","","$9Found by #pName","","$9Dropped by Water Master"],Name="$1$lKraken's Boots"),ench=#luckyBootsEnchantments,Unbreakable=true)),(id=lootplusplus:water.water_leggings,Count=1,tag=(display=(Lore=["$7Touch of the Diver","","Jump Boost","","$9Found by #pName","","$9Dropped by Water Master"],Name="$1$lKraken's Leggings"),ench=#luckyLeggingsEnchantments,Unbreakable=true)),(id=lootplusplus:water.water_chestplate,Count=1,tag=(display=(Lore=["$7Touch of the Diver","","Resistance","","$9Found by #pName","","$9Dropped by Water Master"],Name="$1$lKraken's Chestplate"),ench=#luckyChestplateEnchantments,Unbreakable=true)),(id=skull,Damage=3,Count=1,tag=(SkullOwner="MHF_Squid",display=(Name="$1$lKraken's Skull"),ench=[(id=0,lvl=3),(id=7,lvl=2),(id=34,lvl=3),(id=5,lvl=2),(id=6,lvl=2)]))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],Attributes=[(Name=generic.maxHealth,Base=80f),(Name=skeleton.spawnReinforcements,Base=1f)],ForgeData=(LootPPCommands=(CommandListOnHurt=["lppcondition testfor @e[r=3,type=Skeleton,name=$1$lWarrior's Kraken] _if_false_ lppcondition summon Skeleton ~ ~ ~ {CustomName:$1$lWarrior's Kraken,Equipment:[{id:diamond_sword},{id:leather_boots,tag:{display:{color:4670681}}},{id:leather_leggings,tag:{display:{color:4670681}}},{id:leather_chestplate,tag:{display:{color:4670681}}},{id:skull,Damage:3,tag:{SkullOwner:"MHF_Squid",display:{Name:"$1$lWarrior's Kraken Skull"}}}]} _if_true_  particle splash ~ ~1.5 ~ 0.5 0.5 0.5 0 10"])))))@chance=0.2@luck=-2

/ Water Wander
group(type=difficulty,ID=hard;type=entity,ID=lootplusplus.ThrownItem,NBTTag=(ItemThrown=lootplusplus:water.water_ball,CustomName="$9$lWater Wander",CustomNameVisible=true,Riding=(id=Skeleton,SkeletonType=1,Attributes=[(Name=generic.maxHealth,Base=90f)],CustomName="$9$lWater Wander",Equipment=[(id=lootplusplus:water.water_scythe,Count=1,tag=(AttributeModifiers=[(AttributeName="generic.attackDamage",Name="generic.attackDamage",Amount=17D,Operation=0,UUIDLeast=894654,UUIDMost=2872),(AttributeName=potioncore.reach,Name=reach,Amount=7,Operation=0,UUIDLeast=7,UUIDMost=1)],display=(Lore=["$7Stalker","$7Aquatic Aspect","","Reach","","$9Found by #pName",""],Name="$9$lWater Lucky Scythe"),ench=[(id=16,lvl=4),(id=17,lvl=4),(id=18,lvl=3),(id=19,lvl=2),(id=21,lvl=4),(id=34,lvl=3)],Unbreakable=true)),(id=lootplusplus:water.water_helmet,Count=1,tag=(display=(Lore=["$7Touch of the Diver","","Water Breathing","Night vision","","$9Found by #pName","","$9Dropped by Water Wander"],Name="$9$lWater Lucky Helmet"),ench=#luckyHelmetEnchantments,Unbreakable=true)),(id=lootplusplus:water.water_leggings,Count=1,tag=(display=(Lore=["$7Touch of the Diver","","Jump Boost","","$9Found by #pName","","$9Dropped by Water Wander"],Name="$9$lWater Lucky Leggings"),ench=#luckyLeggingsEnchantments,Unbreakable=true)),(id=lootplusplus:water.water_chestplate,Count=1,tag=(display=(Lore=["$7Touch of the Diver","","Resistance","","$9Found by #pName","","$9Dropped by Water Wander"],Name="$9$lWater Lucky Chestplate"),ench=#luckyChestplateEnchantments,Unbreakable=true)),(id=lootplusplus:water.water_boots,Count=1,tag=(display=(Lore=["$7Touch of the Diver","","Slow Fall","Flight","","$9Found by #pName","","$9Dropped by Water Wander"],Name="$9$lWater Lucky Boots"),ench=#luckyBootsEnchantments,Unbreakable=true))],DropChances=[#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f])))@chance=0.5@luck=-1

/ Baby Water Master
type=entity,ID=Zombie,NBTTag=(Equipment=[(id=lootplusplus:water.water_dagger,Count=1,tag=(display=(Lore=["$7Impulse","$7Aquatic Aspect","","","$9Found by #pName","","$9Dropped by Baby Water Master"],Name="$9$lWater Lucky Dagger"),AttributeModifiers=[(AttributeName=generic.movementSpeed,Name="fast",Amount=0.4f,Operation=1,UUIDLeast=2,UUIDMost=2),(AttributeName="generic.attackDamage",Name="generic.attackDamage",Amount=12D,Operation=0,UUIDLeast=894654,UUIDMost=2872)],ench=[(id=16,lvl=5),(id=17,lvl=3),(id=18,lvl=3),(id=19,lvl=2),(id=21,lvl=3),(id=34,lvl=3)],Unbreakable=true)),(id=lootplusplus:water.water_helmet,Count=1,tag=(display=(Lore=["$7Touch of the Diver","","Water Breathing","Night vision","","$9Found by #pName","","$9Dropped by Baby Water Master"],Name="$9$lWater Lucky Helmet"),ench=#luckyHelmetEnchantments,Unbreakable=true)),(id=lootplusplus:water.water_leggings,Count=1,tag=(display=(Lore=["$7Touch of the Diver","","Jump Boost","","$9Found by #pName","","$9Dropped by Baby Water Master"],Name="$9$lWater L
ucky Leggings"),ench=#luckyLeggingsEnchantments,Unbreakable=true)),(id=lootplusplus:water.water_chestplate,Count=1,tag=(display=(Lore=["$7Touch of the Diver","","Resistance","","$9Found by #pName","","$9Dropped by Baby Water Master"],Name="$9$lWater Lucky Chestplate"),ench=#luckyChestplateEnchantments,Unbreakable=true)),(id=lootplusplus:water.water_boots,Count=1,tag=(display=(Lore=["$7Touch of the Diver","","Slow Fall","Flight","","$9Found by #pName","","$9Dropped by Baby Water Master"],Name="$9$lWater Lucky Boots"),ench=#luckyBootsEnchantments,Unbreakable=true))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],IsBaby=true,CustomName="$9$lBaby Water Master",CustomNameVisible=true)@chance=0.5@luck=-1



/ Lucky drop: iron tools
group(ID=iron_shovel;ID=iron_pickaxe;ID=iron_axe;ID=iron_sword;ID=iron_hoe)@luck=2

/ Unlucky drop: explosion
type=explosion,radius=4,fire=true@luck=-2





#Lucky Loot

/ iron tools
group(ID=iron_shovel;ID=iron_pickaxe;ID=iron_sword)@luck=0

/ diamond tools
group(ID=diamond_shovel;ID=diamond_pickaxe;ID=diamond_axe;ID=diamond_hoe;ID=diamond_sword)@luck=0

/ explosion
type=explosion,radius=4,fire=true@luck=-2@chance=0.5

/ explosion 2
type=explosion,radius=2,fire=false@luck=-2

/ jungle sword
ID=lootplusplus:hypnosis.jungle_sword,NBTTag=(display=(Name="$b$lJungle Sword"),ench=#luckySwordEnchantments)@luck=1

/ sun hammer
ID=lootplusplus:hypnosis.sun_hammer,NBTTag=(display=(Name="$6Sun Hammer"),ench=#luckySwordEnchantments)@luck=2@chance=0.5

/ diamond chestplate
ID=diamond_chestplate@luck=0

/ killer knife
ID=lootplusplus:hypnosis.killer_knife,NBTTag=(display=(Name="$2Killer Knife"),ench=#luckySwordEnchantments)@luck=1

/ Whats the problem
type=message,ID="$eWhats the problem"@luck=0

/ good luck
type=message,ID="$2Good luck"@luck=0

/Cow
type=entity,ID=Cow,amount=5,posOffset=#circleOffset(6,10))@luck=0



/ hypnosis boots
ID=lootplusplus:hypnosis.hypnosis_boots,NBTTag=(display=(Name="$6Hypgnsis boots"))@luck=0


/ hypnosis helmet
ID=lootplusplus:hypnosis.hypnosis_helmet,NBTTag=(display=(Name="$6Hypgnsis helmet"))@luck=0


/ hypnosis chestplate
ID=lootplusplus:hypnosis.hypnosis_chestplate,NBTTag=(display=(Name="$6Hypgnsis chestplate"))@luck=0


/ hypnosis leggings
ID=lootplusplus:hypnosis.hypnosis_leggings,NBTTag=(display=(Name="$6Hypgnsis leggings"))@luck=0

/ bone breaker
ID=lootplusplus:hypnosis.ultimate_bone_breaker_sword@chance=0.5@luck=2

/ violett destroyer
ID=lootplusplus:hypnosis.violett_destroyer@luck=2

/ lizard sword
ID=lootplusplus:hypnosis.lizard_sword@luck=2

/ magic dragon sword
ID=lootplusplus:hypnosis.magic_dragon_sword,NBTTag=(display=(Name="$aMagic dragon sword"),ench=#luckySwordEnchantments)@chance=0.5@luck=2

/ bone breaker
ID=lootplusplus:hypnosis.blue_king_sword@luck=1

/ lizard chestplate
ID=lootplusplus:hypnosis.lizard_chestplate,NBTTag=(display=(Name="$aLizard chestplate"),ench=[(id=0,lvl=3)],AttributeModifiers=[(AttributeName="generic.maxHealth",Name="generic.maxHealth",Amount=4,Operation=0,UUIDLeast=2,UUIDMost=5342)])@chance=0.5@luck=2


/ lizard boots
ID=lootplusplus:hypnosis.lizard_boots,NBTTag=(display=(Name="$aLizard boots"),ench=[(id=0,lvl=3)],AttributeModifiers=[(AttributeName="generic.maxHealth",Name="generic.maxHealth",Amount=4,Operation=0,UUIDLeast=3,UUIDMost=6354)])@chance=0.5@luck=2

/ lizard_leggings
ID=lootplusplus:hypnosis.lizard_leggings,NBTTag=(display=(Name="$aLizard leggings"),ench=[(id=0,lvl=3)],AttributeModifiers=[(AttributeName="generic.maxHealth",Name="generic.maxHealth",Amount=4,Operation=0,UUIDLeast=4,UUIDMost=9876)])@chance=0.5@luck=2

/ lizard helmet
ID=lootplusplus:hypnosis.lizard_helmet,NBTTag=(display=(Name="$aLizard helmet"),ench=[(id=0,lvl=3)],AttributeModifiers=[(AttributeName="generic.maxHealth",Name="generic.maxHealth",Amount=4,Operation=0,UUIDLeast=5,UUIDMost=4848)])@chance=0.5@luck=2

/ lizards
ID=lootplusplus:hypnosis.lizard,amount=5@luck=1

/ old blood sword
ID=lootplusplus:hypnosis.old_blood_sword@luck=0

/ queen sword
ID=lootplusplus:hypnosis.queen_sword@luck=2

/ golem sword
ID=lootplusplus:hypnosis.golem_sword@luck=2

/ golem helmet
ID=lootplusplus:hypnosis.golem_helmet,NBTTag=(display=(Name="$6Golem helmet"),ench=[(id=0,lvl=4)],Unbreakable=true)@chance=0.2@luck=2

/ golem boots
ID=lootplusplus:hypnosis.golem_boots,NBTTag=(display=(Name="$6Golem boots"),ench=[(id=0,lvl=4)],Unbreakable=true)@chance=0.2@luck=2

/ golem chestplate
ID=lootplusplus:hypnosis.golem_chestplate,NBTTag=(display=(Name="$6Golem chestplate"),ench=[(id=0,lvl=4)],Unbreakable=true)@chance=0.2@luck=2

/ golem leggings
ID=lootplusplus:hypnosis.golem_leggings,NBTTag=(display=(Name="$6Golem leggings"),ench=[(id=0,lvl=4)],Unbreakable=true)@chance=0.2@luck=2

/ golem material
ID=lootplusplus:hypnosis.golem_material,amount=4@luck=1

/ material
group(ID=lootplusplus:hypnosis.golem_material,amount=3;ID=lootplusplus:hypnosis.lizard,amount=3;ID=lootplusplus:hypnosis.hypnosis_material,amount=3;ID=diamond,amount=3;ID=emerald,amount=3;ID=lootplusplus:hypnosis.blue_king_material,amount=3;ID=lootplusplus:hypnosis.undergrowth_material,amount=3)@luck=2

/pumpkin
ID=pumpkin,amount=3@luck=0

/bow
ID=bow@luck=1

/arrow
ID=arrow,amount=6@luck=1

/hypnosis master
type=entity,ID=Zombie,NBTTag=(Equipment=[(id=lootplusplus:hypnosis.queen_sword,Count=1,tag=(ench=#luckySwordEnchantments)),(id=lootplusplus:hypnosis.hypnosis_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments)),(id=lootplusplus:hypnosis.hypnosis_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=lootplusplus:hypnosis.hypnosis_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=lootplusplus:hypnosis.hypnosis_boots,Count=1,tag=(ench=#luckyBootsEnchantments))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="$6$lHypnosis Master",CustomNameVisible=true)@luck=-2
/iron ore
ID=iron_ore,amount=8@luck=0

/ lizard bow
ID=lootplusplus:hypnosis.lizard_bow@luck=1

/golem bow
ID=lootplusplus:hypnosis.golem_bow@luck=2

/ blue king armor
group(ID=lootplusplus:hypnosis.blue_king_chestplate;ID=lootplusplus:hypnosis.blue_king_helmet;ID=lootplusplus:hypnosis.blue_king_boots;ID=lootplusplus:hypnosis.blue_king_leggings)@luck=1

/zombies
type=entity,ID=Zombie,amount=6,posOffset=#circleOffset(6,10))@luck=-2

/chicken
type=entity,ID=Chicken,amount=8,posOffset=#circleOffset(6,10))@luck=-1

/pig
type=entity,ID=pig,amount=5,posOffset=#circleOffset(6,10))@luck=-1

/gold ore
ID=gold_ore,amount=20@luck=0

/brick_stone
ID=brick_stone,amount=20@luck=0

/apple
ID=apple,amount=12@luck=1

/golem ore
ID=lootplusplus:hypnosis.golem_material_ore,amount=5@luck=1

/Old blue king
type=entity,ID=Zombie,NBTTag=(Equipment=[(id=lootplusplus:hypnosis.blue_king_sword,Count=1,tag=(ench=#luckySwordEnchantments)),(id=lootplusplus:hypnosis.blue_king_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments)),(id=lootplusplus:hypnosis.blue_king_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=lootplusplus:hypnosis.blue_king_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=lootplusplus:hypnosis.blue_king_boots,Count=1,tag=(ench=#luckyBootsEnchantments))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="$1$lOld blue King",CustomNameVisible=true)@luck=-2

/falling iron ore
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=iron_ore))@luck=0

/golem lucky potion
ID=potion,amount=1,damage=8267,reinitialize=true,NBTTag=(CustomPotionEffects=[(Id=1,Amplifier=2,Duration=#rand(5000,6000)),(Id=3,Amplifier=1,Duration=#rand(5000,6000)),(Id=5,Amplifier=1,Duration=#rand(5000,6000)),(Id=8,Amplifier=2,Duration=#rand(5000,6000))],display=(Name="$6$lGolem Lucky Potion"))@luck=2@chance=0.5

/Hypnosis potion
ID=potion,amount=1,damage=8267,reinitialize=true,NBTTag=(CustomPotionEffects=[(Id=3,Amplifier=1,Duration=2000),(Id=5,Amplifier=1,Duration=4000)],display=(Name="$6$lHypnosis Potion"))@luck=2@chance=0.5

/ mine
type=structure,ID=mine,pos=#pPos,rotation=#pDirect@luck=-1

/ pool
type=structure,ID=pool,pos=#pPos,rotation=#pDirect@luck=0

/grapes
ID=lootplusplus:hypnosis.grape,amount=3@luck=1

/gold armor
group(ID=gold_chestplate;ID=gold_boots;ID=gold_leggings;ID=gold_helmet)@luck=0

/iron armor
group(ID=iron_chestplate;ID=iron_boots;ID=iron_leggings;ID=iron_helmet)@luck=0

/rabbit potion
ID=potion,amount=1,damage=8267,reinitialize=true,NBTTag=(CustomPotionEffects=[(Id=1,Amplifier=3,Duration=5000),(Id=8,Amplifier=2,Duration=5000)],display=(Name="$3$lRabbit Potion"))@luck=1@chance=0.7

/undergrowth sword
ID=lootplusplus:hypnosis.undergrowth_sword@luck=2

/angel wings
ID=lootplusplus:hypnosis.angel_chestplate@luck=1

/undergrowth boots
ID=lootplusplus:hypnosis.undergrowth_boots@luck=2@chance=0.1

/undergrowth helmet
ID=lootplusplus:hypnosis.undergrowth_helmet@luck=2@chance=0.1

/undergrowth chestplate
ID=lootplusplus:hypnosis.undergrowth_chestplate@luck=2@chance=0.1

/undergrowth leggings
ID=lootplusplus:hypnosis.undergrowth_leggings@luck=2@chance=0.1