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

ID=elytra@luck=2
ID=nether_star@luck=2
ID=totem_of_undying@luck=2
ID=diamond_horse_armor@luck=2
ID=netherbrick,amount=#rand(8,32)@luck=2
ID=golden_carrot,amount=#rand(1,64)@luck=2
ID=speckled_melon,amount=#rand(1,64)@luck=2
ID=spectral_arrow,amount=#rand(1,64)@luck=2
ID=shears@luck=1
ID=shield@luck=1
ID=iron_sword@luck=1
ID=end_crystal@luck=1
ID=fishing_rod@luck=1
ID=apple,amount=8@luck=1
ID=flint_and_steel@luck=1
ID=golden_horse_armor@luck=1
ID=arrow,amount=#rand(1,64)@luck=1
ID=brick,amount=#rand(8,32)@luck=1
ID=melon,amount=#rand(1,64)@luck=1
ID=carrot,amount=#rand(1,64)@luck=1
ID=cookie,amount=#rand(1,64)@luck=1
ID=diamond,amount=#rand(4,16)@luck=1
ID=emerald,amount=#rand(4,16)@luck=1
ID=gunpowder,amount=#rand(8,16)@luck=1
ID=fermented_spider_eye,amount=8@luck=1
ID=gold_ingot,amount=#rand(8,16)@luck=1
ID=rabbit_stew,amount=#rand(5,7)@luck=1
ID=red_flower,amount=#rand(1,64)@luck=1
ID=fire_charge,amount=#rand(1,16)@luck=1
ID=beetroot_stew,amount=#rand(5,7)@luck=1
ID=dye,damage=4,amount=#rand(4,16)@luck=1
ID=mushroom_stew,amount=#rand(5,7)@luck=1
ID=firework_charge,amount=#rand(1,16)@luck=1
ID=bow@luck=0
ID=cake@luck=0
ID=boat@luck=0
ID=bucket@luck=0
ID=minecart@luck=0
ID=name_tag@luck=0
ID=melon_seeds@luck=0
ID=shulker_shell@luck=0
ID=saddle,amount=2@luck=0
ID=iron_horse_armor@luck=0
ID=painting,amount=4@luck=0
ID=egg,amount=#rand(3,16)@luck=0
ID=coal,amount=#rand(4,16)@luck=0
ID=bucket,amount=#rand(2,5)@luck=0
ID=string,amount=#rand(5,64)@luck=0
ID=beetroot,amount=#rand(1,64)@luck=0
ID=redstone,amount=#rand(4,16)@luck=0
ID=snowball,amount=#rand(3,16)@luck=0
ID=clay_ball,amount=#rand(8,32)@luck=0
ID=iron_ingot,amount=#rand(4,16)@luck=0
ID=rabbit_foot,amount=#rand(1,3)@luck=0
ID=ender_pearl,amount=#rand(3,16)@luck=0
ID=nether_wart,amount=#rand(3,16)@luck=0
ID=chorus_fruit,amount=#rand(3,16)@luck=0
ID=dye,damage=6,amount=#rand(1,64)@luck=0
ID=flint@luck=-1
ID=stick@luck=-1
ID=sugar@luck=-1
ID=potion@luck=-1
ID=feather@luck=-1
ID=golden_sword@luck=-1
ID=rotten_flesh@luck=-1
ID=splash_potion@luck=-1
ID=pumpkin_seeds@luck=-1
ID=beetroot_seeds@luck=-1
ID=wheat_seeds@luck=-2
ID=enchanted_book@luck=-2
ID=poisonous_potato@luck=-2
ID=spider_eye,amount=8@luck=-2


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

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

ID=rabbit_stew,NBTTag=(display=(Name="$e$lLucky Stew")),amount=#rand(1,3)@luck=1
ID=web,amount=#rand(5,20),NBTTag=(display=(Name="$r$lSticky Situation"))@luck=0

