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

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

ID=saddle,amount=2@luck=0
ID=nether_star@luck=2
ID=red_flower,NBTTag=(display=(Name="$cRomantic Rose"))@luck=-1

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

ID=cake,NBTTag=(display=(Lore=["Yummy!"]))@luck=0
ID=rotten_flesh,NBTTag=(display=(Lore=["Not so yummy..."]))@luck=-1
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)@luck=0

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

/ bookshelves
ID=bookshelf,amount=15@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))@luck=1
/ vegetable food (carrots, potatoes, pumpkin pie)
group:1:(group(ID=pumpkin,amount=#rand(8,16);ID=lit_pumpkin,amount=#rand(8,16));group(ID=carrot,amount=#rand(8,16);ID=golden_carrot,amount=#rand(4,8));group(ID=potato,amount=#rand(8,16);ID=baked_potato,amount=#rand(4,8);ID=poisonous_potato,amount=#rand(2,4));group(ID=pumpkin_pie,amount=#rand(6,12)))@luck=1
/ ender pearls
ID=ender_pearl,amount=16@luck=2
/ potions
ID=potion,damage=#randPotionDamage,amount=#rand(6,10)@luck=1
/ spawn eggs
ID=spawn_egg,damage=#randSpawnEggDamage,amount=#rand(4,8)@luck=1
/ brewing
group(ID=glass_bottle,amount=#rand(3,12);ID=ender_pearl,amount=#rand(1,3);ID=blaze_rod,amount=#rand(1,3);ID=ghast_tear,amount=#rand(1,3);ID=gold_nugget,amount=#rand(1,3);ID=nether_wart,amount=#rand(1,3);ID=spider_eye,amount=#rand(1,3);ID=fermented_spider_eye,amount=#rand(1,3);ID=blaze_powder,amount=#rand(1,3);ID=magma_cream,amount=#rand(1,3);ID=ender_eye,amount=#rand(1,3);ID=speckled_melon,amount=#rand(1,3);ID=rabbit_foot,amount=#rand(1,3);type=particle,ID=2002,damage=3)@luck=2
/ redstone
group(ID=dispenser,amount=2;ID=noteblock,amount=1;ID=sticky_piston,amount=4;ID=piston,amount=4;ID=tnt,amount=16;ID=lever,amount=2;ID=stone_pressure_plate,amount=2;ID=wooden_pressure_plate,amount=2;ID=redstone_torch,amount=8;ID=stone_button,amount=2;ID=trapdoor,amount=2;ID=iron_trapdoor,amount=2;ID=fence_gate,amount=1;ID=redstone_lamp,amount=4;ID=tripwire_hook,amount=2;ID=wooden_button,amount=2;ID=light_weighted_pressure_plate,amount=1;ID=heavy_weighted_pressure_plate,amount=1;ID=daylight_detector,amount=1;ID=hopper,amount=4;ID=dropper,amount=#rand(2,4);ID=wooden_door,amount=1;ID=iron_door,amount=1;ID=redstone,amount=#rand(32,64);ID=repeater,amount=8;ID=comparator,amount=2;type=particle,ID=2002,damage=9)@luck=2
/ colorful
group(group:1:(ID=wool,damage=#rand(0,15),amount=#rand(32,64);ID=stained_hardened_clay,damage=#rand(0,15),amount=#rand(32,64);ID=dye,damage=#rand(0,15),amount=#rand(32,64);ID=stained_glass,damage=#rand(0,15),amount=#rand(32,64);ID=stained_glass_pane,damage=#rand(0,15),amount=#rand(32,64);ID=carpet,damage=#rand(0,15),amount=#rand(32,64));type=particle,ID=2002,damage=#randPotionParticle,amount=10)@luck=1
/ iron, gold, diamond, emerald, lapis with fireworks
group(ID=iron_ingot,amount=#rand(8,16);ID=gold_ingot,amount=#rand(8,16);ID=diamond,amount=#rand(8,16);ID=emerald,amount=#rand(8,16);ID=dye,damage=4,amount=#rand(8,16);type=entity,ID=FireworksRocketEntity,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag=#randFireworksRocket)),amount=20,posOffset=#circleOffset(0,2))@luck=2
/ quartz
group(ID=stone_slab,damage=7,amount=#rand(4,8);ID=quartz_ore,amount=#rand(16,32);ID=quartz_block,amount=#rand(4,8);ID=quartz_block,damage=1,amount=#rand(4,8);ID=quartz_block,damage=2,amount=#rand(4,8);ID=quartz_stairs,amount=#rand(4,8);ID=quartz,amount=#rand(24,32);type=particle,ID=2002,damage=14)@luck=1
/ flowers
group(ID=red_flower,damage=#rand(0,8),amount=64)@luck=0
/ enchantment books
ID=enchanted_book,NBTTag=(StoredEnchantments=#randEnchantment),amount=#rand(10,15)@luck=1
/ prismarine
group(ID=prismarine,amount=#rand(4,8);ID=prismarine,damage=1,amount=#rand(4,8);ID=prismarine,damage=2,amount=#rand(4,8);ID=sea_lantern,amount=#rand(4,8);ID=prismarine_shard,amount=#rand(15,30);ID=prismarine_crystals,amount=#rand(10,20);type=particle,ID=2002,damage=14)@luck=1

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

/ores

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

/heads

/mobs
group:#rand(1,4):(ID=skull,damage=0;ID=skull,damage=1;ID=skull,damage=2;ID=skull,damage=4;ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Blaze,display=(Name="$rBlaze Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_CaveSpider,display=(Name="$rCave Spider Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Chicken,display=(Name="$rChicken Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Cow,display=(Name="$rCow Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Enderman,display=(Name="$rEnderman Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Ghast,display=(Name="$rGhast Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_LavaSlime,display=(Name="$rMagma Cube Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_MushroomCow,display=(Name="$rMooshroom Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Pig,display=(Name="$rPig Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_PigZombie,display=(Name="$rZombie Pigman Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Sheep,display=(Name="$rSheep Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Slime,display=(Name="$rSlime Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Spider,display=(Name="$rSpider Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Squid,display=(Name="$rSquid Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Villager,display=(Name="$rVillager Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Golem,display=(Name="$rIron Golem Head")))@luck=0
/directions
group(ID=skull,damage=3,NBTTag=(SkullOwner=MHF_ArrowUp,display=(Name="$rUp"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_ArrowDown,display=(Name="$rDown"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_ArrowLeft,display=(Name="$rLeft"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_ArrowRight,display=(Name="$rRight"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Exclamation,display=(Name="$rExclamation"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Question,display=(Name="$rQuestion")))@luck=0
/decorations
group:#rand(2,6):(ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Cactus,display=(Name="$rMini Cactus"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Chest,display=(Name="$rMini Chest"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Melon,display=(Name="$rMini Melon"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Pumpkin,display=(Name="$rMini Pumpkin"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_TNT,display=(Name="$rMini TNT"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_TNT2,display=(Name="$rMini TNT"));ID=skull,damage=3,NBTTag=(SkullOwner=C418,display=(Name="$rMini Jukebox"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Cake,display=(Name="$rMini Cake"));ID=skull,damage=3,NBTTag=(SkullOwner=Tereneckla,display=(Name="$rMini Emerald Ore"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Apple,display=(Name="$rApple"));ID=skull,damage=3,NBTTag=(SkullOwner=Edna_I,display=(Name="$rEnder Eye"));ID=skull,damage=3,NBTTag=(SkullOwner=uioz,display=(Name="$rRadio"));ID=skull,damage=3,NBTTag=(SkullOwner=scemm,display=(Name="$rMini Dispenser"));ID=skull,damage=3,NBTTag=(SkullOwner=cake,display=(Name="$rMini Grass"));ID=skull,damage=3,NBTTag=(SkullOwner=SkitScape,display=(Name="$rRubik's Cube"));ID=skull,damage=3,NBTTag=(SkullOwner=TheMrLief,display=(Name="$rBurger"));ID=skull,damage=3,NBTTag=(SkullOwner=Thanauser,display=(Name="$rTankard"));ID=skull,damage=3,NBTTag=(SkullOwner=foreverwonders,display=(Name="$rMini Log"));ID=skull,damage=3,NBTTag=(SkullOwner=nickbg7n,display=(Name="$rToaster")))@luck=0
/players
ID=skull,damage=3,amount=#rand(1,4),NBTTag=(SkullOwner=#randList(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

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

/ thrown eggs
group(type=entity,ID=ThrownEgg,NBTTag=(Motion=#randLaunchMotion(0.6,15)),amount=#rand(30,40);type=entity,ID=Item,NBTTag=(Item=(id=diamond,Count=1),Motion=#randLaunchMotion(0.7,18)),amount=#rand(15,25))@luck=2
/ thrown exp bottles
type=entity,ID=ThrownExpBottle,NBTTag=(Motion=#randLaunchMotion),amount=#rand(32,64)@luck=2
/ launched tnt
type=entity,ID=PrimedTnt,NBTTag=(Fuse=50b,Motion=#randLaunchMotion),amount=15@luck=-2

/ lightning creeper
group(type=difficulty,ID=hard;type=entity,ID=Creeper;type=entity,ID=LightningBolt)@luck=-2
/ wither
group(type=difficulty,ID=hard;type=entity,ID=WitherBoss)@chance=0.1@luck=-2
/ elder guardian
group(type=difficulty,ID=hard;type=entity,ID=Guardian,NBTTag=(Elder=1)))@chance=0.5@luck=-2
/ killer rabbit
group(type=difficulty,ID=hard;type=entity,ID=Rabbit,NBTTag=(RabbitType=99))@luck=-1

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

/ witch with bats
group(type=difficulty,ID=hard;type=entity,ID=Witch;type=entity,ID=ThrownPotion,posY=#bPosY+#rand(0,2),posOffset=#circleOffset(0,1),amount=#rand(16,32),NBTTag=(OwnerName="Bomber Bat",Potion=(id=potion,Damage=#randPotionDamage),Riding=(id=Bat)))@luck=-1
/ huge slime and magma cube
group:1:(type=entity,ID=Slime,NBTTag=(Size=10,CustomName="$e$lBig Jim");type=entity,ID=LavaSlime,NBTTag=(Size=9,CustomName="$e$lBig Henry"))@luck=-2

/ pet wolves
group(type=entity,ID=Wolf,amount=#rand(5,10),posOffset=#circleOffset(3),NBTTag=(CollarColor=#rand(0,14),Owner=#pName,Sitting=1);type=particle,ID="heart",size=(2,0,2),particleAmount=20)@luck=1
/ pet cats
group(type=entity,ID=Ozelot,amount=#rand(5,10),posOffset=#circleOffset(3),NBTTag=(CatType=#rand(0,3),Owner=#pName,Sitting=1);type=particle,ID="heart",size=(2,0,2),particleAmount=20)@luck=1
/ pet rabbits
group(type=entity,ID=Rabbit,amount=#rand(5,10),posOffset=#circleOffset(3),NBTTag=(RabbitType=#rand(0,5),Owner=#pName,Sitting=1);type=particle,ID="heart",size=(2,0,2),particleAmount=20)@luck=1

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

/ lucky mobs
group:1:(type=entity,ID=Pig,NBTTag=(Equipment=[(id=porkchop,Count=1,tag=(ench=[(id=35,lvl=1)],display=(Name="$e$lLucky Pork")))],DropChances=[2f],CustomName="$e$lLucky Pig",CustomNameVisible=true);type=entity,ID=Cow,NBTTag=(Equipment=[(id=leather,Count=1,tag=(ench=[(id=35,lvl=1)],display=(Name="$e$lLucky Leather")))],DropChances=[2f],CustomName="$e$lLucky Cow",CustomNameVisible=true);type=entity,ID=Chicken,NBTTag=(Equipment=[(id=feather,Count=1,tag=(ench=[(id=35,lvl=1)],display=(Name="$e$lLucky Feather")))],DropChances=[2f],CustomName="$e$lLucky Chicken",CustomNameVisible=true);type=entity,ID=Sheep,NBTTag=(Equipment=[(id=wool,Count=1,tag=(ench=[(id=35,lvl=1)],display=(Name="$e$lLucky Wool")))],DropChances=[2f],CustomName="$e$lLucky Sheep",CustomNameVisible=true);type=entity,ID=Rabbit,NBTTag=(Equipment=[(id=rabbit_foot,Count=1,tag=(ench=[(id=35,lvl=1)],display=(Name="$e$lLucky Rabbit's Foot")))],DropChances=[2f],CustomName="$e$lLucky Rabbit",CustomNameVisible=true);type=entity,ID=Squid,NBTTag=(Equipment=[(id=dye,Count=1,tag=(ench=[(id=7,lvl=1)],display=(Name="$e$lUnlucky Ink")))],DropChances=[2f],CustomName="$e$lUnlucky Squid",CustomNameVisible=true))@luck=0
/colored sheep
type=entity,ID=Snowball,NBTTag=(CustomName="$cM$6r. $eR$aa$2i$bn$3b$5o$dw",CustomNameVisible=true,Riding=(id=Sheep,Color=#rand(0,15)b)),posOffset=#circleOffset(4),amount=16,reinitialize=true@luck=1

/giant
group(type=difficulty,ID=hard;type=entity,ID=GiantNBTTag=(Equipment=[(id=none),(id=rotten_flesh,Count=#rand(32,64))],DropChances=[0f,2f])@luck=0
/ghast
group(type=difficulty,ID=hard;type=entity,ID=Ghast,NBTTag=(CustomName="$f$lMarshmallow"))@chance=0.2@luck=-2

/~~ bosses ~~

/ bob zombie
group(type=difficulty,ID=hard;type=entity,ID=Zombie,NBTTag=(Equipment=[(id=diamond_sword,Count=1,tag=(ench=#luckySwordEnchantments,display=(Name="$e$lBob's Sword"))),(id=diamond_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments,display=(Name="$e$lBob's Helmet"))),(id=diamond_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments,display=(Name="$e$lBob's Chestplate"))),(id=diamond_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments,display=(Name="$e$lBob's Pants"))),(id=diamond_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments,display=(Name="$e$lBob's Boots")))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="$e$lBob",CustomNameVisible=true))@luck=-2
group(type=difficulty,ID=hard;type=entity,ID=Zombie,NBTTag=(Equipment=[(id=wooden_sword,Count=1,tag=(ench=#luckySwordEnchantments,display=(Name="$7$lBob's 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 skeleton
group(type=difficulty,ID=hard;type=command,ID="/playsound records.11 @a ~ ~ ~ 0.0001 2.0";type=command,delay=0.5,ID="/playsound records.11 @a ~ ~ ~ 0.0001 2.0";type=command,delay=1,ID="/playsound records.11 @a ~ ~ ~ 0.0001 2.0";type=command,delay=1.5,ID="/playsound records.13 @a ~ ~ ~ 2.0 2.0";type=entity,ID=Snowball,NBTTag=(CustomName="$f$lGhostly Horseman",CustomNameVisible=true,Riding=(id=Skeleton,CustomName="$f$lGhostly Horseman",Equipment=[(id=bow,Count=1,Damage=0,tag=(ench=#luckyBowEnchantments,display=(Name="$f$lGhostly Bow"))),(id=chainmail_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments,display=(Name="$f$lGhostly Helmet"))),(id=chainmail_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments,display=(Name="$f$lGhostly Chestplate"))),(id=chainmail_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments,display=(Name="$f$lGhostly Pants"))),(id=chainmail_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments,display=(Name="$f$lGhostly Boots")))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)],Riding=(id=EntityHorse,CustomName="$f$lGhostly Horse",Tame=true,Type=4,Riding=(id=Bat,Silent=true,ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)])))))@luck=-2

/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

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

/grim
group(type=difficulty,ID=hard;type=command,ID="/playsound records.11 @a ~ ~ ~ 0.0001 2.0";type=command,delay=0.5,ID="/playsound records.11 @a ~ ~ ~ 0.0001 2.0";type=command,delay=1,ID="/playsound records.11 @a ~ ~ ~ 0.0001 2.0";type=command,delay=1.5,ID="/playsound records.ward @a ~ ~ ~ 2.0 1.5";type=entity,ID=Skeleton,NBTTag=(SkeletonType=1,Attributes=[(Name=generic.maxHealth,Base=200f)],CustomName="$0$lGrim",Equipment=[(id=diamond_hoe,Count=1,tag=(display=(Name="$8$lAncient 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

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

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

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

/~~ villagers ~~

/ lucky villagers
type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(30,35)),sell=(id=diamond_sword,Count=1,tag=(ench=#luckySwordEnchantments,display=(Name="$e$lLucky Sword"))),maxUses=1),(buy=(id=diamond,Count=#rand(30,35)),sell=(id=bow,Count=1,tag=(ench=#luckyBowEnchantments,display=(Name="$e$lLucky Bow"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=fishing_rod,Count=1,tag=(ench=#luckyFishingRodEnchantments,display=(Name="$e$lLucky Fishing Rod"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=potion,Damage=8193,Count=1,tag=(CustomPotionEffects=[(Id=6,Amplifier=#rand(0,1)),(Id=#randList(12,13,14,16),Amplifier=0,Duration=#rand(1200,2400)),(Id=#randList(1,3,5,10),Amplifier=#rand(0,1),Duration=#rand(1200,2400)),(Id=#randList(8,11,22,23),Amplifier=#rand(0,1),Duration=#rand(1200,2400))],display=(Name="$e$lLess OP Lucky Potion"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=potion,Damage=16457,Count=1,tag=(CustomPotionEffects=[(Id=7,Amplifier=#rand(0,1)),(Id=#randList(9,15),Amplifier=0,Duration=#rand(600,1800)),(Id=#randList(2,17,19),Amplifier=#rand(0,1),Duration=#rand(600,1800)),(Id=#randList(4,18,20),Amplifier=#rand(0,1),Duration=#rand(600,1800))],display=(Name="$e$lLess OP Unlucky Potion"))),maxUses=1)]),CustomName="$e$lLucky Villager",CustomNameVisible=true,Career=1,CareerLevel=100)@luck=1
type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(22,27)),sell=(id=diamond_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments,display=(Name="$e$lLucky Helmet"))),maxUses=1),(buy=(id=diamond,Count=#rand(30,35)),sell=(id=diamond_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments,display=(Name="$e$lLucky Chestplate"))),maxUses=1),(buy=(id=diamond,Count=#rand(25,30)),sell=(id=diamond_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments,display=(Name="$e$lLucky Leggings"))),maxUses=1),(buy=(id=diamond,Count=#rand(22,27)),sell=(id=diamond_boots,Count=1,tag=(ench=#luckyBootsEnchantments,display=(Name="$e$lLucky Boots"))),maxUses=1)]),CustomName="$e$lLucky Villager",CustomNameVisible=true,Career=1,CareerLevel=100)@luck=1
type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(20,25)),sell=(id=diamond_shovel,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$e$lLucky Shovel"))),maxUses=1),(buy=(id=diamond,Count=#rand(25,30)),sell=(id=diamond_pickaxe,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$e$lLucky Pickaxe"))),maxUses=1),(buy=(id=diamond,Count=#rand(25,30)),sell=(id=diamond_axe,Count=1,tag=(ench=#luckyAxeEnchantments,display=(Name="$e$lLucky Axe"))),maxUses=1),(buy=(id=diamond,Count=#rand(20,25)),sell=(id=diamond_hoe,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$e$lLucky 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$lMystery Potion"))),maxUses=1),(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potion,Damage=16384,Count=1,tag=(HideFlags=32,CustomPotionEffects=#unluckyPotionEffects,display=(Name="$e$lMystery Potion"))),maxUses=1)]),Profession=1,CustomName="$e$lMysterious Villager",CustomNameVisible=true,Career=1,CareerLevel=100);type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potion,Damage=0,Count=1,tag=(CustomPotionEffects=#unluckyPotionEffects,display=(Name="$e$lMystery Potion"))),maxUses=1),(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potion,Damage=16384,Count=1,tag=(HideFlags=32,CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lMystery Potion"))),maxUses=1)]),Profession=1,CustomName="$e$lMysterious Villager",CustomNameVisible=true,Career=1,CareerLevel=100);type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potion,Damage=0,Count=1,tag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lMystery Potion"))),maxUses=1),(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potion,Damage=16384,Count=1,tag=(HideFlags=32,CustomPotionEffects=#unluckyPotionEffects,display=(Name="$e$lMystery Potion"))),maxUses=1)]),Profession=1,CustomName="$e$lMysterious Villager",CustomNameVisible=true,Career=1,CareerLevel=100);type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potion,Damage=0,Count=1,tag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lMystery Potion"))),maxUses=1),(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potion,Damage=16384,Count=1,tag=(HideFlags=32,CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lMystery Potion"))),maxUses=1)]),Profession=1,CustomName="$e$lMysterious Villager",CustomNameVisible=true,Career=1,CareerLevel=100))@luck=1

/~~ Friendlies ~~

/great defender
group(type=particle,ID="heart",size=(1,0,1),particleAmount=5;type=entity,ID=VillagerGolem,NBTTag=(PlayerCreated=1,Equipment=[(id=diamond_sword,Count=1,Damage=0,tag=(ench=#luckySwordEnchantments)),(id=diamond_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments)),(id=diamond_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments)),(id=diamond_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments))],DropChances=[0f,0f,0f,0f,0f],CustomName="$e$l#randList(Smith,Tom,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

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

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

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

/~~ completely random stuff ~~

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

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

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

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

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

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

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

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

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

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


/ tnt pole
group(type=fill,ID=air,size=(1,51,1);type=entity,ID=FallingSand,NBTTag=(Block=redstone_block),posY=#bPosY+5;group(posY=#bPosY+10;posY=#bPosY+15;posY=#bPosY+20;posY=#bPosY+25;posY=#bPosY+30;posY=#bPosY+35;posY=#bPosY+40;posY=#bPosY+45;posY=#bPosY+50),type=entity,ID=FallingSand,NBTTag=(Block=tnt))@luck=2

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

/ falling blocks (iron, gold, diamond, emerald)
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=iron_block);type=particle,ID=largesmoke,size=(1,2,1),particleAmount=500,delay=2;type=sound,ID=random.fizz,delay=2)@luck=0
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=gold_block);type=particle,ID=flame,size=(1,2,1),particleAmount=500,delay=2;type=sound,ID=item.fireCharge.use,delay=2)@luck=0
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=diamond_block);type=entity,ID=LightningBolt,delay=2)@luck=1
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=emerald_block);type=particle,ID=happyVillager,size=(1,2,1),particleAmount=500,delay=2;type=sound,ID=dig.grass,delay=2)@luck=0
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=lapis_block);type=particle,ID=splash,size=(1,2,1),particleAmount=1000,delay=2;type=sound,ID=game.neutral.swim.splash,delay=2)@luck=0
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=redstone_block);type=particle,ID=reddust,size=(1,2,1),particleAmount=500,delay=2;type=sound,ID=game.tnt.primed,pitch=2,delay=2)@luck=0

group(type=command,ID="/fill ~-2 ~ ~-2 ~2 ~50 ~1 air";type=command,delay=6,ID="/fill ~-2 ~-1 ~-2 ~2 ~10 ~1 air 0 replace barrier";type=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="/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="/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="/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="/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="/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=sound,ID=game.tnt.primed,pitch=2,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=sound,ID=item.fireCharge.use,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=sound,ID=dig.grass,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=particle,ID=2002,damage=1,posOffset=(-1,6,-1),delay=3;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=sound,ID=game.neutral.swim.splash,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)@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 (unlucky?) block spiral
group(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="/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="/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="/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="/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="/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=iron_ingot,maxAmount=8,weight=10),(id=gold_ingot,maxAmount=4,weight=10),(id=lucky:lucky_block_spiral,maxAmount=5,weight=10),(id=golden_apple,maxAmount=5,weight=10),(id=golden_apple,damage=1,maxAmount=1,weight=7)],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="/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="/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="/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


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

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

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

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

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

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

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

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

/ lucky forts and temples
type=structure,ID=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="/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="/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="/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=\"$6Why would you wish for lava?\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=lava_bucket,amount=9,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=flint_and_steel,amount=9,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=0

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

/ice jar
group(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 ==============

/ lucky tower
group(type=structure,ID=tower_base,posOffsetY=-4;type=command,ID="/title @p[name=#pName] title {text:\"Lucky Tower\", color:yellow}")@luck=2


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

/ lucky sword
ID=diamond_sword,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$e$lLucky Sword"))@luck=2
/ lucky bow
ID=bow,NBTTag=(ench=#luckyBowEnchantments,display=(Name="$e$lLucky Bow"))@luck=2
/ lucky tools
group:#rand(1,2):(ID=diamond_shovel,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$e$lLucky Shovel"));ID=diamond_pickaxe,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$e$lLucky Pickaxe"));ID=diamond_axe,NBTTag=(ench=#luckyAxeEnchantments,display=(Name="$e$lLucky Axe"));ID=diamond_hoe,NBTTag=(ench=#luckyAxeEnchantments,display=(Name="$e$lLucky 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$lLucky Helmet"));ID=diamond_chestplate,NBTTag=(ench=#luckyChestplateEnchantments,display=(Name="$e$lLucky Chestplate"));ID=diamond_leggings,NBTTag=(ench=#luckyLeggingsEnchantments,display=(Name="$e$lLucky Leggings"));ID=diamond_boots,NBTTag=(ench=#luckyBootsEnchantments,display=(Name="$e$lLucky Boots")))@luck=2

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

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

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

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

ID=potion,damage=16459,amount=#rand(1,2),NBTTag=(HideFlags=32,CustomPotionEffects=[(Id=8,Amplifier=49,Duration=200)],display=(Lore=["$7Contains the essence of extreme slime."],Name="$a$lSplash Me"))@luck=0
ID=potion,damage=16386,amount=#rand(1,2),NBTTag=(HideFlags=32,CustomPotionEffects=[(Id=1,Amplifier=79,Duration=200)],display=(Lore=["$7Contains a lot of sugar. Not","$7recommended while on a diet."],Name="$b$lSplash Me"))@luck=1
ID=potion,damage=16388,amount=#rand(1,2),NBTTag=(HideFlags=32,CustomPotionEffects=[(Id=14,Amplifier=0,Duration=200),(Id=15,Amplifier=0,Duration=200),(Id=16,Amplifier=0,Duration=200)],display=(Lore=["$7Made from a root know to make seeing","$7very hard. In every respect..."],Name="$3$lSplash Me"))@luck=0
ID=potion,damage=16393,amount=#rand(1,2),NBTTag=(HideFlags=32,CustomPotionEffects=[(Id=18,Amplifier=79,Duration=400)],display=(Lore=["$7Very popular among pacifists."],Name="$5$lSplash Me"))@luck=1
ID=potion,damage=16426,amount=#rand(1,2),NBTTag=(HideFlags=32,CustomPotionEffects=[(Id=2,Amplifier=7,Duration=400)],display=(Lore=["$7Contains the essence of extreme mud."],Name="$7$lSplash Me"))@luck=1

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

/other potions
ID=potion,amount=#rand(1,5),damage=8261,NBTTag=(HideFlags=32,CustomPotionEffects=[(Id=23,Amplifier=0,Duration=20)],display=(Lore=["$7Healthy and nutritious!"],Name="$c$lSuper Strawberry Milkshake"))@luck=1
ID=potion,damage=16430,NBTTag=(CustomPotionEffects=[(Id=14,Amplifier=0,Duration=2400),(Id=5,Amplifier=0,Duration=2400),(Id=1,Amplifier=1,Duration=2400)],display=(Name="$8$lThe Ultimate Blur"))@luck=1
ID=potion,damage=16453,NBTTag=(CustomPotionEffects=[(Id=9,Amplifier=0,Duration=300),(Id=10,Amplifier=2,Duration=300)],display=(Lore=["$rForces your body to heal so fast","$ryou feel sick."],Name="$c$lEmergency Health"))@luck=1
ID=potion,damage=16430,NBTTag=(CustomPotionEffects=[(Id=21,Amplifier=1,Duration=2400),(Id=22,Amplifier=0,Duration=2400),(Id=11,Amplifier=0,Duration=2400),(Id=18,Amplifier=2,Duration=2400)],display=(Name="$8$lThe Ultimate Tank"))@luck=1

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

/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

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

/========== 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=(display=(Name="$f$lSpiral Sword"),ench=#luckySwordEnchantments,AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=12,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
