/ ========== THINGIES ==========/leather armor
group(ID=leather_helmet,NBTTag=(display=(Name="Wooden Hat"));ID=leather_chestplate,NBTTag=(display=(Name="Wooden Shirt"));ID=leather_leggings,NBTTag=(display=(Name="Wooden Pants"));ID=leather_boots,NBTTag=(display=(Name="Wooden Shoes")))
@luck=0

/ all horse armor
group(ID=iron_horse_armor,NBTTag=(display=(Name="Jen's Black Armour"));ID=golden_horse_armor,NBTTag=(display=(Name="Jen's Yellow Armour"));ID=diamond_horse_armor,NBTTag=(display=(Name="Jen's Blue Armour")))@luck=1


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

ID=end_portal_frame,amount=#rand(2,12)@luck=2
ID=ender_chest,amount=2@luck=0

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

ID=saddle,amount=2@luck=1
ID=nether_star@luck=2ID=dragon_egg@luck=2ID=beacon,NBTTag=(display=(Name="Wet Beacon"))@luck=-2ID=beacon@luck=2ID=bread,amount=#rand(1,2),NBTTag=(display=(Name="Deep Fried Arm"))@luck=0

ID=bread,amount=#rand(1,10),NBTTag=(display=(Name="BLT"))@luck=0

