[Lucky Items]
ID=lucky:saklura_lucky_sword,amount =1@luck=4

ID=lucky:saklura_lucky_bow,amount =1@luck=4

ID=lucky:saklura_lucky_potion,amount=#rand(15,19)@luck=4





[Loot++]

ID=lootplusplus:saklura_material,amount=#rand(7,15)@luck=3
ID=lootplusplus:saklura_apple,amount=#rand(7,15)@luck=3
ID=lootplusplus:hollow_apple,amount=#rand(7,15)@luck=3
ID=lootplusplus:hollow_gem,amount=#rand(7,15)@luck=3
ID=lootplusplus:poisoned_bomb,amount=#rand(64,204)@luck=3
ID=lootplusplus:saklura_orb,amount=1@luck=3
ID=lootplusplus:immortality_talisman,amount=1@luck=3
ID=lootplusplus:matrix_material,amount=#rand(7,15)@luck=3
ID=lootplusplus:matrix_gen2,amount=#rand(7,15)@luck=3
ID=lootplusplus:demonic_material,amount=#rand(7,15)@luck=3
ID=lootplusplus:plasma_material,amount=#rand(7,15)@luck=3
ID=lootplusplus:plasma_apple,amount=#rand(7,15)@luck=3
ID=lootplusplus:saklura_ball,amount=#rand(15,36)@luck=3
ID=lootplusplus:saklura_berry,amount=#rand(15,36)@luck=3
ID=lootplusplus:explosive_shuriken,amount=#rand(15,36)@luck=3
ID=lootplusplus:good_potion,amount=#rand(1,2)@luck=3
ID=lootplusplus:saklura_potato,amount=12@luck=3
ID=lootplusplus:throwing_cobweb,amount=12@luck=3
ID=lootplusplus:demons_exultation,amount=12@luck=3
ID=lootplusplus:blood_droplet,amount=5@luck=3


