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

/ Health + Regeneration
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

/ Strenth + Resistance + Armor
group(type=effect,ID=5,range=4,duration=600;type=effect,ID=11,range=4,amplifier=1,duration=600;type=particle,ID=splashpotion,damage=8265;group:1:(type=entity,ID=Item,NBTTag=(CustomName="$eRiveting Spiral Lucky Leggings",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:spiral.spiral_leggings",tag=(Unbreakable=true,ench=#luckyLeggingsEnchantments,display=(Lore=["$7Knockback Resistance I","","$9Found by #pName"],Name="$e$lRiveting Spiral Lucky Leggings"),AttributeModifiers=[(AttributeName=generic.knockbackResistance,Name="resist",Amount=1,Operation=0,UUIDLeast=1,UUIDMost=1)])));type=entity,ID=Item,NBTTag=(CustomName="$eSpeedy Spiral Lucky Boots",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:spiral.spiral_boots",tag=(Unbreakable=true,ench=#luckyBootsEnchantments,display=(Lore=["$7Swiftness II","","$9Found by #pName"],Name="$e$lSpeedy Spiral Lucky Boots"),AttributeModifiers=[(AttributeName=generic.movementSpeed,Name="fast",Amount=0.4f,Operation=1,UUIDLeast=2,UUIDMost=2)])));type=entity,ID=Item,NBTTag=(CustomName="$eFortifying Spiral Lucky Helmet",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:spiral.spiral_helmet",tag=(Unbreakable=true,ench=#luckyHelmetEnchantments,display=(Lore=["$7Health Boost II","","$9Found by #pName"],Name="$e$lFortifying Spiral Lucky Helmet"),AttributeModifiers=[(AttributeName=generic.maxHealth,Name="health",Amount=8,Operation=0,UUIDLeast=3,UUIDMost=3)])));type=entity,ID=Item,NBTTag=(CustomName="$eStrengthening Spiral Lucky Chestplate",CustomNameVisible=true,Item=(Count=1,id="lootplusplus:spiral.spiral_chestplate",tag=(Unbreakable=true,ench=#luckyChestplateEnchantments,display=(Lore=["$7Strength I","","$9Found by #pName"],Name="$e$lStrengthening Spiral Lucky Chestplate"),AttributeModifiers=[(AttributeName=generic.attackDamage,Name="strength",Amount=1.3f,Operation=1,UUIDLeast=4,UUIDMost=4)])))))@luck=2@chance=0.1

/ Enchanting Bottles
group(type=entity,ID=ThrownExpBottle,NBTTag=(Motion=#motionFromDirection(#rand(0,360),-70,0.4)),amount=#rand(5,10);type=item,ID=experience_bottle,posOffset=#circleOffset(0.0,2.0),amount=#rand(20,40))@luck=2

/ Enchanting Books
group(type=block,ID=anvil;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=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=10)@luck=2

/ Invisibility
group(type=effect,ID=14,range=4,duration=300;type=particle,ID=splashpotion,damage=8206;type=particle,ID=explode,size=(2.0,1.0,2.0),particleAmount=300,amount=30,delay=#rand(0.0,8.0))@luck=2

/ Health Boost + Absorbtion + Lucky Horse
group(type=effect,ID=21,range=4,amplifier=1,duration=600;type=effect,ID=6,range=4,amplifier=3;type=effect,ID=22,range=4,amplifier=1,duration=600;type=particle,ID=splashpotion,damage=8197;type=entity,ID=EntityHorse,NBTTag=(Type=0,Tame=1,Attributes=[(Name=generic.maxHealth,Base=500f)],Variant=#randList(#rand(0,6),#rand(256,262),#rand(512,518),#rand(768,774),#rand(1024,1030)),ArmorItem=(id=diamond_horse_armor,Count=1,tag=(display=(Name="$e$l#pName's Lucky Horse Armor"))),SaddleItem=(id=saddle,Count=1),CustomName="$e$l#pName's Lucky Horse"))@luck=2@chance=0.3

/ Strength + Lucky Wolf
group(type=effect,ID=5,range=4,amplifier=1,duration=600;type=particle,ID=splashpotion,damage=8201;type=entity,ID=Wolf,NBTTag=(CollarColor=#rand(0,14),Owner=#pName,Sitting=1,Equipment=[(id=lucky:spiral_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:spiral.spiral_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments)),(id=lootplusplus:spiral.spiral_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments)),(id=lootplusplus:spiral.spiral_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments)),(id=lootplusplus:spiral.spiral_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments))],DropChances=[0f,0f,0f,0f,0f],CustomName="$e$l#pName's Lucky Wolf");type=command,ID="effect @e[type=Wolf,c=1] instant_health 1 20")@luck=2@chance=0.3

/ Lucky Potion
type=entity,ID=ThrownPotion,NBTTag=(Potion=(id=potion,Count=1,Damage=16419,tag=(CustomPotionEffects=#luckyPotionEffects)))@luck=2

/ Jump Boost + Slimes
group(type=effect,ID=8,range=4,amplifier=4,duration=600;type=particle,ID=splashpotion,damage=8267;type=entity,ID=lootplusplus.ThrownItem,NBTTag=(ItemThrown=lootplusplus:spiral.label,CustomName=$a$lBoing,CustomNameVisible=true,Riding=(id=Slime,Size=0)),posOffset=#circleOffset(0.0,2.0),amount=10)@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

/ Absorption + Gold Stuff
group(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.3

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

/ Knockback
group(type=effect,ID=special_knockback,power=3,range=4,delay=0.1;type=particle,ID=splashpotion,damage=8194;type=particle,ID=explode,size=(1.5,1.0,1.5),particleAmount=500)@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

/ Fire
group(type=effect,ID=special_fire,range=4,duration=30;type=particle,ID=splashpotion,damage=8227;type=item,ID=#randList(fire_charge,fire_charge,blaze_powder,coal),posOffset=#circleOffset(0.0,2.0),amount=20)@luck=-2

/ Blindness + Slowness
group(type=effect,ID=15,range=4,duration=10;type=effect,ID=2,range=4,duration=10;type=particle,ID=splashpotion,damage=8200;type=particle,ID=largesmoke,size=(2.0,1.0,2.0),particleAmount=300,amount=30,delay=#rand(0.0,8.0))@luck=-2

/ Nausea + Hunger
group(type=effect,ID=9,range=4,duration=10;type=effect,ID=17,range=3,amplifier=8,duration=10;type=particle,ID=splashpotion,damage=8260;type=difficulty,ID=hard;type=entity,ID=Slime;type=particle,ID=slime,size=(1.5,0.5,1.5),particleAmount=500)@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=lucky:spiral_lucky_sword),damage=4.0),amount=20)@luck=-2

/ Explosion
group(type=difficulty,ID=hard;type=explosion,damage=4;type=particle,ID=splashpotion,damage=8204)@luck=-2

/ Big Fiery Explosion
group(type=difficulty,ID=hard;type=explosion,fire=true,damage=6;type=particle,ID=splashpotion,damage=8204)@luck=-2

/ Poison
group(type=effect,ID=19,range=4,duration=30;type=particle,ID=splashpotion,damage=8260;type=difficulty,ID=hard;type=entity,ID=#randList(CaveSpider,Spider),amount=#rand(3,6),posOffset=#circleOffset(0.0,3.0);type=item,ID=#randList(rotten_flesh,spider_eye,fermented_spider_eye),posOffset=#circleOffset(0.0,2.0),amount=30)@luck=-2

/ Weakness + Baby Zombies
group(type=effect,ID=18,range=4,duration=30;type=particle,ID=splashpotion,damage=8200;type=difficulty,ID=hard;type=entity,ID=Zombie,posOffset=#circleOffset(0.0,2.0),NBTTag=(IsBaby=true),amount=#rand(7,10))@luck=-2

/ Wither
group(type=effect,ID=20,range=4,duration=30;type=particle,ID=splashpotion,damage=8200;type=item,ID=bone,posOffset=#circleOffset(0.0,2.0),amount=10;type=item,ID=dye,damage=15,posOffset=#circleOffset(0.0,2.0),amount=10;type=entity,ID=lootplusplus.ThrownItem,posOffset=#circleOffset(0.0,2.0),NBTTag=(ItemThrown=lootplusplus:spiral.label,Riding=(id=Skeleton,SkeletonType=1,Equipment=[(id=stone_sword,Count=1)])),amount=#rand(2,4))@luck=-2

/ Negative Potions
group(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=10)@luck=-2

/ Unlucky Potion
type=entity,ID=ThrownPotion,NBTTag=(Potion=(id=potion,Count=1,Damage=16460,tag=(CustomPotionEffects=#unluckyPotionEffects)))@luck=-2

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

/ Poison
group(type=effect,ID=19,range=4,duration=30;type=particle,ID=splashpotion,damage=8260;type=item,ID=#randList(rotten_flesh,spider_eye,fermented_spider_eye),posOffset=#circleOffset(0.0,2.0),amount=30)@luck=-2

/wither
group(type=effect,ID=20,range=4,duration=30;type=particle,ID=splashpotion,damage=8228;type=item,ID=#randList(bone,rotten_flesh),posOffset=#circleOffset(0.0,2.0),amount=30)@luck=-2

/ Blocks
group(ID=iron_block,amount=#rand(4,8);ID=gold_block,amount=#rand(3,7);ID=coal_block,amount=#rand(10,18);ID=lapis_block,amount=#rand(4,8);ID=redstone_block,amount=#rand(4,8);ID=diamond_block,amount=#rand(4,8);ID=emerald_block,amount=#rand(4,8))@chance=0.7@luck=2

/ Dirt
ID=dirt,amount=64@luck=0

/ TNT
type=explosion,radius=10@luck=-2

/ Nether
group(ID=stone_slab,damage=7,amount=#rand(4,8),NBTTag=(display=(Name="$fNether Stone Slab"));ID=quartz_ore,amount=#rand(16,32),NBTTag=(display=(Name="$fNether Ore"));ID=quartz_block,amount=#rand(4,8),NBTTag=(display=(Name="$fNether Stone"));ID=quartz_block,damage=1,amount=#rand(4,8),NBTTag=(display=(Name="$fNether Stone"));ID=quartz_block,damage=2,amount=#rand(4,8),NBTTag=(display=(Name="$fNether Stone"));ID=quartz_stairs,amount=#rand(4,8),NBTTag=(display=(Name="$fNether Stone Stairs"));ID=quartz,amount=#rand(24,32),NBTTag=(display=(Name="$fNether Stone Shard"));type=particle,ID=2002,damage=14)@luck=-1

/ Sea
group(ID=prismarine,amount=#rand(4,8),NBTTag=(display=(Name="$9Ocean Stone"));ID=prismarine,damage=1,amount=#rand(4,8),NBTTag=(display=(Name="$9Ocean Stone"));ID=prismarine,damage=2,amount=#rand(4,8),NBTTag=(display=(Name="$9Ocean Stone"));ID=sea_lantern,amount=#rand(4,8),NBTTag=(display=(Name="$9Ocean Light"));ID=prismarine_shard,amount=#rand(15,30),NBTTag=(display=(Name="$9Ocean Shard"));ID=prismarine_crystals,amount=#rand(10,20),NBTTag=(display=(Name="$9Ocean Crystal"));type=particle,ID=2002,damage=14)@luck=1

/ Beacon
ID=beacon@chance=0.7@luck=2

/name tag
ID=name_tag,amount=#rand(1,5)@luck=0

/snow layers
ID=snow_layer,amount=#rand(16,32)@luck=0

/bed
ID=bed,amount=#rand(17,32)@luck=0

/curse
ID=lootplusplus:fantasia.curse,amount=64@luck=1

/item frames
ID=item_frame,amount=64@luck=0

/ addon maker
ID=skull,damage=3,NBTTag=(SkullOwner=CazCadeMC,display=(Name="$5CazCade The Creator of this Addon!",Lore=["$7Plz Enjoy! XD"]))@luck=0

/diamonnd tower
group(type=fill,ID=air,size=(1,51,1);group(NBTTag=(Block=stained_hardened_clay,Data=#rand(0,15)),posY=#bPosY+5;NBTTag=(Block=stained_hardened_clay,Data=#rand(0,15)),posY=#bPosY+10;NBTTag=(Block=stained_hardened_clay,Data=#rand(0,15)),posY=#bPosY+15;NBTTag=(Block=stained_hardened_clay,Data=#rand(0,15)),posY=#bPosY+20;NBTTag=(Block=stained_hardened_clay,Data=#rand(0,15)),posY=#bPosY+25;NBTTag=(Block=stained_hardened_clay,Data=#rand(0,15)),posY=#bPosY+30;NBTTag=(Block=stained_hardened_clay,Data=#rand(0,15)),posY=#bPosY+35;NBTTag=(Block=stained_hardened_clay,Data=#rand(0,15)),posY=#bPosY+40;NBTTag=(Block=stained_hardened_clay,Data=#rand(0,15)),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

/rabbit eater
ID=cooked_rabbit,NBTTag=(display=(Name="$cEat$6ME"))@luck=0

/villagerlegsoup
ID=mushroom_stew,NBTTag=(display=(Name="Villager Leg Soup")),amount=3@luck=1

/villagerlegsoupex
ID=rabbit_stew,NBTTag=(display=(Name="Villager Leg Soup $L$cEX")),amount=3@luck=1

/enchantmenttable
ID=enchanting_table@luck=1

/armor stand
ID=armor_stand,amount=#rand(8,16)@luck=0

/lead
ID=lead,amount=#rand(3,14)@luck=0

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

/signs
ID=sign,amount=#rand=(8,16)@luck=0

/pretty nice chest
type=block,ID=chest,tileEntity=(Items=#chest(contents=[(id=iron_ingot,maxAmount=8,weight=10),(id=gold_ingot,maxAmount=4,weight=10),(id=diamond,maxAmount=4,weight=10),(id=emerald,maxAmount=4,weight=10),(id=dye,Damage=4,maxAmount=4,weight=10),(id=lucky:lucky_block_fantasia,maxAmount=4,weight=10),(id=golden_apple,maxAmount=2,weight=10),(id=golden_apple,Damage=1,maxAmount=2,weight=10)],maxTotalAmount=12))@luck=1

/yo budday
type=entity,ID=Creeper,NBTTag=(ExplosionRadius=0,powered=#rand(0,1),Fuse=999999,CustomName="$aYo Buddy",CustomNameVisible=true)@luck=0

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

/gast
group(type=difficulty,ID=hard;type=entity,ID=Ghast,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],ExplosionPower=3,CustomName="$cGhastly Ghast",CustomNameVisible=true,Attributes=[(Name=generic.maxHealth,Base=50)]))@chance=0.87@luck=-2

/wood
ID=planks,amount=64@luck=0

/gravel
ID=gravel,amount=64@luck=0

/food
group(ID=apple,amount=64;ID=potato,amount=64;ID=carrot,amount=64;ID=mushroom_stew,amount=1;ID=bread,amount=64;ID=cooked_porkchop,amount=64;ID=cooked_chicken,amount=64)@luck=1

/pigz
type=entity,ID=Pig,amount=60,posOffset=#circleOffset(6,10))@luck=0

/sheepz
type=entity,ID=Sheep,amount=60,posOffset=#circleOffset(6,10))@luck=0

/chickenz
type=entity,ID=Chicken,amount=60,posOffset=#circleOffset(6,10))@luck=0

/baby zombies
type=entity,ID=Zombie,amount=22,posOffset=#circleOffset(4),NBTTag=(IsBaby=1)@luck=0
