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=100
structureChance=10
recipe=ggg,gdg,ggg,g,gold_ingot,d,dropper
doDropsOnCreativeMode=true

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

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 ==========
/Gold tools
group(ID=golden_sword;ID=golden_shovel;ID=golden_pickaxe;ID=golden_axe;ID=golden_hoe)@luck=1
/Iron tools
group(ID=iron_shovel;ID=iron_pickaxe;ID=iron_axe;ID=iron_sword;ID=iron_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=2
/2-3 chain and iron armor
group(ID=chainmail_helmet;ID=chainmail_chestplate;ID=chainmail_leggings;ID=chainmail_boots)@luck=1
group(ID=iron_helmet;ID=iron_chestplate;ID=iron_leggings;ID=iron_boots;ID=iron_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-32-64)@luck=0

/========== BLOCKS ==========
ID=tnt,amount=8@luck=-1
ID=obsidian,amount=#random-10-32@luck=1
ID=enchanting_table@luck=2
ID=EnderStorage:enderChest,amount=2@luck=2
ID=beacon@luck=2
ID=hay_block,amount=#random-16-32@luck=0

/========= ITEMS ==========
ID=gold_ingot,amount=#random-10-32@luck=1
ID=painting,amount=#random-1-32@luck=0
ID=rotten_flesh,amount=#random-10-32@luck=-1
ID=ee:ItemEnderStick,amount=#random-2-10@luck=2
ID=snowball,amount=#random-1-32@luck=0
ID=minecraft:slime_ball,amount=#random-1-32@luck=2
ID=clock,NBTTag=(display=(Name="#fTime2Stop:3"))@luck=0
ID=glass_bottle,amount=#random-1-32@luck=0
ID=minecraft:experience_bottle,amount=#random-1-64@luck=0
ID=nether_star@luck=2
ID=name_tag,amount=#random-1-32@luck=0
ID=minecraft:record_mall,NBTTag=(display=(Name="#dMugentaJRBeats"))@luck=1
ID=minecraft:record_wait,NBTTag=(display=(Name="#9RuffyBabyBeats"))@luck=1
ID=minecraft:fish,NBTTag=(display=(Name="#2EatMe!))@luck=0

/========== GROUPS ==========
/bookshelves and books
group(ID=bookshelf,amount=#random-6-20;ID=book,amount=#random-1-20)@luck=0

/pumpkins and jack o'lanterns
group(ID=pumpkin,amount=#random-8-16;ID=lit_pumpkin,amount=#random-8-16)@luck=2

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

/meat
group:1(group(ID=cooked_porkchop,amount=#random-4-10);group(ID=cooked_fished,amount=#random-4-10);group(ID=cooked_beef,amount=#random-4-10);group(ID=cooked_chicken,amount=#random-4-10))@luck=1

/vegetable food
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=pumpkin_pie,amount=#random-6-12))@luck=1

/Milk4Dayz
type=entity,ID=Cow,NBTTag=(CustomName="Dinnerbone",CustomNameVisible=true),scatterOffset=4-4,adjustHeight=2,reinitialize=true,amount=2@luck=2
type=entity,ID=Cow,NBTTag=(CustomName="Clarabelle Cow",CustomNameVisible=true),scatterOffset=4-4,adjustHeight=2,reinitialize=true,amount=2@luck=2

/ender pearls and eyes 
group(ID=ender_pearl,amount=4;ID=ender_eye,amount=4)@luck=2

/potions
ID=potion,damage=#randomPotionDamage,amount=#random-4-8,reinitialize=true@luck=2

/spawn eggs
ID=spawn_egg,damage=#randomSpawnEggDamage,amount=#random-4-8,reinitialize=true@luck=2

/jukebox music discs
group(ID=jukebox;ID=#random-2256-2267,amount=#random-1-3,reinitialize=true)@luck=0

/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);type=particle,ID=2002,damage=#randomPotionEffect,amount=20,reinitialize=true)@luck=2

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

/fish
group(ID=fishing_rod;ID=#random-349-350,damage=#random-0-3,amount=1,reinitialize=true)@luck=0

/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-1-6,reinitialize=true@luck=2

/torch
group(type=command,ID="/tell #playerName Hey #playerName. I will help you light the way!",commandSender="P1Kashwak";ID=torch,amount=#random-64-250)@luck=2

/torch
group(type=command,ID="/tell #playerName Hey #playerName. I will also help you light the way!",commandSender="Deadrosekiss";ID=torch,amount=#random-32-128)@luck=2

/Troll poll
group(type=falling_block,ID=lucky:lucky_block;type=falling_block,ID=lucky:lucky_block,posY=#bPosY+10;type=falling_block,ID=lucky:lucky_block,posY=#bPosY+20;type=falling_block,ID=lucky:lucky_block,posY=#bPosY+30;type=falling_block,ID=lucky:lucky_block,posY=#bPosY+40;type=falling_block,ID=lucky:lucky_block,posY=#bPosY+50;type=falling_block,ID=lucky:lucky_block,posY=#bPosY+60;type=falling_block,ID=lucky:lucky_block,posY=#bPosY+70;type=falling_block,ID=lucky:lucky_block,posY=#bPosY+80;type=falling_block,ID=lucky:lucky_block,posY=#bPosY+90)@chance=0.5@luck=0

/Attack
type=entity,ID=Skeleton,NBTTag=(Riding=(id=OpenBlocks.MiniMe,NBTTag=(CustomName="#e#2Mini Minion",CustomNameVisible=true))),scatterOffset=2-2,adjustHeight=2,reinitialize=true,amount=#random-5-10@luck=-1

/squid
type=entity,ID=Squid,NBTTag=(CustomName="#e#lTroubled Squid",CustomNameVisible=true),amount=2@luck=-2

/Nope
type=entity,ID=NopeGuy,NBTTag=(CustomName="Mr.Nope",CustomNameVisible=true),scatterOffset=2-2,adjustHeight=2,reinitialize=true,amount=#random-5-10@luck=-1

/Firefly Attackers
type=entity,ID=Skeleton,NBTTag=(Equipment=[(id=bow,Count=1,Damage=0),(id=betterstorage:cardboardHelmet,Count=1,Damage=0),(id=betterstorage:cardboardChestplate,Count=1,Damage=0),(id=betterstorage:cardboardLeggings,Count=1,Damage=0),(id=betterstorage:cardboardBoots,Count=1,Damage=0)],Riding=(id=TwilightForest.Firefly)),amount=#random-10-50@luck=-1

/MiniMe Attackers
group(type=command,ID="/tell #playerName #playerName I promise that I will have my revenge for my fallen comrades!",commandSender="P1Kashwak";type=entity,ID=OpenBlocks.MiniMe,NBTTag=(CustomName="p1kashwak",CustomNameVisible=true,Riding=(id=HardcoreEnderExpansion.BabyEnderman)),amount=#random-2-10,scatterOffset=2-2,adjustHeight=2,reinitialize=true;type=entity,ID=fireworks,NBTTag=#randomFireworkRocket,amount=150,scatterOffset=0-2,reinitialize=true)@luck=-1

/Imp
type=entity,ID=Natura.Imp,scatterOffset=4-4,adjustHeight=2,reinitialize=true,amount=#random-2-25@luck=-1

/ImpHunter
type=entity,ID=Imp Hunter,scatterOffset=4-4,adjustHeight=2,reinitialize=true,amount=#random-5-10@luck=-1

/Yeti
type=entity,ID=TwilightForest.Yeti,NBTTag=(CustomName="the Abominable Snowman",CustomNameVisible=true),amount=#random-2-5@luck=-1

/Squirrel
type=entity,ID=TwilightForest.Forest Squirrel,scatterOffset=2-2,adjustHeight=2,reinitialize=true,amount=#random-5-25@luck=1

/Bunny 2.0
type=entity,ID=TwilightForest.Forest Bunny,NBTTag=(CustomName="Mr.Hoppity Hop",CustomNameVisible=true,Riding=(id=TwilightForest.Forest Bunny,Riding=(id=TwilightForest.Forest Bunny,Riding=(id=TwilightForest.Forest Bunny,Riding=(id=TwilightForest.Forest Bunny,Riding=(id=TwilightForest.Forest Bunny,Riding=(id=TwilightForest.Forest Bunny,Riding=(id=TwilightForest.Forest Bunny,Riding=(id=TwilightForest.Forest Bunny,Riding=(id=TwilightForest.Forest Bunny)))))))))),amount=#random-2-10@luck=0

/Raven
type=entity,ID=TwilightForest.Forest Raven,scatterOffset=4-4,adjustHeight=25,reinitialize=true,amount=#random-10-50@luck=1

/Unicorn
type=entity,ID=Unicorn,amount=#random-1-5@luck=1

/Iron Golem
type=entity,ID=VillagerGolem,amount=#random-1-5@luck=2

/Steel Golem
type=entity,ID=SteelGolem,amount=#random-1-5@luck=2

/High Golem
type=entity,ID=HighGolem,amount=#random-1-5@luck=2

/Fremennik Villager
type=entity,ID=Fremennik Villager,amount=#random-1-5@luck=2

/Snowman
type=entity,ID=SnowMan,NBTTag=(CustomName="Olaf",CustomNameVisible=true),amount=#random-1-5@luck=2

/Turtle
type=entity,ID=Turtle,NBTTag=(CustomName="Franklin",CustomNameVisible=true),scatterOffset=2-2,adjustHeight=2,reinitialize=true,amount=#random-5-20@luck=1

/Attack Turtles
type=entity,ID=Zombie,NBTTag=(CustomName="Mr. Tiddles",CustomNameVisible=true,Riding=(id=Turtle)),scatterOffset=2-2,adjustHeight=2,reinitialize=true,amount=#random-5-20@luck=-1

/RegenEgg
type=entity,ID=RegenEgg,amount=1@luck=2

/Rana
type=entity,ID=Rana,amount=1@luck=0

/Mooshroom
type=entity,ID=MushroomCow,amount=2@luck=2

/colored sheep
type=entity,ID=Sheep,NBTTag=(CustomName="#cM#6r. #eR#aa#2i#bn#3b#5o#dw",CustomNameVisible=true,Color=#random-0-15b,Riding=(id=Sheep,Riding=(id=Sheep,Riding=(id=Sheep,Riding=(id=Sheep,Riding=(id=Sheep,Riding=(id=Sheep,Riding=(id=Sheep)))))))),amount=#random-2-5@luck=1

/Kowalski
type=entity,ID=TwilightForest.Penguin,NBTTag=(CustomName="Kowalski",CustomNameVisible=true),amount=1@luck=0

/Skipper
type=entity,ID=TwilightForest.Penguin,NBTTag=(CustomName="Skipper",CustomNameVisible=true),amount=1@luck=0

/Rico
type=entity,ID=TwilightForest.Penguin,NBTTag=(CustomName="Rico",CustomNameVisible=true),amount=1@luck=0

/Private
type=entity,ID=TwilightForest.Penguin,NBTTag=(CustomName="Private",CustomNameVisible=true),amount=1@luck=0

/lucky eggs
type=entity,ID=luckyegg,amount=#random-2-50@luck=2

/QuestingRam
type=entity,ID=TwilightForest.Questing Ram,amount=1@luck=2

/launched expbottles
type=entity,ID=launched_expbottle,amount=#random-2-100@luck=2

/Game_Over
group(type=command,ID="/tell #playerName #playerName Your world is mine! You just don't know it yet!",commandSender="G4ivl3_0V3R";type=entity,ID=Dagannoth),scatterOffset=8-8,relativeToPlayer=true,reinitialize=true@chance=0.2@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)))))))),scatterOffset=4-4,relativeToPlayer=true,reinitialize=true,amount=#random-1-5@luck=1

/horses
type=entity,ID=EntityHorse,amount=#random-5-10,scatterOffset=2-2,adjustHeight=2,reinitialize=true,NBTTag=(Type=#random-0-4,Owner=#playerName)@luck=1

/Zombie 3.0
type=entity,ID=NopeGuy,NBTTag=(CustomName="Zombie",CustomNameVisible=true,Riding=(id=Thaumcraft.TaintedPig)),scatterOffset=3-3,adjustHeight=2,reinitialize=true,amount=#random-5-10@luck=-1

/Mr. Friendly
type=entity,ID=betterstorage.Frienderman,NBTTag=(CustomName="Mr.Friendly",CustomNameVisible=true),scatterOffset=2-2,adjustHeight=2,reinitialize=true,amount=#random-5-10@luck=-1

/Troll Guardian
type=entity,ID=TwilightForest.Troll,NBTTag=(CustomName="Evil Troll",CustomNameVisible=true,Riding=(id=Thaumcraft.TaintedSheep)),scatterOffset=4-4,adjustHeight=2,reinitialize=true,amount=#random-5-10@luck=-1

/wild deer 2.0
type=entity,ID=Thaumcraft.TaintedVillager,NBTTag=(Riding=(id=TwilightForest.Wild Deer)),scatterOffset=2-2,adjustHeight=2,reinitialize=true,amount=#random-5-10@luck=-1

/huge spider
type=entity,ID=NopeGuy,NBTTag=(CustomName="Come at me bro",CustomNameVisible=true,Riding=(id=SpecialMobs.GiantSpider,Size=15,NBTTag=(ExtraBehaviour=(FlightOverride=true)))),amount=1@luck=-1

/huge slime
type=entity,ID=Slime,NBTTag=(CustomName="You mad bro",CustomNameVisible=true,Size=10),amount=1@luck=-1

/pet wolves
group(type=particle,ID="heart",amount=#random-5-50,scatterOffset=0-2,reinitialize=true;type=entity,ID=Wolf,amount=#random-5-10,scatterOffset=4-4,adjustHeight=2,reinitialize=true,NBTTag=(CollarColor=#random-0-14,Owner=#playerName,Sitting=1))@luck=2

/pet cats
group(type=particle,ID="heart",amount=#random-5-50,scatterOffset=0-2,reinitialize=true;type=entity,ID=Ozelot,amount=#random-5-10,scatterOffset=4-4,adjustHeight=2,reinitialize=true,NBTTag=(CatType=#random-0-3,Owner=#playerName,Sitting=1))@luck=2

/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)]))@luck=2
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)]))@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)]))@luck=1