type=item,ID=lootplusplus:demonic_helmet,NBTTag=(ench=#luckyHelmetEnchantments,display=(Name="$bDemonic Helmet"),Unbreakable=true)@chance=1.25@luck=3

type=item,ID=lootplusplus:demonic_chestplate,NBTTag=(ench=#luckyHelmetEnchantments,display=(Name="$bDemonic Chestplate"),Unbreakable=true)@chance=1.25@luck=3

ype=item,ID=lootplusplus:demonic_leggings,NBTTag=(ench=#luckyHelmetEnchantments,display=(Name="$bDemonic Leggings"),Unbreakable=true)@chance=1.25@luck=3

type=item,ID=lootplusplus:demonic_boots,NBTTag=(ench=#luckyHelmetEnchantments,display=(Name="$bDemonic Boots"),Unbreakable=true)@chance=1.25@luck=3

type=item,ID=lootplusplus:demonic_sword,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$bDemonic Sword"),Unbreakable=true)@chance=1.25@luck=3


group(type=item,ID="lootplusplus:bloody_helmet",NBTTag=(ench=[(id=0,lvl=10),(id=1,lvl=10),(id=34,lvl=10)],display=(Name="§1§kalal §4§lBloodlord's Crown §4§kalal",Lore=["Left behind, to find its new owner"]),Unbreakable=true);type=particle,ID="angryVillager",size=(0.5,0.5,0.5),particleAmount=20;type=sound,ID="ambient.weather.thunder",volume=8)@luck=2

group(type=item,ID="lootplusplus:bloody_chestplate",NBTTag=(ench=[(id=0,lvl=10),(id=1,lvl=10),(id=34,lvl=10)],display=(Name="§4§kalal §4Bloody Chestplate §1§kalal",Lore=["Worn by the lord, of blood"]),AttributeModifiers=[(AttributeName=generic.maxHealth,Name="health",Amount=1000,Operation=0,UUIDLeast=1,UUIDMost=1)],Unbreakable=true);type=particle,ID="angryVillager",size=(0.5,0.5,0.5),particleAmount=20;type=sound,ID="ambient.weather.thunder",volume=8)@luck=3

group(type=item,ID="lootplusplus:bloody_leggings",NBTTag=(ench=[(id=0,lvl=10),(id=1,lvl=10),(id=34,lvl=10)],display=(Name="§4§kalal §4§lBloodlord's Leggings §4§kalal",Lore=["Made, out of Satan's Blood, who lost in battle against Arch Angel Michael"]),Unbreakable=true);type=particle,ID="angryVillager",size=(0.5,0.5,0.5),particleAmount=20;type=sound,ID="ambient.weather.thunder",volume=8)@luck=2

group(type=item,ID="lootplusplus:bloody_boots",NBTTag=(ench=[(id=0,lvl=10),(id=1,lvl=10),(id=34,lvl=10)],display=(Name="§1§kalal §4§lBloody Boots §4§kalal",Lore=["Blood, takes the first. Step."]),Unbreakable=true);type=particle,ID="angryVillager",size=(0.5,0.5,0.5),particleAmount=20;type=sound,ID="ambient.weather.thunder",volume=8)@luck=3

type=entity,ID=Item,NBTTag=(CustomName="$eThe Hollow Slicer",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:hollow_slicer",tag=(display=(Name="$e$lThe Hollow Slicer",Lore=["$7Star Strike I","","$rSlices through the void with","$reach swing."]),ench=[(id=17,lvl=#rand(1,3)),(id=18,lvl=#rand(1,3)),(id=19,lvl=#rand(1,2)),(id=21,lvl=#rand(1,5))],AttributeModifiers=[(AttributeName=generic.attackDamage,Name=attack,Amount=100,Operation=0,UUIDLeast=10,UUIDMost=2),(AttributeName=potioncore.reach,Name=reach,Amount=15,Operation=0,UUIDLeast=10,UUIDMost=1)])))@luck=3

type=entity,ID=Item,NBTTag=(CustomName="§5§lLegendary §c§lSaklura Sword",CustomVisible=true,Item=(Count=1,id="lootplusplus:saklura_sword",tag=(Unbreakable=true,ench=[(id=0,lvl=333),(id=1,lvl=333),(id=2,lvl=333),(id=3,lvl=333)],display=(Lore=["§3Gives Perplexity to your Enemy","§9Wurde Gefunden von #pName",""],Name="§1§kalal §c§lUltimate §5§lLegendary §c§lSaklura Sword §1§kalal"),AttributeModifiers=[(AttributeName="generic.attackDamage",Name="generic.attackDamage",Amount=99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999D,Operation=0,UUIDLeast=894654,UUIDMost=2872)])))@luck=3

group(type=item,ID="lootplusplus:saklura_helmet",NBTTag=(ench=[(id=0,lvl=10),(id=1,lvl=10),(id=34,lvl=10)],display=(Name="§1§kalal §5§lUltimate Saklura Helmet §1§kalal",Lore=["OP Saklura Helmet"]),Unbreakable=true);type=particle,ID="angryVillager",size=(0.5,0.5,0.5),particleAmount=20;type=sound,ID="ambient.weather.thunder",volume=8)@luck=2

group(type=item,ID="lootplusplus:saklura_chestplate",NBTTag=(ench=[(id=0,lvl=10),(id=1,lvl=10),(id=34,lvl=10)],display=(Name="§1§kalal §5§lUltimate Saklura Chestplate §1§kalal",Lore=["OP Saklura Chestplate"]),AttributeModifiers=[(AttributeName=generic.maxHealth,Name="health",Amount=1000,Operation=0,UUIDLeast=1,UUIDMost=1)],Unbreakable=true);type=particle,ID="angryVillager",size=(0.5,0.5,0.5),particleAmount=20;type=sound,ID="ambient.weather.thunder",volume=8)@luck=3

group(type=item,ID="lootplusplus:saklura_leggings",NBTTag=(ench=[(id=0,lvl=10),(id=1,lvl=10),(id=34,lvl=10)],display=(Name="§1§kalal §5§lUltimate Saklura Leggings §1§kalal",Lore=["OP Saklura Leggings"]),Unbreakable=true);type=particle,ID="angryVillager",size=(0.5,0.5,0.5),particleAmount=20;type=sound,ID="ambient.weather.thunder",volume=8)@luck=2

group(type=item,ID="lootplusplus:saklura_boots",NBTTag=(ench=[(id=0,lvl=10),(id=1,lvl=10),(id=34,lvl=10)],display=(Name="§1§kalal §5§lUltimate Saklura Boots §1§kalal",Lore=["OP Saklura Boots"]),Unbreakable=true);type=particle,ID="angryVillager",size=(0.5,0.5,0.5),particleAmount=20;type=sound,ID="ambient.weather.thunder",volume=8)@luck=3

group(type=item,ID="lootplusplus:saklura_bow",NBTTag=(ench=[(id=48,lvl=100),(id=50,lvl=100),(id=51,lvl=100)],display=(Name="$6$kalal $4$lUltimate Saklura Bow $6$kalal",Lore=["The Ultimate Bow got created by the POWERS OF SAKLURA"]),Unbreakable=true);type=particle,ID="angryVillager",size=(0.5,0.5,0.5),particleAmount=20;type=sound,ID="ambient.weather.thunder",volume=8)@luck=2

group(type=item,ID="lootplusplus:hollow_helmet",NBTTag=(ench=[(id=0,lvl=10),(id=1,lvl=10),(id=34,lvl=10)],display=(Name="§1§kalal §5§lHollow Helmet §1§kalal",Lore=["Helmet which are geting hollow by the Saklura Power!"]),Unbreakable=true);type=particle,ID="angryVillager",size=(0.5,0.5,0.5),particleAmount=20;type=sound,ID="ambient.weather.thunder",volume=8)@luck=2

group(type=item,ID="lootplusplus:hollow_chestplate",NBTTag=(ench=[(id=0,lvl=10),(id=1,lvl=10),(id=34,lvl=10)],display=(Name="§1§kalal §5§lHollow Chestplate §1§kalal",Lore=["Chestplate which are geting hollow by the Saklura Power!"]),AttributeModifiers=[(AttributeName=generic.maxHealth,Name="health",Amount=50,Operation=0,UUIDLeast=1,UUIDMost=1)],Unbreakable=true);type=particle,ID="angryVillager",size=(0.5,0.5,0.5),particleAmount=20;type=sound,ID="ambient.weather.thunder",volume=8)@luck=2

group(type=item,ID="lootplusplus:hollow_leggings",NBTTag=(ench=[(id=0,lvl=10),(id=1,lvl=10),(id=34,lvl=10)],display=(Name="§1§kalal §5§lHollow Leggings §1§kalal",Lore=["Leggings which are geting hollow by the Saklura Power!"]),Unbreakable=true);type=particle,ID="angryVillager",size=(0.5,0.5,0.5),particleAmount=20;type=sound,ID="ambient.weather.thunder",volume=8)@luck=3

group(type=item,ID="lootplusplus:hollow_boots",NBTTag=(ench=[(id=0,lvl=10),(id=1,lvl=10),(id=34,lvl=10)],display=(Name="§1§kalal §5§lHollow Boots §1§kalal",Lore=["Boots which are geting hollow by the Saklura Power!"]),Unbreakable=true);type=particle,ID="angryVillager",size=(0.5,0.5,0.5),particleAmount=20;type=sound,ID="ambient.weather.thunder",volume=8)@luck=2

type=entity,ID=Item,NBTTag=(CustomName="§5§lThe §c§lHollow Sword",CustomVisible=true,Item=(Count=1,id="lootplusplus:hollow_sword",tag=(Unbreakable=true,ench=[(id=0,lvl=333),(id=1,lvl=333),(id=2,lvl=333),(id=3,lvl=333)],display=(Lore=["Forged by the Void","§9Wurde Gefunden von #pName",],Name="§1§kalal §c§lThe Hollow Sword §1§kalal"),AttributeModifiers=[(AttributeName="generic.attackDamage",Name="generic.attackDamage",Amount=999999999999D,Operation=0,UUIDLeast=894654,UUIDMost=2872)])))@luck=4

group(type=item,ID="lootplusplus:matrix_helmet",NBTTag=(ench=[(id=0,lvl=10),(id=1,lvl=10),(id=34,lvl=10)],display=(Name="§1§kalal §5§lMatrix Helmet §1§kalal",Lore=["011101000010110101111010101"]),Unbreakable=true);type=particle,ID="angryVillager",size=(0.5,0.5,0.5),particleAmount=20;type=sound,ID="ambient.weather.thunder",volume=8)@luck=3

group(type=item,ID="lootplusplus:matrix_chestplate",NBTTag=(ench=[(id=0,lvl=10),(id=1,lvl=10),(id=34,lvl=10)],display=(Name="§1§kalal §5§lMatrix Chestplate §1§kalal",Lore=["011101000010110101111010101"]),AttributeModifiers=[(AttributeName=generic.maxHealth,Name="health",Amount=30,Operation=0,UUIDLeast=1,UUIDMost=1)],Unbreakable=true);type=particle,ID="angryVillager",size=(0.5,0.5,0.5),particleAmount=20;type=sound,ID="ambient.weather.thunder",volume=8)@luck=2

group(type=item,ID="lootplusplus:matrix_leggings",NBTTag=(ench=[(id=0,lvl=10),(id=1,lvl=10),(id=34,lvl=10)],display=(Name="§1§kalal §5§lMatrix Leggings §1§kalal",Lore=["011101000010110101111010101"]),Unbreakable=true);type=particle,ID="angryVillager",size=(0.5,0.5,0.5),particleAmount=20;type=sound,ID="ambient.weather.thunder",volume=8)@luck=3

group(type=item,ID="lootplusplus:matrix_boots",NBTTag=(ench=[(id=0,lvl=10),(id=1,lvl=10),(id=34,lvl=10)],display=(Name="§1§kalal §5§lMatrix Boots §1§kalal",Lore=["011101000010110101111010101"]),Unbreakable=true);type=particle,ID="angryVillager",size=(0.5,0.5,0.5),particleAmount=20;type=sound,ID="ambient.weather.thunder",volume=8)@luck=3

type=entity,ID=Item,NBTTag=(CustomName="§5§lThe §c§lMatrix Sword",CustomVisible=true,Item=(Count=1,id="lootplusplus:matrix_sword",tag=(Unbreakable=true,ench=[(id=0,lvl=333),(id=1,lvl=333),(id=2,lvl=333),(id=3,lvl=333)],display=(Lore=["§9Wurde Gefunden von #pName",],Name="§1§kalal §c§lThe Matrix Sword §1§kalal"),AttributeModifiers=[(AttributeName="generic.attackDamage",Name="generic.attackDamage",Amount=011101000010110101111D,Operation=0,UUIDLeast=894654,UUIDMost=2872)])))@luck=3

type=entity,ID=Item,NBTTag=(CustomName="§5§lThe §c§lMatrix Masher",CustomVisible=true,Item=(Count=1,id="lootplusplus:matrix_masher",tag=(Unbreakable=true,ench=[(id=0,lvl=333),(id=1,lvl=333),(id=2,lvl=333),(id=3,lvl=333)],display=(Lore=["§9Wurde Gefunden von #pName",],Name="§1§kalal §c§lThe Matrix Masher §1§kalal"),AttributeModifiers=[(AttributeName="generic.attackDamage",Name="generic.attackDamage",Amount=01110100001011,Operation=0,UUIDLeast=894654,UUIDMost=2872)])))@luck=3

group(type=item,ID="lootplusplus:matrix_gen2_helmet",NBTTag=(ench=[(id=0,lvl=10),(id=1,lvl=10),(id=34,lvl=10)],display=(Name="§1§kalal Matrix Gen.2 Helmet §1§kalal",Lore=["01101000000000101111010101"]),Unbreakable=true);type=particle,ID="angryVillager",size=(0.5,0.5,0.5),particleAmount=20;type=sound,ID="ambient.weather.thunder",volume=8)@luck=3

group(type=item,ID="lootplusplus:matrix_gen2_chestplate",NBTTag=(ench=[(id=0,lvl=10),(id=1,lvl=10),(id=34,lvl=10)],display=(Name="§1§kalal Matrix Gen.2 Chestplate §1§kalal",Lore=["01101000000000101111010101"]),AttributeModifiers=[(AttributeName=generic.maxHealth,Name="health",Amount=100,Operation=0,UUIDLeast=1,UUIDMost=1)],Unbreakable=true);type=particle,ID="angryVillager",size=(0.5,0.5,0.5),particleAmount=20;type=sound,ID="ambient.weather.thunder",volume=8)@luck=2

group(type=item,ID="lootplusplus:matrix_gen2_leggings",NBTTag=(ench=[(id=0,lvl=10),(id=1,lvl=10),(id=34,lvl=10)],display=(Name="§1§kalal Matrix Gen.2 Leggings §1§kalal",Lore=["01101000000000101111010101"]),Unbreakable=true);type=particle,ID="angryVillager",size=(0.5,0.5,0.5),particleAmount=20;type=sound,ID="ambient.weather.thunder",volume=8)@luck=3

group(type=item,ID="lootplusplus:matrix_gen2_boots",NBTTag=(ench=[(id=0,lvl=10),(id=1,lvl=10),(id=34,lvl=10)],display=(Name="§1§kalal Matrix Gen.2 Boots §1§kalal",Lore=["01101000000000101111010101"]),Unbreakable=true);type=particle,ID="angryVillager",size=(0.5,0.5,0.5),particleAmount=20;type=sound,ID="ambient.weather.thunder",volume=8)@luck=2

type=entity,ID=Item,NBTTag=(CustomName="§5§lThe Matrix Mascher Gen.2",CustomVisible=true,Item=(Count=1,id="lootplusplus:matrix_gen2_masher",tag=(Unbreakable=true,ench=[(id=0,lvl=333),(id=1,lvl=333),(id=2,lvl=333),(id=3,lvl=333)],display=(Lore=["§9Wurde Gefunden von #pName",],Name="§1§kalal §c§lThe Matrix Masher Gen.2 §1§kalal"),AttributeModifiers=[(AttributeName="generic.attackDamage",Name="generic.attackDamage",Amount=01110100,Operation=0,UUIDLeast=894654,UUIDMost=2872)])))@luck=3

group(type=item,ID="lootplusplus:plasma_helmet",NBTTag=(ench=[(id=0,lvl=10),(id=1,lvl=10),(id=34,lvl=10)],display=(Name="§1§kalal §5§lPlasma Helmet §1§kalal",Lore=["Nobody knows how this material came alive"]),Unbreakable=true);type=particle,ID="angryVillager",size=(0.5,0.5,0.5),particleAmount=20;type=sound,ID="ambient.weather.thunder",volume=8)@luck=2

group(type=item,ID="lootplusplus:plasma_chestplate",NBTTag=(ench=[(id=0,lvl=10),(id=1,lvl=10),(id=34,lvl=10)],display=(Name="§1§kalal §5§lPlasma Chestplate §1§kalal",Lore=["Nobody knows how this material came to life"]),AttributeModifiers=[(AttributeName=generic.maxHealth,Name="health",Amount=50,Operation=0,UUIDLeast=1,UUIDMost=1)],Unbreakable=true);type=particle,ID="angryVillager",size=(0.5,0.5,0.5),particleAmount=20;type=sound,ID="ambient.weather.thunder",volume=8)@luck=3

group(type=item,ID="lootplusplus:plasma_leggings",NBTTag=(ench=[(id=0,lvl=10),(id=1,lvl=10),(id=34,lvl=10)],display=(Name="§1§kalal Plasma Leggings §1§kalal",Lore=["Nobody knows how this material came alive"]),Unbreakable=true);type=particle,ID="angryVillager",size=(0.5,0.5,0.5),particleAmount=20;type=sound,ID="ambient.weather.thunder",volume=8)@luck=3

group(type=item,ID="lootplusplus:plasma_boots",NBTTag=(ench=[(id=0,lvl=10),(id=1,lvl=10),(id=34,lvl=10)],display=(Name="§1§kalal §5§lPlasma Boots §1§kalal",Lore=["Nobody knows how this material came alive"]),Unbreakable=true);type=particle,ID="angryVillager",size=(0.5,0.5,0.5),particleAmount=20;type=sound,ID="ambient.weather.thunder",volume=8)@luck=2

type=entity,ID=Item,NBTTag=(CustomName="§5§lThe §c§lPlasma Sword",CustomVisible=true,Item=(Count=1,id="lootplusplus:hollow_sword",tag=(Unbreakable=true,ench=[(id=0,lvl=333),(id=1,lvl=333),(id=2,lvl=333),(id=3,lvl=333)],display=(Lore=["Nobody knows how this material came alive","§9Wurde Gefunden von #pName",],Name="§1§kalal §c§lThe Hollow Sword §1§kalal"),AttributeModifiers=[(AttributeName="generic.attackDamage",Name="generic.attackDamage",Amount=666666,Operation=0,UUIDLeast=894654,UUIDMost=2872)])))@luck=3

group(type=item,ID="lootplusplus:saklura_clunky_chainsaw",NBTTag=(ench=[(id=0,lvl=10),(id=1,lvl=10),(id=34,lvl=10)],display=(Name="§1§kalal §5§lSaklura Clunky Chainsaw §1§kalal",Lore=["Nahh bro what's that"]),Unbreakable=true);type=particle,ID="angryVillager",size=(0.5,0.5,0.5),particleAmount=20;type=sound,ID="ambient.weather.thunder",volume=8)@luck=3


group(type=item,ID="lootplusplus:saklura_cannon",NBTTag=(ench=[(id=48,lvl=100),(id=50,lvl=100),(id=51,lvl=100)],display=(Name="$6$kalal $a$lUltimate Saklura Bazooka $6$kalal",Lore=["The Ultimate","Bazooka forged by","the gods","to conquer the STORNGNESS","of range weapons!"]),Unbreakable=true);type=particle,ID="angryVillager",size=(1,1,1),particleAmount=20;type=sound,ID="ambient.weather.thunder",volume=10)@chance=2.0@luck=3

group(type=item,ID="lootplusplus:saklura_bow",NBTTag=(ench=[(id=48,lvl=100),(id=50,lvl=100),(id=51,lvl=100)],display=(Name="$6$kalal $a$lUltimate Saklura Bow $6$kalal",Unbreakable=true);type=particle,ID="angryVillager",size=(0.5,0.5,0.5),particleAmount=20;type=sound,ID="ambient.weather.thunder",volume=8)@chance=2.0@luck=3

group(type=item,ID="lootplusplus:saklura_gun",NBTTag=(ench=[(id=48,lvl=100),(id=50,lvl=100),(id=51,lvl=100)],display=(Name="$b$kalal $4$lSaklura Gun $b$kalal",Lore=["good gun"]),Unbreakable=true);type=particle,ID="angryVillager",size=(0.5,0.5,0.5),particleAmount=20;type=sound,ID="ambient.weather.thunder",volume=8)@chance=2.0@luck=3

group(type=item,ID="lootplusplus:matrix_gun",NBTTag=(ench=[(id=48,lvl=100),(id=50,lvl=100),(id=51,lvl=100)],display=(Name="$b$kalal $4$lMatrix Gun $b$kalal",Lore=["code gun"]),Unbreakable=true);type=particle,ID="angryVillager",size=(0.5,0.5,0.5),particleAmount=20;type=sound,ID="ambient.weather.thunder",volume=8)@chance=2.0@luck=3

group(type=item,ID="lootplusplus:cobweb_staff",NBTTag=(ench=[(id=48,lvl=100),(id=50,lvl=100),(id=51,lvl=100)],display=(Name="$b$kalal $4$lCobweb Staff $b$kalal",Lore=["Trap your enemies"]),Unbreakable=true);type=particle,ID="angryVillager",size=(0.5,0.5,0.5),particleAmount=20;type=sound,ID="ambient.weather.thunder",volume=8)@chance=2.0@luck=2

/ ========== TOOLS & ARMOR ==========

/ all wood, stone and gold tools

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

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

group(ID=golden_sword;ID=golden_shovel;ID=golden_pickaxe;ID=golden_axe;ID=golden_hoe)@luck=1

/ 2-3 iron tools

group:#rand(2,3):(ID=iron_shovel;ID=iron_pickaxe;ID=iron_axe;ID=iron_sword;ID=iron_hoe)@luck=1

/ 1-2 diamond tools

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

/ all leather and gold armor

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

group(ID=golden_helmet;ID=golden_chestplate;ID=golden_leggings;ID=golden_boots;ID=golden_horse_armor)@luck=1

/ 2-3 chain and iron armor

group:#rand(2,3):(ID=chainmail_helmet;ID=chainmail_chestplate;ID=chainmail_leggings;ID=chainmail_boots)@luck=2

group:#rand(2,3):(ID=iron_helmet;ID=iron_chestplate;ID=iron_leggings;ID=iron_boots;ID=iron_horse_armor)@luck=1

/ 1-2 diamond armor

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

/ all horse armor

group(ID=iron_horse_armor;ID=golden_horse_armor;ID=diamond_horse_armor)@luck=2

/ bow and arrows

group(ID=bow;ID=arrow,amount=#rand(16,32))@luck=1

/ 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

type=block,ID=chest,tileEntity=(Items=#chest(contents=[(id=iron_block,maxAmount=8,weight=10),(id=gold_block,maxAmount=4,weight=10),(id=diamond_block,maxAmount=4,weight=10),(id=emerald_block,maxAmount=4,weight=10),(id=lapis_block,maxAmount=4,weight=10),(id=lucky:lucky_block_snake,maxAmount=4,weight=10),(id=golden_apple,maxAmount=5,weight=10),(id=golden_apple,Damage=1,maxAmount=6,weight=10)],maxTotalAmount=12))@luck=2

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


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


/ golden apples
group(ID=golden_apple,amount=#rand(2,4);ID=golden_apple,amount=#rand(1,2),damage=1)@luck=2

/ buckets
group(ID=bucket,amount=#rand(1,2);ID=water_bucket,amount=#rand(1,2);ID=lava_bucket,amount=#rand(1,2);ID=milk_bucket,amount=#rand(1,2))@luck=0

/ meat (raw and cooked)
group:1:(group(ID=porkchop,amount=#rand(8,16);ID=cooked_porkchop,amount=#rand(4,8));group(ID=fish,amount=#rand(8,16);ID=cooked_fish,amount=#rand(4,8));group(ID=beef,amount=#rand(8,16);ID=cooked_beef,amount=#rand(4,8));group(ID=chicken,amount=#rand(8,16);ID=cooked_chicken,amount=#rand(4,8));group(ID=mutton,amount=#rand(8,16);ID=cooked_mutton,amount=#rand(4,8));group(ID=rabbit,amount=#rand(8,16);ID=cooked_rabbit,amount=#rand(4,8)))@luck=1

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

/ potions
ID=potion,damage=#randPotionDamage,amount=#rand(4,8)@luck=1

/ brewing
group(ID=ender_pearl,amount=#rand(1,3);ID=blaze_rod,amount=#rand(1,3);ID=ghast_tear,amount=#rand(1,3);ID=gold_nugget,amount=#rand(1,3);ID=nether_wart,amount=#rand(1,3);ID=spider_eye,amount=#rand(1,3);ID=fermented_spider_eye,amount=#rand(1,3);ID=blaze_powder,amount=#rand(1,3);ID=magma_cream,amount=#rand(1,3);ID=ender_eye,amount=#rand(1,3);ID=speckled_melon,amount=#rand(1,3);ID=rabbit_foot,amount=#rand(1,3);type=particle,ID=2002,damage=3)@luck=2

/ colorful
group(group:1:(ID=wool,damage=#rand(0,15),amount=#rand(32,64);ID=stained_hardened_clay,damage=#rand(0,15),amount=#rand(32,64);ID=dye,damage=#rand(0,15),amount=#rand(32,64));type=particle,ID=2002,damage=#randPotionParticle,amount=10)@luck=1

/ iron, gold, diamond, emerald, lapis with fireworks
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

/ random jokes
group:1:(ID=clock,NBTTag=(display=(Name="You're wasting your time"));ID=fish,damage=2,NBTTag=(display=(Name="I'm funny"));ID=fish,damage=3,NBTTag=(display=(Name="Oooooh!")))@luck=-1

/ enchantment books
ID=enchanted_book,NBTTag=(StoredEnchantments=#randEnchantment),amount=#rand(7,10)@luck=1

/ 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);ID=prismarine_crystals,amount=#rand(10,20);type=particle,ID=2002,damage=14)@luck=1

/ Lucky Blocks
group(ID=lucky:lucky_block_night,NBTTag=(Luck=#rand(-50,50));ID=lucky:lucky_block,amount=#rand(2,4),NBTTag=(Luck=#rand(-50,50));ID=lucky:lucky_block_spiral,NBTTag=(Luck=#rand(-50,50));ID=lucky:lucky_block_rainbow,NBTTag=(Luck=#rand(-50,50));ID=lucky:lucky_block_omega,NBTTag=(Luck=#rand(-50,50));ID=lucky:lucky_block_emerald,NBTTag=(Luck=#rand(-50,50));ID=lucky:lucky_block_jen,NBTTag=(Luck=#rand(-50,50));ID=lucky:lucky_block_fantasia,NBTTag=(Luck=#rand(-50,50));ID=lucky:lucky_block_gold,NBTTag=(Luck=#rand(-50,50));ID=lucky:lucky_block_sly,NBTTag=(Luck=#rand(-50,50));ID=lucky:lucky_block_blue,NBTTag=(Luck=#rand(-50,50));ID=lucky:lucky_block_diamond,NBTTag=(Luck=#rand(-50,50));ID=lucky:lucky_block_night,NBTTag=(Luck=#rand(-50,50));ID=lucky:lucky_block_lol,NBTTag=(Luck=#rand(-50,50));ID=lucky:lucky_block_plural,NBTTag=(Luck=#rand(-50,50));ID=lucky:lucky_block_ender,NBTTag=(Luck=#rand(-50,50));ID=lucky:lucky_block_galaxy,NBTTag=(Luck=#rand(-50,50));ID=lucky:lucky_block_shade,NBTTag=(Luck=#rand(-50,50));ID=lucky:lucky_block_cookie,NBTTag=(Luck=#rand(-50,50));ID=lucky:lucky_block_nightmare,NBTTag=(Luck=#rand(-50,50));ID=lucky:lucky_block_olymp,NBTTag=(Luck=#rand(-50,50));ID=lucky:lucky_block_endermen,NBTTag=(Luck=#rand(-50,50)))@luck=1

/ Feather kick
group(type=item,ID=feather,amount=1,NBTTag=(display=(Name="$e$lFeather kick",Lore=[$7$lRecoil X]),ench=[(id=19,lvl=50)],HideFlags=1);type=particle,ID=fireworksSpark,length=1,height=1,width=1,particleAmount=20)@luck=2

/ Lucky Blocks
group(type=message,ID="Fortune smiles upon #pName! Everyone receives good luck!";type=command,ID="/give @a lucky:lucky_block_snake 10")@chance=0.5@luck=0

group(ID=lucky:lucky_block,amount=#rand(2,4),NBTTag=(Luck=#rand(-50,50));\

ID=lucky:lucky_block_astral,NBTTag=(Luck=#rand(-50,50));\

ID=lucky:lucky_block_banana,NBTTag=(Luck=#rand(-50,50));\

ID=lucky:lucky_block_camel,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_claze,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_diamond,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_emerald,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_ender,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_shade,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_youtube,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_bettervanilla,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_plural,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_galaxy,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_olymp,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_ultimapro,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_coal,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:LB_infinity_AAN,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_illuminati,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_troll,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_preston,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_water,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_invisible,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_faboz,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_chaosflo,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_delta,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_omega,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_wither,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_history,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_stone,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_creeper,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_enderman,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_living,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_wheat,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_night,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_rainbow,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_custom,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_purple,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_hypnosis,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_nightmare,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_who,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_dark,NBTTag=(Luck=#rand(-50,50)); \

ID=lucky:lucky_block_rosarot,NBTTag=(Luck=#rand(-50,50)))@luck=1


/===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:astral.star_cookie,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

/ Strength + Lucky Puppy
group(type=effect,ID=5,range=4,amplifier=1,duration=600;type=particle,ID=splashpotion,damage=8201;type=entity,ID=Wolf,NBTTag=(Age=-1000000,CollarColor=#rand(0,14),Owner=#pName,Sitting=1,Equipment=[(id=lucky:astral_lucky_sword,Count=1,Damage=0,tag=(ench=[(id=16,lvl=#rand(3,8)),(id=#rand(17,18),lvl=#rand(1,5)),(id=#rand(19,20),lvl=#rand(1,2)),(id=21,lvl=#rand(1,5))])),(id=lootplusplus:astral.astral_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments)),(id=lootplusplus:astral.astral_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments)),(id=lootplusplus:astral.astral_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments)),(id=lootplusplus:astral.astral_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments))],DropChances=[0f,0f,0f,0f,0f],CustomName="$e$l#pName's Lucky Puppy");type=command,ID="effect @e[type=Wolf,c=1] instant_health 1 20")@luck=2@chance=0.3

/ 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),ID=lootplusplus:astral.cloud,size=(3,1,3))@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:astral.astral_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

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

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


/ Blocks
group(type=difficulty,ID=hard;type=entity,ID=FallingSand,amount=5,posY=#bPosY+5,NBTTag=(Block=lootplusplus:snake.snake_scale_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:snake.cobra_scale_block,Time=1,Riding=(id=Blaze,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:snake.anaconda_scale_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:snake.snake_eye_block,Time=1,Riding=(id=Ghast,Silent=true,ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)])))@luck=1

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

/ Jeb
group(type=message,ID="$ejeb_ joined the game";type=entity,ID=Sheep,NBTTag=(CustomName="jeb_",CustomNameVisible=true))@chance=0.8@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

/mysterious villager
group:1:(type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potion,Damage=0,Count=1,tag=(CustomPotionEffects=#unluckyPotionEffects,display=(Name="$e$lSuper Mystery Potion",Lore=["$7Is it lucky? Or is it not?"]))),maxUses=1),(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potion,Damage=16384,Count=1,tag=(HideFlags=32,CustomPotionEffects=#unluckyPotionEffects,display=(Name="$e$lSuper Mystery Potion",Lore=["$7Is it lucky? Or is it not?"]))),maxUses=1)]),Profession=1,CustomName="$e$lMysterious Villager",CustomNameVisible=true,Career=1,CareerLevel=100);type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potion,Damage=0,Count=1,tag=(CustomPotionEffects=#unluckyPotionEffects,display=(Name="$e$lSuper Mystery Potion",Lore=["$7Is it lucky? Or is it not?"]))),maxUses=1),(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potion,Damage=16384,Count=1,tag=(HideFlags=32,CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lSuper Mystery Potion",Lore=["$7Is it lucky? Or is it not?"]))),maxUses=1)]),Profession=1,CustomName="$e$lMysterious Villager",CustomNameVisible=true,Career=1,CareerLevel=100);type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potion,Damage=0,Count=1,tag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lSuper Mystery Potion",Lore=["$7Is it lucky? Or is it not?"]))),maxUses=1),(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potion,Damage=16384,Count=1,tag=(HideFlags=32,CustomPotionEffects=#unluckyPotionEffects,display=(Name="$e$lSuper Mystery Potion",Lore=["$7Is it lucky? Or is it not?"]))),maxUses=1)]),Profession=1,CustomName="$e$lMysterious Villager",CustomNameVisible=true,Career=1,CareerLevel=100);type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potion,Damage=0,Count=1,tag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lSuper Mystery Potion",Lore=["$7Is it lucky? Or is it not?"]))),maxUses=1),(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potion,Damage=16384,Count=1,tag=(HideFlags=32,CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lSuper Mystery Potion",Lore=["$7Is it lucky? Or is it not?"]))),maxUses=1)]),Profession=1,CustomName="$e$lMysterious Villager",CustomNameVisible=true,Career=1,CareerLevel=100))@luck=1

/type=entity,ID=Villager,NBTTag=(Offers=(Recipes=[(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potion,Damage=0,Count=1,tag=(CustomPotionEffects=##randList(unluckyPotionEffects,luckyPotionEffects),display=(Name="$e$lSuper Mystery Potion",Lore=["$7Is it lucky? Or is it not?"]))),maxUses=1),(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potion,Damage=16384,Count=1,tag=(HideFlags=32,CustomPotionEffects=##randList(unluckyPotionEffects,luckyPotionEffects),display=(Name="$e$lSuper Mystery Potion",Lore=["$7Is it lucky? Or is it not?"]))),maxUses=1)]),Profession=1,CustomName="$e$lMysterious Villager",CustomNameVisible=true,Career=1,CareerLevel=100)@luck=1

/ 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

/ Armored mobs
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="$r$lArmored Silverfish",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="$r$lArmored Pig",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="$r$lArmored Villager",CustomNameVisible=true))@luck=-2

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="$r$lArmored Skeleton",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="$r$lArmored Witch",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="$r$lArmored Blaze",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="$r$lArmored 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="$r$lArmored Creeper",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="$r$lArmored LavaSlime",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="$r$lArmored Ozelot",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="$r$lArmored Wolf",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="$r$lArmored Spider",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="$r$lArmored Cave Spider",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="$r$lArmored Zombie Pigman",CustomNameVisible=true))@luck=-2



/ colored sheep
type=entity,ID=Sheep,NBTTag=(CustomName="$cM$6r. $eR$aa$2i$bn$3b$5o$dw",CustomNameVisible=true,Color=#rand(0,15)),posOffset=#circleOffset(4),amount=16@luck=1

/ eggs + diamonds
group(type=entity,ID=ThrownEgg,NBTTag=(Motion=#randLaunchMotion(0.6,15)),amount=40;type=entity,ID=Item,NBTTag=(Item=(id=diamond,Count=1),Motion=#randLaunchMotion(0.7,18)),amount=20)@luck=2

/ thrown exp bottles
type=entity,ID=ThrownExpBottle,NBTTag=(Motion=#randLaunchMotion),amount=#rand(16,32)@luck=2

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

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

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

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

/ stacked villager and pigs
type=entity,ID=Villager,NBTTag=(Riding=(id=Pig,Riding=(id=Pig,Riding=(id=Pig,Riding=(id=Pig,Riding=(id=Pig,Riding=(id=Pig,Riding=(id=Pig))))))))@luck=0

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

/ witch with bats
group(type=difficulty,ID=hard;type=entity,ID=Witch;type=entity,ID=Bat,posY=#bPosY+#rand(0,2),posOffset=#circleOffset(0,1),amount=64)@luck=-1

/ huge slime and magma cube
group:1:(type=entity,ID=Slime,NBTTag=(Size=10);type=entity,ID=LavaSlime,NBTTag=(Size=10))@luck=-2


/ Ghast
group(type=difficulty,ID=hard;type=entity,ID=Ghast)@chance=0.2@luck=-2

/ elder guardian
group(type=difficulty,ID=hard;type=entity,ID=Guardian,NBTTag=(Elder=1)))@chance=0.5@luck=-2

/ killer rabbit
group(type=difficulty,ID=hard;type=entity,ID=Rabbit,NBTTag=(RabbitType=99))@luck=-1

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

/ bob zombie
group(type=difficulty,ID=hard;type=entity,ID=Zombie,NBTTag=(Equipment=[(id=diamond_sword,Count=1,tag=(ench=#luckySwordEnchantments)),(id=diamond_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments)),(id=diamond_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=diamond_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_boots,Count=1,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$lBob",CustomNameVisible=true))@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

/commands
type=command,ID="/give @a beacon 1"@luck=-2
type=command,ID="/give @a dragon_egg 1"@luck=-2
type=command,ID="/give @a nether_star 1"@luck=-2
type=command,ID="/give @a diamond_block 5"@luck=-2
type=command,ID="/gamerule keepInventory false"@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=\"$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))"]))@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="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(30,64),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=diamond,amount=#rand(30,40),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=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=\"$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

