5.1.0

WARNING:

The first line indicates the version of this file.
If it does not match the version of the mod, this file will be replaced.
Backup this file if you want to keep any changes you made to it.

Instruction on how to customize the Lucky Block might be added
For now, look at everything below the '>drops' line to understand the syntax.

~SPAWNRATE/STRUCTURECHANCE~

The spawnrate means the Lucky Block will have a 1 in (spawnrate) chance of spawning per chunk.
This means the smaller the spawnrate, the more likely it is to spawn. Set it to 0 to prevent natural spawning.
The structureChance means every time the Lucky Block spawns it will have a 1 in (structureChance) chance of spawning within a structure.

~RECIPE~

To configure the recipe, use the first 3 groups of letters to show what the recipe will look like in the crafting table.
A space instead of a letter will indicate that nothing goes there. Then, match each letter to it's appropriate item/block.
Look below to understand. for no recipe, don't put anything below the recipe line.

>properties
spawnrate=200
structureChance=2
recipe=glg,ldl,glg,g,gold_ingot,d,dropper,l,glass
doDropsOnCreativeMode=false

>craftingitems
diamond=12
diamond_block=100
emerald=8
emerald_block=80
gold_ingot=6
gold_block=60
iron_ingot=3
iron_block=30
glass=2

golden_carrot=30
golden_apple,0=40
golden_apple,1=100
nether_star=100

rotten_flesh=-5
spider_eye=-10
fermented_spider_eye=-20
poisonous_potato=-10
fish,3=-20

>drops
/========== TOOLS & ARMOR ==========