ID=cake@luck=0
ID=rotten_flesh,amount=#rand(1,2),NBTTag=(display=(Lore=["This stuff tastes like bacon, and it's WAY healthier"]))@luck=0ID=stick,NBTTag=(display=(Name="Sticky"))@luck=0
ID=skull,damage=3,NBTTag=(SkullOwner=SuperGirlyGamer)@luck=0
ID=mushroom_stew,NBTTag=(display=(Name="Villager Leg Soup")),amount=#rand(1,3)@luck=0
ID=pumpkin_pie,NBTTag=(display=(Name="Human Finger Cheese")),amount=#rand(1,3)@luck=0
/ golden apples
group(ID=golden_apple,amount=#rand(2,4),NBTTag=(display=(Name="Yellow Apple"));ID=golden_apple,amount=#rand(1,2),damage=1,NBTTag=(display=(Name="Shiny Yellow Apple")))@luck=2/ redstone
group(ID=dispenser,amount=2;ID=noteblock,amount=1;ID=sticky_piston,amount=4;ID=piston,amount=4;ID=tnt,amount=#rand(16,64);ID=lever,amount=2;ID=stone_pressure_plate,amount=2;ID=wooden_pressure_plate,amount=2;ID=redstone_torch,amount=8;ID=stone_button,amount=2;ID=trapdoor,amount=2;ID=iron_trapdoor,amount=2;ID=fence_gate,amount=1;ID=redstone_lamp,amount=4;ID=tripwire_hook,amount=2;ID=wooden_button,amount=2;ID=light_weighted_pressure_plate,amount=1;ID=heavy_weighted_pressure_plate,amount=1;ID=daylight_detector,amount=1;ID=hopper,amount=4;ID=dropper,amount=#rand(2,4);ID=wooden_door,amount=1;ID=iron_door,amount=1;ID=redstone,amount=#rand(32,64);ID=repeater,amount=8;ID=comparator,amount=2;type=particle,ID=2002,damage=9)@luck=1

/ iron, gold, diamond, emerald, lapis with fireworks
group(ID=iron_ingot,amount=#rand(8,16);ID=gold,amount=#rand(8,16);ID=diamond,amount=#rand(8,16);ID=emerald,amount=#rand(8,16);ID=dye,damage=4,amount=#rand(8,16);type=entity,ID=FireworksRocketEntity,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag=#randFireworksRocket)),amount=20,posOffset=#circleOffset(0,2))@luck=2
/pinkgroup(ID=dye,damage=9,amount=#rand(8,16);ID=banner,damage=9,amount=#rand(8,16);ID=wool,damage=6,amount=#rand(8,16);type=entity,ID=Sheep,NBTTag=(LifeTime=20,FireworksItem=(color=6),amount=3,posOffset=#circleOffset(0,2))@luck=0/quartz
group(ID=stone_slab,damage=7,amount=#rand(4,8);ID=quartz_ore,amount=#rand(16,64);ID=quartz_block,amount=#rand(4,8);ID=quartz_block,damage=1,amount=#rand(4,8);ID=quartz_block,damage=2,amount=#rand(4,8);ID=quartz_stairs,amount=#rand(4,8);ID=quartz,amount=#rand(24,32);type=particle,ID=2002,damage=14)@luck=1


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

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

/blocks

group(ID=coal_block,amount=#rand(3,6);ID=diamond_block,amount=#rand(1,3);ID=emerald_block,amount=#rand(1,3);ID=redstone_block,amount=#rand(8,16);ID=lapis_block,amount=#rand(8,16);type=entity,ID=FireworksRocketEntity,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag=#randFireworksRocket)),amount=5,posOffset=#circleOffset(0,2))@luck=2/challenge games

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(0,2))@luck=2ID=monster_egg,amount=1,NBTTag=(display=(Name="Stone of Mite"),reinitialize=true)@luck=-1

/ ========== ENTITIES ==========/fake bombytype=entity,ID=Creeper,NBTTag=(CustomName="Fake Bomby",CustomNameVisible=true)/cake delivery enderman
type=entity,ID=Snowball,NBTTag=(CustomName="Cake Delivery",CustomNameVisible=true,Riding=(id=Enderman,CustomName="Cake Delivery",carried=cake))@luck=0/colored sheep
type=entity,ID=Snowball,NBTTag=(CustomName="$cM$6r. $eR$aa$2i$bn$3b$5o$dw",CustomNameVisible=true,Riding=(id=Sheep,Color=#rand(0,15)b)),posOffset=#circleOffset(4),amount=16,reinitialize=true@luck=1/rabbits
type=entity,ID=Snowball,NBTTag=(CustomName="Mr. Hops",CustomNameVisible=true,Riding=(id=Rabbit,RabbitType=#rand(0,15)b)),posOffset=#circleOffset(4),amount=16,reinitialize=true@luck=1/Cows
type=entity,ID=Snowball,NBTTag=(CustomName="Mrs. Mooey",CustomNameVisible=true,Riding=(id=Cow)),posOffset=#circleOffset(4),amount=16,reinitialize=true@luck=1/Mooshroom
type=entity,ID=Snowball,NBTTag=(CustomName="Mr. Mushroom",CustomNameVisible=true,Riding=(id=Mooshroom)),posOffset=#circleOffset(4),amount=16,reinitialize=true@luck=1/pigs riding horses
type=entity,ID=Pig,NBTTag=(Riding=(id=EntityHorse,Type=#rand(0,15))),posOffset=#circleOffset(4),amount=16,reinitialize=true@luck=1



/thrown eggs
group(type=entity,ID=Chicken,NBTTag=(CustomName="Beautiful Chicken", CustomNameVisible=true,Age=-9000,Motion=#randLaunchMotion(0.6,15)),amount=#rand1930,40);type=entity,ID=Item,NBTTag=(Item=(id=diamond,Count=1),Motion=#randLaunchMotion(0.7,18)),amount=#rand(15,25))@luck=2
/ thrown exp bottles
type=entity,ID=ThrownExpBottle,NBTTag=(Motion=#randLaunchMotion),amount=#rand(3,12)@luck=2/pink sheeptype=entity,ID=Sheep,posY=#bPosY+#rand(0,2),posOffset=#circleOffset(0,1),amount=#rand(16,32),NBTTag=(Color=6,CustomName=$dPinky,CustomNameVisible=true)@luck=0/bob zombies
group(type=difficulty,ID=normal;type=entity,ID=Zombie,NBTTag=(Equipment=[(id=diamond_sword,Count=1,tag=(ench=#luckySwordEnchantments,display=(Name="Bob's Sword"))),(id=diamond_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments,display=(Name="Bob's Boots"))),(id=diamond_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments,display=(Name="Bob's Leggings"))),(id=diamond_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments,display=(Name="Bob's Chestplate"))),(id=diamond_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments,display=(Name="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="Bob",CustomNameVisible=true))@luck=-2




group(type=difficulty,ID=normal;type=entity,ID=Rabbit,NBTTag=(RabbitType=99,Equipment=[(id=diamond_sword,Count=1,tag=(ench=#luckySwordEnchantments)),(id=diamond_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments)),(id=diamond_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments)),(id=diamond_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments))],CustomName="Jeffery",CustomNameVisible=true))@luck=-2



group(type=difficulty,ID=normal;type=entity,ID=Zombie,NBTTag=(Equipment=[(id=iron_sword,Count=1,tag=(ench=#luckySwordEnchantments,display=(Name="Sir Bob's Sword"))),(id=iron_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments,display=(Name="Sir Bob's Boots"))),(id=chainmail_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments,display=(Name="Sir Bob's Leggings"))),(id=iron_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments,display=(Name="Sir Bob's Chestplate"))),(id=skull,Count=1,Damage=3,tag=(SkullOwner=SirDredgery,ench=#luckyHelmetEnchantments,display=(Name="Sir 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="Sir Bob",CustomNameVisible=true))@luck=-2








/

thrown gems
group(type=entity,ID=Item,NBTTag=(Item=(id=emerald),Motion=#randLaunchMotion(0.6,15)),amount=#rand(30,40);type=entity,ID=Item,NBTTag=(Item=(id=diamond),Motion=#randLaunchMotion(0.7,18)),amount=#rand(15,25));type=entity,ID=Item,NBTTag=(Item=(id=prismarine_shard),Motion=#randLaunchMotion(0.7,18)),amount=#rand(15,25)))@luck=1/ launched tnt
type=entity,ID=PrimedTnt,NBTTag=(Fuse=50b,Motion=#randLaunchMotion),amount=15@luck=-2

/ lightning creeper
group(type=difficulty,ID=normal;type=entity,ID=Creeper;type=entity,ID=LightningBolt)@luck=-2
/ launched mobs
type=entity,ID=Guardian,NBTTag=(Equipment=[(id=none),(id=fish,Count=1,Damage=3),(id=none),(id=none),(id=none)],DropChances=[0f,2f,0f,0f,0f],CustomName="Pufferfish",Motion=#randLaunchMotion),amount=#rand(2,5)@luck=-2

type=entity,ID=Rabbit,NBTTag=RabbitType=99,Motion=#randLaunchMotion),amount=#rand(2,5)@luck=-2type=entity,ID=Creeper,NBTTag=(Motion=#randLaunchMotion),amount=#rand(2,5)@luck=-2/ lightning creeper
group(type=difficulty,ID=hard;type=entity,ID=Creeper;type=entity,ID=LightningBolt)@luck=-2/elder guardian
group(type=difficulty,ID=normal;type=entity,ID=Guardian,NBTTag=(Elder=1,Equipment=[(id=none),(id=fish,Count=1,Damage=3),(id=none),(id=none),(id=none)],DropChances=[0f,2f,0f,0f,0f],CustomName="Pufferfish");type=entity,ID=Guardian,amount=3,posOffset=#circleOffset(14),NBTTag=(Equipment=[(id=none),(id=fish,Count=1,Damage=3),(id=none),(id=none),(id=none)],DropChances=[0f,2f,0f,0f,0f],CustomName="Baby Pufferfish"))@luck=-2

/ rabbits
type=entity,ID=Rabbit,amount=#rand(3,12),posOffset=#circleOffset(14),NBTTag=(RabbitType=99)@luck=-2
type=entity,ID=Rabbit,NBTTag=(RabbitType=3,CustomName="Sylvester",CustomNameVisible=true,Age=-1930)@luck=0/lucky villagers
type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(20,25)),sell=(id=diamond_shovel,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="Lucky Shovel"))),maxUses=1),(buy=(id=diamond,Count=#rand(25,30)),sell=(id=diamond_pickaxe,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="Lucky Pickaxe"))),maxUses=1),(buy=(id=diamond,Count=#rand(25,30)),sell=(id=diamond_axe,Count=1,tag=(ench=#luckyAxeEnchantments,display=(Name="Lucky Axe"))),maxUses=1),(buy=(id=diamond,Count=#rand(22,30)),sell=(id=diamond_hoe,Count=1,tag=(ench=#luckySwordEnchantments,display=(Name="Jen's Epic Diamond Hoe"),AttributeModifiers[(AttributeName=generic.attackDamage,Name="damage",Amount=16,Operation=0,UUIDLeast=1,UUIDMost=1)])),maxUses=1)]),CustomName="Lucky Villager",CustomNameVisible=true,Career=1,CareerLevel=100)@luck=1
type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(22,27)),sell=(id=diamond_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments,display=(Name="Lucky Helmet"))),maxUses=1),(buy=(id=diamond,Count=#rand(30,35)),sell=(id=diamond_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments,display=(Name="Lucky Chestplate"))),maxUses=1),(buy=(id=diamond,Count=#rand(25,30)),sell=(id=diamond_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments,display=(Name="Lucky Leggings"))),maxUses=1),(buy=(id=diamond,Count=#rand(22,27)),sell=(id=diamond_boots,Count=1,tag=(ench=#luckyBootsEnchantments,display=(Name="Lucky Boots"))),maxUses=1)]),CustomName="Lucky 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(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="Less OP Lucky Potion"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=potion,Damage=16457,Count=1,tag=(CustomPotionEffects=[(Id=7,Amplifier=#rand(0,1)),(Id=#randList(9,15),Amplifier=0,Duration=#rand(600,1800)),(Id=#randList(2,17,19),Amplifier=#rand(0,1),Duration=#rand(600,1800)),(Id=#randList(4,18,20),Amplifier=#rand(0,1),Duration=#rand(600,1800))],display=(Name="Less OP Unlucky Potion"))),maxUses=1)]),CustomName="Lucky Villager",CustomNameVisible=true,Career=1,CareerLevel=100)@luck=1/falling blocks
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=iron_block);type=particle,ID=largesmoke,size=(1,2,1),particleAmount=500,delay=2;type=sound,ID=random.fizz,delay=2)@luck=0
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=gold_block);type=particle,ID=flame,size=(1,2,1),particleAmount=500,delay=2;type=sound,ID=item.fireCharge.use,delay=2)@luck=0


group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=diamond_block);type=entity,ID=LightningBolt,delay=2)@luck=1
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=emerald_block);type=particle,ID=happyVillager,size=(1,2,1),particleAmount=500,delay=2;type=sound,ID=dig.grass,delay=2)@luck=0
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=wool,Data=6);type=particle,ID="heart",size=(1,2,1),particleAmount=1000,delay=2;type=sound,ID=dig.grass,delay=2)@luck=0
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=cake);type=particle,ID="heart",size=(1,2,1),particleAmount=1000,delay=2;type=sound,ID=dig.grass,delay=2)@luck=0group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=redstone_block);type=particle,ID=reddust,size=(1,2,1),particleAmount=500,delay=2;type=sound,ID=game.tnt.primed,pitch=2,delay=2)@luck=0/chestgroup(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,NBTTag=(Block=chest,TileEntityData=(Items=#chest(contents=[(id=sponge,maxAmount=4,weight=5),(id=emerald,maxAmount=8,weight=5),(id=diamond_horse_armor,maxAmount=1,weight=5),(id=tnt,maxAmount=8,weight=5),(id=saddle,maxAmount=5,weight=5),(id=ender_chest,maxAmount=4,weight=5),(id=emerald_block,maxAmount=1,weight=5),(id=cake,maxAmount=1,weight=5)],maxTotalAmount=12))),posOffset=(0,132,0)

/pufferfish
type=entity,ID=Skeleton,NBTTag=(Equipment=[(id=none),(id=none),(id=none),(id=none),(id=skull,Damage=3,Count=0,tag=(SkullOwner=MHF_Guardian))],ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)],CustomName="Flying Pufferfish",CustomNameVisible=true)@luck=
-1/lucky items/lucky bow
ID=bow,NBTTag=(ench=#luckyBowEnchantments,display=(Name="Lucky Bow"))@luck=2
/ lucky tools
group:#rand(1,2):(ID=diamond_shovel,NBTTag=(ench=#luckyToolEnchantments,display=(Name="Lucky Shovel"));ID=diamond_pickaxe,NBTTag=(ench=#luckyToolEnchantments,display=(Name="Lucky Pickaxe"));ID=diamond_axe,NBTTag=(ench=#luckyAxeEnchantments,display=(Name="Lucky Axe"));ID=diamond_hoe,NBTTag=(ench=#luckySwordEnchantments,display=(Name="Jen's Epic Diamond Hoe"),AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=16,Operation=0,UUIDLeast=1,UUIDMost=1)]))@luck=2
/ lucky armor
group:#rand(1,2):(ID=diamond_helmet,NBTTag=(ench=#luckyHelmetEnchantments,display=(Name="Lucky Helmet"));ID=diamond_chestplate,NBTTag=(ench=#luckyChestplateEnchantments,display=(Name="Lucky Chestplate"));ID=diamond_leggings,NBTTag=(ench=#luckyLeggingsEnchantments,display=(Name="Lucky Leggings"));ID=diamond_boots,NBTTag=(ench=#luckyBootsEnchantments,display=(Name="Lucky Boots")))@luck=2/~~~~~~~~~~~~~~~~~~~~~~

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

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

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

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

@luck=0/hole
group(type=command,ID="/execute @p ~ ~ ~ fill ~2 ~ ~-2 ~-2 ~-2 ~2 minecraft:air";type=message,ID="You gravitate towards holes")

@luck=-1/flying
group(type=command,ID="/tp @p ~ ~56 ~ ";type=message,ID="I believe I can fly")

@luck=-1/lava
group(type=command,ID="/fill ~5 ~5 ~5 ~-5 ~-5 ~-5 minecraft:flowing_lava";type=message,ID="$4BURN")

@luck=-1/========Random stupid Things=======/messagegroup(type=message,ID="Make me a sandwich!";ID=bread,amount=2;ID=cooked_chicken,amount=1)@luck=0/messagegroup(type=message,ID="Mabrocraft shouts to you from an invisible hot air balloon in the sky: Hi I just wanted to... DON'T DRINK THAT! IT'S BEEN POISONED!";ID=potion,Damage=16384,amount=1,NBTTag=(HideFlags=32,CustomPotionEffects=#unluckyPotionEffects)@luck=0/potionID=potion,amount=#rand(1,5),damage=8261,NBTTag=(HideFlags=32,CustomPotionEffects=#unluckyPotionEffects,display=(Name="Yeti Mind Tricks",Lore=["How to do yeti mind tricks","Chant Unawa three times","Do a handstand on a moving bicycle on the edge of the Grand Canyon","Eat fifteen pickled slugs","You know what, you don't need to do those things, all you need to do is throw this potion at someone"]))@luck=1/FredID=skull,NBTTag=(display=(Name="Fred"))@luck=0/turkeygroup(ID=cooked_chicken,NBTTag=(display=(Name="Turkey"));ID=dye,damage=1,NBTTag=(display=(Name="Gobbler")))@luck=1/~~lucky weapons~~/ 
ID=fish,damage=3,NBTTag=(display=(Name="Spiky Pufferfish"),ench=#luckySwordEnchantments)@luck=1/ 
ID=fish,damage=0,NBTTag=(display=(Name="Slappy Fish"),ench=[(id=19,lvl=100)])@luck=1

/ 
ID=bow,damage=0,NBTTag=(display=(Name="Bow of DOOM"),ench=[(id=51,lvl=1),(id=50,lvl=1),(id=49,lvl=10),(id=48,lvl=10)])@luck=1

/ 
ID=diamond_sword,damage=0,NBTTag=(display=(Name="Sword of DOOM"),ench=[(id=20,lvl=1),(id=17,lvl=25),(id=18,lvl=25)],AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=25,Operation=0,UUIDLeast=1,UUIDMost=1)])@luck=3@luck=1ID=red_flower,NBTTag=(ench=#luckySwordEnchantments,display=(Name="Super Lucky Flower"),AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=17,Operation=0,UUIDLeast=1,UUIDMost=1)])@luck=2

ID=red_flower,NBTTag=(ench=#luckySwordEnchantments,display=(Name="Less OP Lucky Flower"),AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=7,Operation=0,UUIDLeast=1,UUIDMost=1)])@luck=1

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

ID=poisonous_potato,NBTTag=(ench=#luckySwordEnchantments,display=(Name="Lucky Po-tat-o",Lore="Warning:Do not consume"),AttributeModifiers=[(AttributeName=generic.attackDamage,Name="damage",Amount=8,Operation=0,UUIDLeast=1,UUIDMost=1)])