/GVillager
type=entity,ID=Giant,NBTTag=(Riding=(id=Villager)),amount=1@luck=-1

/bats
type=entity,ID=Bat,NBTTag=(CustomName="Flutter Bug",CustomNameVisible=true),scatterOffset=4-4,amount=#random-50-120,scatterOffset=4-4,adjustHeight=2,reinitialize=true@luck=0

/littlebabys
type=entity,ID=Silverfish,NBTTag=(CustomName="Evil Baby",CustomNameVisible=true),amount=#random-5-20,scatterOffset=2-2,adjustHeight=2,reinitialize=true@luck=-1

/MrPorkchop
type=entity,ID=Pig,NBTTag=(CustomName="#6Mr. #bPcorkchop",CustomNameVisible=true),amount=#random-5-20,scatterOffset=4-4,adjustHeight=2,reinitialize=true@luck=2

/chickencoop 2.0
type=entity,ID=Chicken,NBTTag=(CustomName="Mr. Cluck",CustomNameVisible=true,Riding=(id=Chicken,Riding=(id=Chicken,Riding=(id=Chicken,Riding=(id=Chicken,Riding=(id=Chicken,Riding=(id=Chicken,Riding=(id=Chicken)))))))),amount=5@luck=0

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

/falling blocks
type=falling_block,ID=iron_block@luck=1
type=falling_block,ID=gold_block@luck=1
group(type=falling_block,ID=OpenBlocks:goldenegg;type=entity,ID=fireworks,NBTTag=#randomFireworkRocket,amount=100,scatterOffset=0-2,reinitialize=true)@luck=2
group(type=falling_block,ID=diamond_block;type=entity,ID=fireworks,NBTTag=#randomFireworkRocket,amount=25,scatterOffset=0-2,reinitialize=true)@luck=2
group(type=falling_block,ID=emerald_block;type=entity,ID=fireworks,NBTTag=#randomFireworkRocket,amount=10,scatterOffset=0-2,reinitialize=true)@luck=2
group(type=falling_block,ID=ExtraUtilities:block_bedrockium;type=entity,ID=fireworks,NBTTag=#randomFireworkRocket,amount=50,scatterOffset=0-2,reinitialize=true)@luck=2

/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)@chance=0.3@luck=2
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=gold_block,posY=#bPosY+90)@chance=0.6@luck=1
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=iron_block,posY=#bPosY+90)@chance=0.6@luck=0
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=emerald_block,posY=#bPosY+90)@chance=0.3@luck=1
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=redstone_block,posY=#bPosY+90)@chance=0.5@luck=1
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=quartz_block,posY=#bPosY+90)@chance=0.5@luck=0
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=ExtraUtilities:block_bedrockium,posY=#bPosY+90)@chance=0.3@luck=2
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=MineFactoryReloaded:tile.mfr.plastic,posY=#bPosY+90)@chance=0.4@luck=1
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=ThaumicTinkerer:darkQuartz,posY=#bPosY+90)@chance=0.2@luck=0
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=Tubes:blockPlastic,posY=#bPosY+90)@chance=0.4@luck=1
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=betterstorage:flintBlock,posY=#bPosY+90)@chance=0.6@luck=0

/chests
type=structure,ID=chest,NBTTag=(type="bonusChest")@luck=0
type=structure,ID=chest,NBTTag=(type="dungeonChest")@luck=0
type=structure,ID=chest,NBTTag=(type="villageBlacksmith")@luck=0
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=50,posY='#'bPosY+3,scatterOffset=2-2,reinitialize=true;ID=gold_ingot,amount=#random-5-20,posY='#'bPosY+10,scatterOffset=2-2;ID=emerald,amount=#random-2-10,posY='#'bPosY+10,scatterOffset=2-2;ID=diamond,amount=#random-2-10,posY='#'bPosY+10,scatterOffset=2-2)"]))@chance=0.4@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=64,posY='#'bPosY+10,scatterOffset=2-2;ID=baked_potato,amount=64,posY='#'bPosY+10,scatterOffset=2-2;ID=poisonous_potato,amount=64,posY='#'bPosY+10,scatterOffset=2-2)"]))@chance=0.3@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=\"#4Your sacrifice will be told for years to come!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=Blaze,posY='#'bPosY+7,amount=5)"]))@chance=0.2@luck=-1

/========== MONSTER APOCALYPSE ==========

/P1NationARMY
group(type=difficulty,ID=hard;type=entity,ID=Zombie,amount=2,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#lP1Nations Minion",CustomNameVisible=true))@chance=0.5@luck=-1

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

/lucky sword
ID=ee:ItemEnderSword,NBTTag=(ench=#luckySwordEnchantments,display=(Name="#eThe lucky Broad"))@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

/Troll tools
group(ID=betterstorage:cardboardShovel,NBTTag=(ench=#luckyToolEnchantments,display=(Name="#e#lTroll Shovel"));ID=betterstorage:cardboardPickaxe,NBTTag=(ench=#luckyToolEnchantments,display=(Name="#e#lTroll Pickaxe"));ID=betterstorage:cardboardAxe,NBTTag=(ench=#luckyAxeEnchantments,display=(Name="#e#lTroll Axe"));ID=betterstorage:cardboardHoe,NBTTag=(ench=#luckyToolEnchantments,display=(Name="#e#lTroll Hoe")))@luck=0

/lucky armor 2.0
group(ID=ee:ItemLargeEnderHelmet,NBTTag=(ench=#luckyHelmetEnchantments,display=(Name="#e#lVery Lucky Helmet"));ID=ee:ItemLargeEnderChestplate,NBTTag=(ench=#luckyChestplateEnchantments,display=(Name="#e#lVery Lucky Chestplate"));ID=ee:ItemLargeEnderLeggings,NBTTag=(ench=#luckyLeggingsEnchantments,display=(Name="#e#lVery Lucky Leggings"));ID=ee:ItemLargeEnderBoots,NBTTag=(ench=#luckyBootsEnchantments,display=(Name="#e#lVery Lucky Boots")))@chance=0.5@luck=2

/troll lucky armor
group(ID=betterstorage:cardboardHelmet,NBTTag=(ench=#luckyHelmetEnchantments,display=(Name="#e#lTroll Helmet"));ID=betterstorage:cardboardChestplate,NBTTag=(ench=#luckyChestplateEnchantments,display=(Name="#e#lTroll Chestplate"));ID=betterstorage:cardboardLeggings,NBTTag=(ench=#luckyLeggingsEnchantments,display=(Name="#e#lTroll Leggings"));ID=betterstorage:cardboardBoots,NBTTag=(ench=#luckyBootsEnchantments,display=(Name="#e#lTroll Boots")))@luck=0

/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

/Lucky Tools 2.0
group(ID=ee:ItemEnderShovel,NBTTag=(ench=#luckyToolEnchantments,display=(Name="#eU even Dig Bro"));ID=ee:ItemEnderPickaxe,NBTTag=(ench=#luckyToolEnchantments,display=(Name="#eLost Pickaxe"));ID=ee:ItemEnderAxe,NBTTag=(ench=#luckyAxeEnchantments,display=(Name="#eThe old X"));ID=ee:ItemEnderHoe,NBTTag=(ench=#luckyToolEnchantments,display=(Name="#eSheba Hoe")))@chance=0.5@luck=2