/all wood, stone and gold tools
group(ID=wooden_sword;ID=wooden_shovel;ID=wooden_pickaxe;ID=wooden_axe;ID=wooden_hoe)@luck=0
group(ID=stone_sword;ID=stone_shovel;ID=stone_pickaxe;ID=stone_axe;ID=stone_hoe)@luck=0
group(ID=golden_sword;ID=golden_shovel;ID=golden_pickaxe;ID=golden_axe;ID=golden_hoe)@luck=1
/2-3 iron tools
group:#random-2-3(ID=iron_shovel;ID=iron_pickaxe;ID=iron_axe;ID=iron_sword;ID=iron_hoe)@luck=1
/1-2 diamond tools
group:#random-1-2(ID=diamond_sword;ID=diamond_shovel;ID=diamond_pickaxe;ID=diamond_axe;ID=diamond_hoe)@luck=2
/all leather and gold armor
group(ID=leather_helmet;ID=leather_chestplate;ID=leather_leggings;ID=leather_boots)@luck=0
group(ID=golden_helmet;ID=golden_chestplate;ID=golden_leggings;ID=golden_boots;ID=golden_horse_armor)@luck=1
/2-3 chain and iron armor
group:#random-2-3(ID=chainmail_helmet;ID=chainmail_chestplate;ID=chainmail_leggings;ID=chainmail_boots)@luck=2
group:#random-2-3(ID=iron_helmet;ID=iron_chestplate;ID=iron_leggings;ID=iron_boots;ID=iron_horse_armor)@luck=1
/1-2 diamond armor
group:#random-1-2(ID=diamond_helmet;ID=diamond_chestplate;ID=diamond_leggings;ID=diamond_boots;ID=diamond_horse_armor)@luck=2
/all horse armor
group(ID=iron_horse_armor;ID=golden_horse_armor;ID=diamond_horse_armor)@luck=2
/bow and arrows
group(ID=bow;ID=arrow,amount=#random-16-32)@luck=1
/transparent set
group:#random-1-2(ID=chainmail_helmet,NBTTag=(Unbreakable=true,AttributeModifiers=[(AttributeName=generic.attackDamage,Name=air pressure,Amount=1,Operation=1,UUIDLeast=1487,UUIDMost=12309)],ench=[(id=0,lvl=5),(id=5,lvl=5),(id=6,lvl=1),(id=7,lvl=3)],display=(Name="Transparent helmet"));ID=chainmail_chestplate,NBTTag=(Unbreakable=true,AttributeModifiers=[(AttributeName=generic.maxHealth,Name=air sheid,Amount=6,Operation=0,UUIDLeast=1457,UUIDMost=12209)],ench=[(id=0,lvl=5),(id=7,lvl=3)],display=(Name="Transparent chestplate"));ID=chainmail_leggings,NBTTag=(Unbreakable=true,AttributeModifiers=[(AttributeName=generic.knockbackResistance,Name=air resistance,Amount=1,Operation=0,UUIDLeast=16557,UUIDMost=234209)],ench=[(id=0,lvl=5),(id=7,lvl=3)],display=(Name="Transparent leggings"));ID=chainmail_boots,NBTTag=(Unbreakable=true,AttributeModifiers=[(AttributeName=generic.movementSpeed,Name=air wind,Amount=1,Operation=1,UUIDLeast=19457,UUIDMost=182209)],ench=[(id=0,lvl=5),(id=2,lvl=10),(id=7,lvl=3)],display=(Name="Transparent boots")))@luck=2
/transparent sword
ID=stick,NBTTag=(AttributeModifiers=[(AttributeName=generic.attackDamage,Name=sword air pressure,Amount=1,Operation=1,UUIDLeast=14854587,UUIDMost=22335309),(AttributeName=generic.maxHealth,Name=sword air sheid,Amount=6,Operation=0,UUIDLeast=14854527,UUIDMost=22337309),(AttributeName=generic.movementSpeed,Name=sword air wind,Amount=1,Operation=1,UUIDLeast=14824687,UUIDMost=22985609)],ench=[(id=16,lvl=10),(id=19,lvl=4),(id=20,lvl=5),(id=21,lvl=10)],display=(Name="Transparent sword",Lore=["The blade is invisible"]))@luck=2
/Hurricane bow
ID=bow,NBTTag=(Unbreakable=true,ench=[(id=16,lvl=5),(id=19,lvl=5),(id=48,lvl=5),(id=49,lvl=5),(id=51,lvl=1)],display=(Name="#e#lHurricane Bow",Lore=["The power of air controls all","But can you control it?"]))@luck=2

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

ID=sponge@luck=0
ID=tnt,amount=8@luck=1
ID=obsidian,amount=14@luck=1
ID=enchanting_table@luck=2
ID=end_portal_frame,amount=#random-2-6@luck=2
ID=dragon_egg@luck=1
ID=ender_chest,amount=2@luck=0
ID=beacon@luck=2
ID=dropper,amount=8@luck=0
ID=hay_block,amount=8@luck=0
ID=glass,amount=#random-25-35@luck=0
ID=glass_pane,amount=#random-25-35@luck=0

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

ID=gold_ingot,amount=#random-8-16@luck=1
ID=stick@luck=-1
ID=painting,amount=4@luck=0
ID=saddle,amount=2@luck=0
ID=cake@luck=0
ID=rotten_flesh@luck=-1
ID=nether_star@luck=2
ID=red_flower,NBTTag=(display=(Name="#cRomantic Rose"))@luck=-1

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

/bookshelves and books
group(ID=bookshelf,amount=#random-6-12;ID=book,amount=#random-8-16)@luck=0
/pumpkins and jack o'lanterns
group(ID=pumpkin,amount=#random-8-16;ID=lit_pumpkin,amount=#random-8-16)@luck=0
/golden apples
group(ID=golden_apple,amount=#random-2-4;ID=golden_apple,amount=#random-1-2,damage=1)@luck=2
/buckets
group(ID=bucket,amount=#random-1-2;ID=water_bucket,amount=#random-1-2;ID=lava_bucket,amount=#random-1-2;ID=milk_bucket,amount=#random-1-2)@luck=0
/meat (raw and cooked)
group:1(group(ID=porkchop,amount=#random-8-16;ID=cooked_porkchop,amount=#random-4-8);group(ID=fish,amount=#random-8-16;ID=cooked_fished,amount=#random-4-8);group(ID=beef,amount=#random-8-16;ID=cooked_beef,amount=#random-4-8);group(ID=chicken,amount=#random-8-16;ID=cooked_chicken,amount=#random-4-8))@luck=1
/vegetable food (carrots, potatoes, pumpkin pie)
group:1(group(ID=carrot,amount=#random-8-16;ID=golden_carrot,amount=#random-4-8);group(ID=potato,amount=#random-8-16;ID=baked_potato,amount=#random-4-8;ID=poisonous_potato,amount=#random-2-4);group(ID=beef,amount=#random-8-16;ID=cooked_beef,amount=#random-4-8);group(ID=pumpkin_pie,amount=#random-6-12))@luck=1
/ender pearls and eyes 
group(ID=ender_pearl,amount=10;ID=ender_eye,amount=5)@luck=2
/potions
ID=potion,damage=#randomPotionDamage,amount=#random-4-8,reinitialize=true@luck=1
/spawn eggs
ID=spawn_egg,damage=#randomSpawnEggDamage,amount=#random-4-8,reinitialize=true@luck=1
/heads
ID=skull,damage=#random-0-4,amount=#random-1-3,reinitialize=true@luck=0
/jukebox music discs
group(ID=jukebox;ID=#random-2256-2267,amount=#random-1-3,reinitialize=true)@luck=1
/brewing
group(ID=ender_pearl,amount=#random-1-3;ID=blaze_rod,amount=#random-1-3;ID=ghast_tear,amount=#random-1-3;ID=gold_nugget,amount=#random-1-3;ID=nether_wart,amount=#random-1-3;ID=spider_eye,amount=#random-1-3;ID=fermented_spider_eye,amount=#random-1-3;ID=blaze_powder,amount=#random-1-3;ID=magma_cream,amount=#random-1-3;ID=ender_eye,amount=#random-1-3;ID=382,amount=#random-1-3;type=particle,ID=2002,damage=3)@luck=2
/redstone
group(ID=dispenser,amount=#random-2-4;ID=noteblock,amount=1;ID=sticky_piston,amount=#random-2-4;ID=piston,amount=4;ID=tnt,amount=#random-4-6;ID=lever,amount=2;ID=stone_pressure_plate,amount=2;ID=wooden_pressure_plate,amount=2;ID=redstone_torch,amount=8;ID=stone_button,amount=2;ID=trapdoor,amount=2;ID=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=#random-2-4;ID=wooden_door,amount=1;ID=iron_door,amount=1;ID=redstone,amount=#random-32-64;ID=repeater,amount=8;ID=comparator,amount=2;type=particle,ID=2002,damage=9)@luck=2
/colorful
group(group:1(ID=wool,damage=#random-0-15,amount=#random-32-64,reinitialize=true;ID=stained_hardened_clay,damage=#random-0-15,amount=#random-32-64,reinitialize=true;ID=dye,damage=#random-0-15,amount=#random-32-64,reinitialize=true;ID=stained_glass,damage=#random-0-15,amount=#random-32-64,reinitialize=true;ID=stained_glass_pane,damage=#random-0-15,amount=#random-32-64,reinitialize=true);type=particle,ID=2002,damage=#randomPotionEffect,amount=20,reinitialize=true)@luck=1
/iron, gold, diamond, emerald with fireworks
group(ID=iron_ingot,amount=#random-8-16;ID=gold_ingot,amount=#random-8-16;ID=diamond,amount=#random-8-16;ID=emerald,amount=#random-8-16;type=entity,ID=fireworks,NBTTag=#randomFireworkRocket,amount=20,scatterOffset=0-2,reinitialize=true)@luck=2
/quartz
group(ID=stone_slab,damage=7,amount=#random-4-8;ID=quartz_ore,amount=#random-16-32;ID=quartz_block,amount=#random-4-8;ID=quartz_block,damage=1,amount=#random-4-8;ID=quartz_block,damage=2,amount=#random-4-8;ID=quartz_stairs,amount=#random-4-8;ID=quartz,amount=#random-24-32;type=particle,ID=2002,damage=14)@luck=1
/fish
group(ID=fishing_rod;ID=#random-349-350,damage=#random-0-3,amount=#random-10-20,reinitialize=true)@luck=1
/message with mushroom
group(type=command,ID="/tell #playerName Listen to me, #playerName. You are in grave danger. You need to run. Now. Take this mushroom, it is your only hope.",commandSender="PlayerInDistress";ID=red_mushroom,NBTTag=(display=(Name="#cOnly Hope")))@luck=-1
/transparent stuff
group(ID=glass,amount=#random-5-15;ID=glass_pane,amount=#random-5-15;ID=ice,amount=#random-5-15;ID=web,amount=#random-5-15;ID=water,amount=#random-5-15;ID=mob_spawner,amount=#random-5-15;ID=portal,amount=#random-5-15;type=particle,ID=2002,damage=6)@luck=2
/Gas joke
group(type=command,ID="/tell #playerName #playerName, Stop breathing stupid, you are killing my friends!.",commandSender="God of Air";ID=coal,amount=#random-4-8,NBTTag=(display=(Name="#4CO2")))@luck=0
/random jokes
group:1(ID=clock,NBTTag=(display=(Name="You're wasting your time"));ID=fish,damage=2,NBTTag=(display=(Name="I'm funny"));ID=fish,damage=3,NBTTag=(display=(Name="Oooooh!")))@luck=-1
/flowers
group(ID=red_flower,damage=#random-0-8,amount=64,reinitialize=true)@luck=0
/enchantment books
ID=enchanted_book,NBTTag=(ench=#randomEnchantment),amount=#random-7-10,reinitialize=true@luck=1

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

/passive 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=Squid,NBTTag=(CustomName="#e#lUnlucky Squid",CustomNameVisible=true);type=entity,ID=MushroomCow,NBTTag=(CustomName="#e#lLucky Mooshroom",CustomNameVisible=true))@luck=0
/colored sheep
type=entity,ID=Sheep,NBTTag=(CustomName="#cM#6r. #eR#aa#2i#bn#3b#5o#dw",CustomNameVisible=true,Color=#random-0-15b),scatterOffset=4-4,adjustHeight=2,amount=16,relativeToPlayer=true,reinitialize=true@luck=1
/lucky eggs
type=entity,ID=luckyegg,amount=20@luck=2
/launched ender pearls
type=entity,ID=ThrownEnderpearl,amount=#random-2-5,posY=#bPosY+5,scatterOffset=0-5,adjustHeight=10,reinitialize=true,NBTTag=(ownerName=#playerName)@luck=-1
/launched arrows
type=entity,ID=Arrow,amount=#random-180-200,posX=#pPosX,posY=#pPosY+3,posZ=#pPosZ,scatterOffset=0-3,reinitialize=true,NBTTag=(damage=100.0)@luck=-2
/launched expbottles
type=entity,ID=launched_expbottle,amount=#random-16-32@luck=2
/launched tnt
type=entity,ID=launched_tnt,amount=15@luck=-2
type=entity,ID=launched_tnt,amount=60@luck=-2
/lightning
type=entity,ID=lightning,amount=#random-80-100,posX=#pPosX,posZ=#pPosZ,scatterOffset=0-3,reinitialize=true@luck=-2
/lightning creeper
group(type=difficulty,ID=hard;type=entity,ID=Creeper;type=entity,ID=lightning)@luck=-2
/giant
group(type=difficulty,ID=hard;type=entity,ID=Giant)@luck=-2
/wither
group(type=difficulty,ID=hard;type=entity,ID=WitherBoss)@chance=0.1@luck=-2
/ghast
group(type=difficulty,ID=hard;type=entity,ID=Ghast)@luck=-2
/bob the decked zombie
group(type=difficulty,ID=hard;type=entity,ID=Zombie,NBTTag=(Equipment=[(id=diamond_sword,Count=1,Damage=0,tag=(ench=#luckySwordEnchantments)),(id=diamond_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments)),(id=diamond_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments)),(id=diamond_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments))],CustomName="#e#lBob",CustomNameVisible=true))@luck=-2
/Transparent bob the decked zombie
group(type=difficulty,ID=hard;type=entity,ID=Zombie,NBTTag=(Equipment=[(id=stick,Count=1,Damage=0,tag=(AttributeModifiers=[(AttributeName=generic.attackDamage,Name=sword air pressure,Amount=1,Operation=1,UUIDLeast=14854587,UUIDMost=22335309),(AttributeName=generic.maxHealth,Name=sword air sheid,Amount=6,Operation=0,UUIDLeast=14854527,UUIDMost=22337309),(AttributeName=generic.movementSpeed,Name=sword air wind,Amount=1,Operation=1,UUIDLeast=14824687,UUIDMost=22985609)],ench=[(id=16,lvl=10),(id=19,lvl=4),(id=20,lvl=5),(id=21,lvl=10)],display=(Name="Transparent sword",Lore=["The blade is invisible"]))),(id=chainmail_helmet,Count=1,Damage=0,tag=(Unbreakable=true,AttributeModifiers=[(AttributeName=generic.attackDamage,Name=air pressure,Amount=1,Operation=1,UUIDLeast=1487,UUIDMost=12309)],ench=[(id=0,lvl=5),(id=5,lvl=5),(id=6,lvl=1),(id=7,lvl=3)],display=(Name="Transparent helmet"))),(id=chainmail_chestplate,Count=1,Damage=0,tag=(Unbreakable=true,AttributeModifiers=[(AttributeName=generic.maxHealth,Name=air sheid,Amount=6,Operation=0,UUIDLeast=1457,UUIDMost=12209)],ench=[(id=0,lvl=5),(id=7,lvl=3)],display=(Name="Transparent chestplate"))),(id=chainmail_leggings,Count=1,Damage=0,tag=(Unbreakable=true,AttributeModifiers=[(AttributeName=generic.knockbackResistance,Name=air resistance,Amount=1,Operation=0,UUIDLeast=16557,UUIDMost=234209)],ench=[(id=0,lvl=5),(id=7,lvl=3)],display=(Name="Transparent leggings"))),(id=chainmail_boots,Count=1,Damage=0,tag=(Unbreakable=true,AttributeModifiers=[(AttributeName=generic.movementSpeed,Name=air wind,Amount=1,Operation=1,UUIDLeast=19457,UUIDMost=182209)],ench=[(id=0,lvl=5),(id=2,lvl=10),(id=7,lvl=3)],display=(Name="Transparent boots")))],CustomName="#e#lTransparent Bob",CustomNameVisible=true))@chance=0.1@luck=-2
/stacked villager and pigs
type=entity,ID=Villager,NBTTag=(Riding=(id=Pig,Riding=(id=Pig,Riding=(id=Pig,Riding=(id=Pig,Riding=(id=Pig,Riding=(id=Pig,Riding=(id=Pig))))))))@luck=0
/Jockeys
group:1(group(type=difficulty,ID=hard;type=time,ID=18750;type=entity,ID=Skeleton,NBTTag=(Riding=(id=Spider)));group(type=difficulty,ID=hard;type=time,ID=18750;type=entity,ID=Zombie,NBTTag=(IsBaby=true,IsVillager=false,Riding=(id=Chicken,IsChickenJockey=true))))@luck=-1
/horses
type=entity,ID=EntityHorse,amount=12,scatterOffset=4-4,adjustHeight=2,reinitialize=true,NBTTag=(Type=#random-0-4,Owner=#playerName)@luck=1
/witch with bats
group(type=difficulty,ID=hard;type=entity,ID=Witch,adjustHeight=1;type=entity,ID=Bat,amount=64,posY=#bPosY+#random-0-2,scatterOffset=0-1,adjustHeight=1,reinitialize=true)@luck=-1
/Wither skull jump scare
group(type=entity,ID=WitherSkull,posX=#pPosX+1,posY=#pPosY+1,posZ=#pPosZ,NBTTag=(direction=[1.0,0.0,0.0],Motion=[1.0,0.0,0.0],Rotation=[180,0]);type=entity,ID=WitherSkull,posX=#pPosX,posY=#pPosY+1,posZ=#pPosZ+1,NBTTag=(direction=[0.0,0.0,-1.0],Motion=[0.0,0.0,-1.0],Rotation=[270,0]);type=entity,ID=WitherSkull,posX=#pPosX,posY=#pPosY+1,posZ=#pPosZ-1,NBTTag=(direction=[0.0,0.0,1.0],Motion=[0.0,0.0,1.0],Rotation=[90,0]);type=entity,ID=WitherSkull,posX=#pPosX-1,posY=#pPosY+1,posZ=#pPosZ,NBTTag=(direction=[-1.0,0.0,0.0],Motion=[-1.0,0.0,0.0],Rotation=[0,0]);type=command,ID="/playsound mob.wither.shoot #playerName ~ ~ ~ 1.0 1.0",amount=20;type=message,ID="Jumpscare!")@luck=-1
/Punch me
group(type=difficulty,ID=hard;type=entity,ID=PigZombie,amount=#random-10-25,scatterOffset=0-4,adjustHeight=2,reinitialize=true,NBTTag=(CustomName=#6Punch me,CustomNameVisible=true))@luck=-1
group(type=difficulty,ID=hard;type=entity,ID=Wolf,amount=#random-10-25,scatterOffset=0-4,adjustHeight=2,reinitialize=true,NBTTag=(CustomName=#6Punch me,CustomNameVisible=true))@luck=-1
/huge slime and magma cube
group:1(type=entity,ID=Slime,NBTTag=(Size=10);type=entity,ID=LavaSlime,NBTTag=(Size=10))@luck=-2
/pet wolves
group(type=particle,ID="heart",amount=20,scatterOffset=0-2,reinitialize=true;type=entity,ID=Wolf,amount=#random-5-10,scatterOffset=3-3,adjustHeight=1,reinitialize=true,NBTTag=(CollarColor=#random-0-14,Owner=#playerName,Sitting=1))@luck=1
/pet cats
group(type=particle,ID="heart",amount=20,scatterOffset=0-2,reinitialize=true;type=entity,ID=Ozelot,amount=#random-5-10,scatterOffset=3-3,adjustHeight=1,reinitialize=true,NBTTag=(CatType=#random-0-3,Owner=#playerName,Sitting=1))@luck=1
/lucky villagers
type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#random-20-25),sell=(id=golden_sword,Count=1,tag=(ench=#luckySwordEnchantments,display=(Name="#e#lLucky Sword"))),maxUses=1),(buy=(id=diamond,Count=#random-20-25),sell=(id=bow,Count=1,tag=(ench=#luckyBowEnchantments,display=(Name="#e#lLucky Bow"))),maxUses=1),(buy=(id=diamond,Count=#random-10-15),sell=(id=fishing_rod,Count=1,tag=(ench=#luckyFishingRodEnchantments,display=(Name="#e#lLucky Fishing Rod"))),maxUses=1),(buy=(id=diamond,Count=#random-10-15),sell=(id=potion,Damage=8195,Count=1,tag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="#e#lLucky Potion"))),maxUses=1),(buy=(id=diamond,Count=#random-7-12),sell=(id=potion,Damage=16428,Count=1,tag=(CustomPotionEffects=#unluckyPotionEffects,display=(Name="#e#lUnlucky Potion"))),maxUses=1)]),CustomName="#e#lLucky Villager",CustomNameVisible=true)@luck=1
type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#random-12-17),sell=(id=golden_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments,display=(Name="#e#lLucky Helmet"))),maxUses=1),(buy=(id=diamond,Count=#random-20-25),sell=(id=golden_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments,display=(Name="#e#lLucky Chestplate"))),maxUses=1),(buy=(id=diamond,Count=#random-15-20),sell=(id=golden_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments,display=(Name="#e#lLucky Leggings"))),maxUses=1),(buy=(id=diamond,Count=#random-12-17),sell=(id=golden_boots,Count=1,tag=(ench=#luckyBootsEnchantments,display=(Name="#e#lLucky Boots"))),maxUses=1)]),CustomName="#e#lLucky Villager",CustomNameVisible=true)@luck=1
type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#random-10-15),sell=(id=golden_shovel,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="#e#lLucky Shovel"))),maxUses=1),(buy=(id=diamond,Count=#random-15-20),sell=(id=golden_pickaxe,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="#e#lLucky Pickaxe"))),maxUses=1),(buy=(id=diamond,Count=#random-15-20),sell=(id=golden_axe,Count=1,tag=(ench=#luckyAxeEnchantments,display=(Name="#e#lLucky Axe"))),maxUses=1),(buy=(id=diamond,Count=#random-10-15),sell=(id=golden_hoe,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="#e#lLucky Hoe"))),maxUses=1)]),CustomName="#e#lLucky Villager",CustomNameVisible=true)@luck=1
/Other villagers
type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=glass,Count=2),sell=(id=glass,Count=1),maxUses=100),(buy=(id=diamond,Count=2),sell=(id=diamond,Count=1),maxUses=100),(buy=(id=emerald,Count=2),sell=(id=emerald,Count=1),maxUses=100),(buy=(id=gold_ingot,Count=2),sell=(id=gold_ingot,Count=1),maxUses=100),(buy=(id=iron_ingot,Count=2),sell=(id=iron_ingot,Count=1),maxUses=100),(buy=(id=redstone,Count=2),sell=(id=redstone,Count=1),maxUses=100),(buy=(id=dye,Count=2,Damage=4),sell=(id=dye,Count=1,Damage=4),maxUses=100),]),CustomName="#e#lYou won't want to trade with me",CustomNameVisible=true)@luck=0
type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=glass,Count=#random-5-11),sell=(id=diamond,Count=1),maxUses=20),(buy=(id=glass,Count=#random-7-13),sell=(id=emerald,Count=1),maxUses=20),(buy=(id=glass,Count=#random-59-64),sell=(id=diamond_sword,Count=1,tag=(ench=#luckySwordEnchantments,display=(Name="#e#lLucky Glass Sword"))),maxUses=3),(buy=(id=glass,Count=#random-59-64),sell=(id=diamond_pickaxe,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="#e#lSuper Duper Glass Pickaxe"))),maxUses=3),(buy=(id=glass,Count=#random-59-64),sell=(id=bow,Count=1,tag=(ench=#luckyBowEnchantments,display=(Name="#e#lGlassy Bow"))),maxUses=3),(buy=(id=glass,Count=#random-28-33),sell=(id=glass,Count=1,tag=(ench=#luckySwordEnchantments,display=(Name="#e#lLucky Glass"))),maxUses=3)]),CustomName="#e#lGlass Villager",CustomNameVisible=true)@luck=1
type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=emerald,Count=#random-12-17),sell=(id=chainmail_helmet,Count=1,Damage=0,tag=(Unbreakable=true,AttributeModifiers=[(AttributeName=generic.attackDamage,Name=air pressure,Amount=1,Operation=1,UUIDLeast=1487,UUIDMost=12309)],ench=[(id=0,lvl=5),(id=5,lvl=5),(id=6,lvl=1),(id=7,lvl=3)],display=(Name="Transparent helmet"))),maxUses=1),(buy=(id=emerald,Count=#random-20-25),sell=(id=chainmail_chestplate,Count=1,Damage=0,tag=(Unbreakable=true,AttributeModifiers=[(AttributeName=generic.maxHealth,Name=air sheid,Amount=6,Operation=0,UUIDLeast=1457,UUIDMost=12209)],ench=[(id=0,lvl=5),(id=7,lvl=3)],display=(Name="Transparent chestplate"))),maxUses=1),(buy=(id=emerald,Count=#random-15-20),sell=(id=chainmail_leggings,Count=1,Damage=0,tag=(Unbreakable=true,AttributeModifiers=[(AttributeName=generic.knockbackResistance,Name=air resistance,Amount=1,Operation=0,UUIDLeast=16557,UUIDMost=234209)],ench=[(id=0,lvl=5),(id=7,lvl=3)],display=(Name="Transparent leggings"))),maxUses=1),(buy=(id=emerald,Count=#random-12-17),sell=(id=chainmail_boots,Count=1,Damage=0,tag=(Unbreakable=true,AttributeModifiers=[(AttributeName=generic.movementSpeed,Name=air wind,Amount=1,Operation=1,UUIDLeast=19457,UUIDMost=182209)],ench=[(id=0,lvl=5),(id=2,lvl=10),(id=7,lvl=3)],display=(Name="Transparent boots"))),maxUses=1),(buy=(id=emerald,Count=#random-20-25),sell=(id=stick,Count=1,Damage=0,tag=(AttributeModifiers=[(AttributeName=generic.attackDamage,Name=sword air pressure,Amount=1,Operation=1,UUIDLeast=14854587,UUIDMost=22335309),(AttributeName=generic.maxHealth,Name=sword air sheid,Amount=6,Operation=0,UUIDLeast=14854527,UUIDMost=22337309),(AttributeName=generic.movementSpeed,Name=sword air wind,Amount=1,Operation=1,UUIDLeast=14824687,UUIDMost=22985609)],ench=[(id=16,lvl=10),(id=19,lvl=4),(id=20,lvl=5),(id=21,lvl=10)],display=(Name="Transparent sword",Lore=["The blade is invisible"]))),maxUses=1),(buy=(id=emerald,Count=#random-20-25),sell=(id=bow,Count=1,Damage=0,tag=(Unbreakable=true,ench=[(id=16,lvl=5),(id=19,lvl=5),(id=48,lvl=5),(id=49,lvl=5),(id=51,lvl=1)],display=(Name="#e#lHurricane Bow",Lore=["The power of air controls all","But can you control it?"]))),maxUses=1)]),CustomName="#e#lTransparent Villager",CustomNameVisible=true)@luck=1
group(type=message,ID="A dead shrub a day, keeps the villager away";type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=emerald,Count=#random-5-15),sell=(id=tallgrass,Count=1),maxUses=100)])))@luck=0

/==========Thrown potion========

/launched Healing Potion
type=entity,ID=ThrownPotion,amount=#random-20-30,posX=#pPosX,posY=#pPosY+1,posZ=#pPosZ,scatterOffset=0-3,reinitialize=true,NBTTag=(Potion=(id=373,Damage=16421,tag=(CustomPotionEffects=[(Id=6,Amplifier=3)])))@luck=2
/launched Harming Potion
type=entity,ID=ThrownPotion,amount=#random-20-30,posX=#pPosX,posY=#pPosY+1,posZ=#pPosZ,scatterOffset=0-3,reinitialize=true,NBTTag=(Potion=(id=373,Damage=16428,tag=(CustomPotionEffects=[(Id=7,Amplifier=3)])))@luck=-2
/launched Hunger Potion
group(type=difficulty,ID=hard;type=entity,ID=ThrownPotion,amount=#random-8-10,posX=#pPosX,posY=#pPosY+1,posZ=#pPosZ,scatterOffset=0-3,reinitialize=true,NBTTag=(Potion=(id=373,Damage=16388,tag=(CustomPotionEffects=[(Id=17,Amplifier=50,Duration=3600)]))))@luck=-2
/launched Invisibility Potion
group(type=message,ID="No invisibility for you";type=entity,ID=ThrownPotion,amount=#random-8-10,posX=#pPosX,posY=#pPosY+1,posZ=#pPosZ,scatterOffset=6-10,reinitialize=true,NBTTag=(Potion=(id=373,Damage=16462)))@luck=-1
/launched Wither Potion
type=entity,ID=ThrownPotion,amount=#random-8-10,posX=#pPosX,posY=#pPosY+1,posZ=#pPosZ,scatterOffset=0-3,reinitialize=true,NBTTag=(Potion=(id=373,Damage=16392,tag=(CustomPotionEffects=[(Id=20,Amplifier=5,Duration=1800)])))@luck=-2
/launched Lucky Potion
type=entity,ID=ThrownPotion,amount=1,posX=#pPosX,posY=#pPosY+1,posZ=#pPosZ,NBTTag=(Potion=(id=373,Count=1,Damage=16387,tag=(CustomPotionEffects=#luckyPotionEffects)))@luck=2
/launched Unlucky Potion
type=entity,ID=ThrownPotion,amount=1,posX=#pPosX,posY=#pPosY+1,posZ=#pPosZ,NBTTag=(Potion=(id=373,Count=1,Damage=16428,tag=(CustomPotionEffects=#unluckyPotionEffects)))@luck=-2

/==========Invisible mobs=========
/Gas
group(type=difficulty,ID=hard;type=message,ID="Do you see any gas?";type=entity,ID=Ghast,NBTTag=(CustomName="#1Gas",CustomNameVisible=true,ActiveEffects=[(Id=14,Amplifier=0,Duration=999999)]))@luck=-2
/Poisonous Gas
group(type=difficulty,ID=hard;type=message,ID="Do you see any poisonous gas?";type=entity,ID=WitherBoss,NBTTag=(CustomName="#1Poisonous Gas",CustomNameVisible=true,ActiveEffects=[(Id=14,Amplifier=0,Duration=999999)]))@chance=0.1@luck=-2
/Armored Gas
group(type=difficulty,ID=hard;type=message,ID="Do you see any armored gas?";type=entity,ID=Zombie,NBTTag=(Equipment=[(id=diamond_sword,Count=1,Damage=0,tag=(ench=#luckySwordEnchantments)),(id=diamond_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments)),(id=diamond_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments)),(id=diamond_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments))],CustomName="#e#lArmored Gas",CustomNameVisible=true,ActiveEffects=[(Id=14,Amplifier=0,Duration=999999)]))@luck=-2
/Trolling Armored Gas
group(type=difficulty,ID=hard;type=message,ID="Do you see any armored gas?";type=entity,ID=PigZombie,NBTTag=(Equipment=[(id=diamond_sword,Count=1,Damage=0,tag=(ench=#luckySwordEnchantments)),(id=diamond_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments)),(id=diamond_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments)),(id=diamond_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments))],CustomName="#e#4You are trolled, it is a#e#4 pigman bro",CustomNameVisible=false,ActiveEffects=[(Id=14,Amplifier=0,Duration=999999)]))@luck=-2
/Burning Gas
group(type=difficulty,ID=hard;type=message,ID="Do you see any burning gas?";type=entity,ID=Blaze,NBTTag=(Equipment=[(id=diamond_sword,Count=1,Damage=0,tag=(ench=#luckySwordEnchantments)),(id=diamond_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments)),(id=diamond_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments)),(id=diamond_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments))],CustomName="#1Burning Gas",CustomNameVisible=true,ActiveEffects=[(Id=14,Amplifier=0,Duration=999999)]))@luck=-2
/Explosive Gas
group(type=difficulty,ID=hard;type=message,ID="Do you see any explosive gas?";type=entity,ID=Creeper,NBTTag=(Equipment=[(id=diamond_sword,Count=1,Damage=0,tag=(ench=#luckySwordEnchantments)),(id=diamond_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments)),(id=diamond_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments)),(id=diamond_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments))],CustomName="#1Explosive Gas",CustomNameVisible=true,ActiveEffects=[(Id=14,Amplifier=0,Duration=999999)]))@luck=-2
/A Giant Cloud Of Gas
group(type=difficulty,ID=hard;type=message,ID="Do you see any giant cloud of gas?";type=entity,ID=Giant,NBTTag=(Equipment=[(id=diamond_sword,Count=1,Damage=0,tag=(ench=#luckySwordEnchantments)),(id=diamond_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments)),(id=diamond_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments)),(id=diamond_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments))],CustomName="#1A Giant Cloud Of Gas",CustomNameVisible=true,ActiveEffects=[(Id=14,Amplifier=0,Duration=999999)]))@luck=-2
/Mini Gas
group(type=difficulty,ID=hard;type=message,ID="Do you see any mini gas?";type=entity,ID=Silverfish,NBTTag=(Equipment=[(id=diamond_sword,Count=1,Damage=0,tag=(ench=#luckySwordEnchantments)),(id=diamond_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments)),(id=diamond_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments)),(id=diamond_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments))],CustomName="#1Mini Gas",CustomNameVisible=true,ActiveEffects=[(Id=14,Amplifier=0,Duration=999999)]))@luck=-2
/Magical Gas
group(type=difficulty,ID=hard;type=message,ID="Do you see any magical gas?";type=entity,ID=Witch,NBTTag=(Equipment=[(id=diamond_sword,Count=1,Damage=0,tag=(ench=#luckySwordEnchantments)),(id=diamond_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments)),(id=diamond_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments)),(id=diamond_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments))],CustomName="#1Magical Gas",CustomNameVisible=true,ActiveEffects=[(Id=14,Amplifier=0,Duration=999999)]))@luck=-2
/Air protection
group(type=message,ID="Let air protect you";type=entity,ID=Minecart,NBTTag=(Riding=(id=VillagerGolem,PlayerCreated=true,Equipment=[(id=diamond_sword,Count=1,Damage=0,tag=(ench=#luckySwordEnchantments)),(id=diamond_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments)),(id=diamond_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments)),(id=diamond_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments))],CustomName="#e#lAir protection",CustomNameVisible=true,ActiveEffects=[(Id=14,Amplifier=0,Duration=999999)])))@luck=2
/You can't see us
group(type=message,ID="You can't see us cause we are invisible";type=entity,ID=Sheep,amount=#random-10-20,scatterOffset=5-10,adjustHeight=1,reinitialize=true,NBTTag=(CustomName="#1Invisible sheep?",CustomNameVisible=true,ActiveEffects=[(Id=14,Amplifier=0,Duration=999999)]))@luck=0
/Now you don't see me
group(type=message,ID="Now you don't see me";type=entity,ID=Cow,NBTTag=(CustomName="#1Now you do",CustomNameVisible=true,ActiveEffects=[(Id=14,Amplifier=0,Duration=20)]))@luck=1
/floating saddles
group(type=message,ID="Am I seeing things or there are saddles floating in mid-air";type=entity,ID=Pig,amount=#random-10-20,scatterOffset=5-10,adjustHeight=1,reinitialize=true,NBTTag=(Saddle=true,ActiveEffects=[(Id=14,Amplifier=0,Duration=999999)]))@luck=1
/floating pumpkins
group(type=message,ID="Am I seeing things or there are pumpkins floating in mid-air";type=entity,ID=SnowMan,amount=#random-10-20,scatterOffset=5-10,adjustHeight=2,reinitialize=true,NBTTag=(ActiveEffects=[(Id=14,Amplifier=0,Duration=999999)]))@luck=1
/eyes
group(type=message,ID="Admire these eyes";type=difficulty,ID=hard;type=time,ID=18750;type=entity,ID=Spider,amount=#random-10-20,scatterOffset=5-10,adjustHeight=1,reinitialize=true,NBTTag=(CustomName="#fThe eye",CustomNameVisible=true,ActiveEffects=[(Id=14,Amplifier=0,Duration=999999)]);type=entity,ID=CaveSpider,amount=#random-10-20,scatterOffset=5-10,adjustHeight=1,reinitialize=true,NBTTag=(CustomName="#fThe eye",CustomNameVisible=true,ActiveEffects=[(Id=14,Amplifier=0,Duration=999999)]);type=entity,ID=Enderman,amount=#random-10-20,scatterOffset=5-10,adjustHeight=2,reinitialize=true,NBTTag=(CustomName="#fThe eye",CustomNameVisible=true,ActiveEffects=[(Id=14,Amplifier=0,Duration=999999)]))@luck=-2
/========== STRUCTURES ==========
/traps
type=structure,ID=anvil_trap,relativeToPlayer=true@luck=-2
type=structure,ID=lava_trap,relativeToPlayer=true@luck=-2
type=structure,ID=water_trap,relativeToPlayer=true@luck=-2
type=structure,ID=pit_trap,relativeToPlayer=true@luck=-2
group(type=block,ID=obsidian,posX=#pPosX,posY=#pPosY-3,posZ=#pPosZ;type=block,ID=sand,posX=#pPosX,posY=#pPosY-2,posZ=#pPosZ;type=block,ID=air,posX=#pPosX-1,posY=#pPosY-1,posZ=#pPosZ;type=block,ID=air,posX=#pPosX+1,posY=#pPosY-1,posZ=#pPosZ;type=block,ID=air,posX=#pPosX,posY=#pPosY-1,posZ=#pPosZ-1;type=block,ID=air,posX=#pPosX,posY=#pPosY-1,posZ=#pPosZ+1;type=block,ID=cactus,posX=#pPosX,posY=#pPosY-1,posZ=#pPosZ;type=block,ID=air,posX=#pPosX,posY=#pPosY,posZ=#pPosZ;type=block,ID=glass,posX=#pPosX,posY=#pPosY+1,posZ=#pPosZ;type=block,ID=obsidian,posX=#pPosX,posY=#pPosY+2,posZ=#pPosZ;type=block,ID=obsidian,posX=#pPosX-1,posY=#pPosY+1,posZ=#pPosZ;type=block,ID=obsidian,posX=#pPosX+1,posY=#pPosY+1,posZ=#pPosZ;type=block,ID=obsidian,posX=#pPosX,posY=#pPosY+1,posZ=#pPosZ-1;type=block,ID=obsidian,posX=#pPosX,posY=#pPosY+1,posZ=#pPosZ+1;type=command,ID="tp #playerName ~ ~ ~";type=effect,ID=2,duration=90,damage=40;type=effect,ID=4,duration=90,damage=40)@luck=-2
group(type=block,ID=netherrack,posX=#pPosX,posY=#pPosY-1,posZ=#pPosZ;type=block,ID=fire,posX=#pPosX,posY=#pPosY,posZ=#pPosZ;type=block,ID=glass,posX=#pPosX,posY=#pPosY+1,posZ=#pPosZ;type=block,ID=obsidian,posX=#pPosX,posY=#pPosY+2,posZ=#pPosZ;type=block,ID=obsidian,posX=#pPosX-1,posY=#pPosY+1,posZ=#pPosZ;type=block,ID=obsidian,posX=#pPosX+1,posY=#pPosY+1,posZ=#pPosZ;type=block,ID=obsidian,posX=#pPosX,posY=#pPosY+1,posZ=#pPosZ-1;type=block,ID=obsidian,posX=#pPosX,posY=#pPosY+1,posZ=#pPosZ+1;type=command,ID="tp #playerName ~ ~ ~";type=effect,ID=2,duration=90,damage=40;type=effect,ID=4,duration=90,damage=40)@luck=-2
group(type=block,ID=glass,posY=#bPosY-1;type=block,ID=ice,posX=#bPosX+1;type=block,ID=ice,posX=#bPosX-1;type=block,ID=ice,posZ=#bPosZ+1;type=block,ID=ice,posZ=#bPosZ-1;type=block,ID=ice,posX=#bPosX+1,posY=#bPosY+1;type=block,ID=ice,posX=#bPosX-1,posY=#bPosY+1;type=block,ID=ice,posY=#bPosY+1,posZ=#bPosZ+1;type=block,ID=ice,posY=#bPosY+1,posZ=#bPosZ-1;type=block,ID=ice,posY=#bPosY+2;type=message,ID="Can you see through?";type=entity,ID=PrimedTnt,amount=40,posY=#bPosY+1,NBTTag=(Fuse=60))@luck=-2
group(type=block,ID=stonebrick,posX=#pPosX,posY=#pPosY-1,posZ=#pPosZ;type=block,ID=stonebrick,posX=#pPosX-1,posY=#pPosY-1,posZ=#pPosZ;type=block,ID=stonebrick,posX=#pPosX+1,posY=#pPosY-1,posZ=#pPosZ;type=block,ID=stonebrick,posX=#pPosX,posY=#pPosY-1,posZ=#pPosZ-1;type=block,ID=stonebrick,posX=#pPosX,posY=#pPosY-1,posZ=#pPosZ+1;type=block,ID=redstone_torch,damage=5,posX=#pPosX,posY=#pPosY,posZ=#pPosZ;type=block,ID=iron_door,damage=7,posX=#pPosX+1,posY=#pPosY,posZ=#pPosZ;type=block,ID=iron_door,damage=10,posX=#pPosX+1,posY=#pPosY+1,posZ=#pPosZ;type=block,ID=iron_door,damage=4,posX=#pPosX,posY=#pPosY,posZ=#pPosZ+1;type=block,ID=iron_door,damage=10,posX=#pPosX,posY=#pPosY+1,posZ=#pPosZ+1;type=block,ID=iron_door,damage=5,posX=#pPosX-1,posY=#pPosY,posZ=#pPosZ;type=block,ID=iron_door,damage=10,posX=#pPosX-1,posY=#pPosY+1,posZ=#pPosZ;type=block,ID=iron_door,damage=6,posX=#pPosX,posY=#pPosY,posZ=#pPosZ-1;type=block,ID=iron_door,damage=10,posX=#pPosX,posY=#pPosY+1,posZ=#pPosZ-1;type=message,ID="look through the window, what do you see?";type=difficulty,ID=hard;type=entity,ID=Skeleton,amount=#random-10-30,scatterOffset=3-6,adjustHeight=3,reinitialize=true,NBTTag=(SkeletonType=1,Equipment=[(id=stone_sword,Count=1,Damage=0),(id=air,Count=1,Damage=0),(id=air,Count=1,Damage=0),(id=air,Count=1,Damage=0),(id=air,Count=1,Damage=0)]))@luck=-2

/lucky fort and temple
type=structure,ID=fort,relativeToPlayer=true@luck=2
type=structure,ID=temple,relativeToPlayer=true@chance=0.4@luck=2

/Xray vision
group(type=command,ID="/say X-ray vision!(If it does not work, try again)",commandSender="Pee_Too_P2";type=block,ID=air,posX=#pPosX,posY=#pPosY-1,posZ=#pPosZ;type=block,ID=stone_pressure_plate,posX=#pPosX,posY=#pPosY-2,posZ=#pPosZ;type=block,ID=stone,posX=#pPosX,posY=#pPosY-3,posZ=#pPosZ;type=block,ID=sticky_piston,damage=5,posX=#pPosX-2,posY=#pPosY-1,posZ=#pPosZ;type=block,ID=glowstone,posX=#pPosX-1,posY=#pPosY-1,posZ=#pPosZ;type=block,ID=glowstone,posX=#pPosX+1,posY=#pPosY-1,posZ=#pPosZ;type=block,ID=redstone_wire,posX=#pPosX-1,posY=#pPosY-2,posZ=#pPosZ;type=block,ID=air,posX=#pPosX+1,posY=#pPosY-1,posZ=#pPosZ;type=block,ID=glowstone,posX=#pPosX+1,posY=#pPosY-2,posZ=#pPosZ)@luck=1

/falling blocks (iron, gold, diamond, emerald , glass, glass pane, mob spawner)
type=falling_block,ID=iron_block@luck=0
type=falling_block,ID=gold_block@luck=0
type=falling_block,ID=diamond_block@luck=1
type=falling_block,ID=emerald_block@luck=1
type=falling_block,ID=glass@luck=0
type=falling_block,ID=glass_pane@luck=0
type=falling_block,ID=mob_spawner,NBTTag=(EntityId=Pig)@luck=1
group(type=falling_block,ID=glass;type=falling_block,ID=glass,posY=#bPosY+10;type=falling_block,ID=glass,posY=#bPosY+20;type=falling_block,ID=glass,posY=#bPosY+30;type=falling_block,ID=glass,posY=#bPosY+40;type=falling_block,ID=glass,posY=#bPosY+50;type=falling_block,ID=glass,posY=#bPosY+60;type=falling_block,ID=glass,posY=#bPosY+70;type=falling_block,ID=glass,posY=#bPosY+80;type=falling_block,ID=glass,posY=#bPosY+90)@luck=0
group(type=falling_block,ID=diamond_block,amount=#random-1-4,scatterOffset=0-3,reinitialize=true;type=falling_block,ID=emerald_block,amount=#random-1-4,scatterOffset=0-3,reinitialize=true;type=falling_block,ID=gold_block,amount=#random-1-4,scatterOffset=0-3,reinitialize=true;type=falling_block,ID=iron_block,amount=#random-1-4,scatterOffset=0-3,reinitialize=true)@luck=2
group(type=entity,ID=FallingSand,posX=#pPosX,posY=#pPosY+10,posZ=#pPosZ,NBTTag=(HurtEntities=true,Tile=20,TileID=20,Time=1,FallHurtAmount=20,FallHurtMax=100);type=effect,ID=2,duration=20,damage=40;type=command,ID="/tp #playerName ~ ~ ~")@luck=-2
group(type=falling_block,ID=stained_glass_pane,damage=14,posX=#bPosX-3;type=falling_block,ID=stained_glass_pane,damage=1,posX=#bPosX-2;type=falling_block,ID=stained_glass_pane,damage=4,posX=#bPosX-1;type=falling_block,ID=stained_glass_pane,damage=13;type=falling_block,ID=stained_glass_pane,damage=5,posX=#bPosX+1;type=falling_block,ID=stained_glass_pane,damage=11,posX=#bPosX+2;type=falling_block,ID=stained_glass_pane,damage=10,posX=#bPosX+3)@luck=0

/Effect
group(type=effect,ID=14,duration=180;type=command,ID="/say Live, invisibly",commandSender="FavoredGuitar62")@luck=1

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

/cobweb
group(type=message,ID="Cobweb on your face, sucker";type=block,ID=web,posX=#pPosX,posY=#pPosY,posZ=#pPosZ;type=block,ID=web,posX=#pPosX,posY=#pPosY+1,posZ=#pPosZ)@luck=0

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

/teleportation
group(type=command,ID="/tp #playerName ~ ~40 ~";type=message,ID="No resistance this time")@luck=-2
type=command,ID="/tp #playerName ~ ~-10 ~"@luck=-2

/troll traps
group(type=effect,ID=11,duration=5,damage=4;type=structure,ID=anvil_trap,relativeToPlayer=true)@luck=-1
group(type=effect,ID=12,duration=60;type=structure,ID=lava_trap,relativeToPlayer=true)@luck=-1
group(type=effect,ID=13,duration=300;type=structure,ID=water_trap,relativeToPlayer=true)@luck=-1
group(type=effect,ID=12,duration=60;type=structure,ID=pit_trap,relativeToPlayer=true@)luck=-1
group(type=command,ID="/tp #playerName ~ ~40 ~";type=effect,ID=11,duration=5,damage=4)@luck=-1
group(type=block,ID=obsidian,posX=#pPosX,posY=#pPosY-3,posZ=#pPosZ;type=block,ID=sand,posX=#pPosX,posY=#pPosY-2,posZ=#pPosZ;type=block,ID=air,posX=#pPosX-1,posY=#pPosY-1,posZ=#pPosZ;type=block,ID=air,posX=#pPosX+1,posY=#pPosY-1,posZ=#pPosZ;type=block,ID=air,posX=#pPosX,posY=#pPosY-1,posZ=#pPosZ-1;type=block,ID=air,posX=#pPosX,posY=#pPosY-1,posZ=#pPosZ+1;type=block,ID=cactus,posX=#pPosX,posY=#pPosY-1,posZ=#pPosZ;type=block,ID=air,posX=#pPosX,posY=#pPosY,posZ=#pPosZ;type=block,ID=glass,posX=#pPosX,posY=#pPosY+1,posZ=#pPosZ;type=block,ID=obsidian,posX=#pPosX,posY=#pPosY+2,posZ=#pPosZ;type=block,ID=obsidian,posX=#pPosX-1,posY=#pPosY+1,posZ=#pPosZ;type=block,ID=obsidian,posX=#pPosX+1,posY=#pPosY+1,posZ=#pPosZ;type=block,ID=obsidian,posX=#pPosX,posY=#pPosY+1,posZ=#pPosZ-1;type=block,ID=obsidian,posX=#pPosX,posY=#pPosY+1,posZ=#pPosZ+1;type=command,ID="tp #playerName ~ ~ ~")@luck=-1
group(ID=wooden_sword;type=time,ID=18750;type=effect,ID=2,duration=30,damage=4;type=effect,ID=9,duration=30;type=effect,ID=15,duration=30;type=entity,ID=Pig,amount=#random-10-20,scatterOffset=8-10,adjustHeight=1,reinitialize=true,NBTTag=(CustomName=#4Troll,CustomNameVisible=true))@luck=-1
group(type=block,ID=netherrack,posX=#pPosX,posY=#pPosY-1,posZ=#pPosZ;type=block,ID=fire,posX=#pPosX,posY=#pPosY,posZ=#pPosZ;type=block,ID=glass,posX=#pPosX,posY=#pPosY+1,posZ=#pPosZ;type=block,ID=obsidian,posX=#pPosX,posY=#pPosY+2,posZ=#pPosZ;type=block,ID=obsidian,posX=#pPosX-1,posY=#pPosY+1,posZ=#pPosZ;type=block,ID=obsidian,posX=#pPosX+1,posY=#pPosY+1,posZ=#pPosZ;type=block,ID=obsidian,posX=#pPosX,posY=#pPosY+1,posZ=#pPosZ-1;type=block,ID=obsidian,posX=#pPosX,posY=#pPosY+1,posZ=#pPosZ+1;type=command,ID="tp #playerName ~ ~ ~";type=effect,ID=12,duration=30)@luck=-1

/glass pane joke
group(type=block,ID=glass,posX=#bPosX+1;type=block,ID=glass,posX=#bPosX-1;type=block,ID=glass;type=block,ID=glass,posY=#bPosY+1,posX=#bPosX+1;type=block,ID=glass,posY=#bPosY+1,posX=#bPosX-1;type=block,ID=glass,posY=#bPosY+1;type=block,ID=glass,posY=#bPosY+2;type=block,ID=glass,posY=#bPosY+2,posX=#bPosX+1;type=block,ID=glass,posY=#bPosY+2,posX=#bPosX-1;type=command,ID="/say Glass pane?",commandSender="FavoredGuitar62")@luck=0
group(type=block,ID=glass_pane,posX=#bPosX+1;type=block,ID=glass_pane,posX=#bPosX-1;type=block,ID=glass_pane;type=block,ID=glass_pane,posY=#bPosY+1,posX=#bPosX+1;type=block,ID=glass_pane,posY=#bPosY+1,posX=#bPosX-1;type=block,ID=glass_pane,posY=#bPosY+1;type=block,ID=glass_pane,posY=#bPosY+2;type=block,ID=glass_pane,posY=#bPosY+2,posX=#bPosX+1;type=block,ID=glass_pane,posY=#bPosY+2,posX=#bPosX-1;type=command,ID="/say Glass pane in glass pane?",commandSender="FavoredGuitar62")@luck=0

/Air destruction
group(type=command,ID="/say Air destruction!",commandSender="FavoredGuitar62";type=block,ID=air,posY=#bPosY-1;type=block,ID=air,posY=#bPosY-2;type=block,ID=air,posY=#bPosY-3;type=block,ID=air,posY=#bPosY-4;type=block,ID=air,posY=#bPosY-5)@luck=-1
group(type=command,ID="/say Air destruction!",commandSender="FavoredGuitar62";type=block,ID=air,posY=#bPosY-1,amount=#random-1-5,scatterOffset=0-5,reinitialize=true)@luck=-1

/colorful pole
group(type=falling_block,ID=stained_hardened_clay,damage=14;type=falling_block,ID=stained_hardened_clay,damage=1,posY=#bPosY+10;type=falling_block,ID=stained_hardened_clay,damage=4,posY=#bPosY+20;type=falling_block,ID=stained_hardened_clay,damage=5,posY=#bPosY+30;type=falling_block,ID=stained_hardened_clay,damage=3,posY=#bPosY+40;type=falling_block,ID=stained_hardened_clay,damage=11,posY=#bPosY+50;type=falling_block,ID=stained_hardened_clay,damage=10,posY=#bPosY+60;type=falling_block,ID=stained_hardened_clay,damage=2,posY=#bPosY+70;type=falling_block,ID=stained_hardened_clay,damage=6,posY=#bPosY+80;type=falling_block,ID=diamond_block,posY=#bPosY+90)@luck=2
group(type=falling_block,ID=stained_glass,damage=14;type=falling_block,ID=stained_glass,damage=1,posY=#bPosY+10;type=falling_block,ID=stained_glass,damage=4,posY=#bPosY+20;type=falling_block,ID=stained_glass,damage=5,posY=#bPosY+30;type=falling_block,ID=stained_glass,damage=3,posY=#bPosY+40;type=falling_block,ID=stained_glass,damage=11,posY=#bPosY+50;type=falling_block,ID=stained_glass,damage=10,posY=#bPosY+60;type=falling_block,ID=stained_glass,damage=2,posY=#bPosY+70;type=falling_block,ID=stained_glass,damage=6,posY=#bPosY+80;type=falling_block,ID=emerald_block,posY=#bPosY+90)@luck=2
group(type=falling_block,ID=glass;type=falling_block,ID=iron_block,posY=#bPosY+10;type=falling_block,ID=glass,posY=#bPosY+20;type=falling_block,ID=gold_block,posY=#bPosY+30;type=falling_block,ID=glass,posY=#bPosY+40;type=falling_block,ID=diamond_block,posY=#bPosY+50;type=falling_block,ID=glass,posY=#bPosY+60;type=falling_block,ID=emerald_block,posY=#bPosY+70;type=falling_block,ID=glass,posY=#bPosY+80;type=falling_block,ID=beacon,posY=#bPosY+90)@luck=2
group(type=falling_block,ID=glass;type=falling_block,ID=iron_ore,posY=#bPosY+10;type=falling_block,ID=glass,posY=#bPosY+20;type=falling_block,ID=gold_ore,posY=#bPosY+30;type=falling_block,ID=glass,posY=#bPosY+40;type=falling_block,ID=diamond_ore,posY=#bPosY+50;type=falling_block,ID=glass,posY=#bPosY+60;type=falling_block,ID=emerald_ore,posY=#bPosY+70;type=falling_block,ID=glass,posY=#bPosY+80;type=falling_block,ID=lucky:lucky_block,posY=#bPosY+90)@luck=2

/chests
type=structure,ID=chest,NBTTag=(type="bonusChest")@luck=0
type=structure,ID=chest,NBTTag=(type="dungeonChest")@luck=1
type=structure,ID=chest,NBTTag=(type="villageBlacksmith")@luck=1
type=structure,ID=chest,NBTTag=(items=[(id=iron_ingot,maxAmount=8,weight=10),(id=gold_ingot,maxAmount=4,weight=10),(id=emerald,maxAmount=4,weight=10),(id=diamond,maxAmount=4,weight=10),(id=lucky:lucky_block,maxAmount=2,weight=10),(id=golden_apple,maxAmount=2,weight=10),(id=golden_apple,damage=1,maxAmount=1,weight=5)],min=8,max=8)@luck=2

/choice of 2 lucky blocks
type=structure,ID=lucky_choice,relativeToPlayer=true@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 #playerName gold_nugget 1 0 {display:{Name:\"#6Coin\"}}";type=block,ID=lucky:lucky_block,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,NBTTag='#'randomFireworkRocket,amount=20,posY='#'bPosY+3,scatterOffset=2-2,reinitialize=true;ID=gold_ingot,amount=#random-20-30,posY='#'bPosY+10,scatterOffset=2-2;ID=emerald,amount=#random-20-30,posY='#'bPosY+10,scatterOffset=2-2;ID=diamond,amount=#random-20-30,posY='#'bPosY+10,scatterOffset=2-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 #playerName gold_nugget 1 0 {display:{Name:\"#6Coin\"}}";type=block,ID=lucky:lucky_block,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,scatterOffset=2-2;ID=baked_potato,amount=64,posY='#'bPosY+10,scatterOffset=2-2;ID=poisonous_potato,amount=32,posY='#'bPosY+10,scatterOffset=2-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 #playerName gold_nugget 1 0 {display:{Name:\"#6Coin\"}}";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"#eYour wish came true! (Don't be squashed)\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=falling_block,ID=diamond_block,posY='#'bPosY+10,amount=#random-1-4,scatterOffset=2-4,reinitialize=true;type=falling_block,ID=emerald_block,posY='#'bPosY+10,amount=#random-1-4,scatterOffset=2-4,reinitialize=true;type=falling_block,ID=gold_block,posY='#'bPosY+10,amount=#random-1-4,scatterOffset=2-4,reinitialize=true;type=falling_block,ID=iron_block,posY='#'bPosY+10,amount=#random-1-4,scatterOffset=2-4,reinitialize=true)"]))@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 #playerName gold_nugget 1 0 {display:{Name:\"#6Coin\"}}";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"#eDid seriously nothing happen !?!?!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+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 #playerName gold_nugget 1 0 {display:{Name:\"#6Coin\"}}";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"#eYour wish came true! (If you like fresh air...or is it #eair?)\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=falling_block,ID=glass,posY='#'bPosY+12,amount=20,scatterOffset=3-3,reinitialize=true)"]))@luck=0
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="/give #playerName gold_nugget 1 0 {display:{Name:\"#6Coin\"}}";type=block,ID=lucky:lucky_block,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=launched_tnt,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 #playerName gold_nugget 1 0 {display:{Name:\"#6Coin\"}}";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"#4Your wish didn't came true! (Suck bad breath from these #4spiders, bro)\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=difficulty,ID=hard;type=time,ID=18750;type=entity,ID=CaveSpider,posY='#'bPosY+5,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 #playerName gold_nugget 1 0 {display:{Name:\"#6Coin\"}}";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"#4Your wish came true! (If you really hate your life and the #4world)\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=launched_tnt,posY='#'bPosY+7,amount=100)"]))@luck=-2

/==========BLOCK IN BLOCK==========

/blocks in blocks
group(type=command,ID="/say A block in a block!!!",commandSender="Pee_Too_P2";type=falling_block,ID=lucky:lucky_block,NBTTag=(Drops=["group(type=falling_block,ID=diamond_block,amount=#random-1-4,scatterOffset=0-3,reinitialize=true;type=falling_block,ID=emerald_block,amount=#random-1-4,scatterOffset=0-3,reinitialize=true;type=falling_block,ID=gold_block,amount=#random-1-4,scatterOffset=0-3,reinitialize=true;type=falling_block,ID=iron_block,amount=#random-1-4,scatterOffset=0-3,reinitialize=true)"]))@luck=2
group(type=command,ID="/say A block in a block!!!",commandSender="Pee_Too_P2";type=falling_block,ID=lucky:lucky_block,NBTTag=(Drops=["group(type=entity,ID=fireworks,NBTTag='#'randomFireworkRocket,amount=20,scatterOffset=2-2,reinitialize=true;ID=iron_ingot,amount=#random-20-30;ID=gold_ingot,amount=#random-20-30;ID=emerald,amount=#random-20-30;ID=diamond,amount=#random-20-30)"]))@luck=2
group(type=command,ID="/say A block in a block!!!",commandSender="Pee_Too_P2";type=falling_block,ID=lucky:lucky_block,NBTTag=(Drops=["ID=lucky:lucky_block"]))@luck=0
group(type=command,ID="/say A block in a block!!!",commandSender="Pee_Too_P2";type=falling_block,ID=lucky:lucky_block,NBTTag=(Drops=["type=entity,ID=launched_tnt,amount=20"]))@luck=-2
group(type=command,ID="/say A block in a block!!!",commandSender="Pee_Too_P2";type=falling_block,ID=lucky:lucky_block,NBTTag=(Drops=["type=entity,ID=launched_tnt,amount=100"]))@luck=-2
/========== MONSTER APOCALYPSE ==========

/sword, difficulty, time, potion effects
group(ID=wooden_sword;type=difficulty,ID=hard;type=time,ID=18750;type=effect,ID=2,duration=30,damage=4;type=effect,ID=9,duration=30;type=effect,ID=15,duration=30;>
/zombies, creepers, spiders + cave spiders
group:1(type=entity,ID=Zombie,amount=#random-20-50,scatterOffset=8-10,adjustHeight=2,reinitialize=true;type=entity,ID=Creeper,amount=#random-10-30,scatterOffset=8-10,adjustHeight=2,reinitialize=true;group(type=entity,ID=Spider,amount=#random-15-45,scatterOffset=8-10,adjustHeight=2,reinitialize=true;type=entity,ID=CaveSpider,amount=#random-5-10,scatterOffset=8-10,adjustHeight=2,reinitialize=true);>
/all
group(type=entity,ID=Zombie,amount=#random-20-50,scatterOffset=8-10,adjustHeight=2,reinitialize=true;type=entity,ID=Creeper,amount=#random-10-30,scatterOffset=8-10,adjustHeight=2,reinitialize=true;group(type=entity,ID=Spider,amount=#random-15-45,scatterOffset=8-10,adjustHeight=2,reinitialize=true;type=entity,ID=CaveSpider,amount=#random-5-10,scatterOffset=8-10,adjustHeight=2,reinitialize=true))))@luck=-2

/==========GUESS WHAT!=======

/Guess What
group(type=command,ID="/say Guess What!?!?!",commandSender="Bubble King";type=block,ID=air,posY=#bPosY-3;type=block,ID=air,posX=#bPosX-1,posY=#bPosY-3;type=block,ID=air,posY=#bPosY-3,posX=#bPosX+1;type=block,ID=air,posY=#bPosY-3,posZ=#bPosZ-1;type=block,ID=air,posX=#bPosX-1,posY=#bPosY-3,posZ=#bPosZ-1;type=block,ID=air,posY=#bPosY-3,posX=#bPosX+1,posZ=#bPosZ-1;type=block,ID=air,posY=#bPosY-3,posZ=#bPosZ+1;type=block,ID=air,posX=#bPosX-1,posY=#bPosY-3,posZ=#bPosZ+1;type=block,ID=air,posY=#bPosY-3,posX=#bPosX+1,posZ=#bPosZ+1;type=block,ID=air,posY=#bPosY-5;ID=iron_ingot,amount=#random-20-30,posY=#bPosY-5;ID=gold_ingot,amount=#random-20-30,posY=#bPosY-5;ID=emerald,amount=#random-20-30,posY=#bPosY-5;ID=diamond,amount=#random-20-30,posY=#bPosY-5)@luck=2
group(type=command,ID="/say Guess What!?!?!",commandSender="Bubble King";type=entity,ID=Villager,amount=#random-10-30,scatterOffset=5-10,adjustHeight=1,reinitialize=true,NBTTag=(ActiveEffects=[(Id=14,Amplifier=0,Duration=999999)]))@luck=0
group(type=command,ID="/say Guess What!?!?!",commandSender="Bubble King";type=block,ID=tripwire,amount=#random-3-5,scatterOffset=0-4,reinitialize=true)@luck=1
group(type=command,ID="/say Guess What!?!?!",commandSender="Bubble King";type=entity,ID=Pig,amount=#random-10-30,scatterOffset=5-10,adjustHeight=1,reinitialize=true,NBTTag=(ActiveEffects=[(Id=14,Amplifier=0,Duration=999999)]))@luck=0
group(type=command,ID="/say Guess What!?!?!",commandSender="Bubble King";type=difficulty,ID=hard;type=entity,ID=Creeper,amount=#random-10-30,scatterOffset=5-10,adjustHeight=2,reinitialize=true,NBTTag=(ActiveEffects=[(Id=14,Amplifier=0,Duration=999999)]))@luck=-2

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

/how to collect glass ,use this ,moron
group(type=message,ID="How to collect glass";ID=ghast_tear,NBTTag=(ench=[(id=33,lvl=1)],display=(Name="Use this,moron",Lore=["Don't you know that there","is an enchantment called","silk touch?"])))@luck=1
/lucky block book
ID=written_book,NBTTag=(author="PlayerInDistress",title="#e#lLucky Block Book",pages=["#l#nThe Lucky Block#r\n\nThe Lucky Block (#ofortunus blockus#r) was brought to Minecraft by the gods to reward the good and punish the evil.","The player's true self will be revealed after mining this block.\n\nSome fear it, and others have been made rich by it.","You must mine it and be prepared for whatever will follow.\n\nIt is not luck.\n\nIt is #bdestiny."])@luck=0
/Troll book
ID=written_book,NBTTag=(author="Guess who",title="#e#lRight-click to turn transparent",pages=["Just Kidding!LOL"])@luck=0
/lucky sword
ID=golden_sword,NBTTag=(ench=#luckySwordEnchantments,display=(Name="#e#lLucky Sword"))@luck=2
/lucky gas
ID=glass,NBTTag=(ench=#luckySwordEnchantments,display=(Name="#e#lLucky Gas"))@luck=2
/lucky bow
ID=bow,NBTTag=(ench=#luckyBowEnchantments,display=(Name="#e#lLucky Bow"))@luck=2
/lucky fishing rod
ID=fishing_rod,NBTTag=(ench=#luckyFishingRodEnchantments,display=(Name="#e#lLucky Fishing Rod"))@luck=2
/lucky tools
group:#random-1-2(ID=golden_shovel,NBTTag=(ench=#luckyToolEnchantments,display=(Name="#e#lLucky Shovel"));ID=golden_pickaxe,NBTTag=(ench=#luckyToolEnchantments,display=(Name="#e#lLucky Pickaxe"));ID=golden_axe,NBTTag=(ench=#luckyAxeEnchantments,display=(Name="#e#lLucky Axe"));ID=golden_hoe,NBTTag=(ench=#luckyToolEnchantments,display=(Name="#e#lLucky Hoe")))@luck=2
/lucky armor
group:#random-1-2(ID=golden_helmet,NBTTag=(ench=#luckyHelmetEnchantments,display=(Name="#e#lLucky Helmet"));ID=golden_chestplate,NBTTag=(ench=#luckyChestplateEnchantments,display=(Name="#e#lLucky Chestplate"));ID=golden_leggings,NBTTag=(ench=#luckyLeggingsEnchantments,display=(Name="#e#lLucky Leggings"));ID=golden_boots,NBTTag=(ench=#luckyBootsEnchantments,display=(Name="#e#lLucky Boots")))@luck=2
/lucky potion
ID=potion,damage=8195,NBTTag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="#e#lLucky Potion"))@luck=2
/unlucky potion
ID=potion,damage=16428,NBTTag=(CustomPotionEffects=#unluckyPotionEffects,display=(Name="#e#lUnlucky Potion"))@luck=1
/========= Extra(Fake animals) ===========
/Cow
group(type=difficulty,ID=hard;type=time,ID=18750;type=entity,ID=Zombie,amount=#random-10-30,scatterOffset=5-10,adjustHeight=2,reinitialize=true,NBTTag=(CustomName="#fCow",CustomNameVisible=true,ActiveEffects=[(Id=14,Amplifier=0,Duration=999999)]))@luck=-2
/Chicken
group(type=difficulty,ID=hard;type=time,ID=18750;type=entity,ID=Creeper,amount=#random-10-30,scatterOffset=5-10,adjustHeight=2,reinitialize=true,NBTTag=(CustomName="#fChicken",CustomNameVisible=true,ActiveEffects=[(Id=14,Amplifier=0,Duration=999999)]))@luck=-2
/Pig
group(type=difficulty,ID=hard;type=time,ID=18750;type=entity,ID=Skeleton,amount=#random-10-30,scatterOffset=5-10,adjustHeight=2,reinitialize=true,NBTTag=(CustomName="#fPig",CustomNameVisible=true,ActiveEffects=[(Id=14,Amplifier=0,Duration=999999)]))@luck=-2
/Sheep
group(type=difficulty,ID=hard;type=time,ID=18750;type=entity,ID=Witch,amount=#random-10-20,scatterOffset=5-10,adjustHeight=2,reinitialize=true,NBTTag=(CustomName="#fSheep",CustomNameVisible=true,ActiveEffects=[(Id=14,Amplifier=0,Duration=999999)]))@luck=-2
/Mooshroom
group(type=difficulty,ID=hard;type=time,ID=18750;type=entity,ID=Blaze,amount=#random-10-20,scatterOffset=5-10,adjustHeight=2,reinitialize=true,NBTTag=(CustomName="#fMooshroom",CustomNameVisible=true,ActiveEffects=[(Id=14,Amplifier=0,Duration=999999)]))@luck=-2