/ Lucky drop: iron tools
group(ID=iron_shovel;ID=iron_pickaxe;ID=iron_axe;ID=iron_sword;ID=iron_hoe)@luck=2
group:#rand(2,5):(ID=golden_apple,damage=#rand(0,1);ID=golden_carrot;ID=gold_ingot,ID=golden_horse_armor;ID=gold_nugget;ID=golden_#randList(axe,shovel,sword,hoe,helmet,chestplate,leggings,boots);ID=light_weighted_pressure_plate;ID=gold_block;ID=gold_ore)@luck=1
group(ID=mobarmormod:ender_mask;ID=mobarmormod:ender_chestplate;ID=mobarmormod:ender_leggings;ID=mobarmormod:ender_boots;ID=ender_pearl)@luck=2

group(ID=mobarmormod:golem_mask;ID=mobarmormod:golem_chestplate;ID=mobarmormod:golem_leggings;ID=mobarmormod:golem_boots;ID=iron_axe)@luck=2
group(ID=mobarmormod:wither_mask;ID=mobarmormod:wither_chestplate;ID=mobarmormod:wither_leggings;ID=mobarmormod:wither_boots;ID=skull)@luck=2
group(ID=mobarmormod:pinkwither_mask;ID=mobarmormod:pinkwither_chestplate;ID=mobarmormod:pinkwither_leggings;ID=mobarmormod:pinkwither_boots;ID=red_flower)@luck=2
group(ID=mobarmormod:dragon_mask;ID=mobarmormod:dragon_chestplate;ID=mobarmormod:dragon_leggings;ID=mobarmormod:dragon_boots;ID=dragon_egg)@luck=2
group(ID=mobarmormod:blaze_mask;ID=mobarmormod:blaze_chestplate;ID=mobarmormod:blaze_leggings;ID=mobarmormod:blaze_boots;ID=ender_pearl)@luck=2



group(ID=mobarmormod:zombie_mask;ID=mobarmormod:zombie_chestplate;ID=mobarmormod:zombie_leggings;ID=mobarmormod:zombie_boots)@luck


group(ID=mobarmormod:ghast_mask;ID=mobarmormod:ghast_chestplate;ID=mobarmormod:ghast_leggings;ID=mobarmormod:ghast_boots;ID=ghast_tear)@luck=2
group(ID=mobarmormod:creeper_mask;ID=mobarmormod:creeper_chestplate;ID=mobarmormod:creeper_leggings;ID=mobarmormod:creeper_boots;ID=gunpowder)@luck=2

