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

/lucky drop iron tools
group(ID=iron_shovel;ID=iron_pickaxe;ID=iron_axe;ID=iron_sword;ID=iron_hoe)


/horse armor
group(ID=iron_horse_armor,NBTTag=(display=(Name="The Pufferfish's Defensible Armour"));ID=golden_horse_armor,NBTTag=(display=(Name="The Pufferfish's Bad Armour"));ID=diamond_horse_armor,NBTTag=(display=(Name="The Pufferfish's Fluffy Armour")))@luck=1


/tnt
type=explosion,radius=140,fire=true


/overpowered stuff
ID=fish:3,amount=#rand(500,4000)@Luck=0
ID=emerald,amount=#rand(500,4000)@Luck=0
ID=ender_pearl,amount=#rand(500,4000)@Luck=0
ID=iron,amount=#rand(500,4000)@Luck=0
ID=redstone,amount=#rand(500,4000)@Luck=0
ID=diamond,amount=#rand(500,4000)@Luck=0
ID=saddle,amount=#rand(2000,3000)@Luck=0
ID=yellow_flower,amount=10@Luck=0
ID=fish:2,amount=#rand(500,4000)@Luck=0
ID=fish:10,amount=#rand(500,4000)@Luck=0
ID=obsidian,amount=14@luck=0
ID=iron_block,amount=50@luck=0
ID=beacon:10,amount=#rand(500,4000)@Luck=0
ID=diamond_block,amount=#rand(12,23)@luck=0
ID=nether_star,amount=#rand(60,100)@luck=0
ID=pufferfish,amount=#rand(50,400)@Luck=0
ID=bread,amount=#rand(1,10),NBTTag=(display=(Name="AST"))@luck=0
ID=fishing_rod,amount=15,NBTTag=(display=(Name="Lucky Fishing ROD"))@Luck=0
ID=cake,amount=30@Luck=0
ID=pumpkin_pie,amount=#rand(5,50)@Luck=0
ID=rotten_flesh,amount=#rand(1,20),NBTTag=(display=(Lore=["This is chocolate"]))@luck=0ID=stick,NBTTag=(display=(Name="This chocolate"))@luck=0
ID=saddle,amount=10@Luck=0
ID=yellow_flower,amount=10@Luck=0
ID=gold_nugget,amount=2,NBTTag=(display=(Name="Mylisarias old Tooth")@Luck=0
ID=bowl,amount=9,NBTTag=(display=(Name="A Soup Bowl")@Luck=0
ID=dragon_egg,amount=1@Luck=0
ID=beacon,amount=2@Luck=0
ID=brewing_stand,amount=#rand(2,40)@Luck=0

/ golden apples
group(ID=golden_apple,amount=#rand(20,40),NBTTag=(display=(Name="Nothing Imporatant Apple!"));ID=golden_apple,amount=#rand(1,2),damage=1,NBTTag=(display=(Name="Jens Rotten Pocket Apple")))@Luck=00/ redstone
group(ID=dispenser,amount=20;ID=noteblock,amount=10;ID=sticky_piston,amount=80;ID=piston,amount=#rand(10,30);ID=tnt,amount=#rand(16,64);ID=lever,amount=56;ID=stone_pressure_plate,amount=9;ID=wooden_pressure_plate,amount=6;ID=redstone_torch,amount=8;ID=stone_button,amount=12;ID=trapdoor,amount=2;ID=iron_trapdoor,amount=2;ID=fence_gate,amount=13;ID=redstone_block,amount=4;ID=tripwire_hook,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=1

/ iron, gold, diamond, emerald,  with fireworks
group(ID=iron_ingot,amount=#rand(8,64);ID=gold,amount=#rand(80,169);ID=diamond,amount=#rand(40,160);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=0




/golden_apples
group(ID=golden_apple,amount=#rand(200,400),NBTTag=(display=(Name="Nothing Important Apple!"));ID=golden_apple,amount=#rand(100,200),damage=1,NBTTag=(display=(Name="Jens Rotten Pocket Apple")))@Luck=0/ redstone
group(ID=dispenser,amount=20;ID=noteblock,amount=10;ID=sticky_piston,amount=80;ID=piston,amount=#rand(10,30);ID=tnt,amount=#rand(16,64);ID=lever,amount=56;ID=stone_pressure_plate,amount=9;ID=wooden_pressure_plate,amount=6;ID=redstone_torch,amount=8;ID=stone_button,amount=12;ID=trapdoor,amount=2;ID=iron_trapdoor,amount=2;ID=fence_gate,amount=13;ID=redstone_block,amount=4;ID=tripwire_hook,amount=2;ID=light_weighted_pressure_plate,amount=1;ID=heavy_weighted_pressure_plate,amount=1;ID=daylight_detector,amount=1;ID=hopper,amount=4;ID=dropper,amount=#rand(2,4);ID=wooden_door,amount=1;ID=iron_door,amount=1;ID=redstone,amount=#rand(32,64);ID=repeater,amount=8;ID=comparator,amount=2;type=particle,ID=2002,damage=9)@Luck=0

/regular items 
ID=dirt,amount=#rand(500,600)@Luck=0
ID=stone,amount=#rand(500,600)@Luck=0
ID=wooden_door,amount=#rand(500,600)@Luck=0
ID=bow,amount=#rand(500,600)@Luck=0
ID=cobblestone,ID=wooden_door,amount=#rand(500,600)@Luck=0
ID=gravel,ID=wooden_door,amount=#rand(500,600)@Luck=0
ID=web,amount=#rand(500,600)@Luck=0
ID=lava,amount=#rand(500,600)@Luck=0
ID=flowing_lava,amount=#rand(500,600)@Luck=0
ID=log,amount=#rand(500,600)@Luck=0
ID=leaves,amount=#rand(500,600)@Luck=0
ID=gravel,amount=#rand(500,600)@Luck=0
ID=sand,amount=#rand(500,600)@Luck=0
ID=coal_ore,amount=#rand(500,600)@Luck=0
ID=iron_ore,amount=#rand(500,600)@Luck=0
ID=gold_ore,amount=#rand(500,600)@Luck=0
group(ID=diamond_ore,amount=100,ID=obsidian,amount=#rand(500,600))@Luck=0
group(ID=sponge,amount=100,ID=torch,amount=#rand(500,600))@Luck=0
group(ID=sponge,amount=#rand(0,3);ID=saddle,amount=#rand(1,5);ID=ender_chest,amount=#rand(0,3);ID=end_portal_frame,amount=#rand(0,16);ID=tnt,amount=#rand(8,16);type=entity,ID=FireworksRocketEntity,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag=#randFireworksRocket)),amount=5,posOffset=#circleOffset( n .0,2))@Luck=0/ ========== ENTITIES ==========/cake delivery enderman




/ chests
type=block,ID=chest,tileEntity=(Items=#chestVillageBlacksmith)@Luck=0
type=block,ID=chest,tileEntity=(Items=#chestBonusChest)@Luck=1
type=block,ID=chest,tileEntity=(Items=#chestDungeonChest)@Luck=1
type=block,ID=chest,tileEntity=(Items=#chest(contents=[(id=iron_ingot,maxAmount=100,weight=10),(id=golden_apple,maxAmount=200,weight=10),(id=golden_apple,Damage=1,maxAmount=200,weight=10)],maxTotalAmount=1200))@Luck=0

/armor


type=item,ID=diamond_sword,NBTTag=(ench=[(id=16,lvl=100),(id=20,lvl=100),(id=340,lvl=100)])@Luck=0
type=item,ID=diamond_pickaxe,NBTTag=(ench=[(id=32,lvl=100),(id=34,lvl=100),(id=35,lvl=700)])@Luck=0
type=item,ID=diamond_axe,NBTTag=(ench=[(id=35,lvl=60),(id=32,lvl=300),(id=34,lvl=220)])@Luck=0
type=item,ID=diamond_axe,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$bPat"))@Luck=0
type=item,ID=diamond_pickaxe,NBTTag=(ench=#luckyPickaxeEnchantments,display=(Name="$aDan's Pickaxe"))@Luck=0


/ ========= Blocks ==========


/overpowerd blocks
group(ID=diamond_block,amount=#rand(100,500);ID=emerald_block,amount=#rand(200,300);ID=redstone_block,amount=#rand(800,1600);ID=lapis_block,amount=#rand(890,1660);type=entity,ID=FireworksRocketEntity,NBTTag=(LifeTime=1000,FireworksItem=(id=fireworks,tag=#randFireworksRocket)),amount=5,posOffset=#circleOffset(0,2))@luck=0/challenge games

/other blocks
group(ID=end_portal_frame,amount=#rand(10,120)@Luck=0;ID=ender_chest,amount=10@luck=0;ID=sponge,amount=30)@luck-6
group(ID=slime_block,amount=#rand(10,40)@Luck=-56;ID=dirt,amount=#rand(8,26))@Luck=09
group(ID=stone,amount=#rand(8,26)@Luck=0;ID=cobblestone,amount=#rand(8,26)@Luck=04;ID=clay,amount=#rand(8,26))@Luck=0
group(ID=bricks,amount=#rand(8,26)@Luck=-9;ID=glass,amount=#rand(8,26))@Luck=06
ID=sponge,amount=#rand(100,300)@Luck=1

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

type=structure,ID=anvil_trap,pos=#pPos,rotation=#pDirect@luck=-22
type=structure,ID=lava_trap,pos=#pPos,rotation=#pDirect@luck=-45
type=structure,ID=bedrock_trap,pos=#pPos,rotation=#pDirect@luck=-5
type=structure,ID=water_trap,pos=#pPos@luck=-98  
type=structure,ID=pit_trap,pos=#pPos@luck=-55/ explosion
group(type=explosion,radius=100)@luck=-2/pirate treasuretype=structure,ID=pirate_treasure,pos=#pPos,rotation=#pDirect@Luck=0/bouncing castle
group(type=command,ID="/playsound mob.slime.big #playerName ~ ~ ~ 1.0 0.6";type=structure,ID=bouncing_castle,pos=#pPos,rotation=#pDirect)


/falling sands structures
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="Lucky Sword"))),maxUses=1),(buy=(id=diamond,Count=#rand(28,35)),sell=(id=iron_sword,Count=1,tag=(ench=#luckySwordEnchantments,display=(Name="Chop yo legs off"))),maxUses=1),(buy=(id=diamond,Count=#rand(30,35)),sell=(id=bow,Count=1,tag=(ench=#luckyBowEnchantments,display=(Name="Lucky Bow"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=fishing_rod,Count=1,tag=(ench=#luckyFishingRodEnchantments,display=(Name="Lucky 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="Lucky Potion with low OPness"))),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="Unlucky Potion of low OPness"))),maxUses=1)]),CustomName="Lucky Villager",CustomNameVisible=true,Career=1,CareerLevel=100)@luck=1/falling blocks
group(type=fill,ID=air,size=(2,8,2);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=emerald_block);type=particle,ID=flame,size=(2,2,2),particleAmount=500,delay=2;type=sound,ID=random.fizz,delay=2)@Luck=05
group(type=fill,ID=air,size=(2,8,2);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=diamond_block);type=particle,ID=flame,size=(2,2,2),particleAmount=500,delay=2;type=sound,ID=item.fireCharge.use,delay=2)@luck=0
group(type=fill,ID=air,size=(1,10,1);type=entity,ID=FallingSand,posY=#bPosY=7,NBTTag=(Block=beacon);type=particle,ID=flame,size=(2,2,2),particleAmount=500,delay=1;type=sound,ID=item.fireCharge.use,delay=2)@luck=0
group(type=fill,ID=air,size=(1,10,1);type=entity,ID=FallingSand,posY=#bPosy=7,NBTTag=(Block=sponge);type=particle,ID=bubble,size=(2,2,2),particleAmount=1000,delay=3;type=sound,ID=item.water.use,delay=2)@Luck=-10
group(type=fill,ID=air,size=(1,10,1);type=entity,ID=FallingSand,posY=#bPosy=7,NBTTag=(Block=coal_block);type=particle,ID=bubble,size=(2,2,2),particleAmount=1000,delay=3;type=sound,ID=item.water.use,delay=2)@Luck=-10
group(type=fill,ID=air,size=(1,10,1);type=entity,ID=FallingSand,posY=#bPosy=7,NBTTag=(Block=dirt);type=particle,ID=fizz,size=(2,2,2),particleAmount=1000,delay=3;type=sound,ID=item.water.use,delay=2)@Luck=0
group(type=fill,ID=air,size=(1,10,1);type=entity,ID=FallingSand,posY=#bPosy=7,NBTTag=(Block=iron_block);type=particle,ID=fizz,size=(2,2,2),particleAmount=1000,delay=3;type=sound,ID=item.water.use,delay=2)@Luck=0

/wishing wells
group(type=structure,ID=wishing_well;type=message,ID="A wishing Jakuzi? Maybe you should pee in it!";type=block,ID=lucky:lucky_block_jen,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"Your wish came true! Oh wait. This was my wish? Give it Back!!!!\";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
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_rainbow,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=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_rainbow,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 gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_rainbow,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

/stupid stuff
ID=fish:3,damage=3,NBTTag=(display=(Name="Enchanted Fish"),ench=#luckySwordEnchantments)@luck=1/ 
ID=fish:3,damage=0,NBTTag=(display=(Name="ClUppy Yelloow Fisherman"),ench=[(id=19,lvl=150)])@Luck=05
ID=chicken,damage=20,NBTTag=(display=(name="Ohhh!?""))
ID=apple,damage=10000,NBTTag=(display=(name="I am PowerFul")) 
ID=golden_apple,amount=10,damage=10,NBTTag=(display=(name="Eat ME!!"))
ID=porkchop,damage=199,NBTTag=(display=(name="I am PowerFul"))
ID=cooked_porkchop,amount=#rand(20,50),NBTTag=(display=(name="Come ONNNNN!!"))
ID=melon,amount=#rand=(1000),NBTTag=(display=(name="I am rotten, HAHAHAHAHAHA"))
ID=lava,amount=12,@Luck=0
ID=lava_flowing,amount=12,@Luck=0
ID=detector_rail,amount=12,@Luck=0
ID=web,amount=12,@Luck=0
ID=piston,amount=12,@Luck=0
ID=piston_head,amount=12,@Luck=0
ID=yellow_flower,amount=12,@Luck=0
ID=red_mushroom,amount=12,@Luck=0
ID=gold_block,amount=12,@Luck=0
ID=fire,amount=12,@Luck=0
ID=chest,amount=12,@Luck=0
ID=diamond_ore,amount=12,@Luck=0
ID=iron_door,amount=12,@Luck=0
ID=bed,amount=12,@Luck=0

/potions

ID=potion,damage=15765,amount=#rand(10,20),NBTTag=(HideFlags=32,CustomPotionEffects=[(Id=80,Amplifier=79,Duration=20000)],display=(Lore=["$7Contains the essence of extreme slime."],Name="$a$lSplash Me"))@luck=0
ID=potion,damage=11398,amount=#rand(10,20),NBTTag=(HideFlags=32,CustomPotionEffects=[(Id=12,Amplifier=79,Duration=20000)],display=(Lore=["$7Contains a lot of sugar. Not","$7recommended while on a diet."],Name="$b$lSplash Me"))@luck=1
ID=potion,damage=11281,amount=#rand(10,20),NBTTag=(HideFlags=32,CustomPotionEffects=[(Id=1,Amplifier=0,Duration=20000),(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=potion,damage=18476,amount=#rand(10,20),NBTTag=(HideFlags=32,CustomPotionEffects=[(Id=28,Amplifier=7,Duration=40000),(Id=8,Amplifier=-128,Duration=400)],display=(Lore=["$7Contains the essence of extreme mud."],Name="$7$lSplash Me"))@luck=0
ID=potion,damage=11193,amount=#rand(10,20),NBTTag=(CustomPotionEffects=[(Id=18,Amplifier=7,Duration=60000)],display=(Lore=["","$7Very popular among pacifists."],Name="$5$lSplash Me"))@luck=0



group:1:(ID=potion,damage=0,NBTTag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lSuper Potion",Lore=["$7Is it lucky? Or is it?"]));ID=potion,damage=0,NBTTag=(CustomPotionEffects=#unluckyPotionEffects,display=(Name="$e$lSuper Mystery Potion",Lore=["$7Is it lucky? Or is it not?"])))@luck=0
group:1:(ID=potion,damage=16234,NBTTag=(HideFlags=32,CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lSuper Potion",Lore=["$7Is it lucky? Or is it?"]));ID=potion,damage=16384,NBTTag=(HideFlags=32,CustomPotionEffects=#unluckyPotionEffects,display=(Name="$e$lHAHAHAHAHAHAAHAHAHA",Lore=["$7IsMimo's really really stupid thing"])))@luck=0


/ ========= ENTITYS ==========


type=entity,ID=Snowball,NBTTag=(CustomName="Mrsrsrs. Banana or is it a Male?",CustomNameVisible=true,Riding=(id=Chicken)),posOffset=#circleOffset(4),amount=16,reinitialize=true@luck=1/pigs riding horses
type=entity,ID=Pig,NBTTag=(Riding=(id=EntitySkeleton,Type=#rand(8,15))),posOffset=#circleOffset(4),amount=30,reinitialize=true@luck=-30/bob zombies
group(type=difficulty,ID=normal;type=entity,ID=Skeleton,NBTTag=(Equipment=[(id=diamond_sword,Count=5,tag=(ench=#luckySwordEnchantments,display=(Name="Bobs Dirty Sword"))),(id=diamond_boots,Count=4,Damage=9,tag=(ench=#luckyBootsEnchantments,display=(Name="Bob's Dirty Boots"))),(id=diamond_leggings,Count=5,Damage=8,tag=(ench=#luckyLeggingsEnchantments,display=(Name="Bob's Farty Leggings"))),(id=diamond_chestplate,Count=9,Damage=30,tag=(ench=#luckyChestplateEnchantments,display=(Name="Bob's Dirty Chestplate"))),(id=diamond_helmet,Count=3,Damage=23,tag=(ench=#luckyHelmetEnchantments,display=(Name="Bob's Sweety Helmet")))],DropChances=[#randList(0,100)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="Yea!!",CustomNameVisible=true))@luck=-2
type=entity,ID=Snowball,NBTTag=(CustomName="Come Onnn",CustomNameVisible=true,Riding=(id=Enderman)),posOFFset=#circleOffset(6),amount=30,reinitialize=true@Luck=00/fireCharge
type=entity,ID=Snowball,NBTTag=(CustomName="Jake",CustomNameVisible=true,Riding=(id=Wolf)),posOffset=#circleOffset(4),amount=16,reinitialize=true@luck=1/pigs riding horses
type=entity,ID=Snowball,NBTTag=(CustomName="Banana",CustomNameVisible=true,Riding=(id=MushroomCow)),posOffset=#circleOffset(4),amount=16,reinitialize=true@luck=1/pigs riding horses
type=entity,ID=Snowball,NBTTag=(CustomName="Honey Booboo",CustomNameVisible=true,Riding=(id=VillagerGolem)),posOffset=#circleOffset(4),amount=16,reinitialize=true@luck=1/pigs riding horses
type=entity,ID=Snowball,NBTTag=(CustomName="$e$lThe Fake Desguised Man",CustomNameVisible=true,Riding=(id=Zombie)),posOffset=#circleOffset(4),amount=16,reinitialize=true@luck=1/pigs riding horses
type=entity,ID=Snowball,NBTTag=(CustomName="$e$lOpps Wrong Entity",CustomNameVisible=true,Riding=(id=WitherBoss)),posOffset=#circleOffset(4),amount=16,reinitialize=true@luck=1/pigs riding horses


group(type=difficulty,ID=normal;type=entity,ID=Zombie,NBTTag=(Equipment=[(id=iron_sword,Count=1,tag=(ench=#luckySwordEnchantments,display=(Name="Kiddy Bob's Sword"))),(id=iron_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments,display=(Name="Kiddy Bob's Boots"))),(id=chainmail_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments,display=(Name="Kiddy Bob's Leggings"))),(id=iron_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments,display=(Name="Kiddy Bob's Chestplate"))),(id=skull,Count=1,Damage=3,tag=(SkullOwner=MimoHad,ench=#luckyHelmetEnchantments,display=(Name="Kiddy Bob's Helmet")))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="Kiddy Jen ",CustomNameVisible=true))@luck=-2


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

/ enchantment table with bookshelves
group(ID=enchanting_table;ID=bookshelf,amount=15)@luck=1

/ 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

/ food
group:1:(ID=carrot,amount=#rand(3,64);ID=golden_carrot,amount=#rand(10,50);ID=raw_porkchop,amount=#rand(1,64);ID=cooked_porkchop,amount=#rand(8,16);ID=cooked_beef,amount=#rand(10,60);ID=raw_beef,amount=#rand(4,40);ID=cooked_fish,amount=#rand(16,64);ID=raw_fish,amount=#rand(9,50))@Luck=0

/ tnt stuff

group(ID=tnt,amount=#rand(1,60);ID=bookshelf,amount=#rand(10,63);ID=glass,amount=#rand(1,68))@Luck=1

/ clay
group(ID=stained_hardened_clay,amount=20;ID=wool,amount=#rand(7,30))

/ books

ID=enchanted_book,NBTTag=(StoredEnchantments=#randEnchantment),amount=#rand(10,20)@luck=0

/ under water stuff

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
group(type=difficulty,ID=hard;type=entity,ID=Guardian,NBTTag=(Elder=1)))@chance=0.5@luck=-2

/ APOCOLAPESS

type=entity,ID=Snowball,NBTTag=(CustomName="The Zombies",CustomNameVisible=true,Riding=(id=Zombie)),posOffset=#circleOffset(4),amount=120,reinitialize=true@luck=1/pigs riding horses
type=entity,ID=Snowball,NBTTag=(CustomName="Zhe Skeletons",CustomNameVisible=true,Riding=(id=Skeleton)),posOffset=#circleOffset(4),amount=120,reinitialize=true@luck=1/pigs riding horses

/ throwing 

type=entity,ID=ThrownExpBottle,NBTTag=(Motion=#randLaunchMotion),amount=#rand(32,64)@Luck=0
type=entity,ID=ThrownEnderpearl,NBTTag=(Motion=#randLaunchMotion),amount=#rand(3,6)@Luck=0
type=entity,ID=ThrownPotion,NBTTag=(Motion=#randLaunchMotion),amount=#rand(1,2)@Luck=0

/ wolves

group(type=entity,ID=Wolf,amount=#rand(10,30),posOffset=#circleOffset(3),NBTTag=(CollarColor=#rand(0,14),Owner=#pName,Sitting=1);type=particle,ID="heart",size=(2,0,2),particleAmount=20)@luck=1

/ 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

/ pats mom

type=entity,ID=Giant,posOffset=#circleOffset(1,2),amount=#rand(5,10),NBTTag=(Riding=(id=Giant,Riding=(id=Giant,Riding=(id=Endermite,Riding=(id=Endermite,Riding=(id=Giant,Riding=(id=Endermite,Riding=(id=Giant,Riding=(id=Endermite,Riding=(id=Endermite,Riding=(id=Endermite,Riding=(id=Giant))))))))))))@luck=-1
type=entity.ID=PrimedTnt,NBTTag=(Fuse=2000b,Motion=#randlaunchmotion),amount=20@Luck=-10
type=entity.ID=PrimedTnt,NBTTag=(Fuse=3030b,Motion=#randlaunchmotion),amount=245@Luck=-98
type=entity.ID=PrimedTnt,NBTTag=(Fuse=3000b,Motion=#randlaunchmotion),amount=180@Luck=00
type=entity.ID=PrimedTnt,NBTTag=(Fuse=20b,Motion=#randlaunchmotion),amount=209@Luck=08


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

/ launched mobs
type=entity,ID=sponge,NBTTag=(Equipment=[(id=none),(id=block,Count=20,Damage=78),(id=none),(id=none),(id=none)],DropChances=[0f,2f,0f,0f,0f],CustomName="A Pufferfish Home",Motion=#randLaunchMotion),amount=#rand(2,5)@luck=-2


/ rabbits
type=entity,ID=Rabbit,amount=#rand(30,40),posOffset=#circleOffset(4),NBTTag=(RabbitType=99)@luck=-25
type=entity,ID=Rabbit,NBTTag=(RabbitType=3,CustomName="Salistar, I Know Just Joking",CustomNameVisible=true,Age=-1930)@Luck=05/lucky villagers
type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(50,64)),sell=(id=diamond_shovel,Count=8,tag=(ench=#luckyToolEnchantments,display=(Name="The DESTROYER"))),maxUses=1000),(buy=(id=diamond,Count=#rand(2,3)),sell=(id=diamond_pickaxe,Count=5,tag=(ench=#luckyToolEnchantments,display=(Name="tHE dEMO Destroyer"))),maxUses=1000),(buy=(id=diamond,Count=#rand(2,5)),sell=(id=diamond_axe,Count=1,tag=(ench=#luckyAxeEnchantments,display=(Name="Unlucky Axe Dont Take?!"))),maxUses=1000),(buy=(id=diamond,Count=#rand(20,64)),sell=(id=diamond_hoe,Count=7,tag=(ench=#luckySwordEnchantments,display=(Name="Jen's Bady Equipment"),AttributeModifiers[(AttributeName=generic.attackDamage,Name="damage",Amount=30,Operation=0,UUIDLeast=1,UUIDMost=1)])),maxUses=1)]),CustomName="Jens Villager",CustomNameVisible=true,Career=1,CareerLevel=100)@luck=-12
type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(22,27)),sell=(id=leather_helmet,Count=10,tag=(ench=#luckyHelmetEnchantments,display=(Name="The Slappery Poser"))),maxUses=1000),(buy=(id=diamond,Count=#rand(30,64)),sell=(id=diamond_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments,display=(Name="The Slappery "))),maxUses=1),(buy=(id=diamond,Count=#rand(25,30)),sell=(id=diamond_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments,display=(Name="Jen Come Onnn"))),maxUses=100),(buy=(id=diamond,Count=#rand(22,27)),sell=(id=diamond_boots,Count=1,tag=(ench=#luckyBootsEnchantments,display=(Name="Dapper Boots"))),maxUses=1)]),CustomName="Pats Villager",CustomNameVisible=true,Career=1,CareerLevel=100)@luck=1


type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=iron_ingot,Count=#rand(30,35)),sell=(id=iron_sword,Count=1,tag=(ench=#luckySwordEnchantments,display=(Name="Iron Lucky Sword"))),maxUses=1),(buy=(id=iron_ingot,Count=#rand(22,27)),sell=(id=iron_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments,display=(Name="Iron Lucky Helmet"))),maxUses=1),(buy=(id=iron_ingot,Count=#rand(30,35)),sell=(id=iron_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments,display=(Name="Iron Lucky Chestplate"))),maxUses=1),(buy=(id=iron_ingot,Count=#rand(25,30)),sell=(id=iron_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments,display=(Name="Iron Lucky Leggings"))),maxUses=1),(buy=(id=iron_ingot,Count=#rand(22,27)),sell=(id=iron_boots,Count=1,tag=(ench=#luckyBootsEnchantments,display=(Name="Iron Lucky Boots"))),maxUses=1)]),CustomName="Iron Lucky Villager",CustomNameVisible=true,Career=1,CareerLevel=100)@luck=1


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="Lucky Sword"))),maxUses=1),(buy=(id=diamond,Count=#rand(28,35)),sell=(id=iron_sword,Count=1,tag=(ench=#luckySwordEnchantments,display=(Name="Chop yo legs off"))),maxUses=1),(buy=(id=diamond,Count=#rand(30,35)),sell=(id=bow,Count=1,tag=(ench=#luckyBowEnchantments,display=(Name="Lucky Bow"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=fishing_rod,Count=1,tag=(ench=#luckyFishingRodEnchantments,display=(Name="Lucky 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="Lucky Potion with low OPness"))),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="Unlucky Potion of low OPness"))),maxUses=1)]),CustomName="Lucky Villager",CustomNameVisible=true,Career=1,CareerLevel=100)@luck=1/falling blocks
group(type=fill,ID=air,size=(2,8,2);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=emerald_block);type=particle,ID=largesmoke,size=(2,2,2),particleAmount=500,delay=2;type=sound,ID=random.fizz,delay=2)@Luck=05
group(type=fill,ID=air,size=(2,8,2);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=diamond_block);type=particle,ID=flame,size=(2,2,2),particleAmount=500,delay=2;type=sound,ID=item.fireCharge.use,delay=2)@luck=0
group(type=fill,ID=air,size=(2,9,2);type=entity,ID=FallingSand,posY=#bPosY=7,NBTTag=(Block=beacon);type=particle,ID=flame,size=(2,2,2),particleAmount=500,delay=1;type=sound,ID=item.fireCharge.use,delay=2)@luck=0
group(type=fill,ID=air,size=(4,5,4);type=entity,ID=FallingSand,posY=#bPosy=7,NBTTag=(Block=sponge);type=particle,ID=bubble,size=(2,2,2),particleAmount=1000,delay=3;type=sound,ID=item.water.use,delay=2)@Luck=-10

-1/lucky items/lucky bow
ID=bow,NBTTag=(ench=#luckyBowEnchantments,display=(Name="Pat's Lucky Bow"))@Luck=0
/ lucky tools
group:#rand(10,20):(ID=diamond_sword,NBTTag=(ench=#luckyToolEnchantments,display=(Name="The Pat Killer"));ID=diamond_pickaxe,NBTTag=(ench=#luckyToolEnchantments,display=(Name="The Pufferfish Killer"));ID=diamond_axe,NBTTag=(ench=#luckyAxeEnchantments,display=(Name="The Funky Axe"));ID=diamond_hoe,NBTTag=(ench=#luckySwordEnchantments,display=(Name="Jen's Baddest Hoe Ever Invented"),AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=16,Operation=0,UUIDLeast=1,UUIDMost=1)]))@Luck=09

/lucky potion
ID=potion,damage=81958,NBTTag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="The Best Lucky Potion"))@Luck=0
/unlucky potion
ID=potion,damage=164287,NBTTag=(CustomPotionEffects=#unluckyPotionEffects,display=(Name="The Best Unlucky Thing..."))@luck=1

/lucky and unlucky potions (slightly less overpowered)
ID=potion,damage=8193,NBTTag=(CustomPotionEffects=[(Id=6,Amplifier=#rand(0,1)),(Id=#randList(1,13,15,16),Amplifier=0,Duration=#rand(9990,2400)),(Id=#randList(1,3,5,10),Amplifier=#rand(8,10),Duration=#rand(1200,2400)),(Id=#randList(8,11,22,23),Amplifier=#rand(0,1),Duration=#rand(1000,9990))],display=(Name="The Amazing Something"))@luck=12
Lucky Potion with low OPness"))@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(6000,18000))],display=(Name="The Jen OPEENEESSS"))@Luck=05




/========Random stupid Things=======/messagegroup(type=message,ID="Jen Clean My Pants!";ID=bread,amount=2;ID=cooked_chicken,amount=1)@luck=0/Oh Yea Jen

ID=fish,damage=2,NBTTag=(display=(Name="Oh yea Jen"))@luck=0/~~lucky weapons~~/ 
ID=fish,damage=3,NBTTag=(display=(Name="Enchanted Fish"),ench=#luckySwordEnchantments)@luck=1/ 
ID=fish,damage=0,NBTTag=(display=(Name="ClUppy Yelloo Fisherman"),ench=[(id=19,lvl=150)])@Luck=05
ID=chicken,damage=20,NBTTag=(display=(name="The Chicken That Saved Jens Life from the bubble gun shot!?"));
/ 
ID=bow,damage=50,NBTTag=(display=(Name="Jen's Stupidddd Bowww"),ench=[(id=5,lvl=15),(id=50,lvl=28),(id=49,lvl=5),(id=48,lvl=19)])@luck=
2/ 
ID=diamond_sword,damage=0,NBTTag=(display=(Name="Awesome, Something"),ench=[(id=20,lvl=55),(id=17,lvl=2),(id=18,lvl=29)],AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=25,Operation=0,UUIDLeast=1,UUIDMost=1)])@Luck=07ID=red_flower,NBTTag=(ench=#luckySwordEnchantments,display=(Name="Not VEry Nice..."),AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=17,Operation=0,UUIDLeast=1,UUIDMost=1)])@Luck=0

ID=red_flower,NBTTag=(ench=#luckySwordEnchantments,display=(Name="A nice Stekeh Flowere"),AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=7,Operation=0,UUIDLeast=1,UUIDMost=1)])@luck=1

ID=stick,NBTTag=(ench=#luckySwordEnchantments,display=(Name="Sappy Batton"),AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=12,Operation=0,UUIDLeast=1,UUIDMost=1)])

ID=carrot,NBTTag=(ench=#luckySwordEnchantments,display=(Name="Eat it!!!!!!!!!",Lore="I said EEat it"),AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=8,Operation=0,UUIDLeast=1,UUIDMost=1)])


/ banners
group(type=command,ID="gamerule commandBlockOutput false";type=command,ID="setblock ~ ~ ~ standing_banner #rand(0,15) keep {Patterns:[{Pattern:#randList(o,o,o,o,o,o,o,o,ld,rud,lud,rd,vh,vhr,hh,hhb),Color:#rand(0,15)},{Pattern:#randList(o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,ts,bs,ls,rs,cs,ms,drs,dls,ss,cr,sc,tl,tr,bl,br,bt,tt,bts,tts),Color:#rand(0,15)},{Pattern:#randList(o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,ts,bs,ls,rs,cs,ms,drs,dls,ss,cr,sc,tl,tr,bl,br,bt,tt,bts,tts),Color:#rand(0,15)},{Pattern:#randList(o,o,o,o,bo,cbo,bri,gra,gru),Color:#rand(0,15)},{Pattern:#randList(o,o,o,o,o,o,o,o,o,bo,cbo,bri,gra,gru),Color:#rand(0,15)},{Pattern:#randList(o,o,mr,mc,sku,cri,moj,flo),Color:#rand(0,15)}],Base:#rand(0,15)}",posOffset=#circleOffset(0,6),amount=8,reinitialize=true)@luck=0

/ flowers
group(type=command,ID="gamerule commandBlockOutput false";type=command,ID="setblock ~ ~ ~ red_flower #rand(0,15) keep",posOffset=#circleOffset(0,5),amount=20,reinitialize=true)@luck=0

/ jukebox + record
group(type=block,ID=jukebox;type=entity,ID=Item,posOffsetY=1,NBTTag=(Item=(Count=1,id=#randList(record_cat,record_blocks,record_chirp,record_far,record_mall,record_mellohi,record_stal,record_strad,record_ward,record_wait))))@luck=0

