/ Mobs
type=entity,ID=Wolf,NBTTag=(CustomName="DiamondWolf")@luck=-10

type=entity,ID=Pig,NBTTag=(CustomName="SAM I AM!!")@luck=-10

type=entity,ID=Pig,NBTTag=(CustomName="Figgy My Sisters Pig")

type=entity,ID=Pig,NBTTag=(CustomName="G1Z30")

type=entity,ID=Pig,NBTTag=(CustomName="Gismo")

type=entity,ID=Chicken,NBTTag=(CustomName="Chixulub")@luck=-10

type=entity,ID=Zombie,NBTTag=(CustomName="Rob Bob and Jen's Brother")

type=entity,ID=EnderDragon,NBTTag=(CustomName="Herobrine's Pet")

type=entity,ID=Villager,NBTTag=(CustomName="Echo")

type=entity,ID=Wither,NBTTag=(CustomName="Recycle OR DIE")

type=entity,ID=Wither,NBTTag=(CustomName="DESTROYER Of WORLDS")

type=entity,ID=Squid,NBTTag=(CustomName="Pat The Sack Guy")

type=entity,ID=Wolf,NBTTag=(CustomName="Jen The Fluffy Diamond Wolf")
)
type=entity,ID=Slime,NBTTag=(CustomName="Refund The World")

type=entity,ID=Creeper,NBTTag=(CustomName="Grim My Pet Creeper")

type=entity,ID=Zombie,NBTTag=(CustomName="Man In Green")@luck=-10

type=entity,ID=Villager,NBTTag=(CustomName="Earthiana"),CustomNameVisible:1,Career:1,CareerLevel:42,CanPickUpLoot:0,PersistenceRequired:1,Offers:{Recipes:[{buy:{id:"lootplusplus:wolf.fakebeacon",Count:1},maxUses:5,sell:{id:minecraft:lootplusplus:wolf.lboots,Count:1,Damage:0,display:{Name:"Lucky Boots Can Fly With Blaze Powder"}},MaxUses:1}}]}}"

type=entity,ID=Villager,NBTTag=(CustomName="Agent Cody Banks"),CustomNameVisible:1,Career:1,CareerLevel:42,CanPickUpLoot:0,PersistenceRequired:1,Offers:{Recipes:[{buy:{id:"lootplusplus:wolf.diamond",Count:1},maxUses:5,sell:{id:minecraft:lootplusplus:wolf.helmet,Count:1,Damage:0,display:{Name:"Spy Helmet"}},MaxUses:1}}]}}"

type=entity,ID=Enderman,NBTTag=(CustomName="The Man In Black")@luck=10

type=entity,ID=EnderDragon,NBTTag=(CustomName="The Lizzard In Black")@luck=10

/ Chats
type=message,ID=" FORTUNUS BLOCKUS! pats harry potter voice"@luck=10

group(type=entity,IID=Enderman,NBTTag=(CustomName="The Man In Black I mean Block");type=message,ID="Here Com The Men in Block!")

type=message,ID="Subscribe TO ME Here > https://www.youtube.com/channel/UCAFRQMdcWl_INCSsLZLbSOg?view_as=subscriber "  OR ELSE MWHAHAHAAH

type=message,ID=" #pName Yo Mama Says To U Hey #pName Dumb Dumb You killed a Normal Diamondwolf Lucky Block You NinComPoop"

group(type=entity,ID=Villager,NBTTag=(CustomName="The Man In Black"),CustomNameVisible:1,Career:1,CareerLevel:42,CanPickUpLoot:0,PersistenceRequired:1,Offers:{Recipes:[{buy:{id:"lootplusplus:wolf.diamond",Count:1},maxUses:5,sell:{id:minecraft:lootplusplus:wolf.dhelmet,Count:1,Damage:0,display:{Name:"Diamond Wolf Helmet"}},MaxUses:1}}]}};type=message,ID="Here Come The Men In Black")

/ Items
type=item,id=lootplusplus:wolf.wolfdiamond,amount=#rand(1,8)@luck=10

/ TNT
type=explosion,radius=8,fire=true
type=explosion,radius=60,fire=true

type=entity,ID=LightningBolt

type=effect,ID=minecraft:wither,duration=120,amplifier=4