group(type=entity,ID=Zombie,amount=120,posOffset=#circleOffset(1,10); 
type=entity,ID=Creeper,amount=90,posOffset=#circleOffset(1,10); 
type=entity,ID=Skeleton,amount=50,posOffset=#circleOffset(1,10); 
type=entity,ID=Spider,amount=20,posOffset=#circleOffset(1,10))
group(type=entity,ID=Wither,amount=120,posOffset=#circleOffset(1,10); 
type=entity,ID=Wither,amount=90,posOffset=#circleOffset(1,10); \type=entity,ID=Wither,amount=50,posOffset=#circleOffset(1,10); 
type=entity,ID=Wither,amount=20,posOffset=#circleOffset(1,10))
type=entity,ID=Blaze,NBTTag=(Owner=#pName,CustomName="Soulas97",CustomNameVisible=true))@chance=25.0@luck=-1
type=entity,ID=lblades:explosion,amount=90,posOffset=#circleOffset(1,10); 


group(ID=enchanting_table,amount=1;ID=bookshelf,amount=#rand(20,40);ID=torch,amount=#rand(10,20);ID=dye,damage=4,amount=#rand(60,80);ID=book,amount=#rand(5,20))@luck=1
group:#rand(3,4):(ID=leather_helmet,NBTTag=(display=(color=#rand(0,16777215)));ID=leather_chestplate,NBTTag=(display=(color=#rand(0,16777215)));ID=leather_leggings,NBTTag=(display=(color=#rand(0,16777215)));ID=leather_boots,NBTTag=(display=(color=#rand(0,16777215))))@luck=-1
group:#rand(1,2):(ID=diamond_sword,NBTTag=(display=(Name="$b$lCrystal Sword"));ID=diamond_shovel,NBTTag=(display=(Name="$b$lCrystal Shovel"));ID=diamond_pickaxe,NBTTag=(display=(Name="$b$lCrystal Pickaxe"));ID=diamond_axe,NBTTag=(display=(Name="$b$lCrystal Axe"));ID=diamond_hoe,NBTTag=(display=(Name="$b$lCrystal Hoe")))@luck=1

group:#rand(1,2):(ID=beacon,NBTTag=(display=(Name="$b$lWet Beacon"));ID=dragon_egg,NBTTag=(display=(Name="$b$lWet Dragon Egg"))@luck=1
type=entity,ID=Sheep,NBTTag=(CustomName="_Jeb",CustomNameVisible=true,Color=#rand(0,15)),posOffset=#circleOffset(4),amount=#rand(16,48)@luck=1@

ID=emerald_block@luck=1
ID=lucky:lucky_block@luck=-1
ID=dirt@luck=-1
type=entity,ID=Giant,NBTTag=(Riding=(id=Giant))@luck=-2
type=entity,ID=Giant,NBTTag=(Riding=(id=Ghast))@luck=-1


group(type=fill,ID=air,size=(1,51,1);group(NBTTag=(Block=bedrock),posY=#bPosY+5;NBTTag=(Block=bedrock),posY=#bPosZ+1;NBTTag=(Block=bedrock),posY=#bPosX+1;NBTTag=(Block=bedrock),posY=#bPosZ+1;NBTTag=(Block=bedrock),posY=#bPosY+25;NBTTag=(Block=bedrock),posY=#bPosY+30;NBTTag=(Block=bedrock),posY=#bPosY+35;NBTTag=(Block=bedrock),posY=#bPosY+40;NBTTag=(Block=bedrock),posY=#bPosY+45),type=entity,ID=FallingSand;type=entity,ID=FallingSand,NBTTag=(Block=bedrock),posY=#bPosY+50)@luck=0

group(type=fill,ID=air,size=(1,51,1);group(NBTTag=(Block=beacon),posY=#bPosY+5;NBTTag=(Block=beacon),posY=#bPosZ+1;NBTTag=(Block=beacon),posY=#bPosX+1;NBTTag=(Block=beacon),posY=#bPosZ+1;NBTTag=(Block=beacon),posY=#bPosY+25;NBTTag=(Block=beacon),posY=#bPosY+30;NBTTag=(Block=beacon),posY=#bPosY+35;NBTTag=(Block=beacon),posY=#bPosY+40;NBTTag=(Block=beacon),posY=#bPosY+45),type=entity,ID=FallingSand;type=entity,ID=FallingSand,NBTTag=(Block=dirt),posY=#bPosY+50)@luck=0
group(type=fill,ID=air,size=(1,51,1);group(NBTTag=(Block=beacon),posY=#bPosY+5;NBTTag=(Block=tnt),posY=#bPosY+10;NBTTag=(Block=tnt),posY=#bPosY+15;NBTTag=(Block=tnt),posY=#bPosY+20;NBTTag=(Block=tnt),posY=#bPosY+25;NBTTag=(Block=tnt),posY=#bPosY+30;NBTTag=(Block=tnt),posY=#bPosY+35;NBTTag=(Block=tnt),posY=#bPosY+40;NBTTag=(Block=tnt),posY=#bPosY+45),type=entity,ID=FallingSand;type=entity,ID=FallingSand,NBTTag=(Block=fire),posY=#bPosY+50)@luck=1
group(type=fill,ID=air,size=(1,51,1);group(NBTTag=(Block=stained_hardened_clay,Data=14),posY=#bPosY+5;NBTTag=(Block=stained_hardened_clay,Data=1),posY=#bPosY+10;NBTTag=(Block=stained_hardened_clay,Data=4),posY=#bPosY+15;NBTTag=(Block=stained_hardened_clay,Data=5),posY=#bPosY+20;NBTTag=(Block=stained_hardened_clay,Data=3),posY=#bPosY+25;NBTTag=(Block=stained_hardened_clay,Data=11),posY=#bPosY+30;NBTTag=(Block=stained_hardened_clay,Data=10),posY=#bPosY+35;NBTTag=(Block=stained_hardened_clay,Data=2),posY=#bPosY+40;NBTTag=(Block=stained_hardened_clay,Data=6),posY=#bPosY+45),type=entity,ID=FallingSand;type=entity,ID=FallingSand,NBTTag=(Block=diamond_block),posY=#bPosY+50)@luck=0
group(type=fill,ID=air,size=(1,51,1);type=entity,ID=FallingSand,NBTTag=(Block=web),posY=#bPosY+5;group(posY=#bPosY+10;posY=#bPosY+15;posY=#bPosY+20;posY=#bPosY+25;posY=#bPosY+30;posY=#bPosY+35;posY=#bPosY+40;posY=#bPosY+45;posY=#bPosY+50),type=entity,ID=FallingSand,NBTTag=(Block=sand))@luck=0
group(type=fill,ID=air,size=(1,36,1);type=entity,ID=FallingSand,posY=#bPosY+5,NBTTag=(Block=redstone_block);type=entity,ID=FallingSand,posY=#bPosY+10,NBTTag=(Block=tnt);type=entity,ID=FallingSand,posY=#bPosY+15,NBTTag=(Block=redstone_block);type=entity,ID=FallingSand,posY=#bPosY+20,NBTTag=(Block=tnt);type=entity,ID=FallingSand,posY=#bPosY+25,NBTTag=(Block=tnt)type=entity,ID=FallingSand,posY=#bPosY+30,NBTTag=(Block=tnt);type=entity,ID=FallingSand,delay=3,posY=#bPosY+35,NBTTag=(Block=fire))@luck=2
group(type=fill,ID=air,size=(1,51,1);type=entity,ID=FallingSand,NBTTag=(Block=tnt),posY=#bPosY+5;group(posY=#bPosY+10;posY=#bPosY+15;posY=#bPosY+20;posY=#bPosY+25;posY=#bPosY+30;posY=#bPosY+35;posY=#bPosY+40;posY=#bPosY+45;posY=#bPosY+50),type=entity,ID=FallingSand,NBTTag=(Block=fire))@luck=1
type=entity,ID=Chicken,NBTTag=(Riding=(id=Villager,Riding=(id=Cow,Riding=(id=Cow,Riding=(id=Cow,Riding=(id=Cow,Riding=(id=Cow,Riding=(id=Sheep))))))))@luck=0



type=item,ID=beacon,NBTTag=(display=(Name="$bWet beacon."))@luck=2


/messages

group(type=message,ID="Notch joined the game";type=entity,ID=ArmorStand,NBTTag=(CustomName="Notch",CustomNameVisible=true,Equipment=[(id=diamond_sword),(id=iron_boots),(id=iron_leggings),(id=iron_chestplate),(id=skull,Count=1,Damage=3,tag=(SkullOwner="Notch"))]);ID=golden_apple,damage=1,amount=#rand(5,10))@chance=0.8@luck=2
group(type=message,ID="jeb_ joined the game";type=entity,ID=Sheep,NBTTag=(CustomName="jeb_",CustomNameVisible=true))@chance=0.8@luck=2
group(type=message,ID="Soulas97 (Creator of Lucky Block Mob) joined the game";ID=skull,damage=3,NBTTag=(SkullOwner="Soulas97",display=(Lore=["Creator of Lucky Block Mob!"])))@chance=0.9@luck=1
group(type=message,ID="Dinnerbone joined the game";type=entity,ID=Wolf,NBTTag=(Owner=#pName,CustomName="Dinnerbone",CustomNameVisible=true))@chance=0.8@luck=2
group(type=message,ID="Free diamonds, tp to #pName";ID=diamond,amount=13))@luck=-2
group(type=message,ID="Free dirt, tp to #pName";ID=dirt,amount=64))@luck=-2



ID=bedrock@luck=1

ID=emerald_block,amount=#rand(5,20)@luck=0
ID=diamond_block,amount=#rand(5,20)@luck=0
ID=tnt,amount=#rand(4,16)@luck=0
ID=obsidian,amount=#rand(8,14)@luck=0
ID=ender_chest,amount=#rand(1,2)@luck=1
ID=sponge@luck=0
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=beacon@luck=2
ID=dropper,amount=8@luck=0
ID=hay_block,amount=8@luck=0

ID=elytra@luck=2
ID=totem_of_undying@luck=2
ID=emerald,amount=#rand(3,15)@luck=2
ID=cooked_beef,amount=#rand(3,15)@luck=2
ID=golden_carrot,amount=#rand(1,8)@luck=2

group(ID=diamond_shovel;ID=diamond_pickaxe;ID=diamond_axe;ID=diamond_sword;ID=diamond_hoe)@luck=2
group(ID=iron_shovel;ID=iron_pickaxe;ID=iron_axe;ID=iron_sword;ID=iron_hoe)@luck=1
group(ID=gold_shovel;ID=gold_pickaxe;ID=gold_axe;ID=gold_sword;ID=gold_hoe)@luck=0
group(ID=stone_shovel;ID=stone_pickaxe;ID=stone_axe;ID=stone_sword;ID=stone_hoe)@luck=0
group(ID=wooden_shovel;ID=wooden_pickaxe;ID=wooden_axe;ID=wooden_sword;ID=wooden_hoe)@luck=0
group(ID=diamond_helmet;ID=diamond_chestplate;ID=diamond_leggings;ID=diamond_boots;ID=diamond_sword;ID=bow;ID=arrow,amount=#rand(100,400))@luck=2
group(ID=iron_helmet;ID=iron_chestplate;ID=iron_leggings;ID=iron_boots;ID=iron_sword;ID=bow;ID=arrow,amount=#rand(100,200))@luck=1
group(ID=gold_helmet;ID=gold_chestplate;ID=gold_leggings;ID=gold_boots;ID=gold_sword;ID=bow;ID=arrow,amount=#rand(50,200))@luck=0
group(ID=chainmail_helmet;ID=chainmail_chestplate;ID=chainmail_leggings;ID=chainamil_boots;ID=stone_sword;ID=bow;ID=arrow,amount=#rand(20,100))@luck=0
group(ID=leather_helmet;ID=leather_chestplate;ID=leather_leggings;ID=leather_boots;ID=wooden_sword;ID=bow;ID=arrow,amount=#rand(10,50))@luck=0
group(ID=end_stone,amount=#rand(13,43))@luck=0
group(ID=end_stone,amount=#rand(13,43),ID=obsidian,amount=#rand(43,93),ID=end_portal_frame,amount=#rand(3,17))@luck=0
group(ID=ender_pearl,amount=#rand(2,16),ID=ender_eye,amount=#rand(4,35))@luck=0
group(ID=tnt,amount=#rand(30,80),ID=flint_and_steel,amount=#rand(1,14))@luck=0
group(ID=tnt,amount=#rand(23,430))@luck=0
group(ID=fishing_rod,amount=#rand(1,13),ID=fire_charge,amount=#rand(21,263))@luck=0
group(ID=book,amount=#rand(13,33),ID=bookshelf,amount=#rand(3,23))@luck=0
group(ID=paper,amount=#rand(13,43),ID=book,amount=#rand(2,12),ID=bookshelf,amount=#rand(3,13),(ID=writable_book,amount=#rand(2,16))@luck=0
group(ID=bookshelf,amount=#rand(1,15))@luck=0
group(ID=item_frame,amount=#rand(4,8),ID=painting,amount=#rand(8,16))@luck=0
group(ID=red_flower,damage=#rand(1,7),amount=#rand(7,56))@luck=0
group(ID=stained_glass_pane,damage=#rand(1,15),amount=#rand(7,56))@luck=0
group(ID=wool,damage=#rand(1,15),amount=#rand(7,56))@luck=0
group(ID=stained_hardened_clay,damage=#rand(1,15),amount=#rand(7,56))@luck=0
group(ID=dye,damage=#rand(1,15),amount=#rand(7,56))@luck=0
group(ID=spawn_egg,damage=1,amount=#rand(7,18))@luck=0
group(ID=hay_ball,amount=#rand(12,36))@luck=0
group(ID=brewing_stand,amount=#rand(2,16),ID=nether_wart,amount=#rand(4,35),ID=water_bottle,amount=#rand(2,16),ID=blaze_powder,amount=#rand(2,16))@luck=0
group(ID=brewing_stand,amount=#rand(2,16),ID=nether_wart,amount=#rand(4,35),ID=water_bottle,amount=#rand(2,16),ID=blaze_powder,amount=#rand(2,16),ID=blaze_rod,amount=#rand(2,16),ID=glistering_melon,amount=#rand(2,16),ID=ender_pearl,amount=#rand(2,16),ID=ender_eye,amount=#rand(2,16),ID=ghast_tear,amount=#rand(2,16))@luck=0
group(ID=coal,amount=#rand(23,43),ID=coal,damage=1,amount=#rand(13,46))@luck=0
group(ID=crafting_table,amount=#rand(3,12))@luck=0
group(ID=chest,amount=#rand(13,23),ID=furnace,amount=#rand(3,17))@luck=0
group(ID=golden_horse_armor,amount=1,ID=iron_horse_armor,amount=1,ID=diamond_horse_armor,amount=1)@luck=0
group(ID=sapling,amount=#rand(8,64),ID=sapling,damage=1,amount=#rand(8,64),ID=sapling,damage=2,amount=#rand(8,64),ID=ID=sapling,damage=3,amount=#rand(8,64),ID=ID=sapling,damage=4,amount=#rand(8,64),ID=ID=sapling,damage=5,amount=#rand(8,64))@luck=0
group(ID=log,amount=#rand(8,64),ID=log,damage=1,amount=#rand(8,64),ID=log,damage=2,amount=#rand(8,64),ID=ID=log,damage=3,amount=#rand(8,64),ID=ID=log,damage=4,amount=#rand(8,64),ID=ID=log,damage=5,amount=#rand(8,64))@luck=0
group(ID=planks,amount=#rand(8,64),ID=planks,damage=1,amount=#rand(8,64),ID=planks,damage=2,amount=#rand(8,64),ID=ID=planks,damage=3,amount=#rand(8,64),ID=ID=planks,damage=4,amount=#rand(8,64),ID=ID=planks,damage=5,amount=#rand(8,64))@luck=0
group(ID=leather,amount=14)@luck=0
group(ID=saddle,amount=#rand(1,4))@luck=0
group(ID=saddle,amount=1,ID=carrot_on_a_stick,amount=1,ID=373,damage=90,amount=1)@luck=0
group(ID=portal,amount=#rand(2,16),ID=end_portal_frame,amount=#rand(4,35),ID=dragon_egg,amount=#rand(1,12))@luck=0
group(ID=spawn_egg,damage=58,amount=#rand(12,36))@luck=0
group(ID=carpet,damage=#rand(1,15),amount=#rand(7,56))@luck=0
group(ID=apple,amount=#rand(2,16),ID=bread,amount=#rand(4,35),ID=potato,amount=#rand(4,35),ID=carrot,amount=#rand(4,35),ID=melon,amount=#rand(4,35))@luck=0
group(ID=cooked_beef,amount=#rand(2,16),ID=cooked_porkchop,amount=#rand(4,35),ID=cooked_chicken,amount=#rand(4,35),ID=cooked_mutton,amount=#rand(4,35),ID=cooked_rabbit,amount=#rand(4,35))@luck=0
group(ID=spawn_egg,damage=95,amount=#rand(12,16),ID=bone,amount=#rand(40,350))@luck=0
group(ID=ender_pearl,amount=#rand(2,16),ID=ender_eye,amount=#rand(4,35))@luck=0
group(ID=leaves,amount=#rand(8,64),ID=leaves,damage=1,amount=#rand(8,64),ID=leaves,damage=2,amount=#rand(8,64),ID=ID=leaves,damage=3,amount=#rand(8,64),ID=ID=leaves2,amount=#rand(8,64),ID=ID=leaves2,damage=1,amount=#rand(8,64))@luck=0
group(ID=sugar,amount=#rand(30,80),ID=sugar_cane,amount=#rand(1,24))@luck=0
group(ID=potion,damage=#rand,amount=#rand(10,30)@luck=0
group(ID=bed,amount=1)@luck=0
group(ID=slimeball,amount=#rand(30,80),ID=lucky:lucky_block_structure,amount=#rand(1,14),ID=slime,amount=#rand(2,45))@luck=0
group(ID=sand,amount=#rand(8,64),ID=sand,damage=1,amount=#rand(8,64),ID=sandstone,amount=#rand(8,64),ID=red_sandstone,amount=#rand(8,64))@luck=0
group(ID=command_block,amount=#rand(20,70),ID=mob_spawner,amount=#rand(10,24))@luck=0
group(ID=ice,amount=#rand(10,50),ID=snow,amount=#rand(16,54),ID=snowball,amount=#rand(31,214))@luck=0
group(ID=iron_ingot,amount=#rand(10,50),ID=gold_ingot,amount=#rand(16,54),ID=diamond,amount=#rand(14,31),ID=emerald,amount=#rand(14,31),ID=dye,damage=4,amount=#rand(12,34))@luck=2
group(ID=coal,amount=#rand(10,50),ID=quartz,amount=#rand(16,54),ID=dye,damage=4,amount=#rand(14,31),ID=redstone,amount=#rand(14,31),ID=glowstone_dust,amount=#rand(12,34))@luck=1
group(ID=bucket,amount=#rand(1,16),ID=lava_bucket,amount=#rand(1,3),ID=water_bucket,amount=#rand(1,3),ID=milk_bucket,amount=#rand(1,3))@luck=0








/ 1 Luck
ID=shield@luck=1

ID=lblades:explosive_blade@luck=1
ID=lblades:whirlwind_blade@luck=1
ID=lblades:holy_punisher@luck=1
ID=lblades:christmas_special@luck=1
ID=lblades:soul_slasher@luck=1
ID=lblades:thunder_blade@luck=1
ID=lblades:venom_blade@luck=1
ID=lblades:dragon_breath@luck=1
ID=lblades:nature_blade@luck=1

ID=lblades:destruction_blade@luck=1
ID=lblades:blazing_staff@luck=1
ID=lblades:thunder_staff@luck=1
ID=lblades:warping_staff@luck=1
ID=lblades:withering_staff@luck=1
ID=lblades:explosive_staff@luck=1

ID=lblades:elixir_of_explosivebody@luck=1
ID=lblades:elixir_of_divinity@luck=1
ID=lblades:elixir_of_waterhealing@luck=1

ID=lblades:elixir_of_tornadolift@luck=1
ID=lblades:elixir_of_frostbite@luck=1
ID=lblades:elixir_of_luck@luck=1

ID=lblades:elixir_of_forcefield@luck=1
ID=lblades:elixir_of_boneerosion@luck=1
ID=lblades:elixir_of_secondchance@luck=1

ID=lblades:elixir_of_witherresistance@luck=1
ID=lblades:elixir_of_poisonresistance@luck=1
ID=lblades:elixir_of_debuffresistance@luck=1

ID=lblades:elixir_of_flight@luck=1
ID=lblades:elixir_of_fallresistance@luck=1


type=item,ID=lblades:elixir_of_frostbite,NBTTag=(display=(Name="$bCoco-cola!."))@luck=2
type=item,ID=lblades:elixir_of_tornadolift,NBTTag=(display=(Name="$bWet Potion!."))@luck=2









ID=lava_bucket@luck=1
ID=golden_apple@luck=1
ID=diamond_shovel@luck=1
ID=diamond_pickaxe@luck=1
ID=flint_and_steel@luck=1
ID=gold_ingot,amount=#rand(2,9)@luck=1
ID=iron_ingot,amount=#rand(2,9)@luck=1
ID=ender_pearl,amount=#rand(1,3)@luck=1
ID=rabbit_stew,amount=#rand(5,7)@luck=1

/ 0 Luck
ID=apple@luck=0
ID=iron_shovel@luck=0
ID=stone_sword@luck=0
ID=iron_pickaxe@luck=0
ID=water_bucket@luck=0
ID=arrow,amount=#rand(7,19)@luck=0
ID=leather,amount=#rand(2,9)@luck=0

/ -1 Luck
ID=flint@luck=-1
ID=iron_nugget@luck=-1
ID=rotten_flesh@luck=-1
ID=wooden_sword@luck=-1
ID=wooden_shovel@luck=-1
ID=wooden_pickaxe@luck=-1
ID=rotten_flesh,amount=#rand(3,5)@luck=-1
ID=wooden_axe,amount=#rand(34,64)@luck=-1

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










/colorful trick

group(ID=golden_apple,amount=#random-15-20;ID=golden_apple,amount=#random-4-6,damage=1)@luck=2

type=entity,ID=bat,NBTTag=(Passengers=[(id=witch,Passengers=[(id=llama,Passengers=[(id=sheep,Passengers=[(id=mooshroom,Passengers=[(id=cow,Passengers=[(id=chicken,Passengers=[(id=rabbit,Passengers=[(id=parrot)])])])])])])])])@luck=2

type=entity,ID=villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(20,25)),sell=(id=mobarmormod:wither_mask,Count=1,tag=(ench=#luckySwordEnchantments,display=(Name="$9$lBlack Is New Pink Helmet!"))),maxUses=1),(buy=(id=diamond,Count=#rand(5,64)),sell=(id=mobarmormod:wither_chestplate,Count=1,tag=(ench=#luckyArmorEnchantments,display=(Name="$9$lBlack Is New Pink Chestplate"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=mobarmormod:wither_leggings,Count=1,tag=(ench=#luckyArmorEnchantments,display=(Name="$9$lBlack Is New Pink Leggings"))),maxUses=1),(buy=(id=diamond,Count=#rand(1,2)),sell=(id=potion,Count=1,tag=(Potion="poison",CustomPotionEffects=#luckyPotionEffects,display=(Name="$9$lFree Potion"))),maxUses=1),(buy=(id=diamond,Count=#rand(21,64)),sell=(id=splash_potion,Count=1,tag=(Potion="wither",CustomPotionEffects=#unluckyPotionEffects,display=(Name="$4$lEvil Potion"))),maxUses=1)]),CustomName="$9$lRipoff Villager",CustomNameVisible=true)@luck=1




type=entity,ID=squid,NBTTag=(CustomName="I'm A Fish",CustomNameVisible=true)@luck=0
type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/simple_dungeon"))@luck=1

/ Unlucky drop: explosion
type=explosion,radius=#rand(1,10),fire=true@luck=-2
type=entity,ID=tnt,NBTTag=(Fuse=50b,Motion=#randLaunchMotion),amount=15@luck=-2
type=entity,ID=tnt,NBTTag=(Fuse=50b,Motion=#randLaunchMotion),amount=15@luck=-2
group(type=difficulty,ID=hard;type=entity,ID=creeper;type=entity,ID=LightningBolt)@luck=-2
group(type=difficulty,ID=hard;type=entity,ID=zombie,NBTTag=(HandItems=[(id=skull,Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=mobarmormod:wither_boots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=mobarmormod:wither_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=mobarmormod:wither_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=mobarmormod:wither_mask,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$9$lWithering Bob",CustomNameVisible=true))@luck=-1
group(type=difficulty,ID=hard;type=entity,ID=zombie,NBTTag=(HandItems=[(id=skull,Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=mobarmormod:dragon_boots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=mobarmormod:dragon_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=mobarmormod:dragon_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=mobarmormod:dragon_mask,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$9$lDraconic Bob",CustomNameVisible=true))@luck=-1
group(type=difficulty,ID=hard;type=entity,ID=zombie,NBTTag=(HandItems=[(id=iron_axe,Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=mobarmormod:golem_boots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=mobarmormod:golem_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=mobarmormod:golem_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=mobarmormod:golem_mask,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$9$lIron Bob",CustomNameVisible=true))@luck=-1
group(type=difficulty,ID=hard;type=entity,ID=zombie,NBTTag=(HandItems=[(id=red_flower,Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=mobarmormod:pinkwither_boots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=mobarmormod:pinkwither_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=mobarmormod:pinkwither_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=mobarmormod:pinkwither_mask,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$9$lBob's Wife",CustomNameVisible=true))@luck=-1
group(type=difficulty,ID=hard;type=entity,ID=zombie,NBTTag=(HandItems=[(id=ghast_tear,Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=mobarmormod:ghast_boots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=mobarmormod:ghast_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=mobarmormod:ghast_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=mobarmormod:ghast_mask,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$9$lGhastly Bob",CustomNameVisible=true))@luck=-1
group(type=difficulty,ID=hard;type=entity,ID=zombie,NBTTag=(HandItems=[(id=blaze_rod,Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=mobarmormod:blaze_boots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=mobarmormod:blaze_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=mobarmormod:blaze_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=mobarmormod:blaze_mask,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$9$lBlazing Bob",CustomNameVisible=true))@luck=-1


type=structure,ID=000,pos=#pPos,rotation=#pDirect-2
group(type=structure,ID=000)@luck=0,pos=#pPos,rotation=#pDirect-2

type=structure,ID=001,pos=#pPos,rotation=#pDirect-2
group(type=structure,ID=001)@luck=0,pos=#pPos,rotation=#pDirect-2