﻿/===Potion Drops

/ ------ Good ------

/ Health + Regeneration + Hearts
group(type=effect,ID=6,range=4,amplifier=3;type=effect,ID=10,range=4,amplifier=1,duration=300;type=particle,ID=splashpotion,damage=8197;type=particle,ID=heart,size=(1.5,0.5,1.5),particleAmount=300)@luck=2

/ Satuaration + Food
group(type=effect,ID=23,range=4,amplifier=20,duration=1;type=block,ID=cake;type=particle,ID=splashpotion,damage=8261;type=item,ID=#randList(cake,pumpkin_pie,cooked_porkchop,cooked_porkchop,cooked_porkchop,cooked_beef,cooked_beef,cooked_beef),posOffset=#circleOffset(0.0,2.0),amount=30;ID=lootplusplus:mystic.mystic_apple,posOffset=#circleOffset(0.0,2.0),amount=#rand(1,3),NBTTag=(display=(Lore=["$rGives a random good potion effect when eaten."])))@luck=2

/ Enchanting Table
group(type=entity,ID=ThrownExpBottle,NBTTag=(Motion=#motionFromDirection(#rand(0,360),-70,0.4)),amount=#rand(20,30);type=item,ID=dye,damage=4,posOffset=#circleOffset(0.0,2.0),amount=#rand(20,40);type=block,ID=enchanting_table)@luck=2

/ Enchanting Books + Repairing
group(type=effect,ID=potioncore:repair,range=4,amplifier=1,duration=120;type=block,ID=anvil;type=item,ID=experience_bottle,posOffset=#circleOffset(0.0,2.0),amount=#rand(20,40);ID=enchanted_book,NBTTag=(StoredEnchantments=#randEnchantment),posOffset=#circleOffset(0.0,2.0),amount=#rand(10,12);type=particle,ID=splashpotion,damage=8195)@luck=2

/ Positive Potions
group(type=entity,ID=potioncore.CustomPotion,NBTTag=(Potion=(id=potioncore:custom_potion,tag=(CustomPotionEffects=[(Id=#randList(minecraft:haste,potioncore:repair,potioncore:extension,potioncore:recoil,potioncore:reach,potioncore:slowfall,potioncore:revival,potioncore:archery,potioncore:purity,potioncore:climb,potioncore:soildcore,potioncore:stepup,potioncore:antidote,minecraft:absorption,minecraft:health_boost),Duration=#randList(3600,9600))]),Count=1),Motion=#motionFromDirection(#rand(0,360),-70,0.4)),amount=7;type=entity,ID=ThrownPotion,NBTTag=(Potion=(id=373,Damage=#randList(1,2,3,5,6,9,11,13,14)+16384,Count=1),Motion=#motionFromDirection(#rand(0,360),-70,0.4)),amount=3)@luck=2

/ Lucky Potion
type=entity,ID=potioncore.CustomPotion,NBTTag=(Potion=(Count=1,id=potioncore:custom_potion,tag=(display=(Name="$e$lLucky Potion",color=16765490),CustomPotionEffects=#luckyPotionEffects)))@luck=2

/ EPIC Lucky Potion
type=entity,ID=potioncore.CustomPotion,NBTTag=(Potion=(Count=1,id=potioncore:custom_potion,tag=(display=(Name="$b$lEPIC $e$lLucky Potion",color=65535),CustomPotionEffects=[(Id=#randList(jump_boost,potioncore:stepup),Amplifier=#rand(0,3),Duration=#rand(5000,12000)),(Id=#randList(regeneration,potioncore:revival),Amplifier=#rand(0,3),Duration=#rand(5000,12000)),(Id=#randList(saturation,potioncore:slowfall),Amplifier=#rand(0,3),Duration=#rand(5000,12000)),(Id=#randList(strength,potioncore:reach),Amplifier=#rand(0,3),Duration=#rand(5000,12000)),(Id=#randList(potioncore:archery,speed),Amplifier=#rand(0,3),Duration=#rand(5000,12000)),(Id=#randList(haste,resistance),Amplifier=#rand(0,3),Duration=#rand(5000,12000)),(Id=#randList(potioncore:repair,potioncore:health_boost),Amplifier=#rand(0,3),Duration=#rand(5000,12000)),(Id=#randList(potioncore:recoil,absorption),Amplifier=#rand(0,3),Duration=#rand(5000,12000)),(Id=#randList(water_breathing,fire_resistance,potioncore:solidcore),Duration=#rand(5000,12000)),(Id=#randList(potioncore:antidote,potioncore:purity),Duration=#rand(5000,12000)),(Id=#randList(invisibility,potioncore:climb),Duration=#rand(5000,12000)),(Id=#randList(instant_health,potioncore:love,potioncore:cure),Duration=1)])))@luck=2

/ Jump Boost + Slowfall + Clouds
group(type=effect,ID=8,range=4,amplifier=4,duration=600;type=effect,ID=potioncore:slowfall,range=4,amplifier=2,duration=600;type=particle,ID=splashpotion,damage=8267)@luck=2

/ Water breathing + Fish
group(type=effect,ID=13,range=4,duration=600;type=particle,ID=splashpotion,damage=8194;type=particle,ID=splash,posOffset=#circleOffset(0.0,2.0),amount=30;ID=fishing_rod;type=item,ID=fish,damage=#rand(0,3),posOffset=#circleOffset(0.0,2.0),amount=30)@luck=1

/ Health Boost + Absorption + Gold Stuff
group(type=effect,ID=21,range=4,amplifier=1,duration=600;type=effect,ID=22,amplifier=4,range=4,duration=600;type=particle,ID=splashpotion,damage=8227;type=item,ID=golden_apple,damage=#rand(0,1),posOffset=#circleOffset(0.0,2.0),amount=6;type=item,ID=#randList(gold_ingot,gold_ingot,gold_ingot,gold_block),posOffset=#circleOffset(0.0,2.0),amount=#rand(8,16))@luck=2@chance=0.7


/ ------ Bad ------

/ Knockback
group(type=effect,ID=special_knockback,power=4,range=4,delay=0.1;type=particle,ID=splashpotion,damage=8194;type=particle,ID=explode,size=(1.5,1.0,1.5),particleAmount=500;type=fill,posOffset=(-1,0,-1))@luck=-2

/ Damage
group(type=effect,ID=7,amplifier=1,range=4;type=particle,ID=splashpotion,damage=8204;type=entity,ID=LuckyProjectile,NBTTag=(Motion=#motionFromDirection(#rand(0,360),-50,0.4),item=(id=lootplusplus:mystic.mystic_axe),damage=30.0),amount=20)@luck=-2

/ Fire + Lava
group(type=command,ID="fill ~-1 ~ ~-1 ~1 ~ ~1 flowing_lava 8 keep";type=particle,ID=splashpotion,damage=8227;type=command,ID="setblock ~ ~ ~ fire 0 keep",posOffset=#circleOffset(0,3),amount=50;type=particle,ID=splashpotion,damage=8195)@luck=-2

/ Hunger
group(type=effect,ID=17,range=3,amplifier=100,duration=5;type=particle,ID=splashpotion,damage=8260;type=difficulty,ID=hard)@luck=-2

/ Blackout
group(type=effect,ID=blindness,range=4,amplifier=3,duration=30;type=particle,ID=splashpotion,damage=8268;type=particle,ID=largesmoke,size=(1.5,1.0,1.5),particleAmount=500)@luck=-2

/ Perplexity
group(type=sound,ID=portal.travel,pitch=2.0;type=effect,range=4,ID=potioncore:perplexity,duration=120;type=particle,ID=splashpotion,damage=8193;type=particle,ID=witchMagic,size=(1.5,1.0,1.5),particleAmount=500)@luck=-2

/ Disorganization
group(type=sound,ID=mob.zombie.unfect,pitch=1.5;type=effect,range=4,ID=potioncore:disorganization,duration=1;type=particle,ID=splashpotion,damage=8193;type=particle,ID=fireworksSpark,size=(1.5,1.0,1.5),particleAmount=500)@luck=-2

/ Spinning
group(type=effect,range=4,ID=potioncore:spin,duration=10;type=particle,ID=splashpotion,damage=8235)@luck=-2

/ Statue
group(type=effect,range=4,ID=slowness,amplifier=127,duration=10;type=effect,range=4,ID=mining_fatigue,amplifier=127,duration=10;type=effect,range=4,ID=potioncore:weight,amplifier=127,duration=10;type=particle,ID=splashpotion,damage=8238)@luck=-2

/ Negative Potions
group(type=entity,ID=potioncore.CustomPotion,NBTTag=(Potion=(id=potioncore:custom_potion,tag=(CustomPotionEffects=[(Id=#randList(minecraft:mining_fatigue,minecraft:blindness,potioncore:rust,potioncore:vulnerable,potioncore:levitate,potioncore:klutz,potioncore:drown,potioncore:perplexity,potioncore:spin,potioncore:perplexity),Duration=#randList(3600,9600))]),Count=1),Motion=#motionFromDirection(#rand(0,360),-70,0.4)),amount=4;type=entity,ID=potioncore.CustomPotion,NBTTag=(Potion=(id=potioncore:custom_potion,tag=(CustomPotionEffects=[(Id=#randList(potioncore:teleport,potioncore:disorganization,potioncore:explode,potioncore:dispel,potioncore:fire,potioncore:lightning,potioncore:invert,potioncore:launch),Duration=1)]),Count=1),Motion=#motionFromDirection(#rand(0,360),-70,0.4)),amount=4;type=entity,ID=ThrownPotion,NBTTag=(Potion=(id=373,Damage=#randList(4,8,10,12)+16384,Count=1),Motion=#motionFromDirection(#rand(0,360),-70,0.4)),amount=2)@luck=-2

/ Unlucky Potion
type=entity,ID=potioncore.CustomPotion,NBTTag=(Potion=(Count=1,Damage=1,id=potioncore:custom_potion,tag=(display=(Name="$e$lUnlucky Potion",color=3803458),CustomPotionEffects=#unluckyPotionEffects)))@luck=-2

/ EPIC Unlucky Potion
type=entity,ID=potioncore.CustomPotion,NBTTag=(Potion=(Count=1,Damage=1,id=potioncore:custom_potion,tag=(display=(Name="$5$lEPIC $e$lUnlucky Potion",color=12386559),CustomPotionEffects=[(Id=#randList(slowness,weakness),Amplifier=#rand(0,3),Duration=#rand(5000,12000)),(Id=#randList(wither,potioncore:levitate),Amplifier=#rand(0,3),Duration=#rand(5000,12000)),(Id=#randList(potioncore:klutz,potioncore:weight),Amplifier=#rand(0,3),Duration=#rand(5000,12000)),(Id=#randList(blindness,poison,hunger),Amplifier=#rand(0,3),Duration=#rand(5000,12000)),(Id=#randList(potioncore:rust,mining_fatigue),Amplifier=#rand(0,3),Duration=#rand(5000,12000)),(Id=#randList(potioncore:perplexity,potioncore:drown),Duration=#rand(5000,12000)),(Id=#randList(potioncore:spin,nausea),Duration=#rand(5000,12000)),(Id=#randList(potioncore:launch,potioncore:teleport),Amplifier=#rand(0,3),Duration=1),(Id=#randList(potioncore:fire,instant_damage),Amplifier=#rand(0,3),Duration=1),(Id=#randList(potioncore:disorganization,potioncore:dispel),Duration=1),(Id=#randList(potioncore:explode,potioncore:lightning),Duration=1)])))@luck=-2

/===Mystic Armor===


/ Mystic Lucky Helmet 
type=entity,ID=Item,NBTTag=(CustomName="$1$lMys$a$ltic $eLucky $1$lHel$a$lmet",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:mystic.mystic_helmet",tag=(Unbreakable=true,ench=#luckyHelmetEnchantments,display=(Lore=["","$9Found by #pName"],Name="$1$lMys$a$ltic $eLucky $1$lHel$a$lmet"))))@luck=2

/ Mystic Lucky Chestplate
type=entity,ID=Item,NBTTag=(CustomName="$1$lMys$a$ltic $eLucky $1$lLegg$a$lings",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:mystic.mystic_leggings",tag=(Unbreakable=true,ench=#luckyLeggingsEnchantments,display=(Lore=["","$9Found by #pName"],Name="$1$lMys$a$ltic $eLucky $1$lLegg$a$lings"))))@luck=2

/ Mystic Lucky Leggings
type=entity,ID=Item,NBTTag=(CustomName="$1$lMys$a$ltic $eLucky $1$lChest$a$lplate",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:mystic.mystic_chestplate",tag=(Unbreakable=true,ench=#luckyChestplateEnchantments,display=(Lore=["","$9Found by #pName"],Name="$1$lMys$a$ltic $eLucky $1$lChest$a$lplate"))))@luck=2

/ Mystic Lucky Boots
type=entity,ID=Item,NBTTag=(CustomName="$1$lMys$a$ltic $eLucky $1$lBo$a$lots",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:mystic.mystic_boots",tag=(Unbreakable=true,ench=#luckyBootsEnchantments,display=(Lore=["","$9Found by #pName"],Name="$1$lMys$a$ltic $eLucky $1$lBo$a$lots"))))@luck=2


/===Lucky Weapons===

/ Mystic Lucky Block Weapon
type=entity,ID=Item,NBTTag=(CustomName="$1$lMys$a$ltic $eLucky Block Weapon",CustomNameVisible=true,Item=(Count=1,id=lucky:lucky_block_mystic,tag=(ench=#luckySwordEnchantments,display=(Name="$1$lMys$a$ltic $eLucky Block Weapon"))))@luck=1@chance=0.7

/ Mystic Lucky Sword
type=entity,ID=Item,NBTTag=(CustomName="$1$lMys$a$ltic $eLucky $1$lSwo$a$lrd",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:mystic.mystic_sword",tag=(Unbreakable=true,ench=#luckySwordEnchantments,display=(Lore=["","$9Found by #pName"],Name="$1$lMys$a$ltic $eLucky $1$lSwo$a$lrd"))))@luck=2

/ Mystic Lucky Bow
type=entity,ID=Item,NBTTag=(CustomName="$1$lMys$a$ltic $eLucky $1$lBo$a$lw",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:mystic.mystic_bow",tag=(Unbreakable=true,ench=[(id=34,lvl=3),(id=48,lvl=4),(id=49,lvl=2),(id=51,lvl=1)],display=(Lore=["","$9Found by #pName"],Name="$1$lMys$a$ltic $eLucky $1$lBo$a$lw"))))@luck=2


/===Lucky Mystic Tools===

/ Mystic Lucky Pickaxe
type=entity,ID=Item,NBTTag=(CustomName="$1$lMys$a$ltic $eLucky $1$lPick$a$laxe",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:mystic.mystic_pickaxe",tag=(Unbreakable=true,ench=#luckyAxeEnchantments,display=(Lore=["","$9Found by #pName"],Name="$1$lMys$a$ltic $eLucky $1$lPick$a$laxe"))))@luck=2

/ Mystic Lucky Axe
type=entity,ID=Item,NBTTag=(CustomName="$1$lMys$a$ltic $eLucky $1$lAx$a$le",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:mystic.mystic_axe",tag=(Unbreakable=true,ench=#luckyAxeEnchantments,display=(Lore=["","$9Found by #pName"],Name="$1$lMys$a$ltic $eLucky $1$lAx$a$le"))))@luck=2

/ Mystic Lucky Shovel
type=entity,ID=Item,NBTTag=(CustomName="$1$lMys$a$ltic $eLucky $1$lSho$a$lvel",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:mystic.mystic_shovel",tag=(Unbreakable=true,ench=#luckyAxeEnchantments,display=(Lore=["","$9Found by #pName"],Name="$1$lMys$a$ltic $eLucky $1$lSho$a$lvel"))))@luck=2

/ Mystic Lucky Hoe
type=entity,ID=Item,NBTTag=(CustomName="$1$lMys$a$ltic $eLucky $1$lHo$a$le",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:mystic.mystic_hoe",tag=(Unbreakable=true,ench=#luckyAxeEnchantments,display=(Lore=["","$9Found by #pName"],Name="$1$lMys$a$ltic $eLucky $1$lHo$a$le"))))@luck=2


/===Potions===
/Mystic Apple
group(ID=lootplusplus:mystic.mystic_apple,amount=#rand(2,4);ID=lootplusplus:mystic.enchanted_mystic_apple,amount=#rand(2,4))@luck=2

/ Mystic potion
type=entity,ID=Item,NBTTag=(CustomName="$1$lMys$a$ltic $ePotion",CustomNameVisible=true,Item=(Count=1,id=potioncore:custom_potion,tag=(display=(Name="$1$lMys$a$ltic $ePotion",color=37017),CustomPotionEffects=#luckyPotionEffects)))@luck=2

/ Destructive potion
type=entity,ID=Item,NBTTag=(CustomName="$4$lDestructive $ePotion",CustomNameVisible=true,Item=(Count=1,Damage=1,id=potioncore:custom_potion,tag=(display=(Name="$4$lDestructive $ePotion",color=14548992),CustomPotionEffects=#unluckyPotionEffects)))@luck=2


/===Items===

/ ==========Lucky Items==========

/Burn Baby Burn
type=item,ID=blaze_rod,NBTTag=(ench=[(id=20,lvl=10),(id=20,lvl=10),(id=20,lvl=10),(id=20,lvl=10),(id=20,lvl=10)],display=(Name="$4$lBurn Baby Burn"))@luck=1

/Classic Lucky Sword
type=entity,ID=Item,NBTTag=(CustomName="$e$lClassic Lucky Sword",CustomNameVisible=true,Item=(Count=1,id=minecraft:golden_sword,tag=(ench=#luckySwordEnchantments,display=(Name="$e$lClassic Lucky Sword"))))@luck=2

/ Wacking Stick
type=entity,ID=Item,NBTTag=(CustomName="$4$l#pName's Wacking Stick",CustomNameVisible=true,Item=(Count=1,id=stick,tag=(ench=[(id=19,lvl=1000)],display=(Name="$4$l#pName's Wacking Stick"))))@luck=2

/ Ultra Tools
ID=diamond_axe,NBTTag=(Unbreakable=true,ench=[(id=32,lvl=20)],display=(Name="$4$lX$d$lUltra$5$lAxe$4$lX"))@luck=2

ID=diamond_pickaxe,NBTTag=(Unbreakable=true,ench=[(id=32,lvl=20)],display=(Name="$4$lX$d$lUltra$5$lPickaxe$4$lX"))@luck=2

ID=diamond_shovel,NBTTag=(Unbreakable=true,ench=[(id=32,lvl=20)],display=(Name="$4$lX$d$lUltra$5$lShovel$4$lX"))@luck=2

ID=fishing_rod,NBTTag=(Unbreakable=true,ench=[(id=19,lvl=20)],display=(Name="$4$lX$d$lUltra$5$lFishingRod$4$lX"))@luck=2

/ old lucky armor
group:#rand(1,2):(ID=golden_helmet,NBTTag=(ench=#luckyHelmetEnchantments,display=(Name="$e$lOld Lucky Helmet"));ID=golden_chestplate,NBTTag=(ench=#luckyChestplateEnchantments,display=(Name="$e$lOld Lucky Chestplate"));ID=golden_leggings,NBTTag=(ench=#luckyLeggingsEnchantments,display=(Name="$e$lOld Lucky Leggings"));ID=golden_boots,NBTTag=(ench=#luckyBootsEnchantments,display=(Name="$e$lOld Lucky Boots")))@luck=1

/ iron lucky armor
group:#rand(1,2):(ID=iron_helmet,NBTTag=(ench=#luckyHelmetEnchantments,display=(Name="$7$lIron Lucky Helmet"));ID=iron_chestplate,NBTTag=(ench=#luckyChestplateEnchantments,display=(Name="$7$lIron Lucky Chestplate"));ID=iron_leggings,NBTTag=(ench=#luckyLeggingsEnchantments,display=(Name="$7$lIron Lucky Leggings"));ID=iron_boots,NBTTag=(ench=#luckyBootsEnchantments,display=(Name="$7$lIron Lucky Boots")))@luck=1

/ old lucky tools
group:#rand(1,2):(ID=golden_shovel,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$e$lOld Lucky Shovel"));ID=golden_pickaxe,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$e$lOld Lucky Pickaxe"));ID=golden_axe,NBTTag=(ench=#luckyAxeEnchantments,display=(Name="$e$lOld Lucky Axe"));ID=golden_hoe,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$e$lOld Lucky Hoe")))@luck=1

/ iron lucky tools
group:#rand(1,2):(ID=iron_shovel,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$7$lIron Lucky Shovel"));ID=iron_pickaxe,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$7$lIron Lucky Pickaxe"));ID=iron_axe,NBTTag=(ench=#luckyAxeEnchantments,display=(Name="$7$lIron Lucky Axe"));ID=iron_hoe,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$7$lIron Lucky Hoe")))@luck=1

/ old lucky sword
ID=golden_sword,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$e$lOld Lucky Sword"))@luck=1


/ Lapiz
ID=dye,damage=4,amount=#rand(8,24)@luck=0


/ Mystic Orb
ID=lootplusplus:mystic.mystic_orb,amount=#rand(8,32)@luck=2

/ Limonite
ID=lootplusplus:mystic.limonite_ingot,amount=#rand(8,32)@luck=2

/ Steel
ID=lootplusplus:mystic.steel_ingot,amount=#rand(8,32)@luck=2

/ Minerals of the world
group(ID=iron_ingot,amount=#rand(8,16);ID=gold_ingot,amount=#rand(8,16);ID=diamond,amount=#rand(8,16);ID=emerald,amount=#rand(8,16);ID=dye,damage=4,amount=#rand(8,16);type=entity,ID=FireworksRocketEntity,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag=#randFireworksRocket)),amount=20,posOffset=#circleOffset(0,2))@luck=2

/ Minerals of the nether
group(ID=coal,amount=#rand(8,16);ID=fireball,amount=#rand(8,16);ID=blaze_powder,amount=#rand(8,16);ID=quartz,amount=#rand(8,16);ID=redstone_dust,amount=#rand(8,16);type=entity,ID=FireworksRocketEntity,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag=#randFireworksRocket)),amount=20,posOffset=#circleOffset(0,2))@luck=2

/ Mystic Apples
group(ID=lootplusplus:mystic.mystic_apple,amount=#rand(2,4);ID=lootplusplus:mystic.enchanted_mystic_apple,amount=#rand(2,4))@luck=2

/ Lucky Block Mystic
ID=lucky:lucky_block_mystic,NBTTag=(Luck=#randPosNeg(0,100),display=(Name="$1$lMys$a$ltic $eLucky Block"))@chance=0.2@luck=0

/ Normal Lucky Block
ID=lucky:lucky_block,NBTTag=(Luck=#randPosNeg(0,100),display=(Name="$rLucky Block"))@chance=0.2@luck=0


/ Items Unlucky drops

/ Dirt
ID=dirt,amount=#rand(4,26)@luck=0

/ Ice
ID=ice,amount=#rand(4,26)@luck=0

/ Lava Bucket 
ID=lava_bucket,amount=#rand(4,8)@luck=0

/ Laugh me
ID=red_flower,NBTTag=(display=(Name="$cLaugh me"))@luck=0

/ Rotten Flesh
ID=rotten_flesh@luck=-1

/ Leather Armor
group(ID=leather_helmet;ID=leather_chestplate;ID=leather_leggings;ID=leather_boots)@luck=0

/ Wooden Tools
group(ID=wood_sword;ID=wood_axe;ID=wood_pickaxe;ID=wood_shovel;ID=wood_hoe)@luck=0

/ Become a lucky block to me
ID=mystic_bucket,NBTTag=(display=(Name="$lBecome a lucky block to me"))@luck=-1

/ Red Flower
group(ID=red_flower,damage=#rand(0,8),amount=64)@luck=-1

/===========Towers==========
group(type=command,ID="/gamerule commandBlockOutput false";type=command,ID="/fill ~-2 ~ ~-2 ~2 ~50 ~1 air";type=command,delay=6,ID="/fill ~-2 ~-1 ~-2 ~2 ~10 ~1 air 0 replace barrier";type=command,ID="/setblock ~1 ~-1 ~1 barrier";type=command,ID="/setblock ~2 ~ ~ barrier";type=command,ID="/setblock ~2 ~1 ~-1 barrier";type=command,ID="/setblock ~1 ~2 ~-2 barrier";type=command,ID="/setblock ~ ~3 ~-2 barrier";type=command,ID="/setblock ~-1 ~4 ~-1 barrier";type=command,ID="/setblock ~-1 ~5 ~ barrier";type=command,ID="/setblock ~ ~6 ~1 barrier";type=command,ID="/setblock ~1 ~7 ~ barrier";type=command,ID="/setblock ~ ~8 ~-1 barrier";type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=14),posOffset=(1,5,1);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=1),posOffset=(2,10,0);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=4),posOffset=(2,15,-1);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=5),posOffset=(1,20,-2);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=9),posOffset=(0,25,-2);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=3),posOffset=(-1,30,-1);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=11),posOffset=(-1,35,0);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=10),posOffset=(0,40,1);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=2),posOffset=(1,45,0);type=entity,ID=FallingSand,NBTTag=(Block=lootplusplus:mystic.limonite_block),posOffset=(0,50,-1);type=particle,ID=flame,size=(1,2,1),particleAmount=500,posOffset=(0,10,-1),delay=5.5;type=sound,ID=item.fireCharge.use,posOffset=(0,10,-1),delay=5.5)@luck=1

group(type=command,ID="/gamerule commandBlockOutput false";type=command,ID="/fill ~-2 ~ ~-2 ~2 ~50 ~1 air";type=command,delay=6,ID="/fill ~-2 ~-1 ~-2 ~2 ~10 ~1 air 0 replace barrier";type=command,ID="/setblock ~1 ~-1 ~1 barrier";type=command,ID="/setblock ~2 ~ ~ barrier";type=command,ID="/setblock ~2 ~1 ~-1 barrier";type=command,ID="/setblock ~1 ~2 ~-2 barrier";type=command,ID="/setblock ~ ~3 ~-2 barrier";type=command,ID="/setblock ~-1 ~4 ~-1 barrier";type=command,ID="/setblock ~-1 ~5 ~ barrier";type=command,ID="/setblock ~ ~6 ~1 barrier";type=command,ID="/setblock ~1 ~7 ~ barrier";type=command,ID="/setblock ~ ~8 ~-1 barrier";type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=14),posOffset=(1,5,1);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=1),posOffset=(2,10,0);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=4),posOffset=(2,15,-1);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=5),posOffset=(1,20,-2);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=9),posOffset=(0,25,-2);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=3),posOffset=(-1,30,-1);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=11),posOffset=(-1,35,0);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=10),posOffset=(0,40,1);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=2),posOffset=(1,45,0);type=entity,ID=FallingSand,NBTTag=(Block=lootplusplus:mystic.mystic_block),posOffset=(0,50,-1);type=particle,ID=portal,size=(1,2,1),particleAmount=500,posOffset=(0,10,-1),delay=5.5;type=sound,ID=item.fireCharge.use,posOffset=(0,10,-1),delay=5.5)@luck=1

group(type=command,ID="/gamerule commandBlockOutput false";type=command,ID="/fill ~-2 ~ ~-2 ~2 ~50 ~1 air";type=command,delay=6,ID="/fill ~-2 ~-1 ~-2 ~2 ~10 ~1 air 0 replace barrier";type=command,ID="/setblock ~1 ~-1 ~1 barrier";type=command,ID="/setblock ~2 ~ ~ barrier";type=command,ID="/setblock ~2 ~1 ~-1 barrier";type=command,ID="/setblock ~1 ~2 ~-2 barrier";type=command,ID="/setblock ~ ~3 ~-2 barrier";type=command,ID="/setblock ~-1 ~4 ~-1 barrier";type=command,ID="/setblock ~-1 ~5 ~ barrier";type=command,ID="/setblock ~ ~6 ~1 barrier";type=command,ID="/setblock ~1 ~7 ~ barrier";type=command,ID="/setblock ~ ~8 ~-1 barrier";type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=14),posOffset=(1,5,1);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=1),posOffset=(2,10,0);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=4),posOffset=(2,15,-1);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=5),posOffset=(1,20,-2);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=9),posOffset=(0,25,-2);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=3),posOffset=(-1,30,-1);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=11),posOffset=(-1,35,0);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=10),posOffset=(0,40,1);type=entity,ID=FallingSand,NBTTag=(Block=wool,Data=2),posOffset=(1,45,0);type=entity,ID=FallingSand,NBTTag=(Block=lootplusplus:mystic.steel_block),posOffset=(0,50,-1);type=particle,ID=magicCrit,size=(1,2,1),particleAmount=500,posOffset=(0,10,-1),delay=5.5;type=sound,ID=item.fireCharge.use,posOffset=(0,10,-1),delay=5.5)@luck=1


/===Limonite, Steel===


/ Limonite Sword
ID=lootplusplus:mystic.lquamarine_sword@luck=1

/ Limonite Helmet
ID=lootplusplus:mystic.limonite_helmet@luck=1

/ Limonite Chestplate
ID=lootplusplus:mystic.limonite_chestplate@luck=1

/ Limonite Leggings
ID=lootplusplus:mystic.limonite_leggings@luck=1

/ Limonite Boots
ID=lootplusplus:mystic.limonite_boots@luck=1


/ Steel Sword
ID=lootplusplus:mystic.steel_sword@luck=1

/ Steel Helmet
ID=lootplusplus:mystic.steel_helmet@luck=1

/ Steel Chestplate
ID=lootplusplus:mystic.steel_chestplate@luck=1

/ Steel Leggings
ID=lootplusplus:mystic.steel_leggings@luck=1

/ Steel Boots
ID=lootplusplus:mystic.steel_boots@luck=1

/ lucky items
type=item,ID=lucky:lucky_sword@chance=1.5@luck=2
type=item,ID=lucky:lucky_bow@chance=1.5@luck=2
type=item,ID=lucky:lucky_potion,NBTTag=(Luck=#randList(100,-100)),amount=#rand(10,15)@chance=1.5@luck=2
group(type=item,ID=lucky:lucky_sword;type=item,ID=lucky:lucky_bow;type=item,ID=lucky:lucky_potion,NBTTag=(Luck=#randList(100,-100)),amount=#rand(10,15);type=entity,ID=FireworksRocketEntity,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag=#randFireworksRocket)),amount=20,posOffset=#circleOffset(0,2))@luck=2

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

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

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

/super mystery potions
group:1:(ID=potion,damage=0,NBTTag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lSuper Mystery Potion",Lore=["$7Is it lucky? Or is it not?"]));ID=potion,damage=0,NBTTag=(CustomPotionEffects=#unluckyPotionEffects,display=(Name="$e$lSuper Mystery Potion",Lore=["$7Is it lucky? Or is it not?"])))@luck=0
group:1:(ID=potion,damage=16384,NBTTag=(HideFlags=32,CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lSuper Mystery Potion",Lore=["$7Is it lucky? Or is it not?"]));ID=potion,damage=16384,NBTTag=(HideFlags=32,CustomPotionEffects=#unluckyPotionEffects,display=(Name="$e$lSuper Mystery Potion",Lore=["$7Is it lucky? Or is it not?"])))@luck=0

/mystery potions (less op)
group:1:(ID=potion,damage=0,NBTTag=(CustomPotionEffects=[(Id=6,Amplifier=#rand(0,1)),(Id=#randList(12,13,14,16),Amplifier=0,Duration=#rand(1200,2400)),(Id=#randList(1,3,5,10),Amplifier=#rand(0,1),Duration=#rand(1200,2400)),(Id=#randList(8,11,22,23),Amplifier=#rand(0,1),Duration=#rand(1200,2400))],display=(Name="$e$lLess OP Mystery Potion",Lore=["$7Is it lucky? Or is it not?"]));ID=potion,damage=0,NBTTag=(CustomPotionEffects=[(Id=7,Amplifier=#rand(0,1)),(Id=#randList(9,15),Amplifier=0,Duration=#rand(600,1800)),(Id=#randList(2,17,19),Amplifier=#rand(0,1),Duration=#rand(600,1800)),(Id=#randList(4,18,20),Amplifier=#rand(0,1),Duration=#rand(600,1800))],display=(Name="$e$lLess OP Mystery Potion",Lore=["$7Is it lucky? Or is it not?"])))@luck=0
group:1:(ID=potion,damage=16384,NBTTag=(HideFlags=32,CustomPotionEffects=[(Id=6,Amplifier=#rand(0,1)),(Id=#randList(12,13,14,16),Amplifier=0,Duration=#rand(1200,2400)),(Id=#randList(1,3,5,10),Amplifier=#rand(0,1),Duration=#rand(1200,2400)),(Id=#randList(8,11,22,23),Amplifier=#rand(0,1),Duration=#rand(1200,2400))],display=(Name="$e$lLess OP Mystery Potion",Lore=["$7Is it lucky? Or is it not?"]));ID=potion,damage=16384,NBTTag=(HideFlags=32,CustomPotionEffects=[(Id=7,Amplifier=#rand(0,1)),(Id=#randList(9,15),Amplifier=0,Duration=#rand(600,1800)),(Id=#randList(2,17,19),Amplifier=#rand(0,1),Duration=#rand(600,1800)),(Id=#randList(4,18,20),Amplifier=#rand(0,1),Duration=#rand(600,1800))],display=(Name="$e$lLess OP Mystery Potion",Lore=["$7Is it lucky? Or is it not?"])))@luck=0

/splash me
ID=potion,damage=16459,amount=#rand(1,2),NBTTag=(HideFlags=32,CustomPotionEffects=[(Id=8,Amplifier=79,Duration=200)],display=(Lore=["$7Contains the essence of extreme slime."],Name="$a$lSplash Me"))@luck=0
ID=potion,damage=16386,amount=#rand(1,2),NBTTag=(HideFlags=32,CustomPotionEffects=[(Id=1,Amplifier=79,Duration=200)],display=(Lore=["$7Contains a lot of sugar. Not","$7recommended while on a diet."],Name="$b$lSplash Me"))@luck=1
ID=potion,damage=16388,amount=#rand(1,2),NBTTag=(HideFlags=32,CustomPotionEffects=[(Id=14,Amplifier=0,Duration=200),(Id=15,Amplifier=0,Duration=200),(Id=16,Amplifier=0,Duration=200)],display=(Lore=["$7Made from a root known to make seeing","$7very hard. In every respect..."],Name="$3$lSplash Me"))@luck=0
ID=potion,damage=16426,amount=#rand(1,2),NBTTag=(HideFlags=32,CustomPotionEffects=[(Id=2,Amplifier=7,Duration=400),(Id=8,Amplifier=-5,Duration=400)],display=(Lore=["$7Contains the essence of extreme mud."],Name="$7$lSplash Me"))@luck=0
ID=potion,damage=16393,amount=#rand(1,2),NBTTag=(CustomPotionEffects=[(Id=18,Amplifier=79,Duration=600)],display=(Lore=["","$7Very popular among pacifists."],Name="$5$lSplash Me"))@luck=0
ID=potion,damage=16460,NBTTag=(CustomPotionEffects=[(Id=9,Amplifier=0,Duration=600)],display=(Name="$4$lSplash Me"))@luck=0
ID=potion,damage=16459,NBTTag=(CustomPotionEffects=[(Id=17,Amplifier=19,Duration=600)],display=(Name="$2$lSplash Me"))@luck=0

/don't splash me
ID=potion,damage=16422,amount=1,NBTTag=(HideFlags=32,CustomPotionEffects=[(Id=1,Amplifier=0,Duration=400),(Id=2,Amplifier=0,Duration=400),(Id=3,Amplifier=0,Duration=400),(Id=4,Amplifier=0,Duration=400),(Id=5,Amplifier=0,Duration=400),(Id=8,Amplifier=0,Duration=400),(Id=9,Amplifier=0,Duration=400),(Id=10,Amplifier=0,Duration=400),(Id=11,Amplifier=0,Duration=400),(Id=12,Amplifier=0,Duration=400),(Id=13,Amplifier=0,Duration=400),(Id=14,Amplifier=0,Duration=400),(Id=15,Amplifier=0,Duration=400),(Id=17,Amplifier=2,Duration=400),(Id=18,Amplifier=5,Duration=400),(Id=19,Amplifier=4,Duration=400),(Id=20,Amplifier=4,Duration=400),(Id=21,Amplifier=0,Duration=400),(Id=22,Amplifier=0,Duration=400)],display=(Name="$7$lDon't Splash Me"))@luck=0

/specialized potions
ID=potion,damage=16430,NBTTag=(CustomPotionEffects=[(Id=14,Amplifier=0,Duration=2400),(Id=5,Amplifier=0,Duration=2400),(Id=1,Amplifier=1,Duration=2400)],display=(Name="$8$lThe Ultimate Blur"))@luck=1
ID=potion,damage=16430,NBTTag=(CustomPotionEffects=[(Id=21,Amplifier=1,Duration=2400),(Id=22,Amplifier=0,Duration=2400),(Id=11,Amplifier=0,Duration=2400)],display=(Name="$8$lThe Ultimate Tank"))@luck=1
ID=potion,damage=16430,NBTTag=(CustomPotionEffects=[(Id=1,Amplifier=2,Duration=2400),(Id=8,Amplifier=4,Duration=2400),(Id=3,Amplifier=3,Duration=2400)],display=(Name="$8$lThe Ultimate Escapist"))@luck=1
ID=potion,damage=16430,NBTTag=(CustomPotionEffects=[(Id=12,Amplifier=0,Duration=2400),(Id=13,Amplifier=0,Duration=2400),(Id=16,Amplifier=0,Duration=2400)],display=(Name="$8$lThe Ultimate Survivalist"))@luck=1

/other potions
ID=potion,amount=#rand(1,5),damage=8261,NBTTag=(HideFlags=32,CustomPotionEffects=[(Id=23,Amplifier=0,Duration=20),(Id=6,Amplifier=1,Duration=1)],display=(Lore=["$7Healthy and nutritious!"],Name="$c$lSweet Strawberry Milkshake"))@luck=1
ID=potion,damage=16453,NBTTag=(CustomPotionEffects=[(Id=10,Amplifier=3,Duration=200),(Id=9,Amplifier=0,Duration=200)],display=(Name="$c$lEmergency Health",Lore=["$rForces you to heal so fast","$ryou feel sick."]))@luck=1
ID=potion,damage=8227,NBTTag=(CustomPotionEffects=[(Id=22,Amplifier=4,Duration=1200)],display=(Name="$e$lShielding"))@luck=1

/make it count pickaxe
type=entity,ID=Item,NBTTag=(CustomName="$eMake it Count",CustomNameVisible=true,Item=(Count=1,id=diamond_pickaxe,Damage=1560,tag=(ench=[(id=35,lvl=100)],display=(Name="$e$lMake it Count"),RepairCost=1000)))@luck=1

/flesh of DOOM
type=entity,ID=Item,NBTTag=(CustomName="$cFlesh of DOOM",CustomNameVisible=true,Item=(Count=1,id=rotten_flesh,tag=(display=(Name="$c$lFlesh of DOOM"),ench=#luckySwordEnchantments)))@luck=-1

/===Normal drops minecraft===



/ Golden Axe + Golden Hoe
group(ID=golden_axe;ID=golden_hoe)@luck=0


/ Golden Axe + Golden Pickaxe
group(ID=golden_axe;ID=golden_pickaxe)@luck=0


/ Diamond Sword + Diamond Axe
group(ID=diamond_sword;ID=diamond_axe)@luck=0


/ Diamond Axe + Diamond Pickaxe
group(ID=diamond_axe;ID=diamond_pickaxe)@luck=0


/ Wooden Tools
group(ID=wooden_sword;ID=wooden_shovel;ID=wooden_pickaxe;ID=wooden_axe;ID=wooden_hoe)@luck=0


/ Stone Tools
group(ID=stone_sword;ID=stone_shovel;ID=stone_pickaxe;ID=stone_axe;ID=stone_hoe)@luck=0

/ Golden Tools
group(ID=golden_sword;ID=golden_shovel;ID=golden_pickaxe;ID=golden_axe;ID=golden_hoe)@luck=0


/ Iron Tools
group:#rand(2,3):(ID=iron_shovel;ID=iron_pickaxe;ID=iron_axe;ID=iron_sword;ID=iron_hoe)@luck=0

/ Diamond Tools
group:#rand(1,2):(ID=diamond_sword;ID=diamond_shovel;ID=diamond_pickaxe;ID=diamond_axe;ID=diamond_hoe)@luck=0

/ Bow + Arrows 
group(ID=bow;ID=arrow,amount=#rand(16,32))@luck=0


/ Armors

/ Golden Armor
group(ID=golden_helmet;ID=golden_chestplate;ID=golden_leggings;ID=golden_boots;ID=golden_horse_armor)@luck=0
/ Chainmail Armor
group:#rand(2,3):(ID=chainmail_helmet;ID=chainmail_chestplate;ID=chainmail_leggings;ID=chainmail_boots)@luck=0

/ Iron Armor
group:#rand(2,3):(ID=iron_helmet;ID=iron_chestplate;ID=iron_leggings;ID=iron_boots;ID=iron_horse_armor)@luck=0

/ Diamond Armor
group:#rand(1,2):(ID=diamond_helmet;ID=diamond_chestplate;ID=diamond_leggings;ID=diamond_boots;ID=diamond_horse_armor)@luck=0

/ Horse Armor
group(ID=iron_horse_armor;ID=golden_horse_armor;ID=diamond_horse_armor)@luck=0

/ Items and Blocks 

/ Redston
group(ID=dispenser,amount=2;ID=noteblock,amount=1;ID=sticky_piston,amount=4;ID=piston,amount=4;ID=tnt,amount=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=iron_trapdoor,amount=2;ID=fence_gate,amount=1;ID=redstone_lamp,amount=4;ID=tripwire_hook,amount=2;ID=wooden_button,amount=2;ID=light_weighted_pressure_plate,amount=1;ID=heavy_weighted_pressure_plate,amount=1;ID=daylight_detector,amount=1;ID=hopper,amount=4;ID=dropper,amount=#rand(2,4);ID=wooden_door,amount=1;ID=iron_door,amount=1;ID=redstone,amount=#rand(32,64);ID=repeater,amount=8;ID=comparator,amount=2;type=particle,ID=2002,damage=9)@luck=0

/ prismarine
group(ID=prismarine,amount=#rand(4,8);ID=prismarine,damage=1,amount=#rand(4,8);ID=prismarine,damage=2,amount=#rand(4,8);ID=sea_lantern,amount=#rand(4,8);ID=prismarine_shard,amount=#rand(15,30);type=particle,ID=2002,damage=14)@luck=0

/ Balls
group(ID=snowball,amount=#rand(4,8);ID=slimeball,amount=#rand(4,8);ID=magma_cream,amount=#rand(4,8);ID=ender_pearl,amount=#rand(4,8);ID=ender_eye,amount=#rand(15,30);type=particle,ID="angryVillager",damage=20)@luck=0

/ Golden Apple
group(ID=golden_apple,amount=#rand(2,4);ID=golden_apple,amount=#rand(1,2),damage=1)@luck=0

/ Sponge
ID=sponge@luck=0

/ TNT
ID=tnt,amount=8@luck=0

/ Obsidian
ID=obsidian,amount=14@luck=0

/ Enchanting Table
ID=enchanting_table@luck=0

/ End Portal
ID=end_portal_frame,amount=#rand(2,6)@luck=0

/ Dragon Egg
ID=dragon_egg@luck=0

/ Ender Chest
ID=ender_chest,amount=2@luck=0

/ Beacon
ID=beacon@luck=1

/ Dropper
ID=dropper,amount=8@luck=0

/ Hay Block
ID=hay_block,amount=8@luck=0

/ Spawn Eggs
ID=spawn_egg,damage=#randSpawnEggDamage,amount=#rand(4,8)@luck=0

/ Skulls
ID=skull,damage=#rand(0,4),amount=#rand(1,3)@luck=0

/ Fishing Rod
group(ID=fishing_rod;ID=349,damage=#rand(0,3),amount=#rand(10,20))@luck=0

/ Quartz
group(ID=stone_slab,damage=7,amount=#rand(4,8);ID=quartz_ore,amount=#rand(16,32);ID=quartz_block,amount=#rand(4,8);ID=quartz_block,damage=1,amount=#rand(4,8);ID=quartz_block,damage=2,amount=#rand(4,8);ID=quartz_stairs,amount=#rand(4,8);ID=quartz,amount=#rand(24,32);type=particle,ID=2002,damage=14)@luck=0


/===Enchanted Armor===

/ Quicksilver Sword
type=entity,ID=Item,NBTTag=(CustomName="$b$lQuicksilver Iron Sword",CustomNameVisible=true,Item=(Count=1,id="iron_sword",tag=(Unbreakable=true,ench=#luckySwordEnchantments,display=(Name="$b$lQuicksilver Iron Sword"),AttributeModifiers=[(AttributeName=generic.movementSpeed,Name="fast",Amount=0.4f,Operation=1,UUIDLeast=2,UUIDMost=2)])))@luck=2

/ Quicksilver Iron Helmet
type=entity,ID=Item,NBTTag=(CustomName="$b$lQuicksilver Iron Helmet",CustomNameVisible=true,Item=(Count=1,id="iron_helmet",tag=(Unbreakable=true,ench=#luckyHelmetEnchantments,display=(Name="$b$lQuicksilver Iron Helmet"),AttributeModifiers=[(AttributeName=generic.movementSpeed,Name="fast",Amount=0.4f,Operation=1,UUIDLeast=2,UUIDMost=2)])))@luck=2

/ Quicksilver Iron Chestplate
type=entity,ID=Item,NBTTag=(CustomName="$b$lQuicksilver Iron Chestplate",CustomNameVisible=true,Item=(Count=1,id="iron_chestplate",tag=(Unbreakable=true,ench=#luckyChestplateEnchantments,display=(Name="$b$lQuicksilver Iron Chestplate"),AttributeModifiers=[(AttributeName=generic.movementSpeed,Name="fast",Amount=0.4f,Operation=1,UUIDLeast=2,UUIDMost=2)])))@luck=2

/ Quicksilver Iron Leggings
type=entity,ID=Item,NBTTag=(CustomName="$b$lQuicksilver Iron Leggings",CustomNameVisible=true,Item=(Count=1,id="iron_leggings",tag=(Unbreakable=true,ench=#luckyLeggingsEnchantments,display=(Name="$b$lQuicksilver Iron Leggings"),AttributeModifiers=[(AttributeName=generic.movementSpeed,Name="fast",Amount=0.4f,Operation=1,UUIDLeast=2,UUIDMost=2)])))@luck=2

/ Quicksilver Iron Boots
type=entity,ID=Item,NBTTag=(CustomName="$b$lQuicksilver Iron Boots",CustomNameVisible=true,Item=(Count=1,id="iron_boots",tag=(Unbreakable=true,ench=#luckyBootsEnchantments,display=(Name="$b$lQuicksilver Iron Boots"),AttributeModifiers=[(AttributeName=generic.movementSpeed,Name="fast",Amount=0.4f,Operation=1,UUIDLeast=2,UUIDMost=2)])))@luck=2


/ Antinockback and Sword

/ Antinockback Helmet
type=entity,ID=Item,NBTTag=(CustomName="$8$lAntinockback Helmet",CustomNameVisible=true,Item=(Count=1,id="diamond_helmet",tag=(Unbreakable=true,ench=#luckyHelmetEnchantments,display=(Name="$8$lAntinockback Helmet"),AttributeModifiers=[(AttributeName="generic.knockbackResistance",Name="generic.knockbackResistance",Amount=1D,Operation=0,UUIDLeast=894654,UUIDMost=2872)])))@luck=2

/ Antinockback Chestplate
type=entity,ID=Item,NBTTag=(CustomName="$8$lAntinockback Chestplate",CustomNameVisible=true,Item=(Count=1,id="diamond_chestplate",tag=(Unbreakable=true,ench=#luckyChestplateEnchantments,display=(Name="$8$lAntinockback Chestplate"),AttributeModifiers=[(AttributeName="generic.knockbackResistance",Name="generic.knockbackResistance",Amount=1D,Operation=0,UUIDLeast=894654,UUIDMost=2872)])))@luck=2

/ Antinockback leggings
type=entity,ID=Item,NBTTag=(CustomName="$8$lAntinockback Leggings",CustomNameVisible=true,Item=(Count=1,id="diamond_leggings",tag=(Unbreakable=true,ench=#luckyLeggingsEnchantments,display=(Name="$8$lAntinockback Leggings"),AttributeModifiers=[(AttributeName="generic.knockbackResistance",Name="generic.knockbackResistance",Amount=1D,Operation=0,UUIDLeast=894654,UUIDMost=2872)])))@luck=2

/ Antinockback Boots
type=entity,ID=Item,NBTTag=(CustomName="$8$lAntinockback Boots",CustomNameVisible=true,Item=(Count=1,id="diamond_boots",tag=(Unbreakable=true,ench=#luckyBootsEnchantments,display=(Name="$8$lAntinockback Boots"),AttributeModifiers=[(AttributeName="generic.knockbackResistance",Name="generic.knockbackResistance",Amount=1D,Operation=0,UUIDLeast=894654,UUIDMost=2872)])))@luck=2

/ Antinockback Sword
type=entity,ID=Item,NBTTag=(CustomName="$8$lAntinockback Sword",CustomNameVisible=true,Item=(Count=1,id="diamond_sword",tag=(Unbreakable=true,ench=#luckySwordEnchantments,display=(Name="$8$lAntinockback Sword"),AttributeModifiers=[(AttributeName="generic.knockbackResistance",Name="generic.knockbackResistance",Amount=1D,Operation=0,UUIDLeast=894654,UUIDMost=2872)])))@luck=2


/===Structures===
/ traps
type=structure,ID=sand_trap,pos=#pPos,rotation=#pDirect@luck=-2

/ barrier problem
type=structure,ID=barrier_problem,rotation=#pDirect@luck=-1

/ Anvil
type=structure,ID=anvil_trap,pos=#pPos,rotation=#pDirect@luck=-1

/ Lava Trap
type=structure,ID=lava_trap,pos=#pPos,rotation=#pDirect@luck=-1

/ Mystic Trap
type=structure,ID=mystic_trap,pos=#pPos@luck=-1

/ Pit Trap
type=structure,ID=pit_trap,pos=#pPos@luck=-1
/ lucky fort and temple
type=structure,ID=lucky_fort,pos=#pPos@luck=2
type=structure,ID=lucky_temple,pos=#pPos@luck=2

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

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

/ choice of 2 lucky blocks
group:1:(type=structure,ID=lucky_choice_left,rotation=#pDirect;type=structure,ID=lucky_choice_right,rotation=#pDirect)@luck=0

/ Mystic Block
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=lootplusplus:mystic.mystic_block);type=particle,ID=splash,size=(1,2,1),particleAmount=500,delay=2;type=particle,ID=happyVillager,size=(1,2,1),particleAmount=500,delay=2;type=sound,ID=dig.grass,delay=2)@luck=1

/ Limonite Block
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=lootplusplus:mystic.limonite_block);type=particle,ID=dripLava,size=(1,2,1),particleAmount=500,delay=2;type=sound,ID=dig.grass,delay=2)@luck=1

/ Steel Block
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=lootplusplus:mystic.steel_block);type=particle,ID=cloud,size=(1,2,1),particleAmount=500,delay=2;type=sound,ID=dig.grass,delay=2)@luck=1


/ lucky forts and temples
type=structure,ID=mystic_neutral_fort,pos=#pPos@luck=1
type=structure,ID=mystic_lucky_fort,pos=#pPos@chance=0.5@luck=2
type=structure,ID=mystic_unlucky_fort,pos=#pPos@luck=-1
type=structure,ID=mystic_neutral_temple,pos=#pPos@chance=0.6@luck=1
type=structure,ID=mystic_lucky_temple,pos=#pPos@chance=0.4@luck=2
type=structure,ID=mystic_unlucky_temple,pos=#pPos@luck=-1


/ Mystic holes
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$bYour wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=FireworksRocketEntity,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag='#'randFireworksRocket)),amount=20,posY='#'bPosY+3,posOffset='#'circleOffset(2);ID=gold_ingot,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=diamond,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=emerald,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=dye,damage=4,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$eYour wish came true! (If you like potatoes)\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=potato,amount=128,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=baked_potato,amount=64,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=poisonous_potato,amount=32,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=1
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$4Your death wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=PrimedTnt,NBTTag=(Fuse=50b,Motion='#'randLaunchMotion),posY='#'bPosY+7,amount=20)"]))@luck=-2
group(type=structure,ID=wishing_well;type=message,ID="This is a mystic well? Maybe you should throw in a coin...";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_mystic,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$1$lYo$a$lur $1$lwi$a$lsh $1$lca$a$lme $1$ltr$a$lue!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=lootplusplus:mystic.enchanted_mystic_apple,amount=16,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=lootplusplus:mystic.mystic_apple,amount=32,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=lootplusplus:mystic.mystic_orb,amount=40,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2

/ chests
type=block,ID=chest,tileEntity=(Items=#chestVillageBlacksmith)@luck=0

type=block,ID=chest,tileEntity=(Items=#chestBonusChest)@luck=1

type=block,ID=chest,tileEntity=(Items=#chestDungeonChest)@luck=1

/ bouncing castle
type=structure,ID=bouncing_castle,pos=#pPos,rotation=#pDirect

/ giant lucky blocks
type=structure,ID=giant_lucky_block_good,rotation=#pDirect@luck=2
type=structure,ID=giant_lucky_block_bad,rotation=#pDirect@luck=-2

/ Falling blocks (iron, gold, diamond, emerald)

/ Diamond block
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=diamond_block);type=entity,ID=LightningBolt)@luck=1

/ Emerald block
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=emerald_block);type=particle,ID=happyVillager,size=(1,2,1),particleAmount=500;type=sound,ID=dig.grass)@luck=0

/ Lapis block
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=lapis_block);type=particle,ID=splash,size=(1,2,1),particleAmount=1000;type=sound,ID=game.neutral.swim.splash)@luck=0

/ Gold block
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=gold_block);type=particle,ID=flame,size=(1,2,1),particleAmount=500;type=sound,ID=item.fireCharge.use)@luck=0

/ Iron block
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=FallingSand,posY=#bPosY+7,NBTTag=(Block=iron_block);type=particle,ID=largesmoke,size=(1,2,1),particleAmount=500;type=sound,ID=random.fizz)@luck=0

/ Colorful pole
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;type=entity,ID=LightningBolt,posY=#bPosY+10,delay=5.3)@luck=1

/ Blocks
group(type=difficulty,ID=hard;type=entity,ID=FallingSand,amount=5,posY=#bPosY+5,NBTTag=(Block=lootplusplus:mystic.mystic_block,Time=1,Riding=(id=Guardian,Silent=true,ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)])))@luck=1

group(type=difficulty,ID=hard;type=entity,ID=FallingSand,amount=5,posY=#bPosY+5,NBTTag=(Block=lootplusplus:mystic.steel_block,Time=1,Riding=(id=LavaSlime,Silent=true,ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)])))@luck=1

group(type=difficulty,ID=hard;type=entity,ID=FallingSand,amount=5,posY=#bPosY+5,NBTTag=(Block=lootplusplus:mystic.limonite_block,Time=1,Riding=(id=Blaze,Silent=true,ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)])))@luck=1

/ Baby player
type=entity,ID=ArmorStand,NBTTag=(Small=true,NoBasePlate=true,ShowArms=true,Equipment=[(id=lootplusplus:mystic.mystic_gem,Count=1),(id=leather_boots,Count=1,tag=(display=(color=#rand(0,16777215)))),(id=leather_leggings,Count=1,tag=(display=(color=#rand(0,16777215)))),(id=leather_chestplate,Count=1,tag=(display=(color=#rand(0,16777215)))),(id=skull,Damage=3,Count=1,tag=(SkullOwner=#pName))],Rotation=[#pYaw+180f,0f],CustomName="Baby #pName",CustomNameVisible=true)@luck=1

/ tnt pole
group(type=fill,ID=air,size=(1,51,1);type=entity,ID=FallingSand,NBTTag=(Block=redstone_block),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=tnt))@luck=-1

/===Mobs===

/ Lucky Villagers
type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(20,25)),sell=(id=diamond_sword,Count=1,tag=(ench=#luckySwordEnchantments,display=(Name="$e$lLucky Sword"))),maxUses=1),(buy=(id=diamond,Count=#rand(20,25)),sell=(id=bow,Count=1,tag=(ench=#luckyBowEnchantments,display=(Name="$e$lLucky Bow"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=fishing_rod,Count=1,tag=(ench=#luckyFishingRodEnchantments,display=(Name="$e$lLucky Fishing Rod"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=potion,Damage=8195,Count=1,tag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lLucky Potion"))),maxUses=1),(buy=(id=diamond,Count=#rand(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=#rand(10,15)),sell=(id=diamond_shovel,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$e$lLucky Shovel"))),maxUses=1),(buy=(id=diamond,Count=#rand(15,20)),sell=(id=diamond_pickaxe,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$e$lLucky Pickaxe"))),maxUses=1),(buy=(id=diamond,Count=#rand(15,20)),sell=(id=diamond_axe,Count=1,tag=(ench=#luckyAxeEnchantments,display=(Name="$e$lLucky Axe"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=diamond_hoe,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$e$lLucky Hoe"))),maxUses=1)]),CustomName="$e$lLucky Villager",CustomNameVisible=true)@luck=1
type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(12,17)),sell=(id=diamond_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments,display=(Name="$e$lLucky Helmet"))),maxUses=1),(buy=(id=diamond,Count=#rand(20,25)),sell=(id=diamond_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments,display=(Name="$e$lLucky Chestplate"))),maxUses=1),(buy=(id=diamond,Count=#rand(15,20)),sell=(id=diamond_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments,display=(Name="$e$lLucky Leggings"))),maxUses=1),(buy=(id=diamond,Count=#rand(12,17)),sell=(id=diamond_boots,Count=1,tag=(ench=#luckyBootsEnchantments,display=(Name="$e$lLucky Boots"))),maxUses=1)]),CustomName="$e$lLucky Villager",CustomNameVisible=true)@luck=1


/ Mystic Lucky Villagers
type=entity,ID=lootplusplus.ThrownItem,NBTTag=(ItemThrown=lootplusplus:mystic.mystic_orb,CustomName="$1$lMys$a$ltic $eLucky Villager",CustomNameVisible=true,Riding=(id=Villager,Offers=(Recipes=[(buy=(id=diamond,Count=#rand(20,25)),sell=(id=lootplusplus:mystic.mystic_sword,Count=1,tag=(ench=#luckyAxeEnchantments,display=(Lore=["","$9Purchased from a Villager"],Name="$1$lMys$a$ltic $eLucky $1$lSwo$a$lrd"),Unbreakable=true)),maxUses=1),(buy=(id=diamond,Count=#rand(20,25)),sell=(id=lootplusplus:mystic.mystic_bow,Count=1,tag=(ench=[(id=34,lvl=3),(id=48,lvl=4),(id=49,lvl=2),(id=51,lvl=1)],display=(Lore=["","$9Purchased from a Villager"],Name="$1$lMys$a$ltic $eLucky $1$lBo$a$lw"),Unbreakable=true)),maxUses=1),(buy=(id=diamond,Count=#rand(1,1)),sell=(id=fishing_rod,Count=1,tag=(ench=#luckyFishingRodEnchantments,display=(Lore=["","$9Purchased from a Villager"],Name="$1$lMys$a$ltic $eFishing Rod"),Unbreakable=true)),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=potioncore:custom_potion,Count=1,tag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="$1$lMys$a$ltic $ePotion",color=37017))),maxUses=1),(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potioncore:custom_potion,Damage=1,Count=1,tag=(CustomPotionEffects=#unluckyPotionEffects,display=(Name="$4$lDestructive $ePotion",color=14548992))),maxUses=1)]),Profession=6,CustomName="$1$lMys$a$ltic $eLucky Villager",Career=1,CareerLevel=100))@luck=2

type=entity,ID=lootplusplus.ThrownItem,NBTTag=(ItemThrown=lootplusplus:mystic.mystic_orb,CustomName="$1$lMys$a$ltic $eLucky Villager",CustomNameVisible=true,Riding=(id=Villager,Offers=(Recipes=[(buy=(id=diamond,Count=#rand(12,17)),sell=(id=lootplusplus:mystic.mystic_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments,display=(Lore=["","$9Purchased from a Villager"],Name="$1$lMys$a$ltic $eLucky $1$lHel$a$lmet"),Unbreakable=true)),maxUses=1),(buy=(id=diamond,Count=#rand(20,25)),sell=(id=lootplusplus:mystic.mystic_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments,display=(Lore=["","$9Purchased from a Villager"],Name="$1$lMys$a$ltic Lucky $1$lChest$a$lplate"),Unbreakable=true)),maxUses=1),(buy=(id=diamond,Count=#rand(15,20)),sell=(id=lootplusplus:mystic.mystic_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments,display=(Lore=["","$9Purchased from a Villager"],Name="$1$lMys$a$ltic $eLucky $1$lLegg$a$lings"),Unbreakable=true)),maxUses=1),(buy=(id=diamond,Count=#rand(12,17)),sell=(id=lootplusplus:mystic.mystic_boots,Count=1,tag=(ench=#luckyBootsEnchantments,display=(Lore=["","$9Purchased from a Villager"],Name="$1$lMys$a$ltic $eLucky $1$lBo$a$lots"),Unbreakable=true)),maxUses=1)]),Profession=6,CustomName="$1$lMys$a$ltic $eLucky Villager",Career=1,CareerLevel=100))@luck=2

type=entity,ID=lootplusplus.ThrownItem,NBTTag=(ItemThrown=lootplusplus:mystic.mystic_orb,CustomName="$1$lMys$a$ltic $eLucky Villager",CustomNameVisible=true,Riding=(id=Villager,Offers=(Recipes=[(buy=(id=diamond,Count=#rand(10,15)),sell=(id=lootplusplus:mystic.mystic_shovel,Count=1,tag=(ench=#luckyAxeEnchantments,display=(Lore=["","$9Purchased from a Villager"],Name="$1$lMys$a$ltic $eLucky $1$lSho$a$lvel"),Unbreakable=true)),maxUses=1),(buy=(id=diamond,Count=#rand(15,20)),sell=(id=lootplusplus:mystic.mystic_pickaxe,Count=1,tag=(ench=#luckyAxeEnchantments,display=(Lore=["","$9Purchased from a Villager"],Name="$1$lMys$a$ltic $eLucky $1$lPick$a$laxe"),Unbreakable=true)),maxUses=1),(buy=(id=diamond,Count=#rand(15,20)),sell=(id=lootplusplus:mystic.mystic_axe,Count=1,tag=(ench=#luckyAxeEnchantments,display=(Lore=["","$9Purchased from a Villager"],Name="$1$lMys$a$ltic $eLucky $1$lAx$a$le"),Unbreakable=true)),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=lootplusplus:mystic.mystic_hoe,Count=1,tag=(ench=#luckyAxeEnchantments,display=(Lore=["","$9Purchased from a Villager"],Name="$1$lMys$a$ltic $eLucky $1$lHo$a$le"),Unbreakable=true)),maxUses=1)]),Profession=6,CustomName="$1$lMys$a$ltic $eLucky Villager",Career=1,CareerLevel=100))@luck=2

/ Mystic Master 
group(type=difficulty,ID=hard;type=entity,ID=lootplusplus.ThrownItem,NBTTag=(ItemThrown=lootplusplus:mystic.mystic_orb,CustomName="$1$lMys$a$ltic $eMaster",CustomNameVisible=true,Riding=(id=Zombie,Attributes=[(Name=generic.maxHealth,Base=90f)],CustomName="$1$lMys$a$ltic $eMaster",Equipment=[(id=lootplusplus:mystic.mystic_sword,Count=1,tag=(display=(Lore=["","$9Found by #pName","$9Dropped by $1$lMys$a$ltic $eMaster"],Name="$1$lMys$a$ltic $eLucky $1$lSwo$a$lrd"),ench=#luckySwordEnchantments,Unbreakable=true)),(id=lootplusplus:mystic.mystic_helmet,Count=1,tag=(display=(Lore=["","$9Found by #pName","$9Dropped by $1$lMys$a$ltic $eMaster"],Name="$1$lMys$a$ltic $eLucky $1$lHel$a$lmet"),ench=#luckyHelmetEnchantments,Unbreakable=true)),(id=lootplusplus:mystic.mystic_leggings,Count=1,tag=(display=(Lore=["","$9Found by #pName","$9Dropped by $1$lMys$a$ltic $eMaster"],Name="$1$lMys$a$ltic Lucky Leggings"),ench=#luckyLeggingsEnchantments,Unbreakable=true)),(id=lootplusplus:mystic.mystic_chestplate,Count=1,tag=(display=(Lore=["$7Touch of the Diver","Resistance","$9Found by #pName","$9Dropped by Mystic Master"],Name="$1$lMys$a$ltic $eLucky $1$lChest$a$lplate"),ench=#luckyChestplateEnchantments,Unbreakable=true)),(id=lootplusplus:mystic.mystic_boots,Count=1,tag=(display=(Lore=["","$9Found by #pName","$9Dropped by $1$lMys$a$ltic $eMaster"],Name="$1$lMys$a$ltic $eLucky $1$lBo$a$lots"),ench=#luckyBootsEnchantments,Unbreakable=true))],DropChances=[#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f])))@luck=-1

/ Mystic Wander
group(type=difficulty,ID=hard;type=entity,ID=lootplusplus.ThrownItem,NBTTag=(ItemThrown=lootplusplus:mystic.mystic_orb,CustomName="$1$lMys$a$ltic $eWander",CustomNameVisible=true,Riding=(id=Skeleton,SkeletonType=1,Attributes=[(Name=generic.maxHealth,Base=90f)],CustomName="$1$lMys$a$ltic $eWander",Equipment=[(id=lootplusplus:mystic.mystic_hoe,Count=1,tag=(,display=(Lore=["","$9Found by #pName","$9Dropped by $1$lMys$a$ltic $eWander"],Name="$1$lMys$a$ltic Lucky Hoe"),ench=#luckyAxeEnchantments,Unbreakable=true)),(id=lootplusplus:mystic.mystic_helmet,Count=1,tag=(display=(Lore=["","$9Found by #pName","$9Dropped by $1$lMys$a$ltic $eWander"],Name="$1$lMys$a$ltic $eLucky $1$lHel$a$lmet"),ench=#luckyHelmetEnchantments,Unbreakable=true)),(id=lootplusplus:mystic.mystic_leggings,Count=1,tag=(display=(Lore=["","$9Found by #pName","$9Dropped by $1$lMys$a$ltic $eWander"],Name="$1$lMys$a$ltic $eLucky $1$lLegg$a$lings"),ench=#luckyLeggingsEnchantments,Unbreakable=true)),(id=lootplusplus:mystic.mystic_chestplate,Count=1,tag=(display=(Lore=["","$9Found by #pName","$9Dropped by $1$lMys$a$ltic $eWander"],Name="$1$lMys$a$ltic $eLucky $1$lChest$a$lplate"),ench=#luckyChestplateEnchantments,Unbreakable=true)),(id=lootplusplus:mystic.mystic_boots,Count=1,tag=(display=(Lore=["","$9Found by #pName","$9Dropped by $1$lMys$a$ltic $eWander"],Name="$1$lMys$a$ltic $eLucky $1$lBo$a$lots"),ench=#luckyBootsEnchantments,Unbreakable=true))],DropChances=[#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f])))@luck=-1

/ Steel Warrior
group(type=difficulty,ID=hard;type=entity,ID=lootplusplus.ThrownItem,NBTTag=(ItemThrown=lootplusplus:mystic.mystic_orb,CustomName="$8$lSteel Warrior",CustomNameVisible=true,Riding=(id=PigZombie,Attributes=[(Name=generic.maxHealth,Base=30f)],CustomName="$8$lSteel Warrior",Equipment=[(id=lootplusplus:mystic.steel_sword,Count=1),(id=lootplusplus:mystic.steel_boots,Count=1),(id=lootplusplus:mystic.steel_leggings,Count=1),(id=lootplusplus:mystic.steel_chestplate,Count=1),(id=lootplusplus:mystic.steel_helmet,Count=1)],DropChances=[#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f])))@luck=-1

/ Limonite Warrior
group(type=difficulty,ID=hard;type=entity,ID=lootplusplus.ThrownItem,NBTTag=(ItemThrown=lootplusplus:mystic.mystic_orb,CustomName="$6$lLimonite Warrior",CustomNameVisible=true,Riding=(id=PigZombie,Attributes=[(Name=generic.maxHealth,Base=30f)],CustomName="$6$lLimonite Warrior",Equipment=[(id=lootplusplus:mystic.limonite_sword,Count=1),(id=lootplusplus:mystic.limonite_boots,Count=1),(id=lootplusplus:mystic.limonite_leggings,Count=1),(id=lootplusplus:mystic.limonite_chestplate,Count=1),(id=lootplusplus:mystic.limonite_helmet,Count=1)],DropChances=[#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f,#randList(0,0,0,2)f])))@luck=-1

/ eggs + mystic gem
group(type=entity,ID=ThrownEgg,NBTTag=(Motion=#randLaunchMotion(0.6,15)),amount=40;type=entity,ID=Item,NBTTag=(Item=(id=lootplusplus:mystic.mystic_gem,Count=1),Motion=#randLaunchMotion(0.7,18)),amount=8)@luck=2


/ eggs + limonite
group(type=entity,ID=ThrownEgg,NBTTag=(Motion=#randLaunchMotion(0.6,15)),amount=40;type=entity,ID=Item,NBTTag=(Item=(id=lootplusplus:mystic.limonite_ingot,Count=1),Motion=#randLaunchMotion(0.7,18)),amount=12)@luck=2


/ eggs + steel
group(type=entity,ID=ThrownEgg,NBTTag=(Motion=#randLaunchMotion(0.6,15)),amount=40;type=entity,ID=Item,NBTTag=(Item=(id=lootplusplus:mystic.steel_ingot,Count=1),Motion=#randLaunchMotion(0.7,18)),amount=10)@luck=2


/ Zombies, creepers, spiders & cave spiders, silverfish & endermites, guardians
group:1:(type=entity,ID=Zombie,amount=#rand(20,50);type=entity,ID=Creeper,amount=#rand(10,30);group(type=entity,ID=Spider,amount=#rand(15,45);type=entity,ID=CaveSpider,amount=#rand(5,10));group(type=entity,ID=Silverfish,amount=#rand(15,45);type=entity,ID=Endermite,amount=#rand(5,10));type=entity,ID=Guardian,amount=#rand(10,30)@luck=-2

/ Inverted Guardians
group(type=difficulty,ID=hard;type=entity,ID=Guardian,amount=10,NBTTag=(CustomName="Dinnerbone",CustomNameVisible=true))@luck=-1

/ nether portal with blazes
group(type=structure,ID=portal;type=command,ID=\"/playsound portal.travel @a ~ ~ ~ 2.0 1.0\";type=entity,ID=Blaze,amount=#rand(5,8),posY=#bPosY+5,posOffset=#circleOffset(4))@luck=1

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

/ Mobs with lightning strike
group(type=difficulty,ID=hard;type=entity,ID=LightningBolt,delay=#rand(0,1.5);type=entity,ID=#randList(Creeper,Pig,Villager))@luck=-1

/ launched tnt
type=entity,ID=PrimedTnt,NBTTag=(Fuse=50b,Motion=#randLaunchMotion),amount=15@luck=-1

/ Elder Guardian
group(type=difficulty,ID=hard;type=entity,ID=Guardian,NBTTag=(Elder=1)))@luck=-1

/ wither
group(type=difficulty,ID=hard;type=entity,ID=WitherBoss)@luck=-2

/ ghast
group(type=difficulty,ID=hard;type=entity,ID=Ghast)@luck=-1

/ Horses
type=entity,ID=EntityHorse,amount=12,posOffset=#circleOffset(4),NBTTag=(Type=#rand(0,4),Tame=true)@luck=1

/ Ultra Wither
group(type=difficulty,ID=hard;type=entity,ID=WitherBoss,NBTTag=(CustomName="$4$lX$d$lUltra Wither$4$lX",CustomNameVisible=true,Attributes=[(Name=generic.maxHealth,Base=500000D)]))@chance=0.5@luck=-2

/ Entity303
group(type=command,ID="/title @a title {text:\"WARNING\",color:dark_red}";type=command,ID="/title @a subtitle {text:\"Entity303 has been summoned!\",color:red}";type=message,ID="$eEntity303 joined the game";type=difficulty,ID=hard;type=entity,ID=Zombie,NBTTag=(IsBaby=0b,Equipment=[(id=lootplusplus:mystic.steel_sword,Count=1,Damage=0,tag=(display=(Name="$4Entity303's Sword",Lore=["They carry evil marks."]),AttributeModifiers=[(Name="generic.attackDamage",UUIDLeast=187029,Amount=15,Operation=0,UUIDMost=33347,AttributeName="generic.attackDamage")],ench=[(id=20,lvl=5),(id=34,lvl=10)])),(id=lootplusplus:mystic.steel_boots,Count=1,Damage=0,tag=(display=(Name="$4Entity303's Boots",Lore=["They carry evil marks."]),ench=[(id=0,lvl=6),(id=34,lvl=10)])),(id=lootplusplus:mystic.steel_leggings,Count=1,Damage=0,tag=(display=(Name="$4Entity303's Leggings",Lore=["They carry evil marks."]),ench=[(id=0,lvl=6),(id=34,lvl=10)])),(id=lootplusplus:mystic.steel_chestplate,Count=1,Damage=0,tag=(display=(Name="$4Entity303's Chestplate",Lore=["They carry evil marks."]),ench=[(id=0,lvl=6),(id=34,lvl=10)])),(id=skull,Damage=3,Count=1,tag=(SkullOwner="Entity_303",display=(Name="$4$l$oEntity303 Skull",Lore=["Skull of $4$oEntity303"]),ench=[(id=0,lvl=5),(id=1,lvl=5),(id=3,lvl=5),(id=4,lvl=5),(id=5,lvl=3),(id=6,lvl=1)]))],DropChances=[0.8F,0.3F,0.3F,0.3F,2.0F],PersistanceRequired=1b,CanBreakDoors=1b,IsVillager=0b,CustomName="$c$l$oEntity303",CustomNameVisible=true,Attributes=[(Name=zombie.spawnReinforcements,Base=1.0F),(Name=generic.maxHealth,Base=1000D),(Name=generic.knockbackResistance,Base=0.8F),(Name=generic.movementSpeed,Base=0.3F)],ActiveEffects=[(Id=12,Amplifier=2,Duration=999999),(Id=8,Amplifier=3,Duration=999999),(Id=10,Amplifier=1,Duration=999999),(Id=1,Amplifier=10,Duration=999999),(Id=13,Amplifier=1,Duration=999999)]))@luck=-3

/ Lick
group(type=command,ID="/title @a title {text:\"WARNING\",color:gold}";type=command,ID="/title @a subtitle {text:\"Lick has been summoned!\",color:gold}";type=message,ID="$eLick joined the game";type=difficulty,ID=hard;type=entity,ID=Zombie,NBTTag=(IsBaby=0b,Equipment=[(id=lootplusplus:mystic.limonite_sword,Count=1,Damage=0,tag=(display=(Name="$6Lick's Sword",Lore=["They carry evil marks."]),AttributeModifiers=[(Name="generic.attackDamage",UUIDLeast=187029,Amount=15,Operation=0,UUIDMost=33347,AttributeName="generic.attackDamage")],ench=[(id=20,lvl=5),(id=34,lvl=10)])),(id=lootplusplus:mystic.limonite_boots,Count=1,Damage=0,tag=(display=(Name="$6Lick's Boots",Lore=["They carry evil marks."]),ench=[(id=0,lvl=6),(id=34,lvl=10)])),(id=lootplusplus:mystic.limonite_leggings,Count=1,Damage=0,tag=(display=(Name="$6Lick's Leggings",Lore=["They carry evil marks."]),ench=[(id=0,lvl=6),(id=34,lvl=10)])),(id=lootplusplus:mystic.limonite_chestplate,Count=1,Damage=0,tag=(display=(Name="$6Lick's Chestplate",Lore=["They carry evil marks."]),ench=[(id=0,lvl=6),(id=34,lvl=10)])),(id=skull,Damage=3,Count=1,tag=(SkullOwner="Lick",display=(Name="$6$l$oLick Skull",Lore=["Skull of $6$oLick"]),ench=[(id=0,lvl=5),(id=1,lvl=5),(id=3,lvl=5),(id=4,lvl=5),(id=5,lvl=3),(id=6,lvl=1)]))],DropChances=[0.8F,0.3F,0.3F,0.3F,2.0F],PersistanceRequired=1b,CanBreakDoors=1b,IsVillager=0b,CustomName="$e$l$oLick",CustomNameVisible=true,Attributes=[(Name=zombie.spawnReinforcements,Base=1.0F),(Name=generic.maxHealth,Base=1000D),(Name=generic.knockbackResistance,Base=0.8F),(Name=generic.movementSpeed,Base=0.3F)],ActiveEffects=[(Id=12,Amplifier=2,Duration=999999),(Id=8,Amplifier=3,Duration=999999),(Id=10,Amplifier=1,Duration=999999),(Id=1,Amplifier=10,Duration=999999),(Id=13,Amplifier=1,Duration=999999)]))@luck=-3

/ Jeb
group(type=message,ID="$ejeb_ joined the game";type=entity,ID=Sheep,NBTTag=(CustomName="jeb_",CustomNameVisible=true))@luck=2

/ Peter
group(type=difficulty,ID=hard;type=entity,ID=Skeleton,amount=1,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))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="$r$lPeter",CustomNameVisible=true))@luck=-2

/ Lucky mobs
group(type=difficulty,ID=hard;type=entity,ID=Skeleton,amount=1,NBTTag=(Equipment=[(id=bow,Count=1,Damage=0,tag=(ench=#luckyBowEnchantments)),(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))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="$e$lLucky Skeleton",CustomNameVisible=true))@luck=-2

group(type=difficulty,ID=hard;type=entity,ID=Pig,amount=1,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))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="$e$lLucky Pig",CustomNameVisible=true))@luck=-2

group(type=difficulty,ID=hard;type=entity,ID=Blaze,amount=1,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))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="$e$lLucky Blaze",CustomNameVisible=true))@luck=-2

group(type=difficulty,ID=hard;type=entity,ID=Silverfish,amount=1,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))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="$e$lLucky Silverfish",CustomNameVisible=true))@luck=-2

group(type=difficulty,ID=hard;type=entity,ID=Villager,amount=1,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))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="$e$lLucky Villager",CustomNameVisible=true))@luck=-2

group(type=difficulty,ID=hard;type=entity,ID=Spider,amount=1,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))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="$e$lLucky Spider",CustomNameVisible=true))@luck=-2

group(type=difficulty,ID=hard;type=entity,ID=Witch,amount=1,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))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="$e$lLucky Witch",CustomNameVisible=true))@luck=-2

group(type=difficulty,ID=hard;type=entity,ID=Slime,amount=1,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))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="$e$lLucky Slime",CustomNameVisible=true))@luck=-2

group(type=difficulty,ID=hard;type=entity,ID=Creeper,amount=1,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))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="$e$lLucky Creeper",CustomNameVisible=true))@luck=-2

group(type=difficulty,ID=hard;type=entity,ID=Ozelot,amount=1,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))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="$e$lLucky Ozelot",CustomNameVisible=true))@luck=-2

group(type=difficulty,ID=hard;type=entity,ID=LavaSlime,amount=1,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))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="$e$lLucky LavaSlime",CustomNameVisible=true))@luck=-2

group(type=difficulty,ID=hard;type=entity,ID=CaveSpider,amount=1,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))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="$e$lLucky Cave Spider",CustomNameVisible=true))@luck=-2

group(type=difficulty,ID=hard;type=entity,ID=Wolf,amount=1,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))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="$e$lLucky Wolf",CustomNameVisible=true))@luck=-2

group(type=difficulty,ID=hard;type=entity,ID=PigZombie,amount=1,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))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="$e$lLucky Zombie Pigman",CustomNameVisible=true))@luck=-2