/ precious items
type=item,id=lootplusplus:wolf.fakebeacon,amount=#rand(32,64)
type=item,id=emerald,amount=#rand(1,32)
type=item,id=beef,amount=#rand(64,1)
type=item,id=gold_ingot,amount=#rand(1,10)
type=item,id=end_portal_frame,amount=2
type=item,ID=nether_star,amount=#rand(1,2)

group(type=item,ID=lootplusplus:wolf.diamond,amount=64;type=message,ID="$eThere Now Make The Block Better! Really This Time")

group(type=item,ID=gold_ingot,amount=64;type=message,ID="$eThere Now Make The Block Better!")

/ text 
type=message,ID="Pat and Jen The Killers Of Area 5.1"
type=message,ID="R.I.P Pat killed by Jen A.K.A $cThe Killer"
type=message,ID="Hello Herobrine RIPS you be dead"

type=message,ID="#pName was slain by There $c Low IQ"

/ Flying
group(type=entity,ID=Pig,NBTTag=(Riding=(id=Bat));type=message,ID="$eWhen Pigs Fly!")

group(type=entity,ID=Minecart,NBTTag=(Riding=(id=Bat));type=message,ID="$eWhen You Fly!")

/ Structures22
type=structure,ID=TNThouse,posOffset=(10,-1,0)
type=structure,ID=house,posOffset=(10,-1,0)
type=structure,ID=den,posOffset=(10,-1,0)
type=structure,ID=ore,posOffset=(10,-1,0)

/ falls
type=entity,id=mb.ChorpChorp,NBTTag=(CustomName="Gravity Falls"),amount=#rand(1,40)

/ Tatters
type=entity,id=mb.Tatters,NBTTag=(CustomName="Nightmare"),amount=#rand(1,6)      

/ GolemParty
type=entity,id=mb.Golem,NBTTag=(CustomName="Golem Party"),textureBlockID:223,amount=#rand(1,12)@luck=0@chance=0.6

/ Robots
type=entity,id=mb.Paragon,NBTTag=(CustomName="Robot Party"),amount=#rand(1,2) 

/ echo
type=entity,id=mb.EyeballOctopus,NBTTag=(CustomName="Interstellar Aliens"),amount=#rand(1,40)

/ echozombies
type=entity,id=Zombie,NBTTag=(CustomName="Interstellar Zombie"),amount=#rand(32,120)    

/ villagers
type=command,id="/summon Villager ~ ~1 ~ {Silent:1,CustomName:"Better Echo",Offers:{Recipes:[{buy:{id:diamond,Count:1},sell:{id:lootplusplus:wolf.wolfsword,Count:1,display:{Name:One Hit Kill Sword},ench:[{id:16,lvl:200}]},maxUses:9999999}]},Profession:0,Career:1,CareerLevel:3}"
type=command,id="/summon Villager ~ ~1 ~ {PersistenceRequired:1,CustomName:"$eTDW Villager",Offers:{Recipes:[{buy:{id:apple,Count:5},sell:{id:golden_apple,Damage:1,Count:5},rewardExp:false,maxUses:1}]},Profession:0,Career:3,CareerLevel:1}"
type=command,id="/summon Villager ~ ~1 ~ {Silent:1,CustomName:"Echoy",Offers:{Recipes:[{buy:{id:diamond,Damage:0,Count:1},sell:{id:emerald_block,Count:6},maxUses:1}]},Profession:0,Career:1,CareerLevel:3}"
type=command,id="/summon Villager ~1 ~ ~ {Profession:1,CustomName:"YT Guy",CustomNameVisible:1,Career:1,CareerLevel:42,CanPickUpLoot:0,PersistenceRequired:1,Offers:{Recipes:[{buy:{id:"lootplusplus:wolf.fakebeacon",Count:1},maxUses:5,sell:{id:minecraft:emerald_block,Count:6,Damage:8195,tag:{CustomPotionEffects:[{Id:10,Amplifier:10,Duration:7200},{Id:11,Amplifier:10,Duration:7200},{Id:23,Amplifier:10,Duration:7200}],display:{Name:"OP lucky potion NOT"}},MaxUses:1}}]}}"
type=command,ID="/summon Villager ~1 ~ ~ {Profession:2,CustomName:"IT guy",CustomNameVisible:1,Career:1,CareerLevel:42,CanPickUpLoot:0,PersistenceRequired:1,Invulnerable:1,Offers:{Recipes:[{buy:{id:"crafting_table",Count:1},maxUses:1,sell:{id:"golden_apple",Count:10,Damage:1},rewardExp:false},{buy:{id:"end_portal_frame",Count:2},maxUses:9999999,sell:{id:"diamond_chestplate",Count:1},rewardExp:false},{buy:{id:"end_portal_frame",Count:1},maxUses:9999999,sell:{id:"diamond_leggings",Count:1},rewardExp:false},{buy:{id:"end_portal_frame",Count:1},