ID=lootplusplus:zeiyocraft.zeiyocraft_magic,amount=#rand(20,40)@luck=1
group(ID=lucky:lucky_potion,amount=#rand(2,4);ID=lucky:zeiyocraft_lucky_potion,amount=#rand(3,6))@luck=1
group(ID=lucky:lucky_potion,amount=#rand(1,2),NBTTag=(Luck=100,display=(Name="$rVery Lucky Potion"));ID=lucky:zeiyocraft_lucky_potion,amount=#rand(2,4),NBTTag=(Luck=100,display=(Name="$rZeiyocraft Very Lucky Potion")))@luck=2
group(ID=lucky:lucky_potion,amount=#rand(1,2),NBTTag=(Luck=-100,display=(Name="$rUnlucky Potion"));ID=lucky:zeiyocraft_lucky_potion,amount=#rand(2,4),NBTTag=(Luck=-100,display=(Name="$rZeiyocraft Unlucky Potion")))@luck=-1

type=entity,ID=Item,NBTTag=(CustomName="$cZeiyocraft Unlucky Sword",CustomNameVisible=true,Item=(Count=1,id="lucky:zeiyocraft_lucky_sword",tag=(Luck=-100,display=(Name="$c$lZeiyocraft Unlucky Sword"))))@luck=1
type=entity,ID=Item,NBTTag=(CustomName="$cZeiyocraft Unlucky Bow",CustomNameVisible=true,Item=(Count=1,id="lucky:zeiyocraft_lucky_bow",tag=(Luck=-100,display=(Name="$c$lZeiyocraft Unlucky Bow"))))@luck=1
group(ID=lucky:zeiyocraft_lucky_sword;ID=lucky:zeiyocraft_lucky_bow)@luck=1

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

/ enchantment table with bookshelves
group(ID=enchanting_table;ID=bookshelf,amount=15)@luck=1
/ golden apples
group(ID=golden_apple,amount=#rand(3,4);ID=golden_apple,amount=#rand(1,2),damage=1)@luck=2
/ meat (cooked)
group:1:(ID=cooked_porkchop,amount=#rand(8,16);ID=cooked_fish,amount=#rand(8,24);ID=cooked_fish,damage=1,amount=#rand(8,24);ID=cooked_beef,amount=#rand(8,24);ID=cooked_chicken,amount=#rand(8,24);ID=cooked_mutton,amount=#rand(8,24);ID=cooked_rabbit,amount=#rand(8,24))@chance=0.6@luck=1
/ vegetable food (carrots, potatoes, pumpkin pie)
group:1:(group(ID=pumpkin,amount=#rand(8,16);ID=lit_pumpkin,amount=#rand(8,16));group(ID=carrot,amount=#rand(8,16);ID=golden_carrot,amount=#rand(4,8));group(ID=potato,amount=#rand(8,16);ID=baked_potato,amount=#rand(4,8);ID=poisonous_potato,amount=#rand(2,4));group(ID=pumpkin_pie,amount=#rand(6,12)))@chance=0.6@luck=1
/ ender pearls
ID=ender_pearl,amount=16@chance=0.6@luck=2
/ potions
ID=potion,damage=#randPotionDamage,amount=#rand(6,10)@chance=0.5@luck=1
/ spawn eggs
ID=spawn_egg,NBTTag=(EntityTag=(id=#randSpawnEgg)),amount=#rand(4,8)@luck=1
/ brewing
group(ID=brewing_stand;ID=glass_bottle,amount=#rand(3,12);ID=ender_pearl,amount=#rand(1,3);ID=blaze_rod,amount=#rand(1,3);ID=ghast_tear,amount=#rand(1,3);ID=gold_nugget,amount=#rand(1,3);ID=nether_wart,amount=#rand(1,3);ID=spider_eye,amount=#rand(1,3);ID=fermented_spider_eye,amount=#rand(1,3);ID=blaze_powder,amount=#rand(1,3);ID=magma_cream,amount=#rand(1,3);ID=ender_eye,amount=#rand(1,3);ID=speckled_melon,amount=#rand(1,3);ID=rabbit_foot,amount=#rand(1,3);type=particle,ID=2002,damage=3)@luck=2
/ redstone
group(ID=dispenser,amount=2;ID=noteblock,amount=1;ID=sticky_piston,amount=4;ID=piston,amount=4;ID=tnt,amount=16;ID=lever,amount=2;ID=stone_pressure_plate,amount=2;ID=wooden_pressure_plate,amount=2;ID=redstone_torch,amount=8;ID=stone_button,amount=2;ID=trapdoor,amount=2;ID=iron_trapdoor,amount=2;ID=fence_gate,amount=1;ID=redstone_lamp,amount=4;ID=tripwire_hook,amount=2;ID=wooden_button,amount=2;ID=light_weighted_pressure_plate,amount=1;ID=heavy_weighted_pressure_plate,amount=1;ID=daylight_detector,amount=1;ID=hopper,amount=4;ID=dropper,amount=#rand(2,4);ID=wooden_door,amount=1;ID=iron_door,amount=1;ID=redstone,amount=#rand(32,64);ID=repeater,amount=8;ID=comparator,amount=2;type=particle,ID=2002,damage=9)@chance=0.8@luck=2
/ Colorful
group(group:1:(ID=wool,damage=#rand(0,15),amount=#rand(32,64);ID=stained_hardened_clay,damage=#rand(0,15),amount=#rand(32,64);ID=dye,damage=#rand(0,15),amount=#rand(32,64));type=particle,ID=2002,damage=#randPotionParticle,amount=10)@luck=1
group(ID=concrete,damage=#rand(0,15),amount=#rand(32,64);ID=concrete_powder,damage=#rand(0,15),amount=#rand(32,64))@luck=0
group(ID=stained_glass,damage=#rand(0,15),amount=#rand(32,64);ID=stained_glass_pane,damage=#rand(0,15),amount=#rand(32,64))@luck=0
group(ID=white_glazed_terracotta;ID=orange_glazed_terracotta;ID=magenta_glazed_terracotta;ID=light_blue_glazed_terracotta;ID=yellow_glazed_terracotta;ID=lime_glazed_terracotta;ID=pink_glazed_terracotta;ID=gray_glazed_terracotta;ID=silver_glazed_terracotta;ID=cyan_glazed_terracotta;ID=purple_glazed_terracotta;ID=blue_glazed_terracotta;ID=brown_glazed_terracotta;ID=green_glazed_terracotta;ID=red_glazed_terracotta;ID=black_glazed_terracotta),amount=#rand(2,4)@luck=2
/ Iron, gold, diamond, emerald, lapis with fireworks
group(ID=iron_ore,amount=#rand(8,16);ID=gold_ore,amount=#rand(4,8);ID=diamond_ore,amount=#rand(4,8);ID=emerald_ore,amount=#rand(4,8);ID=lapis_ore,amount=#rand(4,8);type=entity,ID=fireworks_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag=#randFireworksRocket)),amount=20,posOffset=#circleOffset(0,2))@luck=1
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=fireworks_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag=#randFireworksRocket)),amount=20,posOffset=#circleOffset(0,2))@luck=2
group(ID=iron_block,amount=#rand(4,8);ID=gold_block,amount=#rand(4,8);ID=diamond_block,amount=#rand(4,8);ID=emerald_block,amount=#rand(4,8);ID=lapis_block,amount=#rand(4,8);type=entity,ID=fireworks_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag=#randFireworksRocket)),amount=20,posOffset=#circleOffset(0,2))@luck=2
/ flowers
group(ID=red_flower,damage=#rand(0,8),amount=64)@luck=0
/ enchantment books
ID=enchanted_book,NBTTag=(StoredEnchantments=#randEnchantment),amount=1@luck=0
ID=enchanted_book,NBTTag=(StoredEnchantments=#randEnchantment),amount=#rand(4,8)@luck=1
ID=enchanted_book,NBTTag=(StoredEnchantments=#randEnchantment),amount=12@luck=2
/ prismarine
group(ID=prismarine,amount=#rand(4,8);ID=prismarine,damage=1,amount=#rand(4,8);ID=prismarine,damage=2,amount=#rand(4,8);ID=sea_lantern,amount=#rand(4,8);ID=prismarine_shard,amount=#rand(15,30);ID=prismarine_crystals,amount=#rand(10,20);type=particle,ID=2002,damage=14)@luck=1

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

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

/lucky resources - iron, gold, diamond, emerald, lapis, redstone with fireworks
group(ID=diamond,amount=#rand(5,20);ID=emerald,amount=#rand(5,20);ID=dye,damage=4,amount=32;ID=redstone,amount=64;ID=iron_ingot,amount=#rand(10,30);ID=gold_ingot,amount=#rand(5,20);type=entity,ID=FireworksRocketEntity,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag=#randFireworksRocket)),amount=5,posOffset=#circleOffset(0,2))@luck=2

/heads

/mobs
group:#rand(1,4):(ID=skull,damage=0;ID=skull,damage=1;ID=skull,damage=2;ID=skull,damage=4;ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Blaze,display=(Name="$rBlaze Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_CaveSpider,display=(Name="$rCave Spider Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Chicken,display=(Name="$rChicken Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Cow,display=(Name="$rCow Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Enderman,display=(Name="$rEnderman Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Ghast,display=(Name="$rGhast Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_LavaSlime,display=(Name="$rMagma Cube Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_MushroomCow,display=(Name="$rMooshroom Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Pig,display=(Name="$rPig Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_PigZombie,display=(Name="$rZombie Pigman Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Sheep,display=(Name="$rSheep Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Slime,display=(Name="$rSlime Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Spider,display=(Name="$rSpider Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Squid,display=(Name="$rSquid Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Villager,display=(Name="$rVillager Head"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Golem,display=(Name="$rIron Golem Head")))@luck=0
/directions
group(ID=skull,damage=3,NBTTag=(SkullOwner=MHF_ArrowUp,display=(Name="$rUp"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_ArrowDown,display=(Name="$rDown"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_ArrowLeft,display=(Name="$rLeft"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_ArrowRight,display=(Name="$rRight"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Exclamation,display=(Name="$rExclamation"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Question,display=(Name="$rQuestion")))@luck=0
/decorations
group:#rand(2,6):(ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Cactus,display=(Name="$rMini Cactus"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Chest,display=(Name="$rMini Chest"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Melon,display=(Name="$rMini Melon"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Pumpkin,display=(Name="$rMini Pumpkin"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_TNT,display=(Name="$rMini TNT"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_TNT2,display=(Name="$rMini TNT"));ID=skull,damage=3,NBTTag=(SkullOwner=C418,display=(Name="$rMini Jukebox"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Cake,display=(Name="$rMini Cake"));ID=skull,damage=3,NBTTag=(SkullOwner=Tereneckla,display=(Name="$rMini Emerald Ore"));ID=skull,damage=3,NBTTag=(SkullOwner=MHF_Apple,display=(Name="$rApple"));ID=skull,damage=3,NBTTag=(SkullOwner=Edna_I,display=(Name="$rEnder Eye"));ID=skull,damage=3,NBTTag=(SkullOwner=uioz,display=(Name="$rRadio"));ID=skull,damage=3,NBTTag=(SkullOwner=scemm,display=(Name="$rMini Dispenser"));ID=skull,damage=3,NBTTag=(SkullOwner=cake,display=(Name="$rMini Grass"));ID=skull,damage=3,NBTTag=(SkullOwner=SkitScape,display=(Name="$rRubik's Cube"));ID=skull,damage=3,NBTTag=(SkullOwner=TheMrLief,display=(Name="$rBurger"));ID=skull,damage=3,NBTTag=(SkullOwner=Thanauser,display=(Name="$rTankard"));ID=skull,damage=3,NBTTag=(SkullOwner=foreverwonders,display=(Name="$rMini Log"));ID=skull,damage=3,NBTTag=(SkullOwner=nickbg7n,display=(Name="$rToaster")))@luck=0
/players
ID=skull,damage=3,amount=#rand(1,4),NBTTag=(SkullOwner=#randList(Tmtravlr,PlayerInDistress,Herobrine,IHasCupquake,redb15,EcuTruin,BigBadChris,boni,Mr_okushama,AlgorithmX2,Mikeemoo,_CrazyP_,MysteriousAges,MineMaarten,nekosune,tlovetech,FireFall1725,PurpleMentat,calclavia,Minalien,fuj1n,Mithion,RWTema,WayofFlowingTime,TTFTCUTS,bskprs,futureamnet,azanor,chicken_bones,Cloudhunter,CovertJaguar,cpw11,dan200,Eloraam,florastar,iChun,KingLemming,Krapht,LexManos,TheMattaBase,mDiyo,Myrathi,Morvelaira,Pahimar,sfPlayer1,ProfMobius,Rorax,Sacheverell,sirsengir,Soaryn,x3n0ph0b3,XCompWiz,Vswe,Vazkii,ZeldoKaviera,neptunepink,EddieRuckus,eyamaz,jadedcat,slowpoke101,progwm16,adlingtont,AnderZEL,Arkas,Aureylian,AvidyaZEN,BdoubleO100,BlameTC,Coestar,Docm77,Etho,generikb,Guude,JSano19,kurtmac,SuperMCGamer,Mhykol,Millbee,Nebris,Pakratt0013,paulsoaresjr,PauseUnpause,Pyro_0,SethBling,thejims,Sevadus,Vechs_,VintageBeef,W92Baj,Zisteau,aidancbrady,spacetoad,FyberOptic,Vexatos,Mineshopper,AUTOMATIC_MAIDEN,sanandreasMC,FatherToast,Erasmus_Crowley,Alblaka,Emoniph,Nuchaz,Kobata,powercrystals,AbrarSyed,sdkillen,Taelnia,Lycanite,asiekierka,GregoriusT,skyboy,Flaxbeard,Emasher,joshiejack,Reika,MatrexsVigil,ganymedes01,Pokefenn,chylex,vadis365,Kihira,jakimfett,Notch,jeb_,C418,Dinnerbone,Grumm,Search_DP,EvilSeph,TheMogMiner,Kyrinon,vasili02,Jeb_Jeb,KingPurpleRaptor,DylanGK,Nerdcubed,Kleetho,DanTDM,Runew0lf,GiantWaffle,Bacon_Donut,Vaygrim,Heph,ChimneySwift,FuriousDestroyer,SuperGirlyGamer,CyaNideEPiC,Jarrenitis,direwolf20,Sjin,Xephos,LividCoffee,Rythian,Zoeya,TheStrippin,InTheLittleWood,Quetzz,Blorph,xbony2,CaptainSparklez,AntVenom,CavemanFilms,Fosler,BevoLJ,Sips_,Honeydew,TobyofBuscus,corjaantje))@luck=0
/patreon supporters
ID=skull,damage=3,NBTTag=(display=(Lore=["Patreon Supporter!"]),SkullOwner=#randList(LunariusH,Ringoster))@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

/ chests
type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/spawn_bonus_chest"))@luck=0
type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/simple_dungeon"))@luck=1
type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/village_blacksmith"))@luck=1
type=block,ID=chest,tileEntity=(Items=#customChestLootTable({"pools":[{"rolls":{"min":6,"max":12},"entries":[{"type":"item","name":"minecraft:iron_ingot","weight":1,"functions":[{"function":"set_count","count":{"min":1,"max":8}}]},{"type":"item","name":"minecraft:gold_ingot","weight":1,"functions":[{"function":"set_count","count":{"min":1,"max":4}}]},{"type":"item","name":"minecraft:diamond","weight":1,"functions":[{"function":"set_count","count":{"min":1,"max":4}}]},{"type":"item","name":"minecraft:emerald","weight":1,"functions":[{"function":"set_count","count":{"min":1,"max":4}}]},{"type":"item","name":"minecraft:dye","weight":1,"functions":[{"function":"set_data","data":4},{"function":"set_count","count":{"min":1,"max":4}}]},{"type":"item","name":"lucky:lucky_block","weight":1,"functions":[{"function":"set_data","data":0},{"function":"set_count","count":{"min":1,"max":2}}]},{"type":"item","name":"minecraft:golden_apple","weight":1,"functions":[{"function":"set_data","data":0},{"function":"set_count","count":{"min":1,"max":2}}]},{"type":"item","name":"minecraft:golden_apple","weight":1,"functions":[{"function":"set_data","data":1},{"function":"set_count","count":{"min":1,"max":2}}]}]}]}))@luck=2

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

/ lucky mobs
group:1:(type=entity,ID=Pig,NBTTag=(CustomName="$e$lLucky Pig",CustomNameVisible=true);type=entity,ID=Cow,NBTTag=(CustomName="$e$lLucky Cow",CustomNameVisible=true);type=entity,ID=Chicken,NBTTag=(CustomName="$e$lLucky Chicken",CustomNameVisible=true);type=entity,ID=Sheep,NBTTag=(CustomName="$e$lLucky Sheep",CustomNameVisible=true);type=entity,ID=Rabbit,NBTTag=(CustomName="$e$lLucky Rabbit",CustomNameVisible=true);type=entity,ID=Squid,NBTTag=(CustomName="$e$lUnlucky Squid",CustomNameVisible=true))@luck=0
/ colored sheep
type=entity,ID=Sheep,NBTTag=(CustomName="$cM$6r. $eR$aa$2i$bn$3b$5o$dw",CustomNameVisible=true,Color=#rand(0,15)),posOffset=#circleOffset(4),amount=16@luck=1

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

/ thrown exp bottles
type=entity,ID=xp_bottle,NBTTag=(Motion=#randLaunchMotion),amount=#rand(16,32)@luck=2
/ launched tnt
type=entity,ID=tnt,NBTTag=(Fuse=50b,Motion=#randLaunchMotion),amount=15@luck=-2
/shulker
group(type=difficulty,ID=hard;type=entity,ID=shulker)@luck=-2
/ender crystal
group(type=difficulty,ID=hard;type=entity,ID=ender_crystal)@luck=-2
/wither skeleton
group(type=difficulty,ID=hard;type=entity,ID=wither_skeleton)@luck=-2
/illusion illager
group(type=difficulty,ID=hard;type=entity,ID=illusion_illager)@luck=-2
/parrot
group(type=difficulty,ID=hard;type=entity,ID=parrot)@luck=0
/evocation illager
group(type=difficulty,ID=hard;type=entity,ID=evocation_illager)@luck=-2
/vindication illager
group(type=difficulty,ID=hard;type=entity,ID=vindication_illager)@luck=-2
/ lightning creeper
group(type=difficulty,ID=hard;type=entity,ID=Creeper;type=entity,ID=LightningBolt)@luck=-2
/ giant
group(type=difficulty,ID=hard;type=entity,ID=Giant)@luck=-2
/ wither
group(type=difficulty,ID=hard;type=entity,ID=wither)@chance=0.1@luck=-2
/ ghast
group(type=difficulty,ID=hard;type=entity,ID=Ghast)@chance=0.2@luck=-2
/ elder guardian
group(type=difficulty,ID=hard;type=entity,ID=Guardian,NBTTag=(Elder=1)))@chance=0.5@luck=-2
/ killer rabbit
group(type=difficulty,ID=hard;type=entity,ID=Rabbit,NBTTag=(RabbitType=99))@luck=-1
/ bob zombie
group(type=difficulty,ID=hard;type=entity,ID=Zombie,NBTTag=(HandItems=[(id=diamond_sword,Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=diamond_boots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=diamond_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=diamond_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$9$lBob",CustomNameVisible=true))@luck=-2
/ peter skeleton
group(type=difficulty,ID=hard;type=entity,ID=Skeleton,NBTTag=(HandItems=[(id=diamond_sword,Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=diamond_boots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=diamond_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=diamond_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$9$lPeter",CustomNameVisible=true))@luck=-2
/ ghostly horseman skeleton
group(type=difficulty,ID=hard;type=entity,ID=Bat,NBTTag=(Silent=true,ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)],Passengers=[(id=skeleton_horse,Tame=true,Type=4,Passengers=[(id=Skeleton,HandItems=[(id=bow,Count=1,tag=(ench=#luckyBowEnchantments))],ArmorItems=[(id=chainmail_boots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=chainmail_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=chainmail_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=chainmail_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$7$lGhostly Horseman",CustomNameVisible=true)])]))@luck=-2

/ stacked villager and pigs
type=entity,ID=Pig,NBTTag=(Passengers=[(id=Pig,Passengers=[(id=Pig,Passengers=[(id=Pig,Passengers=[(id=Pig,Passengers=[(id=Pig,Passengers=[(id=Pig,Passengers=[(id=Pig,Passengers=[(id=Villager)])])])])])])])])@luck=0

/ horses
type=entity,ID=#randList(horse,skeleton_horse,zombie_horse),amount=12,posOffset=#circleOffset(4),NBTTag=(Tame=true,OwnerUUID=#pUUID)@luck=1

/ polar bear
group(type=difficulty,ID=hard;type=entity,ID=polar_bear,amount=8,NBTTag=(CustomName="$7$lPolar Bear",CustomNameVisible=true))@luck=-1

/ llamas
type=entity,ID=llama,amount=8,posOffset=#circleOffset(4),NBTTag=(CustomName=#randList("$5$lLlaura","$5$lLlauretta","$5$lLlavender","$5$lLlinda","$5$lLlisa","$5$lLlouise","$5$lLlucy","$5$lLlydia"),Variant=#rand(0,3),CustomNameVisible=true)@luck=0

/ witch with bats
group(type=difficulty,ID=hard;type=entity,ID=Witch;type=entity,ID=Bat,posY=#bPosY+#rand(0,2),posOffset=#circleOffset(0,1),amount=64)@luck=-1
/ huge slime and magma cube
group:1:(type=entity,ID=Slime,NBTTag=(Size=10);type=entity,ID=magma_cube,NBTTag=(Size=10))@luck=-2

/ pet wolves
group(type=entity,ID=Wolf,amount=#rand(5,10),posOffset=#circleOffset(3),NBTTag=(CollarColor=#rand(0,14),OwnerUUID=#pUUID,Sitting=1);type=particle,ID="heart",size=(2,0,2),particleAmount=20)@luck=1
/ pet cats
group(type=entity,ID=ocelot,amount=#rand(5,10),posOffset=#circleOffset(3),NBTTag=(CatType=#rand(0,3),OwnerUUID=#pUUID,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),OwnerUUID=#pUUID,Sitting=1);type=particle,ID="heart",size=(2,0,2),particleAmount=20)@luck=1

/ hero villagers
type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(20,25)),sell=(id=diamond_sword,Count=1,tag=(ench=#luckySwordEnchantments,display=(Name="$9$lHero's Sword"))),maxUses=1),(buy=(id=diamond,Count=#rand(20,25)),sell=(id=bow,Count=1,tag=(ench=#luckyBowEnchantments,display=(Name="$9$lHero's Bow"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=fishing_rod,Count=1,tag=(ench=#luckyFishingRodEnchantments,display=(Name="$9$lHero's Fishing Rod"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=potion,Count=1,tag=(Potion="fire_resistance",CustomPotionEffects=#luckyPotionEffects,display=(Name="$9$lHero's Potion"))),maxUses=1),(buy=(id=diamond,Count=#rand(7,12)),sell=(id=splash_potion,Count=1,tag=(Potion="harming",CustomPotionEffects=#unluckyPotionEffects,display=(Name="$4$lEvil Potion"))),maxUses=1)]),CustomName="$9$lHero Villager",CustomNameVisible=true)@luck=1
type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(12,17)),sell=(id=diamond_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments,display=(Name="$9$lHero's Helmet"))),maxUses=1),(buy=(id=diamond,Count=#rand(20,25)),sell=(id=diamond_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments,display=(Name="$9$lHero's Chestplate"))),maxUses=1),(buy=(id=diamond,Count=#rand(15,20)),sell=(id=diamond_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments,display=(Name="$9$lHero's Leggings"))),maxUses=1),(buy=(id=diamond,Count=#rand(12,17)),sell=(id=diamond_boots,Count=1,tag=(ench=#luckyBootsEnchantments,display=(Name="$9$lHero's Boots"))),maxUses=1)]),CustomName="$9$lHero Villager",CustomNameVisible=true)@luck=1
type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(10,15)),sell=(id=diamond_shovel,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$9$lHero's Shovel"))),maxUses=1),(buy=(id=diamond,Count=#rand(15,20)),sell=(id=diamond_pickaxe,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$9$lHero's Pickaxe"))),maxUses=1),(buy=(id=diamond,Count=#rand(15,20)),sell=(id=diamond_axe,Count=1,tag=(ench=#luckyAxeEnchantments,display=(Name="$9$lHero's Axe"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=diamond_hoe,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$9$lHero's Hoe"))),maxUses=1)]),CustomName="$9$lHero Villager",CustomNameVisible=true)@luck=1

/ friendly creeper
type=entity,ID=creeper,NBTTag=(ExplosionRadius=0,powered=#rand(0,1),Fuse=999999,CustomName="$aFriendly Creeper$r",CustomNameVisible=true)@luck=0

/ knights army
group(type=difficulty,ID=hard;type=entity,ID=Skeleton,Amount=#rand(10,20),NBTTag=(ArmorItems=[(id=iron_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments)),(id=iron_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments)),(id=iron_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments)),(id=iron_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments))],HandItems=[(id=iron_sword,Count=1,Damage=0,tag=(ench=#luckySwordEnchantments)),()],ArmorDropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],HandDropChances=[#randList(0,2)f,0f],CustomName="$8$lKnight",CustomNameVisible=true,Health=30f,Attributes=[(Name="generic.maxHealth",Base=30)]))@luck=-2
group(type=difficulty,ID=hard;type=entity,ID=Blaze,Amount=#rand(10,20),NBTTag=(ArmorItems=[(id=iron_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments)),(id=iron_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments)),(id=iron_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments)),(id=iron_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments))],HandItems=[(id=iron_sword,Count=1,Damage=0,tag=(ench=#luckySwordEnchantments)),()],ArmorDropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],HandDropChances=[#randList(0,2)f,0f],CustomName="$6$lSun Knight",CustomNameVisible=true,Health=30f,Attributes=[(Name="generic.maxHealth",Base=30)]))@luck=-2
group(type=difficulty,ID=hard;type=entity,ID=Spider,Amount=#rand(10,20),NBTTag=(ArmorItems=[(id=iron_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments)),(id=iron_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments)),(id=iron_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments)),(id=iron_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments))],HandItems=[(id=iron_sword,Count=1,Damage=0,tag=(ench=#luckySwordEnchantments)),()],ArmorDropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],HandDropChances=[#randList(0,2)f,0f],CustomName="$0$lSpider",CustomNameVisible=true,Health=30f,Attributes=[(Name="generic.maxHealth",Base=30)]))@luck=-2

/ ghostly horseman skeleton boss
group(type=difficulty,ID=hard;type=entity,ID=Bat,NBTTag=(Silent=true,ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)],Passengers=[(id=skeleton_horse,Tame=true,Type=4,Passengers=[(id=Skeleton,HandItems=[(id=bow,Count=1,tag=(ench=#luckyBowEnchantments))],ArmorItems=[(id=diamond_boots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=diamond_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=diamond_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$7$lGhostly Horseman",CustomNameVisible=true)])]))@luck=-2

/ Polar Bob
group(type=difficulty,ID=hard;type=entity,ID=polar_bear,NBTTag=(Silent=true,ActiveEffects=[(Id=11,Duration=100000,Amplifier=1,ShowParticles=false)],Passengers=[(id=Zombie,HandItems=[(id=diamond_sword,Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=diamond_boots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=diamond_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=diamond_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$e$lPolar Bob",CustomNameVisible=true)])]))@luck=-2

/ Polar Peter
group(type=difficulty,ID=hard;type=entity,ID=polar_bear,NBTTag=(Silent=true,ActiveEffects=[(Id=11,Duration=100000,Amplifier=1,ShowParticles=false)],Passengers=[(id=Zombie,HandItems=[(id=diamond_sword,Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=diamond_boots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=diamond_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=diamond_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$e$lPolar Peter",CustomNameVisible=true)])]))@luck=-2

/ falling blocks (iron, gold, diamond, emerald)
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=falling_block,posY=#bPosY+7,NBTTag=(Block=iron_block);type=particle,ID=largesmoke,size=(1,2,1),particleAmount=500;type=sound,ID=block.fire.extinguish)@luck=0
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=falling_block,posY=#bPosY+7,NBTTag=(Block=gold_block);type=particle,ID=flame,size=(1,2,1),particleAmount=500;type=sound,ID=entity.ghast.shoot)@luck=0
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=falling_block,posY=#bPosY+7,NBTTag=(Block=diamond_block);type=entity,ID=LightningBolt)@luck=1
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=falling_block,posY=#bPosY+7,NBTTag=(Block=emerald_block);type=particle,ID=happyVillager,size=(1,2,1),particleAmount=500;type=sound,ID=block.grass.break)@luck=0
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=falling_block,posY=#bPosY+7,NBTTag=(Block=lapis_block);type=particle,ID=splash,size=(1,2,1),particleAmount=1000;type=sound,ID=entity.player.swim)@luck=0

/ colorful pole
group(type=fill,ID=air,size=(1,51,1);group(NBTTag=(Block=stained_hardened_clay,Data=14),posY=#bPosY+5;NBTTag=(Block=stained_hardened_clay,Data=1),posY=#bPosY+10;NBTTag=(Block=stained_hardened_clay,Data=4),posY=#bPosY+15;NBTTag=(Block=stained_hardened_clay,Data=5),posY=#bPosY+20;NBTTag=(Block=stained_hardened_clay,Data=3),posY=#bPosY+25;NBTTag=(Block=stained_hardened_clay,Data=11),posY=#bPosY+30;NBTTag=(Block=stained_hardened_clay,Data=10),posY=#bPosY+35;NBTTag=(Block=stained_hardened_clay,Data=2),posY=#bPosY+40;NBTTag=(Block=stained_hardened_clay,Data=6),posY=#bPosY+45),type=entity,ID=falling_block;type=entity,ID=falling_block,NBTTag=(Block=diamond_block),posY=#bPosY+50;type=entity,ID=LightningBolt,posY=#bPosY+10,delay=5.3)@luck=2

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

/ baby player
type=entity,ID=armor_stand,NBTTag=(Small=true,NoBasePlate=true,ShowArms=true,HandItems=[(id=stone_pickaxe,Count=1)],ArmorItems=[(id=leather_boots,Count=1,tag=(display=(color=#rand(0,16777215)))),(id=leather_leggings,Count=1,tag=(display=(color=#rand(0,16777215)))),(id=leather_chestplate,Count=1,tag=(display=(color=#rand(0,16777215)))),(id=skull,Damage=3,Count=1,tag=(SkullOwner=#pName))],Rotation=[#pYaw+180f,0f],CustomName="Baby #pName",CustomNameVisible=true)@luck=0

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

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

/ 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

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

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

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

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

/ 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 zeiyocraft:goldcoin 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_zeiyocraft,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=fireworks_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,Count=1,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 zeiyocraft:goldcoin 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_zeiyocraft,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$eYour wish came true! (If you like potatoes)\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=potato,amount=128,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=baked_potato,amount=64,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=poisonous_potato,amount=32,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=1
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName zeiyocraft:goldcoin 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_zeiyocraft,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=tnt,NBTTag=(Fuse=50b,Motion='#'randLaunchMotion),posY='#'bPosY+7,amount=20)"]))@luck=-2
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName zeiyocraft:goldcoin 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_zeiyocraft,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID="$aOOOH EMERALDS!";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=FireworksRocketEntity,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag='#'randFireworksRocket)),amount=20,posY='#'bPosY+3,posOffset='#'circleOffset(2);ID=emerald,amount=#rand(60,70),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=emerald_block,amount=#rand(20,40),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 zeiyocraft:goldcoin 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_zeiyocraft,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=zeiyocraft:nacre,amount=#rand(5,10),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=gold_ingot,amount=#rand(5,10),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=diamond,amount=#rand(5,10),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=emerald,amount=#rand(5,10),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=zeiyocraft:sapphire,amount=#rand(5,10),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=zeiyocraft:ruby,amount=#rand(5,10),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=zeiyocraft:steelingot,amount=#rand(5,10),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=zeiyocraft:electrumingot,amount=#rand(5,10),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=zeiyocraft:bronzeingot,amount=#rand(5,10),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=zeiyocraft:onyx,amount=#rand(5,10),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=zeiyocraft:jade,amount=#rand(5,10),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=zeiyocraft:amethyst,amount=#rand(5,10),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=dye,damage=4,amount=#rand(5,10),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=redstone,amount=#rand(25,50),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 zeiyocraft:goldcoin 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_zeiyocraft,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID="$cApplejack!";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=apple,amount=128,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=golden_apple,amount=64,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=golden_apple,damage=1,amount=14,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 zeiyocraft:goldcoin 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_zeiyocraft,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID="$4Burn Baby Burn!";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=Ghast,amount=64,posY='#'bPosY+10,posOffset='#'circleOffset(2);type=entity,ID=Blaze,amount=64,posY='#'bPosY+10,posOffset='#'circleOffset(2);type=entity,ID=FallingSand,NBTTag=(Block=lava,Motion='#'randLaunchMotion),posY='#'bPosY+7,amount=30;type=entity,ID=LavaSlime,NBTTag=(Size='#'rand(4,10)),amount=64,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 zeiyocraft:goldcoin 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_zeiyocraft,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID="$aYour wish came true! (If you are a vegetarian)";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=potato,amount=64,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=melon,amount=64,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=apple,amount=64,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=carrot,amount=64,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=reeds,amount=64,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=0
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName zeiyocraft:goldcoin 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_zeiyocraft,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID="Your wish came true! (If you like iron)";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=iron_ingot,amount=#rand(50,70),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=iron_block,amount=#rand(20,40),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=1

/ bouncing castle
type=structure,ID=bouncing_castle,pos=#pPos,rotation=#pDirect

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

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

/lucky potion
ID=potion,NBTTag=(CustomPotionColor=49919,CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lSuper Lucky Potion"))@luck=2
/unlucky potion
ID=splash_potion,NBTTag=(CustomPotionColor=16711680,CustomPotionEffects=#unluckyPotionEffects,display=(Name="$e$lSuper Unlucky Potion"))@luck=1

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

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

/mystery potions (less op)
group:1:(ID=splash_potion,NBTTag=(HideFlags=32,CustomPotionEffects=[(Id=6,Amplifier=#rand(0,1)),(Id=#randList(12,13,14,16),Amplifier=0,Duration=#rand(1200,2400)),(Id=#randList(1,3,5,10),Amplifier=#rand(0,1),Duration=#rand(1200,2400)),(Id=#randList(8,11,22,23),Amplifier=#rand(0,1),Duration=#rand(1200,2400))],display=(Name="$e$lLess OP Mystery Potion",Lore=["$7Is it lucky? Or is it not?"]));ID=splash_potion,NBTTag=(HideFlags=32,CustomPotionEffects=[(Id=7,Amplifier=#rand(0,1)),(Id=#randList(9,15),Amplifier=0,Duration=#rand(600,1800)),(Id=#randList(2,17,19),Amplifier=#rand(0,1),Duration=#rand(600,1800)),(Id=#randList(4,18,20),Amplifier=#rand(0,1),Duration=#rand(600,1800))],display=(Name="$e$lLess OP Mystery Potion",Lore=["$7Is it lucky? Or is it not?"])))@luck=0
group:1:(ID=splash_potion,NBTTag=(HideFlags=32,CustomPotionEffects=[(Id=6,Amplifier=#rand(0,1)),(Id=#randList(12,13,14,16),Amplifier=0,Duration=#rand(1200,2400)),(Id=#randList(1,3,5,10),Amplifier=#rand(0,1),Duration=#rand(1200,2400)),(Id=#randList(8,11,22,23),Amplifier=#rand(0,1),Duration=#rand(1200,2400))],display=(Name="$e$lLess OP Mystery Potion",Lore=["$7Is it lucky? Or is it not?"]));ID=splash_potion,,NBTTag=(HideFlags=32,CustomPotionEffects=[(Id=7,Amplifier=#rand(0,1)),(Id=#randList(9,15),Amplifier=0,Duration=#rand(600,1800)),(Id=#randList(2,17,19),Amplifier=#rand(0,1),Duration=#rand(600,1800)),(Id=#randList(4,18,20),Amplifier=#rand(0,1),Duration=#rand(600,1800))],display=(Name="$e$lLess OP Mystery Potion",Lore=["$7Is it lucky? Or is it not?"])))@luck=0

/splash me
ID=splash_potion,amount=#rand(1,2),NBTTag=(HideFlags=32,CustomPotionColor=1376000,CustomPotionEffects=[(Id=8,Amplifier=79,Duration=200)],display=(Lore=["$7Contains the essence of extreme slime."],Name="$a$lSplash Me"))@luck=0
ID=splash_potion,amount=#rand(1,2),NBTTag=(HideFlags=32,CustomPotionColor=64235,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=splash_potion,amount=#rand(1,2),NBTTag=(HideFlags=32,CustomPotionColor=7209210,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 known to make seeing","$7very hard. In every respect..."],Name="$3$lSplash Me"))@luck=0
ID=splash_potion,amount=#rand(1,2),NBTTag=(HideFlags=32,CustomPotionColor=3097856,CustomPotionEffects=[(Id=2,Amplifier=7,Duration=400),(Id=8,Amplifier=-5,Duration=400)],display=(Lore=["$7Contains the essence of extreme mud."],Name="$7$lSplash Me"))@luck=0
ID=splash_potion,amount=#rand(1,2),NBTTag=(HideFlags=32,CustomPotionColor=16777215,CustomPotionEffects=[(Id=18,Amplifier=79,Duration=600)],display=(Lore=["","$7Very popular among pacifists."],Name="$5$lSplash Me"))@luck=0
ID=splash_potion,NBTTag=(HideFlags=32,CustomPotionColor=327930,CustomPotionEffects=[(Id=9,Amplifier=0,Duration=600)],display=(Name="$4$lSplash Me"))@luck=0
ID=splash_potion,NBTTag=(HideFlags=32,CustomPotionColor=327930,CustomPotionEffects=[(Id=17,Amplifier=19,Duration=600)],display=(Name="$2$lSplash Me"))@luck=0

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

/specialized potions
ID=splash_potion,NBTTag=(CustomPotionColor=38143,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=splash_potion,NBTTag=(CustomPotionColor=38143,CustomPotionEffects=[(Id=21,Amplifier=1,Duration=2400),(Id=22,Amplifier=0,Duration=2400),(Id=11,Amplifier=0,Duration=2400)],display=(Name="$8$lThe Ultimate Tank"))@luck=1
ID=splash_potion,NBTTag=(CustomPotionColor=38143,CustomPotionEffects=[(Id=1,Amplifier=2,Duration=2400),(Id=8,Amplifier=4,Duration=2400),(Id=3,Amplifier=3,Duration=2400)],display=(Name="$8$lThe Ultimate Escapist"))@luck=1
ID=splash_potion,NBTTag=(CustomPotionColor=38143,CustomPotionEffects=[(Id=12,Amplifier=0,Duration=2400),(Id=13,Amplifier=0,Duration=2400),(Id=16,Amplifier=0,Duration=2400)],display=(Name="$8$lThe Ultimate Survivalist"))@luck=1

/other potions
ID=potion,amount=#rand(1,5),NBTTag=(HideFlags=32,CustomPotionColor=16711680,CustomPotionEffects=[(Id=23,Amplifier=7,Duration=20),(Id=6,Amplifier=1,Duration=20)],display=(Lore=["$7Healthy and nutritious!"],Name="$c$lSweet Strawberry Milkshake"))@luck=1
ID=splash_potion,NBTTag=(CustomPotionColor=16711680,CustomPotionEffects=[(Id=10,Amplifier=3,Duration=200),(Id=9,Amplifier=0,Duration=200)],display=(Name="$c$lEmergency Health",Lore=["$rForces you to heal so fast","$ryou feel sick."]))@luck=1
ID=potion,NBTTag=(CustomPotionColor=8227,CustomPotionEffects=[(Id=22,Amplifier=4,Duration=1200)],display=(Name="$e$lShielding"))@luck=1

/potioncore
type=effect,ID=potioncore:teleport,amplifier=10,duration=1,target=player@luck=-2
type=effect,ID=potioncore:rust,amplifier=2,duration=20,target=player@luck=-2
type=effect,ID=potioncore:spinning,amplifier=10,duration=20,target=player@luck=-2
type=effect,ID=potioncore:disorganization,amplifier=1,duration=1,target=player@luck=-2
type=effect,ID=potioncore:perplexity,amplifier=1,duration=20,target=player@luck=-2
type=effect,ID=potioncore:flight,amplifier=1,duration=6000,target=player@luck=-2
type=effect,ID=potioncore:launch,amplifier=1,duration=10,target=player@luck=-2

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

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

/whacking stick
type=entity,ID=Item,NBTTag=(CustomName="$eWhacking Stick",CustomNameVisible=true,Item=(Count=1,id=blaze_rod,tag=(display=(Name="$e$lWhacking Stick"),ench=[(id=19,lvl=10)])))@luck=1

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

/ Zeiyocraft Lucky Sword
type=entity,ID=Item,NBTTag=(CustomName="$1$lZei$f$lyoc$1$lraft $e$lLucky Sword",CustomNameVisible=true,Item=(Count=1,id="lucky:zeiyocraft_lucky_sword",tag=(Luck=100,display=(Name="$1$lZei$f$lyoc$1$lraft $e$lLucky Sword",Lore=["","$9Found by #pName"]),ench=[(id=16,lvl=#rand(3,8)),(id=#rand(17,18),lvl=#rand(1,5)),(id=#rand(19,20),lvl=#rand(1,2)),(id=21,lvl=#rand(1,5))],Unbreakable=true)))@luck=2

/zeiyocraft Lucky Bow
group(ID=arrow;type=entity,ID=Item,NBTTag=(CustomName="$1$lZei$f$lyoc$1$lraft $e$lLucky Bow",CustomNameVisible=true,Item=(Count=1,id="lucky:zeiyocraft_lucky_bow",tag=(Luck=100,Unbreakable=true,display=(Name="$1$lZei$f$lyoc$1$lraft $e$lLucky Bow",Lore=["","$9Found by #pName",""]),ench=[(id=48,lvl=#rand(1,5)),(id=49,lvl=#rand(1,5)),(id=50,lvl=1),(id=51,lvl=1)]))))@luck=2

/Zeiyocraft Leggings
type=entity,ID=Item,NBTTag=(CustomName="$1$lZei$f$lyoc$1$lraft $e$lLucky Leggings",CustomNameVisible=true,Item=(Count=1,id=diamond_leggings,tag=(Unbreakable=true,ench=#luckyLeggingsEnchantments,display=(Lore=["$7Knockback Resistance I","$7Quick Attack I","","$9Found by #pName"],Name="$1$lZei$f$lyoc$1$lraft $e$lLucky Leggings"),AttributeModifiers=[(Slot="legs",AttributeName=generic.knockbackResistance,Name="resist",Amount=1,Operation=0,UUIDLeast=1,UUIDMost=1),(Slot="legs",AttributeName=generic.attackDamage,Name=attack,Amount=0.2,Operation=1,UUIDLeast=14,UUIDMost=3),(Slot="legs",AttributeName=generic.movementSpeed,Name=speed,Amount=0.1f,Operation=1,UUIDLeast=14,UUIDMost=1),(Slot="legs",AttributeName=potioncore.attackSpeed,Name=knockback,Amount=0.1,Operation=1,UUIDLeast=14,UUIDMost=2),(Slot="legs",AttributeName="generic.armor",Name="generic.armor",Amount=7,Operation=0,UUIDLeast=3,UUIDMost=3)])))@luck=2@chance=1.5

/Zeiyocraft Boots
type=entity,ID=Item,NBTTag=(CustomName="$1$lZei$f$lyoc$1$lraft $e$lLucky Boots",CustomNameVisible=true,Item=(Count=1,id=diamond_boots,tag=(Unbreakable=true,ench=#luckyBootsEnchantments,display=(Lore=["$7Swiftness II","$7Step-Up I","","$9Found by #pName"],Name="$1$lZei$f$lyoc$1$lraft $e$lLucky Boots"),AttributeModifiers=[(Slot="feet",AttributeName=generic.movementSpeed,Name="fast",Amount=0.4f,Operation=1,UUIDLeast=2,UUIDMost=2),(Slot="feet",AttributeName=generic.attackDamage,Name=attack,Amount=0.2,Operation=1,UUIDLeast=15,UUIDMost=3),(Slot="feet",AttributeName=generic.movementSpeed,Name=speed,Amount=0.1f,Operation=1,UUIDLeast=15,UUIDMost=1),(Slot="feet",AttributeName=potioncore.stepHeight,Name=step,Amount=0.5f,Operation=0,UUIDLeast=14,UUIDMost=2),(Slot="feet",AttributeName="generic.armor",Name="generic.armor",Amount=4,Operation=0,UUIDLeast=4,UUIDMost=4)])))@luck=2@chance=1.5

/Zeiyocraft Helmet
type=entity,ID=Item,NBTTag=(CustomName="$1$lZei$f$lyoc$1$lraft $e$lLucky Helmet",CustomNameVisible=true,Item=(Count=1,id=diamond_helmet,tag=(Unbreakable=true,ench=#luckyHelmetEnchantments,display=(Lore=["$7Health Boost II","$7Accurate Shot I","","$9Found by #pName"],Name="$1$lZei$f$lyoc$1$lraft $e$lLucky Helmet"),AttributeModifiers=[(Slot="head",AttributeName=generic.maxHealth,Name="health",Amount=8,Operation=0,UUIDLeast=3,UUIDMost=3),(Slot="head",AttributeName=generic.attackDamage,Name=attack,Amount=0.2,Operation=1,UUIDLeast=12,UUIDMost=3),(Slot="head",AttributeName=generic.movementSpeed,Name=speed,Amount=0.1f,Operation=1,UUIDLeast=12,UUIDMost=1),(Slot="head",AttributeName=potioncore.projectileDamage,Name=projectile,Amount=0.75f,Operation=1,UUIDLeast=12,UUIDMost=2),(Slot="head",AttributeName="generic.armor",Name="generic.armor",Amount=4,Operation=0,UUIDLeast=1,UUIDMost=1)])))@luck=2@chance=1.5

/Zeiyocraft Chestplate
type=entity,ID=Item,NBTTag=(CustomName="$1$lZei$f$lyoc$1$lraft $e$lLucky Chestplate",CustomNameVisible=true,Item=(Count=1,id=diamond_chestplate,tag=(Unbreakable=true,ench=#luckyChestplateEnchantments,display=(Lore=["$7Strength I","$7Health Boost II","","$9Found by #pName"],Name="$1$lZei$f$lyoc$1$lraft $e$lLucky Chestplate"),AttributeModifiers=[(Slot="chest",AttributeName=generic.attackDamage,Name="strength",Amount=1.3f,Operation=1,UUIDLeast=4,UUIDMost=4),(Slot="chest",AttributeName=generic.attackDamage,Name=attack,Amount=0.2,Operation=1,UUIDLeast=13,UUIDMost=3),(Slot="chest",AttributeName=generic.movementSpeed,Name=speed,Amount=0.1f,Operation=1,UUIDLeast=13,UUIDMost=1),(Slot="chest",AttributeName=generic.maxHealth,Name=health,Amount=8,Operation=0,UUIDLeast=13,UUIDMost=2),(Slot="chest",AttributeName="generic.armor",Name="generic.armor",Amount=9,Operation=0,UUIDLeast=2,UUIDMost=2)])))@luck=2@chance=1.5

/Zeiyocraft Elytra
group(ID=fireworks,amount=128;type=entity,ID=Item,NBTTag=(CustomName="$1$lZei$f$lyoc$1$lraft $e$lLucky Elytra",CustomNameVisible=true,Item=(Count=1,id=elytra,tag=(Unbreakable=true,ench=#luckyChestplateEnchantments,display=(Lore=["$7Health Boost III","","$9Found by #pName"],Name="$1$lZei$f$lyoc$1$lraft $e$lLucky Elytra"),AttributeModifiers=[(Slot="chest",AttributeName=generic.maxHealth,Name=health,Amount=12,Operation=0,UUIDLeast=13,UUIDMost=2),(Slot="feet",AttributeName=generic.attackDamage,Name=attack,Amount=0.2,Operation=1,UUIDLeast=15,UUIDMost=3),(Slot="chest",AttributeName="generic.armor",Name="generic.armor",Amount=15,Operation=0,UUIDLeast=4,UUIDMost=4)]))))@luck=2@chance=1.5

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

/ Old Lucky Tools + Armour
ID=golden_sword,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$e$lOld Lucky Sword"))@luck=0
group:#rand(1,2):(ID=golden_shovel,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$e$lOld Lucky Shovel"));ID=golden_pickaxe,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$e$lOld Lucky Pickaxe"));ID=golden_axe,NBTTag=(ench=#luckyAxeEnchantments,display=(Name="$e$lOld Lucky Axe"));ID=golden_hoe,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$e$lOld Lucky Hoe")))@luck=0
group:#rand(1,2):(ID=golden_helmet,NBTTag=(ench=#luckyHelmetEnchantments,display=(Name="$e$lOld Lucky Helmet"));ID=golden_chestplate,NBTTag=(ench=#luckyChestplateEnchantments,display=(Name="$e$lOld Lucky Chestplate"));ID=golden_leggings,NBTTag=(ench=#luckyLeggingsEnchantments,display=(Name="$e$lOld Lucky Leggings"));ID=golden_boots,NBTTag=(ench=#luckyBootsEnchantments,display=(Name="$e$lOld Lucky Boots")))@luck=0

/ knight drops
group(group:1:(type=item,ID=iron_pickaxe,NBTTag=(display=(Name="$8$lKnight Pickaxe"),ench=[(id=32,lvl=1),(id=34,lvl=1)]);type=item,ID=iron_axe,NBTTag=(display=(Name="$8$lKnight Axe"),ench=[(id=32,lvl=1),(id=34,lvl=1)]);type=item,ID=iron_axe,NBTTag=(display=(Name="$8$lKnight Battle Axe"),ench=[(id=16,lvl=2),(id=34,lvl=1)]);type=item,ID=iron_shovel,NBTTag=(display=(Name="$8$lKnight Shovel"),ench=[(id=32,lvl=1),(id=34,lvl=1)]);type=item,ID=iron_sword,NBTTag=(display=(Name="$8$lKnight Sword"),ench=[(id=16,lvl=2),(id=34,lvl=1)]);type=item,ID=iron_hoe,NBTTag=(display=(Name="$8$lKnight Hoe"),ench=[(id=32,lvl=1),(id=34,lvl=1)]));type=particle,ID=flame,length=1,height=1,width=1,particleAmount=20)@luck=0
group(type=item,ID=iron_helmet,NBTTag=(display=(Name="$8$lKnight Helmet"),ench=[(id=0,lvl=1),(id=34,lvl=1)]);type=item,ID=iron_chestplate,NBTTag=(display=(Name="$8$lKnight Chestplate"),ench=[(id=0,lvl=1),(id=34,lvl=1)]);type=item,ID=iron_leggings,NBTTag=(display=(Name="$8$lKnight Leggings"),ench=[(id=0,lvl=1),(id=34,lvl=1)]);type=item,ID=iron_boots,NBTTag=(display=(Name="$8$lKnight Boots"),ench=[(id=0,lvl=1),(id=34,lvl=1)]);type=particle,ID=flame,length=1,height=1,width=1,particleAmount=20)@luck=0
group(type=item,ID=bow,NBTTag=(display=(Name="$8$lKnight Bow"),ench=[(id=48,lvl=1),(id=49,lvl=1)]);type=item,ID=arrow,Amount=16;type=particle,ID=flame,length=1,height=1,width=1,particleAmount=20)@luck=0

/ Lucky Shears
ID=shears,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$e$lLucky Shears"))@luck=2

/ lucky sword
ID=diamond_sword,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$e$l#pName's Lucky Sword"))@luck=2
/ lucky bow
ID=bow,NBTTag=(ench=#luckyBowEnchantments,display=(Name="$e$l#pName's Lucky Bow"))@luck=2
/ lucky tools
group:#rand(1,2):(ID=diamond_shovel,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$e$l#pName's Lucky Shovel"));ID=diamond_pickaxe,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$e$l#pName's Lucky Pickaxe"));ID=diamond_axe,NBTTag=(ench=#luckyAxeEnchantments,display=(Name="$e$l#pName's Lucky Axe"));ID=diamond_hoe,NBTTag=(ench=#luckyAxeEnchantments,display=(Name="$e$l#pName's Lucky Scythe"),AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=6,Operation=0,UUIDLeast=1,UUIDMost=1)]))@luck=2
/ lucky armor
group:#rand(1,2):(ID=diamond_helmet,NBTTag=(ench=#luckyHelmetEnchantments,display=(Name="$e$l#pName's Lucky Helmet"));ID=diamond_chestplate,NBTTag=(ench=#luckyChestplateEnchantments,display=(Name="$e$l#pName's Lucky Chestplate"));ID=diamond_leggings,NBTTag=(ench=#luckyLeggingsEnchantments,display=(Name="$e$l#pName's Lucky Leggings"));ID=diamond_boots,NBTTag=(ench=#luckyBootsEnchantments,display=(Name="$e$l#pName's Lucky Boots")))@luck=2
/Lucky Elytra
type=entity,ID=Item,NBTTag=(CustomName="$e$lLucky Elytra",CustomNameVisible=true,Item=(Count=1,id=elytra,tag=(Unbreakable=true,ench=#luckyChestplateEnchantments,display=(Lore=["$7Health Boost III","","$9Found by #pName"],Name="$e$lLucky Elytra"),AttributeModifiers=[(Slot="chest",AttributeName=generic.maxHealth,Name=health,Amount=12,Operation=0,UUIDLeast=13,UUIDMost=2),(Slot="chest",AttributeName="generic.armor",Name="generic.armor",Amount=15,Operation=0,UUIDLeast=4,UUIDMost=4)])))@luck=2@chance=1.5
/~~~~~~~~~~~~~~~~~~~~~~

/ ========== Zeiyocraft Drops ==========

/ ruby lucky drops
ID=zeiyocraft:rubyboots,NBTTag=(display=(Name="$c$lRuby Lucky Boots"),ench=#luckyBootsEnchantments)@luck=1
ID=zeiyocraft:rubyleggings,NBTTag=(display=(Name="$c$lRuby Lucky Leggings"),ench=#luckyLeggingsEnchantments)@luck=1
ID=zeiyocraft:rubychestplate,NBTTag=(display=(Name="$c$lRuby Lucky Chestplate"),ench=#luckyChestplateEnchantments)@luck=1
ID=zeiyocraft:rubyhelmet,NBTTag=(display=(Name="$c$lRuby Lucky Helmet"),ench=#luckyHelmetEnchantments)@luck=1
ID=zeiyocraft:rubyWaraxe,NBTTag=(display=(Name="$c$lRuby Lucky Warxe"),ench=#luckyAxeEnchantments)@luck=1

group:#rand(1,2):(ID=zeiyocraft:rubysword;ID=zeiyocraft:rubypickaxe)@luck=1
group:#rand(1,2):(ID=zeiyocraft:rubyspade;ID=zeiyocraft:rubyaxe)@luck=1
group:#rand(1,2):(ID=zeiyocraft:rubyhoe)@luck=1

/ sapphire lucky drops
ID=zeiyocraft:sapphireboots,NBTTag=(display=(Name="$1$lSapphire Lucky Boots"),ench=#luckyBootsEnchantments)@luck=1
ID=zeiyocraft:sapphireleggings,NBTTag=(display=(Name="$1$lSapphire Lucky Leggings"),ench=#luckyLeggingsEnchantments)@luck=1
ID=zeiyocraft:sapphirechestplate,NBTTag=(display=(Name="$1$lSapphire Lucky Chestplate"),ench=#luckyChestplateEnchantments)@luck=1
ID=zeiyocraft:sapphirehelmet,NBTTag=(display=(Name="$1$lSapphire Lucky Helmet"),ench=#luckyHelmetEnchantments)@luck=1
ID=zeiyocraft:sapphireWaraxe,NBTTag=(display=(Name="$1$lSapphire Lucky Waraxe"),ench=#luckyAxeEnchantments)@luck=1

group:#rand(1,2):(ID=zeiyocraft:sapphiresword;ID=zeiyocraft:sapphirepickaxe)@luck=1
group:#rand(1,2):(ID=zeiyocraft:sapphirespade;ID=zeiyocraft:sapphireaxe)@luck=1
group:#rand(1,2):(ID=zeiyocraft:sapphirehoe)@luck=1

/ jade lucky drops
ID=zeiyocraft:jadeboots,NBTTag=(display=(Name="$a$lJade Lucky Boots"),ench=#luckyBootsEnchantments)@luck=1
ID=zeiyocraft:jadeleggings,NBTTag=(display=(Name="$a$lJade Lucky Leggings"),ench=#luckyLeggingsEnchantments)@luck=1
ID=zeiyocraft:jadechestplate,NBTTag=(display=(Name="$a$lJade Lucky Chestplate"),ench=#luckyChestplateEnchantments)@luck=1
ID=zeiyocraft:jadehelmet,NBTTag=(display=(Name="$a$lJade Lucky Helmet"),ench=#luckyHelmetEnchantments)@luck=1
ID=zeiyocraft:jadeWaraxe,NBTTag=(display=(Name="$a$lJade Lucky Waraxe"),ench=#luckyAxeEnchantments)@luck=1

group:#rand(1,2):(ID=zeiyocraft:jadesword;ID=zeiyocraft:jadepickaxe)@luck=1
group:#rand(1,2):(ID=zeiyocraft:jadespade;ID=zeiyocraft:jadeaxe)@luck=1
group:#rand(1,2):(ID=zeiyocraft:jadehoe)@luck=1

/ steel lucky drops
ID=zeiyocraft:steelboots,NBTTag=(display=(Name="$7$lSteel Lucky Boots"),ench=#luckyBootsEnchantments)@luck=1
ID=zeiyocraft:steelleggings,NBTTag=(display=(Name="$7$lSteel Lucky Leggings"),ench=#luckyLeggingsEnchantments)@luck=1
ID=zeiyocraft:steelchestplate,NBTTag=(display=(Name="$7$lSteel Lucky Chestplate"),ench=#luckyChestplateEnchantments)@luck=1
ID=zeiyocraft:steelhelmet,NBTTag=(display=(Name="$7$lSteel Lucky Helmet"),ench=#luckyHelmetEnchantments)@luck=1
ID=zeiyocraft:steelWaraxe,NBTTag=(display=(Name="$7$lSteel Lucky Waraxe"),ench=#luckyAxeEnchantments)@luck=1

group:#rand(1,2):(ID=zeiyocraft:steelsword;ID=zeiyocraft:steelpickaxe)@luck=1
group:#rand(1,2):(ID=zeiyocraft:steelspade;ID=zeiyocraft:steelaxe)@luck=1
group:#rand(1,2):(ID=zeiyocraft:steelhoe)@luck=1

/ amethyst lucky drops
ID=zeiyocraft:amethystboots,NBTTag=(display=(Name="$5$lAmethyst Lucky Boots"),ench=#luckyBootsEnchantments)@luck=1
ID=zeiyocraft:amethystleggings,NBTTag=(display=(Name="$5$lAmethyst Lucky Leggings"),ench=#luckyLeggingsEnchantments)@luck=1
ID=zeiyocraft:amethystchestplate,NBTTag=(display=(Name="$5$lAmethyst Lucky Chestplate"),ench=#luckyChestplateEnchantments)@luck=1
ID=zeiyocraft:amethysthelmet,NBTTag=(display=(Name="$5$lAmethyst Lucky Helmet"),ench=#luckyHelmetEnchantments)@luck=1
ID=zeiyocraft:amethystWaraxe,NBTTag=(display=(Name="$5$lSteel Lucky Waraxe"),ench=#luckyAxeEnchantments)@luck=1

group:#rand(1,2):(ID=zeiyocraft:amethystsword;ID=zeiyocraft:amethystpickaxe)@luck=1
group:#rand(1,2):(ID=zeiyocraft:amethystspade;ID=zeiyocraft:amethystaxe)@luck=1
group:#rand(1,2):(ID=zeiyocraft:amethysthoe)@luck=1

/ nacre lucky drops
ID=zeiyocraft:nacreboots,NBTTag=(display=(Name="$d$lNacre Lucky Boots"),ench=#luckyBootsEnchantments)@luck=1
ID=zeiyocraft:nacreleggings,NBTTag=(display=(Name="$d$lNacre Lucky Leggings"),ench=#luckyLeggingsEnchantments)@luck=1
ID=zeiyocraft:nacrechestplate,NBTTag=(display=(Name="$d$lNacre Lucky Chestplate"),ench=#luckyChestplateEnchantments)@luck=1
ID=zeiyocraft:nacrehelmet,NBTTag=(display=(Name="$d$lNacre Lucky Helmet"),ench=#luckyHelmetEnchantments)@luck=1
ID=zeiyocraft:nacreWaraxe,NBTTag=(display=(Name="$d$lNacre Lucky Waraxe"),ench=#luckyAxeEnchantments)@luck=1

group:#rand(1,2):(ID=zeiyocraft:nacresword;ID=zeiyocraft:nacrepickaxe)@luck=1
group:#rand(1,2):(ID=zeiyocraft:nacrespade;ID=zeiyocraft:nacreaxe)@luck=1
group:#rand(1,2):(ID=zeiyocraft:nacrehoe)@luck=1

/ onyx lucky drops
ID=zeiyocraft:onyxboots,NBTTag=(display=(Name="$0$lOnyx Lucky Boots"),ench=#luckyBootsEnchantments)@luck=1
ID=zeiyocraft:onyxleggings,NBTTag=(display=(Name="$0$lOnyx Lucky Leggings"),ench=#luckyLeggingsEnchantments)@luck=1
ID=zeiyocraft:onyxchestplate,NBTTag=(display=(Name="$0$lOnyx Lucky Chestplate"),ench=#luckyChestplateEnchantments)@luck=1
ID=zeiyocraft:onyxhelmet,NBTTag=(display=(Name="$0$lOnyx Lucky Helmet"),ench=#luckyHelmetEnchantments)@luck=1
ID=zeiyocraft:onyxWaraxe,NBTTag=(display=(Name="$0$lOnyx Lucky Waraxe"),ench=#luckyAxeEnchantments)@luck=1

group:#rand(1,2):(ID=zeiyocraft:onyxsword;ID=zeiyocraft:onyxpickaxe)@luck=1
group:#rand(1,2):(ID=zeiyocraft:onyxspade;ID=zeiyocraft:onyxaxe)@luck=1
group:#rand(1,2):(ID=zeiyocraft:onyxhoe)@luck=1

/ electrum lucky drops
ID=zeiyocraft:electrumboots,NBTTag=(display=(Name="$e$lElectrum Lucky Boots"),ench=#luckyBootsEnchantments)@luck=1
ID=zeiyocraft:electrumleggings,NBTTag=(display=(Name="$e$lElectrum Lucky Leggings"),ench=#luckyLeggingsEnchantments)@luck=1
ID=zeiyocraft:electrumchestplate,NBTTag=(display=(Name="$e$lElectrum Lucky Chestplate"),ench=#luckyChestplateEnchantments)@luck=1
ID=zeiyocraft:electrumhelmet,NBTTag=(display=(Name="$e$lElectrum Lucky Helmet"),ench=#luckyHelmetEnchantments)@luck=1
ID=zeiyocraft:electrumWaraxe,NBTTag=(display=(Name="$e$lElectrum Lucky Waraxe"),ench=#luckyAxeEnchantments)@luck=1

group:#rand(1,2):(ID=zeiyocraft:electrumsword;ID=zeiyocraft:electrumpickaxe)@luck=1
group:#rand(1,2):(ID=zeiyocraft:electrumspade;ID=zeiyocraft:electrumaxe)@luck=1
group:#rand(1,2):(ID=zeiyocraft:electrumhoe)@luck=1

/ bronze lucky drops
ID=zeiyocraft:bronzeboots,NBTTag=(display=(Name="$6$lBronze Lucky Boots"),ench=#luckyBootsEnchantments)@luck=1
ID=zeiyocraft:bronzeleggings,NBTTag=(display=(Name="$6$lBronze Lucky Leggings"),ench=#luckyLeggingsEnchantments)@luck=1
ID=zeiyocraft:bronzechestplate,NBTTag=(display=(Name="$6$lBronze Lucky Chestplate"),ench=#luckyChestplateEnchantments)@luck=1
ID=zeiyocraft:bronzehelmet,NBTTag=(display=(Name="$6$lBronze Lucky Helmet"),ench=#luckyHelmetEnchantments)@luck=1
ID=zeiyocraft:bronzeWaraxe,NBTTag=(display=(Name="$6$lBronze Lucky Waraxe"),ench=#luckyAxeEnchantments)@luck=1

group:#rand(1,2):(ID=zeiyocraft:bronzesword;ID=zeiyocraft:bronzepickaxe)@luck=1
group:#rand(1,2):(ID=zeiyocraft:bronzespade;ID=zeiyocraft:bronzeaxe)@luck=1
group:#rand(1,2):(ID=zeiyocraft:bronzehoe)@luck=1

ID=zeiyocraft:woodenWaraxe,NBTTag=(display=(Name="$6$lWood Lucky Waraxe"),ench=#luckyAxeEnchantments)@luck=1
ID=zeiyocraft:stoneWaraxe,NBTTag=(display=(Name="$8$lStone Lucky Waraxe"),ench=#luckyAxeEnchantments)@luck=1
ID=zeiyocraft:ironWaraxe,NBTTag=(display=(Name="$7$lIron Lucky Waraxe"),ench=#luckyAxeEnchantments)@luck=1
ID=zeiyocraft:goldWaraxe,NBTTag=(display=(Name="$e$lGold Lucky Waraxe"),ench=#luckyAxeEnchantments)@luck=1
ID=zeiyocraft:diamondWaraxe,NBTTag=(display=(Name="$b$lDiamond Lucky Waraxe"),ench=#luckyAxeEnchantments)@luck=1

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

/ pies and cakes
group(ID=zeiyocraft:applepie;ID=zeiyocraft:weirdcake;ID=zeiyocraft:chocolatecake)@luck=1

/ foods
group:#rand(1,2):(ID=zeiyocraft:cheese;ID=zeiyocraft:chilipepper;ID=zeiyocraft:grape;ID=zeiyocraft:vegetablestew;ID=zeiyocraft:puriflesh;ID=zeiyocraft:tomato)@luck=1

/ drinks and cups
group:#rand(1,2):(ID=zeiyocraft:tankard;ID=zeiyocraft:vodkatankard;ID=zeiyocraft:winetankard;ID=zeiyocraft:beertankard)@luck=1

/ ========== BOSSES ==========

/ ruby bob
group(type=difficulty,ID=hard;type=entity,ID=Zombie,NBTTag=(HandItems=[(id=zeiyocraft:rubysword,Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=zeiyocraft:rubyboots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=zeiyocraft:rubyleggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=zeiyocraft:rubychestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=zeiyocraft:rubyhelmet,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$c$lRuby Bob",CustomNameVisible=true))@luck=-2

/ sapphire bob
group(type=difficulty,ID=hard;type=entity,ID=Zombie,NBTTag=(HandItems=[(id=zeiyocraft:sapphiresword,Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=zeiyocraft:sapphireboots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=zeiyocraft:sapphireleggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=zeiyocraft:sapphirechestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=zeiyocraft:sapphirehelmet,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$1$lSapphire Bob",CustomNameVisible=true))@luck=-2

/ nacre bob
group(type=difficulty,ID=hard;type=entity,ID=Zombie,NBTTag=(HandItems=[(id=zeiyocraft:nacresword,Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=zeiyocraft:nacreboots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=zeiyocraft:nacreleggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=zeiyocraft:nacrechestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=zeiyocraft:nacrehelmet,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$d$lNacre Bob",CustomNameVisible=true))@luck=-2

/ steel bob
group(type=difficulty,ID=hard;type=entity,ID=Zombie,NBTTag=(HandItems=[(id=zeiyocraft:steelsword,Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=zeiyocraft:steelboots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=zeiyocraft:steelleggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=zeiyocraft:steelchestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=zeiyocraft:steelhelmet,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$7$lSteel Bob",CustomNameVisible=true))@luck=-2

/ bronze bob
group(type=difficulty,ID=hard;type=entity,ID=Zombie,NBTTag=(HandItems=[(id=zeiyocraft:bronzesword,Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=zeiyocraft:bronzeboots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=zeiyocraft:bronzeleggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=zeiyocraft:bronzechestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=zeiyocraft:bronzehelmet,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$6$lBronze Bob",CustomNameVisible=true))@luck=-2

/ amethyst bob
group(type=difficulty,ID=hard;type=entity,ID=Zombie,NBTTag=(HandItems=[(id=zeiyocraft:amethystsword,Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=zeiyocraft:amethystboots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=zeiyocraft:amethystleggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=zeiyocraft:amethystchestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=zeiyocraft:amethysthelmet,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$5$lAmethyst Bob",CustomNameVisible=true))@luck=-2

/ jade bob
group(type=difficulty,ID=hard;type=entity,ID=Zombie,NBTTag=(HandItems=[(id=zeiyocraft:jadesword,Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=zeiyocraft:jadeboots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=zeiyocraft:jadeleggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=zeiyocraft:jadechestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=zeiyocraft:jadehelmet,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$a$lJade Bob",CustomNameVisible=true))@luck=-2

/ electrum bob
group(type=difficulty,ID=hard;type=entity,ID=Zombie,NBTTag=(HandItems=[(id=zeiyocraft:electrumsword,Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=zeiyocraft:electrumboots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=zeiyocraft:electrumleggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=zeiyocraft:electrumchestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=zeiyocraft:electrumhelmet,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$e$lElectrum Bob",CustomNameVisible=true))@luck=-2

/ onyx bob
group(type=difficulty,ID=hard;type=entity,ID=Zombie,NBTTag=(HandItems=[(id=zeiyocraft:onyxsword,Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=zeiyocraft:onyxboots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=zeiyocraft:onyxleggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=zeiyocraft:onyxchestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=zeiyocraft:onyxhelmet,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$0$lOnyx Bob",CustomNameVisible=true))@luck=-2

/ Luck-Test Blocks
type=item,ID=lucky:lucky_block,NBTTag=(Luck=#randList(100,50)),amount=#rand(1,3)@luck=1
type=item,ID=lucky:lucky_block,NBTTag=(Luck=#randList(25,-25)),amount=#rand(1,3)@luck=0
type=item,ID=lucky:lucky_block,NBTTag=(Luck=#randList(-50,-100)),amount=#rand(1,3)@luck=-1
type=item,ID=lucky:lucky_block_zeiyocraft,NBTTag=(Luck=#randList(100,50)),amount=#rand(1,3)@luck=1
type=item,ID=lucky:lucky_block_zeiyocraft,NBTTag=(Luck=#randList(25,-25)),amount=#rand(1,3)@luck=0
type=item,ID=lucky:lucky_block_zeiyocraft,NBTTag=(Luck=#randList(-50,-100)),amount=#rand(1,3)@luck=-1