/ commanddrops
type=command,id="/give @a diamond_chestplate 1 0 {display:{Name:"Diamond Wolf Protection",Lore:["Filled With AI To Protect You"]},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:20,Operation:0,UUIDMost:63964,UUIDLeast:269637},{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:1,Operation:0,UUIDMost:33492,UUIDLeast:328545},{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:8,Operation:0,UUIDMost:22235,UUIDLeast:613811}],ench:[{id:0,lvl:5}],HideFlags:7,Unbreakable:1}"

/ 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

/ random jokes2
group:1:(ID=clock,NBTTag=(display=(Name="You're wasting your time still"));ID=fish,damage=2,NBTTag=(display=(Name="get it Cuz Im a Clown Fish Haha"));ID=fish,damage=3,NBTTag=(display=(Name="Oooooh! WOW I get it LOL")))@luck=-1

/ colored sheep
type=entity,ID=Sheep,NBTTag=(CustomName=" Food For Diamond wolves YO ",CustomNameVisible=true,Color=#rand(1,16)),posOffset=#circleOffset(4),amount=16@luck=1

/ nightmare sheep
type=entity,ID=Sheep,NBTTag=(CustomName="NIGHTMARE SHEEP",CustomNameVisible=true,Color=black),posOffset=#circleOffset(4),amount=16@luck=10

/ jeb sheep
type=entity,ID=Sheep,NBTTag=(CustomName="jeb_",CustomNameVisible=true,Color=#rand(1,16)),posOffset=#circleOffset(4),amount=16@luck=10

/ ========== BLOCKS ==========

ID=sponge@luck=0
ID=tnt,amount=16@luck=-1
ID=obsidian,amount=14@luck=1
ID=enchanting_table@luck=2
ID=end_portal_frame,amount=#rand(2,6)@luck=2
ID=dragon_egg@luck=1
ID=ender_chest,amount=2@luck=0
ID=beacon@luck=2
ID=dispenser,amount=8@luck=0

/ ========= ITEMS ==========

ID=gold_ingot,amount=#rand(8,16)@luck=-10
ID=stick@luck=80
ID=painting,amount=4@luck=0
ID=saddle,amount=2@luck=0
ID=cake@luck=0
ID=rotten_flesh@luck=-1
ID=nether_star@luck=51
ID=blaze_powder,NBTTag=(display=(Name="$cRomantic Flames"))@luck=-1
ID=blaze_rod,NBTTag=(display=(Name="$cRomantic Eye Poker"))@luck=-1
ID=stick,NBTTag=(display=(Name="$cRomantic rose Is dead this is whats left"))@luck=100
ID=emerald,amount=#rand(0,64)@luck=1
ID=bread,amount=#rand(32,64)@luck=1
ID=lootplusplus:wolf.star,amount=#rand(8,16)@luck=-10
ID=lootplusplus:wolf.cosmos,amount=#rand(8,16)@luck=-10
ID=lootplusplus:wolf.cosmic,amount=#rand(8,16)@luck=-10
ID=lootplusplus:wolf.diamond,amount=#rand(8,16)@luck=-10
ID=lootplusplus:wolf.diamond_crafting_table,amount=#rand(1,1)@luck=-10
ID=lootplusplus:wolf.starry,amount=#rand(8,16)@luck=-10
ID=lucky:diamondwolf_lucky_sword,amount=(1)@luck=-10
ID=lucky:diamondwolf_lucky_bow,amount=(1)@luck=-10
ID=lucky:diamondwolf_lucky_potion,amount=#rand(1,16)@luck=-10
ID=lootplusplus:wolf.wolfsword,amount=#rand(1,1)@luck=-10
ID=lootplusplus:wolf.dragon,amount=#rand(1,1)@luck=-10
ID=lootplusplus:wolf.starcake,amount=#rand(1,1)@luck=-10
ID=lootplusplus:wolf.oven,amount=#rand(1,1)@luck=-10
ID=lootplusplus:wolf.pie,amount=#rand(1,1)@luck=-10
ID=lootplusplus:wolf.wolfapple,amount=#rand(1,16)@luck=-10
ID=lootplusplus:wolf.killa,amount=#rand(1,1)@luck=-10



/ bookshelves and books
group(ID=bookshelf,amount=#rand(6,12);ID=book,amount=#rand(8,16))@luck=0
/ pumpkins and jack o'lanterns
group(ID=pumpkin,amount=#rand(8,16);ID=lit_pumpkin,amount=#rand(8,16))@luck=0
/ wolf apples
group(ID=lootplusplus:wolf.normwolfapple,amount=#rand(2,6),damage=0;ID=lootplusplus:wolf.wolfapple,amount=#rand(1,10),damage=0)@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
/ vegetable food (carrots, golden_carrot, pumpkin pie)
group:1:(group(ID=carrot,amount=#rand(8,16);ID=golden_carrot,amount=#rand(4,8));group(ID=potato,amount=#rand(8,16);ID=baked_potato,amount=#rand(4,8);ID=poisonous_potato,amount=#rand(2,4));group(ID=pumpkin_pie,amount=#rand(6,12)))@luck=1
/ ender pearls and eyes 
group(ID=ender_pearl,amount=10;ID=ender_eye,amount=5)@luck=2
/ jukebox music discs
group(ID=jukebox;ID=#rand(2256,2267),amount=#rand(1,3))@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=splashpotion,potion="fire_resistance")@luck=2
/ redstone
type=particle,ID=splashpotion,potion="healing")@luck=2

/ 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=fireworks_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,Count=1,tag=#randFireworksRocket)),amount=20,posOffset=#circleOffset(0,2))@luck=2

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


/ ========== STRUCTURES ==========

/ traps
type=structure,ID=anvil_trap,pos=#pPos,rotation=#pDirect@luck=-2
type=structure,ID=lava_trap,pos=#pPos,rotation=#pDirect@luck=-2
type=structure,ID=water_trap,pos=#pPos@luck=-2  
type=structure,ID=pit_trap,pos=#pPos@luck=-2

/ lucky fort and temple
type=structure,ID=lucky_fort,pos=#pPos@luck=2
type=structure,ID=lucky_temple,pos=#pPos@chance=0.4@luck=2

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

/ explosion
group(type=difficulty,ID=hard;type=explosion,radius=600)@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

/ 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

/ ========== ENCHANTED + LUCKY ITEMS ==========

/ hero sword
ID=lootplusplus:wolf.wolfsword,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$9$lWolf's Sword"))@luck=2
/ hero bow
ID=lootplusplus:wolf.wolfbow3,NBTTag=(ench=#luckyBowEnchantments,display=(Name="$9$lWolf's Arrow Bow"))@luck=2
/ hero fishing rod
ID=fishing_rod,NBTTag=(ench=#luckyFishingRodEnchantments,display=(Name="$9$lWolf's Fishing Rod"))@luck=2
/ hero tools
group:#rand(1,2):(ID=lootplusplus:wolf.shovel,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$9$lWolf's Shovel"));ID=lootplusplus:wolf.pickaxe,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$9$lWolf's Pickaxe"));ID=lootplusplus:wolf.axe,NBTTag=(ench=#luckyAxeEnchantments,display=(Name="$9$lWolf's Axe"));ID=lootplusplus:wolf.hoe,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$9$lWolf's Hoe")))@luck=2
/ hero armor
group:#rand(1,2):(ID=lootplusplus:wolf.helmet,NBTTag=(ench=#luckyHelmetEnchantments,display=(Name="$9$lAstral Helmet"));ID=lootplusplus:wolf.chestplate,NBTTag=(ench=#luckyChestplateEnchantments,display=(Name="$9$lAstral Chestplate"));ID=lootplusplus:wolf.leggings,NBTTag=(ench=#luckyLeggingsEnchantments,display=(Name="$9$lAstral Leggings"));ID=lootplusplus:wolf.boots,NBTTag=(ench=#luckyBootsEnchantments,display=(Name="$9$lAstral Boots")))@luck=2
/ hero potion
ID=potion,NBTTag=(Potion="fire_resistance",CustomPotionEffects=#luckyPotionEffects,display=(Name="$9$lWolf's Potion"))@luck=2

/ flyingpig
group(type=difficulty,ID=hard;type=entity,ID=Bat,NBTTag=(Silent=true,ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)],Passengers=[(id=pig,Tame=true,Type=4)])]))

/dragon
type=entity,ID=EnderDragon,NBTTag=(CustomName="WOLF DRAGON!!")

/loot
ID=lootplusplus:wolf.wolfgsword,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$9$lWolf's GreatSword"))@luck=2
ID=lootplusplus:wolf.alien,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$9$lAlien's Sword"))@luck=2
type=item,ID=lootplusplus:wolf.water,)@luck=2

/ wolf armor
group:#rand(1,2):(ID=lootplusplus:wolf.dhelmet,NBTTag=(ench=#luckyHelmetEnchantments,display=(Name="$9$lDiamond Wolf's Helmet"));ID=lootplusplus:wolf.dchestplate,NBTTag=(ench=#luckyChestplateEnchantments,display=(Name="$9$lWolf's Chestplate"));ID=lootplusplus:wolf.dleggings,NBTTag=(ench=#luckyLeggingsEnchantments,display=(Name="$9$lDiamond Wolf's Leggings"));ID=lootplusplus:wolf.dboots,NBTTag=(ench=#luckyBootsEnchantments,display=(Name="$9$lDiamond Wolf's Boots")))@luck=2

type=item,ID=lootplusplus:wolf.water,)@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=lootplusplus:wolf.wolfsword,Count=1,tag=(ench=#luckySwordEnchantments)),(id=lootplusplus:wolf.dhelmet,Count=1,tag=(ench=#luckyHelmetEnchantments)),(id=lootplusplus:wolf.dchestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=lootplusplus:wolf.dleggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=lootplusplus:wolf.dboots,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$lDiamond wolf Bob",CustomNameVisible=true))@luck=-2

/ hero bow
ID=lootplusplus:wolf.wolfbow,NBTTag=(ench=#luckyBowEnchantments,display=(Name="$9$lWolf's Star Bow"))@luck=2

/ hero bow
ID=lootplusplus:wolf.wolfbow2,NBTTag=(ench=#luckyBowEnchantments,display=(Name="$9$lWolf's Bedrock Bow"))@luck=2

/overload
type=command,ID="summon Zombie ~ ~1 ~ {CustomName:"Fake Overlord D",CustomNameVisible:1,PersistenceRequired:1b,Attributes:[{Name:"generic.maxHealth",Base:100},{Name:"generic.knockbackResistance",Base:1f},{Name:"generic.movementSpeed",Base:0.7f},{Name:"zombie.spawnReinforcements",Base:1f}],CanBreakDoors:1,Equipment:[{},{id:"minecraft:lootplusplus:wolf.lboots"},{id:"minecraft:lootplusplus:wolf.lleggings"},{id:"minecraft:lootplusplus:wolf.lchestplate"},{id:"minecraft:mob_spawner",Damage:0}]}"))

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

/ ========== BLOCKS ==========

ID=sponge@luck=0
ID=tnt,amount=8@luck=1
ID=obsidian,amount=14@luck=1
ID=enchanting_table@luck=2
ID=end_portal_frame,amount=#rand(2,6)@luck=2
ID=dragon_egg@luck=1
ID=ender_chest,amount=2@luck=0
ID=beacon@luck=2
ID=dropper,amount=8@luck=0
ID=hay_block,amount=8@luck=0

/ 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_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_diamondwolf,maxAmount=2,weight=10),(id=golden_apple,maxAmount=2,weight=10),(id=golden_apple,Damage=1,maxAmount=2,weight=10)],maxTotalAmount=12))@luck=2

/ ========= ITEMS ==========

ID=gold_ingot,amount=#rand(8,16)@luck=1
ID=stick@luck=-1
ID=painting,amount=4@luck=0
ID=saddle,amount=2@luck=0
ID=cake@luck=0
ID=rotten_flesh@luck=-1
ID=nether_star@luck=2
ID=red_flower,NBTTag=(display=(Name="$cRomantic Rose"))@luck=-1
ID=lootplusplus:wolf.starcake,amount=#rand(5,7)@luck=1
ID=lootplusplus:wolf.rodhelmet,amount=#rand(1,1)@luck=1
ID=lootplusplus:wolf.aboots,amount=#rand(1,1)@luck=1

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

/ bookshelves and books
group(ID=bookshelf,amount=#rand(6,12);ID=book,amount=#rand(8,16))@luck=0
/ pumpkins and jack o'lanterns
group(ID=pumpkin,amount=#rand(8,16);ID=lit_pumpkin,amount=#rand(8,16))@luck=0
/ 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
/ vegetable food (carrots, potatoes, pumpkin pie)
group:1:(group(ID=carrot,amount=#rand(8,16);ID=golden_carrot,amount=#rand(4,8));group(ID=potato,amount=#rand(8,16);ID=baked_potato,amount=#rand(4,8);ID=poisonous_potato,amount=#rand(2,4));group(ID=pumpkin_pie,amount=#rand(6,12)))@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
/ spawn eggs
ID=spawn_egg,damage=#randSpawnEggDamage,amount=#rand(4,8)@luck=1
/ heads
ID=skull,damage=#rand(0,4),amount=#rand(1,3)@luck=0
/ jukebox music discs
group(ID=jukebox;ID=#rand(2256,2267),amount=#rand(1,3))@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
/ iron, gold, diamond, emerald, lapis with fireworks
group(ID=iron_block,amount=#rand(8,16);ID=gold_block,amount=#rand(8,16);ID=diamond_block,amount=#rand(8,16);ID=emerald_block,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
/ 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=1
/ fish
group(ID=fishing_rod;ID=349,damage=#rand(0,3),amount=#rand(10,20))@luck=1
/ message with loot
group(type=command,ID="/tell #pName Listen to me, #pName. You are in grave danger. You need to run. Now. Take this Wolf Diamond Block, it is your only hope.",commandSender="DaMarionTheDiamondWolf";ID=lootplusplus:wolf.diamond,NBTTag=(display=(Name="$cOnly Hope")))@luck=-1
/ 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
/ flowers
group(ID=red_flower,damage=#rand(0,8),amount=64)@luck=0
/ 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

/ ========== ENTITIES ==========

/ lucky mobs
group:1:(type=entity,ID=Pig,NBTTag=(CustomName="$e$lLucky Gip",CustomNameVisible=true);type=entity,ID=Cow,NBTTag=(CustomName="$e$lLucky Woc",CustomNameVisible=true);type=entity,ID=Chicken,NBTTag=(CustomName="$e$lLucky Nekcihc",CustomNameVisible=true);type=entity,ID=Sheep,NBTTag=(CustomName="$e$lLucky Peesh",CustomNameVisible=true);type=entity,ID=Rabbit,NBTTag=(CustomName="$e$lLucky Tibbar",CustomNameVisible=true);type=entity,ID=Squid,NBTTag=(CustomName="$e$lUnlucky Diuqs",CustomNameVisible=true))@luck=0
/ colored sheep
type=entity,ID=Sheep,NBTTag=(CustomName="$cD$6STAR. $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=ThrownSnowball,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 creeper
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
/ 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=lootplusplus:wolf.lhelmet,Count=1,tag=(ench=#luckyHelmetEnchantments)),(id=lootplusplus:wolf.lchestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=lootplusplus:wolf.lleggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=lootplusplus:wolf.lboots,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

/ ghostly horseman skeleton
group(type=difficulty,ID=hard;type=entity,ID=Skeleton,NBTTag=(Equipment=[(id=bow,Count=1,tag=(ench=#luckyBowEnchantments)),(id=chainmail_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments)),(id=chainmail_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=chainmail_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=chainmail_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="$7$lGhostly Donkingman",CustomNameVisible=true,Riding=(id=EntityDonkey,Tame=true,Type=4,Riding=(id=Bat,Silent=true,ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)]))))@luck=-2

/ stacked villager and pigs
type=entity,ID=Pig,NBTTag=(Riding=(id=Pig,Riding=(id=Pig,Riding=(id=Pig,Riding=(id=Pig,Riding=(id=Pig,Riding=(id=Pig,Riding=(id=EnderDragon))))))))@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=100);type=entity,ID=LavaSlime,NBTTag=(Size=10))@luck=-2

/ pet wolves
group(type=entity,ID=Wolf,amount=#rand(5,10),posOffset=#circleOffset(3),NBTTag=(CollarColor=#rand(0,14),Owner=#pName,Sitting=1);type=particle,ID="heart",size=(2,0,2),particleAmount=20)@luck=1
/ pet cats
group(type=entity,ID=Ozelot,amount=#rand(5,10),posOffset=#circleOffset(3),NBTTag=(CatType=#rand(0,3),Owner=#pName,Sitting=1);type=particle,ID="heart",size=(2,0,2),particleAmount=20)@luck=1
/ pet rabbits
group(type=entity,ID=Rabbit,amount=#rand(5,10),posOffset=#circleOffset(3),NBTTag=(RabbitType=#rand(0,5),Owner=#pName,Sitting=1);type=particle,ID="heart",size=(2,0,2),particleAmount=20)@luck=1

/ hero 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$9Hero's Sword"))),maxUses=1),(buy=(id=diamond,Count=#rand(20,25)),sell=(id=bow,Count=1,tag=(ench=#luckyBowEnchantments,display=(Name="$e$9Hero's Bow"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=fishing_rod,Count=1,tag=(ench=#luckyFishingRodEnchantments,display=(Name="$e$9Hero's Fishing Rod"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=potion,Damage=8195,Count=1,tag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$9Hero's Potion"))),maxUses=1),(buy=(id=diamond,Count=#rand(7,12)),sell=(id=potion,Damage=16428,Count=1,tag=(CustomPotionEffects=#unluckyPotionEffects,display=(Name="$e$4Evil 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$9Hero's Helmet"))),maxUses=1),(buy=(id=diamond,Count=#rand(20,25)),sell=(id=diamond_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments,display=(Name="$e$9Hero's Chestplate"))),maxUses=1),(buy=(id=diamond,Count=#rand(15,20)),sell=(id=diamond_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments,display=(Name="$e$9Hero's Leggings"))),maxUses=1),(buy=(id=diamond,Count=#rand(12,17)),sell=(id=diamond_boots,Count=1,tag=(ench=#luckyBootsEnchantments,display=(Name="$e$9Hero's 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$9Hero's Shovel"))),maxUses=1),(buy=(id=diamond,Count=#rand(15,20)),sell=(id=diamond_pickaxe,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$e$9Hero's Pickaxe"))),maxUses=1),(buy=(id=diamond,Count=#rand(15,20)),sell=(id=diamond_axe,Count=1,tag=(ench=#luckyAxeEnchantments,display=(Name="$e$9Hero's Axe"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=diamond_hoe,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$e$9Hero's Hoe"))),maxUses=1)]),CustomName="$e$lHero's Villager",CustomNameVisible=true)@luck=1

/ falling blocks (iron, gold, diamond, emerald)
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
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
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
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
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

/ 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=lootplusplus:wolf.diamond),posY=#bPosY+50;type=entity,ID=LightningBolt,posY=#bPosY+10,delay=5.3)@luck=2

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

/ baby player
type=entity,ID=ArmorStand,NBTTag=(Small=true,NoBasePlate=true,ShowArms=true,Equipment=[(id=lootplusplus:lpickaxe,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=0

/ ==== Monster Apocalyple ====
/ sword, difficulty, time, potion effects
group(ID=wooden_sword;type=difficulty,ID=hard;type=time,ID=18750;type=effect,ID=resistance,duration=100000,amplifier=200;type=effect,ID=blindness,duration=100000; \
/ 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); \
/ all
group(type=entity,ID=Zombie,amount=#rand(50,150);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);type=entity,ID=Silverfish,amount=#rand(15,45);type=entity,ID=Endermite,amount=#rand(5,10);type=entity,ID=Guardian,amount=#rand(10,30)))),posOffset=#circleOffset(8,10))@luck=-2

/ ========== STRUCTURES ==========

/ traps
type=structure,ID=anvil_trap,pos=#pPos,rotation=#pDirect@luck=-2
type=structure,ID=lava_trap,pos=#pPos,rotation=#pDirect@luck=-2
type=structure,ID=water_trap,pos=#pPos@luck=-2  
type=structure,ID=pit_trap,pos=#pPos@luck=-2

/ lucky fort and temple
type=structure,ID=lucky_fort,pos=#pPos@luck=2
type=structure,ID=lucky_temple,pos=#pPos@chance=0.4@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

/ wishing wells
group(type=structure,ID=wishing_well;type=message,ID="A Wolf wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName lootplusplus:wolf.coin 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$bYour Wolf 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 Wolf wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName lootplusplus:wolf.coin 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_diamondwolf,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$eYour Wolf 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 Wolf wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName lootplusplus:wolf.coin 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block-diamondwolf,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$4Your ULTIMATE death wish came true LOL!\";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=200)"]))@luck=-2
group(type=structure,ID=wishing_well;type=message,ID="A Wolf wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName lootplusplus:wolf.coin 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_diamondwolf,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$eYour Wolf wish came true! (If you like Diamond Blocks)\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=lootplusplus:wolf.wolfdiamond,amount=128,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=lootplusplus:wolf.diamond,amount=64,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=diamond_block,amount=32,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=1
group(type=structure,ID=wishing_well;type=message,ID="A Wolf wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName lootplusplus:wolf.coin 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_diamondwolf,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$eYour Wolf Shoopin wish came true! (If you like Shoping)\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=lootplusplus:wolf.coin,amount=128,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=lootplusplus:wolf.coin,amount=64,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=lootplusplus:wolf.coin,amount=32,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=1

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

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

/ ========== ENCHANTED + LUCKY ITEMS ==========

/ lucky block book
ID=written_book,NBTTag=(author="Diamond Wolves",title="$e$9Diamond Wolves Wolf Info Book",pages=["$l$nThe Diamond Wolf$r\n\nThe Diamond Wolf ($oDiamondus Wolfus$r) was brought to Minecraft by the gods to Hunt the Bad people and Give Good Things to Good People.","The Wolf's true self will be revealed after Doing this.\n\nSome Love it, and others have been made rich by it.","You must Love them and be prepared for whatever will follow.\n\nIt is not Good or bad.\n\nIt is $bdestiny."])@luck=0
/ hero sword
ID=mb:legends_sword,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$e$9Crystal Sword"))@luck=2
/ hero bow
ID=mb:legends_bow,NBTTag=(ench=#luckyBowEnchantments,display=(Name="$e$9Crystal Bow"))@luck=2
/ hero fishing rod
ID=fishing_rod,NBTTag=(ench=#luckyFishingRodEnchantments,display=(Name="$e$9Crystal Fishing Rod"))@luck=2
/ hero tools
group:#rand(1,2):(ID=diamond_shovel,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$e$9Crystal Shovel"));ID=diamond_pickaxe,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$e$9Crystal Pickaxe"));ID=diamond_axe,NBTTag=(ench=#luckyAxeEnchantments,display=(Name="$e$9Crystal Axe"));ID=mb:itemScythe,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$e$9Wolf's Scythe")))@luck=2
/ hero armor
group:#rand(1,2):(ID=lootplusplus:wolf.lhelmet,NBTTag=(ench=#luckyHelmetEnchantments,display=(Name="$e$9Hero's Helmet"));ID=lootplusplus:wolf.lchestplate,NBTTag=(ench=#luckyChestplateEnchantments,display=(Name="$e$9Hero's Chestplate"));ID=lootplusplus:wolf.lleggings,NBTTag=(ench=#luckyLeggingsEnchantments,display=(Name="$e$9Hero's Leggings"));ID=lootplusplus:wolf.lboots,NBTTag=(ench=#luckyBootsEnchantments,display=(Name="$e$9Hero's Boots")))@luck=2
/ hero potion
ID=potion,damage=8195,NBTTag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$9Diamond Wolf's Potion"))@luck=2
/ unlucky potion
ID=potion,damage=16428,NBTTag=(CustomPotionEffects=#unluckyPotionEffects,display=(Name="$e$4Emerald Wolf's Potion"))@luck=1

/ lucky items
type=item,ID=lucky:diamondwolf_lucky_sword@chance=1.5@luck=2
type=item,ID=lucky:diamondwolf_lucky_bow@chance=1.5@luck=2
type=item,ID=lucky:diamondwolf_lucky_potion,NBTTag=(Luck=#randList(100,-100)),amount=#rand(10,15)@chance=1.5@luck=2
group(type=item,ID=lucky:diamondwolf_lucky_sword;type=item,ID=lucky:lucky_bow;type=item,ID=lucky:diamondwolf_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




