/ 16x diamond
type=fill,ID=diamond_block,size=(4,4,4)@luck=1

/ 16x stone
type=fill,ID=stone,size=(4,4,4)@luck=0

/ 16x gold
type=fill,ID=gold_block,size=(4,4,4)@luck=0

/ 16x iron
type=fill,ID=diamond_block,size=(4,4,4)@luck=0

/ 16x emerald
type=fill,ID=emerald_block,size=(4,4,4)@luck=1

/ 9x diamond
type=fill,ID=diamond_block,size=(3,3,3)@luck=1

/ 9x stone
type=fill,ID=stone,size=(3,3,3)@luck=0

/ 9x gold
type=fill,ID=gold_block,size=(3,3,3)@luck=0

/ 9x iron
type=fill,ID=diamond_block,size=(3,3,3)@luck=0

/ 9x emerald
type=fill,ID=emerald_block,size=(3,3,3)@luck=1


/ 16x green_apple_block
type=fill,ID=lootplusplus:green_apple_block,size=(4,4,4)@luck=1
/ 16x wip_apple_block
type=fill,ID=lootplusplus:wip_apple_block,size=(4,4,4)@luck=1
/ 16x wip_blood_block
type=fill,ID=lootplusplus:wip_blood_block,size=(4,4,4)@luck=1
/ 16x wip_emerald_block
type=fill,ID=lootplusplus:wip_emerald_block,size=(4,4,4)@luck=1
/ 16x wip_water_block
type=fill,ID=lootplusplus:wip_water_block,size=(4,4,4)@luck=1



GREEN APPLE:
	ID=lootplusplus:green_apple_helmet,NBTTag=(Unbreakable=true)@luck=2@chance=0.5

	ID=lootplusplus:green_apple_chestplate,NBTTag=(Unbreakable=true)@luck=2@chance=0.5

	ID=lootplusplus:green_apple_leggings,NBTTag=(Unbreakable=true)@luck=2@chance=0.5

	ID=lootplusplus:green_apple_boots,NBTTag=(Unbreakable=true)@luck=2@chance=0.5

	ID=lootplusplus:green_apple_material,amount=#rand(5,15)@luck=2@chance=0.5
	
	ID=lootplusplus:green_apple_bow@luck=2@chance=0.5

	ID=lootplusplus:green_apple_staff@luck=2@chance=0.5

	ID=lootplusplus:green_apple_paxel@luck=2@chance=0.5

	ID=lootplusplus:green_apple_shovel@luck=2@chance=0.5

	ID=lootplusplus:green_apple_trident@luck=2@chance=0.5

	ID=lootplusplus:green_apple_sword@luck=2@chance=0.5

	ID=lootplusplus:green_apple_ultimate_sword@luck=2@chance=0.5


WIP APPLE:
	ID=lootplusplus:wip_apple_helmet,NBTTag=(Unbreakable=true)@luck=2@chance=0.5

	ID=lootplusplus:wip_apple_chestplate,NBTTag=(Unbreakable=true)@luck=2@chance=0.5

	ID=lootplusplus:wip_apple_leggings,NBTTag=(Unbreakable=true)@luck=2@chance=0.5

	ID=lootplusplus:wip_apple_boots,NBTTag=(Unbreakable=true)@luck=2@chance=0.5

	ID=lootplusplus:wip_apple_material,amount=#rand(5,15)@luck=2@chance=0.5

	ID=lootplusplus:wip_apple_bow@luck=2@chance=0.5

	ID=lootplusplus:wip_apple_sword@luck=2@chance=0.5


WIP BLOOD:
	ID=lootplusplus:wip_blood_helmet,NBTTag=(Unbreakable=true)@luck=2@chance=0.5

	ID=lootplusplus:wip_blood_chestplate,NBTTag=(Unbreakable=true)@luck=2@chance=0.5

	ID=lootplusplus:wip_blood_leggings,NBTTag=(Unbreakable=true)@luck=2@chance=0.5

	ID=lootplusplus:wip_blood_boots,NBTTag=(Unbreakable=true)@luck=2@chance=0.5

	ID=lootplusplus:wip_blood_material,amount=#rand(5,15)@luck=2@chance=0.5

	ID=lootplusplus:wip_blood_bow@luck=2@chance=0.5

	ID=lootplusplus:wip_blood_sword@luck=2@chance=0.5


WIP BLOOD:
	ID=lootplusplus:wip_emerald_helmet,NBTTag=(Unbreakable=true)@luck=2@chance=0.5

	ID=lootplusplus:wip_emerald_chestplate,NBTTag=(Unbreakable=true)@luck=2@chance=0.5

	ID=lootplusplus:wip_emerald_leggings,NBTTag=(Unbreakable=true)@luck=2@chance=0.5

	ID=lootplusplus:wip_emerald_boots,NBTTag=(Unbreakable=true)@luck=2@chance=0.5

	ID=lootplusplus:wip_emerald_material,amount=#rand(5,15)@luck=2@chance=0.5

	ID=lootplusplus:wip_emerald_bow@luck=2@chance=0.5

	ID=lootplusplus:wip_emerald_sword@luck=2@chance=0.5



WIP WATER:
	ID=lootplusplus:wip_water_helmet,NBTTag=(Unbreakable=true)@luck=2@chance=0.5

	ID=lootplusplus:wip_water_chestplate,NBTTag=(Unbreakable=true)@luck=2@chance=0.5

	ID=lootplusplus:wip_water_leggings,NBTTag=(Unbreakable=true)@luck=2@chance=0.5

	ID=lootplusplus:wip_water_boots,NBTTag=(Unbreakable=true)@luck=2@chance=0.5

	ID=lootplusplus:wip_water_material,amount=#rand(5,15)@luck=2@chance=0.5
	
	ID=lootplusplus:wip_water_bow@luck=2@chance=0.5

	ID=lootplusplus:wip_water_staff@luck=2@chance=0.5

	ID=lootplusplus:wip_water_trident@luck=2@chance=0.5

	ID=lootplusplus:wip_water_sword@luck=2@chance=0.5
	
	ID=lootplusplus:wip_water_scythe@luck=2@chance=0.5

 OTHER ITEMS:
ID=lootplusplus:deadly_da_bottle,amount=#rand(5,15)@luck=2@chance=0.5
ID=lootplusplus:poison_in_a_bottle,amount=#rand(5,15)@luck=2@chance=0.5
ID=lootplusplus:ultimate_effect_in_a_bottle,amount=#rand(5,15)@luck=2@chance=0.5


ID=lootplusplus:green_apple,amount=#rand(5,15)@luck=2@chance=0.5
ID=lootplusplus:wip_apple,amount=#rand(5,15)@luck=2@chance=0.5
ID=lootplusplus:wip_apple_tea,amount=#rand(5,15)@luck=2@chance=0.5
ID=lootplusplus:wip_blood,amount=#rand(5,15)@luck=2@chance=0.5
ID=lootplusplus:wip_carrot,amount=#rand(5,15)@luck=2@chance=0.5
ID=lootplusplus:wip_coffee,amount=#rand(5,15)@luck=2@chance=0.5
ID=lootplusplus:wip_fish,amount=#rand(5,15)@luck=2@chance=0.5
ID=lootplusplus:wip_green_tea,amount=#rand(5,15)@luck=2@chance=0.5
ID=lootplusplus:wip_water,amount=#rand(5,15)@luck=2@chance=0.5
ID=lootplusplus:wip_water_apple,amount=#rand(5,15)@luck=2@chance=0.5
ID=lootplusplus:wip_water_carrot,amount=#rand(5,15)@luck=2@chance=0.5


ID=lootplusplus:green_apple_ammo,amount=#rand(5,15)@luck=2@chance=0.5
ID=lootplusplus:wip_emerald_ammo,amount=#rand(5,15)@luck=2@chance=0.5
ID=lootplusplus:wip_emerald_bullet,amount=#rand(5,15)@luck=2@chance=0.5
ID=lootplusplus:wip_water_ammo,amount=#rand(5,15)@luck=2@chance=0.5
ID=lootplusplus:wip_water_bullet,amount=#rand(5,15)@luck=2@chance=0.5
ID=lootplusplus:wip_throwing_star,amount=#rand(5,15)@luck=2@chance=0.5

ID=lootplusplus:wip_totem@luck=2@chance=0.5


 WISHING WELL:
group(ID=lootplusplus:wip_nugget;type=structure,ID=items_wishing_well;type=message,ID="A WIP wishing well? Maybe you should jump in...";type=block,ID=lucky:lucky_block_wip,posY=#bPosY4,NBTTag=(Drops=["group(type=message,ID="Green Apple!";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=lootplusplus:green_apple_material,amount=20,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
group(ID=lootplusplus:wip_nugget;type=structure,ID=items_wishing_well;type=message,ID="A WIP wishing well? Maybe you should jump in...";type=block,ID=lucky:lucky_block_wip,posY=#bPosY4,NBTTag=(Drops=["group(type=message,ID="WIP Apple!";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=lootplusplus:wip_apple_material,amount=20,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
group(ID=lootplusplus:wip_nugget;type=structure,ID=items_wishing_well;type=message,ID="A WIP wishing well? Maybe you should jump in...";type=block,ID=lucky:lucky_block_wip,posY=#bPosY4,NBTTag=(Drops=["group(type=message,ID="WIP Emerald!";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=lootplusplus:wip_emerald_material,amount=20,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
group(ID=lootplusplus:wip_nugget;type=structure,ID=items_wishing_well;type=message,ID="A WIP wishing well? Maybe you should jump in...";type=block,ID=lucky:lucky_block_wip,posY=#bPosY4,NBTTag=(Drops=["group(type=message,ID="WIP Water!";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=lootplusplus:wip_water_material,amount=20,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
group(ID=lootplusplus:wip_nugget;type=structure,ID=items_wishing_well;type=message,ID="A WIP wishing well? Maybe you should jump in...";type=block,ID=lucky:lucky_block_wip,posY=#bPosY4,NBTTag=(Drops=["group(type=message,ID="WIP Blood!";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=lootplusplus:wip_blood_material,amount=20,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2


group(ID=lootplusplus:wip_nugget;type=structure,ID=items_wishing_well;type=message,ID="A WIP wishing well? Maybe you should jump in...";type=block,ID=lucky:lucky_block_wip,posY=#bPosY4,NBTTag=(Drops=["group(type=message,ID="Iron Blocks!";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=minecraft:iron_block,amount=200,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
group(ID=lootplusplus:wip_nugget;type=structure,ID=items_wishing_well;type=message,ID="A WIP wishing well? Maybe you should jump in...";type=block,ID=lucky:lucky_block_wip,posY=#bPosY4,NBTTag=(Drops=["group(type=message,ID="Gold Blocks!";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=minecraft:gold_block,amount=200,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
group(ID=lootplusplus:wip_nugget;type=structure,ID=items_wishing_well;type=message,ID="A WIP wishing well? Maybe you should jump in...";type=block,ID=lucky:lucky_block_wip,posY=#bPosY4,NBTTag=(Drops=["group(type=message,ID="Diamond Blocks!";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=minecraft:diamond_block,amount=200,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
group(ID=lootplusplus:wip_nugget;type=structure,ID=items_wishing_well;type=message,ID="A WIP wishing well? Maybe you should jump in...";type=block,ID=lucky:lucky_block_wip,posY=#bPosY4,NBTTag=(Drops=["group(type=message,ID="Emerald Blocks!";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=minecraft:emerald_block,amount=200,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2



CHESTS:
type=block,ID=chest,tileEntity=(Items=[(id=lootplusplus:green_apple,Count=#rand(1,2),Slot=0),(id=lootplusplus:green_apple_material,Count=#rand(10,20),Slot=4),(id=lootplusplus:green_apple_ammo,Count=#rand(10,20),Slot=10)])@luck=2@chance=0.8
type=block,ID=chest,tileEntity=(Items=[(id=lootplusplus:wip_apple,Count=#rand(1,2),Slot=0),(id=lootplusplus:wip_apple_tea,Count=#rand(10,20),Slot=4),(id=lootplusplus:wip_blood,Count=#rand(10,20),Slot=10),(id=lootplusplus:wip_carrot,Count=#rand(10,20),Slot=5),(id=lootplusplus:wip_coffee,Count=#rand(10,20),Slot=2),(id=lootplusplus:wip_fish,Count=#rand(10,20),Slot=9),(id=lootplusplus:wip_green_tea,Count=#rand(10,20),Slot=7)])@luck=2@chance=0.8



ULTIMATE BAZOOKA
group(type=item,ID="lootplusplus:green_apple_bazooka",NBTTag=(ench=[(id=48,lvl=100),(id=50,lvl=100),(id=51,lvl=100)],display=(Name="§4§kalal §2§lGreen Apple Bazooka §4§kalal",Lore=["[LewisDaFurry] oh hey, you found it. congrat"]),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@chance=0.75
group(type=item,ID="lootplusplus:wip_blood_bazooka",NBTTag=(ench=[(id=48,lvl=100),(id=50,lvl=100),(id=51,lvl=100)],display=(Name="§4§kalal §c§lWIP Blood Bazooka §4§kalal",Lore=["[LewisDaFurry] oh hey, you found it. congrat"]),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@chance=0.75
group(type=item,ID="lootplusplus:wip_emerald_bazooka",NBTTag=(ench=[(id=48,lvl=100),(id=50,lvl=100),(id=51,lvl=100)],display=(Name="§4§kalal §a§lWIP Emerald Bazooka §4§kalal",Lore=["[LewisDaFurry] oh hey, you found it. congrat"]),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@chance=0.75
group(type=item,ID="lootplusplus:wip_water_bazooka",NBTTag=(ench=[(id=48,lvl=100),(id=50,lvl=100),(id=51,lvl=100)],display=(Name="§4§kalal §b§lWIP Water Bazooka §4§kalal",Lore=["[LewisDaFurry] oh hey, you found it. congrat"]),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@chance=0.75


ULTIMATE TRIDENT
group(type=item,ID="lootplusplus:green_apple_trident",NBTTag=(ench=[(id=48,lvl=100),(id=50,lvl=100),(id=51,lvl=100)],display=(Name="§4§kalal §2§lGreen Apple Trident §4§kalal",Lore=["[LewisDaFurry] oh hey, you found it. congrat"]),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@chance=0.75
group(type=item,ID="lootplusplus:wip_water_trident",NBTTag=(ench=[(id=48,lvl=100),(id=50,lvl=100),(id=51,lvl=100)],display=(Name="§4§kalal §b§lWIP Water Trident §4§kalal",Lore=["[LewisDaFurry] oh hey, you found it. congrat"]),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@chance=0.75


ULTIMATE STAFF
group(type=item,ID="lootplusplus:green_apple_staff",NBTTag=(ench=[(id=48,lvl=100),(id=50,lvl=100),(id=51,lvl=100)],display=(Name="§4§kalal §2§lGreen Apple Staff §4§kalal",Lore=["[LewisDaFurry] oh hey, you found it. congrat"]),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@chance=0.75
group(type=item,ID="lootplusplus:wip_staff",NBTTag=(ench=[(id=48,lvl=100),(id=50,lvl=100),(id=51,lvl=100)],display=(Name="§4§kalal §0§lWIP Staff §4§kalal",Lore=["[LewisDaFurry] oh hey, you found it. congrat"]),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@chance=0.75
group(type=item,ID="lootplusplus:wip_water_staff",NBTTag=(ench=[(id=48,lvl=100),(id=50,lvl=100),(id=51,lvl=100)],display=(Name="§4§kalal §b§lWIP Water Trident §4§kalal",Lore=["[LewisDaFurry] oh hey, you found it. congrat"]),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@chance=0.75


ULTIMATE ARMOR SET
group(type=item,ID="lootplusplus:green_apple_helmet",NBTTag=(ench=[(id=0,lvl=30000),(id=1,lvl=30000),(id=34,lvl=30000)],display=(Name="§4§kalal §2§lGreen Apple Helmet §4§kalal",Lore=["[LewisDaFurry] oh hey, you found it. congrat"]),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@chance=0.75
group(type=item,ID="lootplusplus:green_apple_chestplate",NBTTag=(ench=[(id=0,lvl=30000),(id=1,lvl=30000),(id=34,lvl=30000)],display=(Name="§4§kalal §2§lGreen Apple Chestplate §4§kalal",Lore=["[LewisDaFurry] oh hey, you found it. congrat"]),AttributeModifiers=[(AttributeName=generic.maxHealth,Name="health",Amount=367,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@chance=0.75
group(type=item,ID="lootplusplus:green_apple_leggings",NBTTag=(ench=[(id=0,lvl=30000),(id=1,lvl=30000),(id=34,lvl=30000)],display=(Name="§4§kalal §2§lGreen Apple Leggings §4§kalal",Lore=["[LewisDaFurry] oh hey, you found it. congrat"]),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@chance=0.75
group(type=item,ID="lootplusplus:green_apple_boots,NBTTag=(ench=[(id=0,lvl=30000),(id=1,lvl=30000),(id=34,lvl=30000)],display=(Name="§4§kalal §2§lGreen Apple Boots §4§kalal",Lore=["[LewisDaFurry] oh hey, you found it. congrat"]),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@chance=0.75


group(type=item,ID="lootplusplus:wip_water_helmet",NBTTag=(ench=[(id=0,lvl=100),(id=1,lvl=100),(id=34,lvl=100)],display=(Name="§4§kalal §b§lWIP Water Helmet §4§kalal",Lore=["[LewisDaFurry] oh hey, you found it. congrat"]),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@chance=0.75
group(type=item,ID="lootplusplus:wip_water_chestplate",NBTTag=(ench=[(id=0,lvl=100),(id=1,lvl=100),(id=34,lvl=100)],display=(Name="§4§kalal §b§lWIP Water Chestplate §4§kalal",Lore=["[LewisDaFurry] oh hey, you found it. congrat"]),AttributeModifiers=[(AttributeName=generic.maxHealth,Name="health",Amount=367,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@chance=0.75
group(type=item,ID="lootplusplus:wip_water_leggings",NBTTag=(ench=[(id=0,lvl=100),(id=1,lvl=100),(id=34,lvl=100)],display=(Name="§4§kalal §b§lWIP Water Leggings §4§kalal",Lore=["[LewisDaFurry] oh hey, you found it. congrat"]),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@chance=0.75
group(type=item,ID="lootplusplus:wip_water_boots,NBTTag=(ench=[(id=0,lvl=100),(id=1,lvl=100),(id=34,lvl=100)],display=(Name="§4§kalal §b§lWIP Water Boots §4§kalal",Lore=["[LewisDaFurry] oh hey, you found it. congrat"]),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@chance=0.75


group(type=item,ID="lootplusplus:wip_blood_helmet",NBTTag=(ench=[(id=0,lvl=100),(id=1,lvl=100),(id=34,lvl=100)],display=(Name="§4§kalal §b§lWIP Blood Helmet §4§kalal",Lore=["[LewisDaFurry] oh hey, you found it. congrat"]),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@chance=0.75
group(type=item,ID="lootplusplus:wip_blood_chestplate",NBTTag=(ench=[(id=0,lvl=100),(id=1,lvl=100),(id=34,lvl=100)],display=(Name="§4§kalal §b§lWIP Blood Chestplate §4§kalal",Lore=["[LewisDaFurry] oh hey, you found it. congrat"]),AttributeModifiers=[(AttributeName=generic.maxHealth,Name="health",Amount=367,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@chance=0.75
group(type=item,ID="lootplusplus:wip_blood_leggings",NBTTag=(ench=[(id=0,lvl=100),(id=1,lvl=100),(id=34,lvl=100)],display=(Name="§4§kalal §b§lWIP Blood Leggings §4§kalal",Lore=["[LewisDaFurry] oh hey, you found it. congrat"]),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@chance=0.75
group(type=item,ID="lootplusplus:wip_blood_boots,NBTTag=(ench=[(id=0,lvl=100),(id=1,lvl=100),(id=34,lvl=100)],display=(Name="§4§kalal §b§lWIP Blood Boots §4§kalal",Lore=["[LewisDaFurry] oh hey, you found it. congrat"]),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@chance=0.75


group(type=item,ID="lootplusplus:wip_emerald_helmet",NBTTag=(ench=[(id=0,lvl=100),(id=1,lvl=100),(id=34,lvl=100)],display=(Name="§4§kalal §b§lWIP Emerald Helmet §4§kalal",Lore=["[LewisDaFurry] oh hey, you found it. congrat"]),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@chance=0.75
group(type=item,ID="lootplusplus:wip_emerald_chestplate",NBTTag=(ench=[(id=0,lvl=100),(id=1,lvl=100),(id=34,lvl=100)],display=(Name="§4§kalal §b§lWIP Emerald Chestplate §4§kalal",Lore=["[LewisDaFurry] oh hey, you found it. congrat"]),AttributeModifiers=[(AttributeName=generic.maxHealth,Name="health",Amount=367,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@chance=0.75
group(type=item,ID="lootplusplus:wip_emerald_leggings",NBTTag=(ench=[(id=0,lvl=100),(id=1,lvl=100),(id=34,lvl=100)],display=(Name="§4§kalal §b§lWIP Emerald Leggings §4§kalal",Lore=["[LewisDaFurry] oh hey, you found it. congrat"]),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@chance=0.75
group(type=item,ID="lootplusplus:wip_emerald_boots,NBTTag=(ench=[(id=0,lvl=100),(id=1,lvl=100),(id=34,lvl=100)],display=(Name="§4§kalal §b§lWIP Emerald Boots §4§kalal",Lore=["[LewisDaFurry] oh hey, you found it. congrat"]),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@chance=0.75


group(type=item,ID="lootplusplus:wip_apple_helmet",NBTTag=(ench=[(id=0,lvl=100),(id=1,lvl=100),(id=34,lvl=100)],display=(Name="§4§kalal §b§lWIP Apple Helmet §4§kalal",Lore=["[LewisDaFurry] oh hey, you found it. congrat"]),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@chance=0.75
group(type=item,ID="lootplusplus:wip_apple_chestplate",NBTTag=(ench=[(id=0,lvl=100),(id=1,lvl=100),(id=34,lvl=100)],display=(Name="§4§kalal §b§lWIP Apple Chestplate §4§kalal",Lore=["[LewisDaFurry] oh hey, you found it. congrat"]),AttributeModifiers=[(AttributeName=generic.maxHealth,Name="health",Amount=367,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@chance=0.75
group(type=item,ID="lootplusplus:wip_apple_leggings",NBTTag=(ench=[(id=0,lvl=100),(id=1,lvl=100),(id=34,lvl=100)],display=(Name="§4§kalal §b§lWIP Apple Leggings §4§kalal",Lore=["[LewisDaFurry] oh hey, you found it. congrat"]),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@chance=0.75
group(type=item,ID="lootplusplus:wip_apple_boots,NBTTag=(ench=[(id=0,lvl=100),(id=1,lvl=100),(id=34,lvl=100)],display=(Name="§4§kalal §b§lWIP Apple Boots §4§kalal",Lore=["[LewisDaFurry] oh hey, you found it. congrat"]),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@chance=0.75


DROPS:

ID=chainmail_chestplate,NBTTag=(display=(Name="Thor Chestplate"),ench=[(id=7,lvl=3000)])@luck=2
ID=chainmail_chestplate,NBTTag=(display=(Name="Newer Thor Chestplate"),ench=[(id=7,lvl=10000)])@luck=2
ID=lootplusplus:wip_nugget,amount=#rand(5,15)@luck=2
ID=lootplusplus:wip_nugget,amount=#rand(5,25)@luck=2
ID=lootplusplus:wip_nugget,amount=#rand(5,35)@luck=2
ID=lootplusplus:wip_stick,amount=#rand(5,15)@luck=2
ID=lootplusplus:wip_stick,amount=#rand(5,25)@luck=2
ID=lootplusplus:wip_stick,amount=#rand(5,35)@luck=2



ID=potion,damage=8195,NBTTag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lWIP Lucky Potion"))@luck=2
ID=potion,damage=8195,NBTTag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="$e$lWIP Lucky Potion"))@luck=2
ID=potion,damage=16431,NBTTag=(display=(Name="$k$l$oWIP LUCKY POTION",Lore=["$k$l$oEFFECT KNOWN.","$k$l$oBUT REALLY UNSTABLE."]),HideFlags=33,ench=[(id=34,lvl=1)],CustomPotionEffects=[(Id=8,Amplifier=32,Duration=2000,ShowParticles=0b),(Id=21,Amplifier=128,Duration=2000,ShowParticles=0b)])@chance=0.5@luck=0
ID=potion,amount=1,damage=8267,reinitialize=true,NBTTag=(CustomPotionEffects=[(Id=1,Amplifier=5,Duration=#rand(6000,12000)),(Id=3,Amplifier=5,Duration=#rand(6000,12000)),(Id=5,Amplifier=5,Duration=#rand(6000,12000)),(Id=6,Amplifier=5),(Id=8,Amplifier=5,Duration=#rand(6000,12000)),(Id=10,Amplifier=5,Duration=#rand(6000,12000)),(Id=11,Amplifier=5,Duration=#rand(6000,12000)),(Id=12,Amplifier=5,Duration=#rand(6000,12000)),(Id=13,Amplifier=5,Duration=#rand(6000,12000)),(Id=14,Amplifier=5,Duration=#rand(6000,12000)),(Id=16,Amplifier=5,Duration=#rand(6000,12000)),(Id=21,Amplifier=5,Duration=#rand(6000,12000)),(Id=22,Amplifier=5,Duration=#rand(6000,12000)),(Id=23,Amplifier=5,Duration=#rand(6000,12000))],display=(Name="$e$lWIP OP Lucky Potion"))@chance=0.2@luck=0
ID=potion,amount=1,damage=8267,reinitialize=true,NBTTag={CustomPotionEffects:[{Id:18,Amplifier:2,Duration:600},{Id:19,Amplifier:2,Duration:600},{Id:20,Amplifier:2,Duration:600},{Id:21,Amplifier:2,Duration:600},{Id:22,Amplifier:2,Duration:600},{Id:23,Amplifier:2,Duration:600}],display:{Name:"Wat iz dat?"}}"@chance=0.2@luck=0
ID=potion,amount=1,damage=8267,reinitialize=true,NBTTag=(CustomPotionEffects=[(Id=1,Amplifier=5,Duration=#rand(6000,12000)),(Id=3,Amplifier=5,Duration=#rand(6000,12000)),(Id=5,Amplifier=5,Duration=#rand(6000,12000)),(Id=6,Amplifier=5),(Id=8,Amplifier=5,Duration=#rand(6000,12000)),(Id=10,Amplifier=5,Duration=#rand(6000,12000)),(Id=11,Amplifier=5,Duration=#rand(6000,12000)),(Id=12,Amplifier=5,Duration=#rand(6000,12000)),(Id=13,Amplifier=5,Duration=#rand(6000,12000)),(Id=14,Amplifier=5,Duration=#rand(6000,12000)),(Id=16,Amplifier=5,Duration=#rand(6000,12000)),(Id=21,Amplifier=5,Duration=#rand(6000,12000)),(Id=22,Amplifier=5,Duration=#rand(6000,12000)),(Id=23,Amplifier=5,Duration=#rand(6000,12000))],display=(Name="§1§kala §6§lUltimate Legendary WIP Potion §1§kalal"))@luck=3

ID=potion,amount=1,damage=8193,reinitialize=true,NBTTag=(CustomPotionEffects=[(Id=6,Amplifier=5),(Id=10,Amplifier=5,Duration=#rand(6000,12000)),(Id=21,Amplifier=5,Duration=#rand(6000,12000)),(Id=22,Amplifier=5,Duration=#rand(6000,12000)),(Id=23,Amplifier=5,Duration=#rand(6000,12000))],display=(Name="$e$lHealing Potion"))@luck=2
ID=potion,amount=1,damage=8194,reinitialize=true,NBTTag=(CustomPotionEffects=[(Id=1,Amplifier=5,Duration=#rand(6000,12000)),(Id=3,Amplifier=5,Duration=#rand(6000,12000)),(Id=8,Amplifier=5,Duration=#rand(6000,12000)),(Id=14,Amplifier=5,Duration=#rand(6000,12000)),(Id=16,Amplifier=5,Duration=#rand(6000,12000))],display=(Name=""))@luck=2ID=potioncore:custom_potion,Damage=1,NBTTag=(CustomPotionEffects=[(Id=potioncore:repair,Amplifier=100,Duration=500)],display=(Name="$l$6Repair Potion"))@luck=2
ID=potioncore:custom_potion,Damage=1,NBTTag=(CustomPotionEffects=[(Id=potioncore:rust,Amplifier=100,Duration=500)],display=(Name="$l$6Armor Destroyer"))@luck=2
ID=potioncore:custom_potion,Damage=1,NBTTag=(CustomPotionEffects=[(Id=potioncore:flight,Amplifier=1,Duration=6000)],display=(Name="$l$6Flight Potion"))@luck=2
ID=potioncore:custom_potion,Damage=1,NBTTag=(CustomPotionEffects=[(Id=potioncore:dispel,Amplifier=1,Duration=600),(Id=potioncore:disorganization,Amplifier=1,Duration=2),(Id=potioncore:spin,Amplifier=100,Duration=600),(Id=potioncore:perplexity,Amplifier=1,Duration=600)],display=(Name="$l$dBottle of DEATH",Lore=["Effect someone with the worst","deadly LSD trip"]))@luck=2

/arrow
ID=arrow,amount=7@luck=0

/multi gold blocks
ID=gold_block,amount=#rand(2,4)@chance=0.8@luck=2

/multi dioros lucky blocks
ID=lucky:lucky_block_dioros,amount=#rand(2,4)@chance=0.8@luck=2

/diamond blocks
ID=diamond_block@luck=1

/omg tower
group(type=fill,ID=air,size=(1,51,1);group(NBTTag=(Block=emerald_block),posY=#bPosY+5;NBTTag=(Block=emerald_block),posY=#bPosY+10;NBTTag=(Block=emerald_block),posY=#bPosY+15;NBTTag=(Block=emerald_block),posY=#bPosY+20;NBTTag=(Block=emerald_block),posY=#bPosY+25;NBTTag=(Block=emerald_block),posY=#bPosY+30;NBTTag=(Block=emerald_block),posY=#bPosY+35;NBTTag=(Block=emerald_block),posY=#bPosY+40;NBTTag=(Block=emerald_block),posY=#bPosY+45),type=entity,ID=FallingSand;type=entity,ID=FallingSand,NBTTag=(Block=beacon),posY=#bPosY+50;type=entity,ID=LightningBolt,posY=#bPosY+10,delay=5.3)@chance=0.5@luck=2

/bob
group(type=difficulty,ID=hard; \
type=entity,ID=Zombie,NBTTag=(Equipment=[(id=lootplusplus:dioros.ultimate_sword,Count=1,Damage=0,tag=(ench=#luckySwordEnchantments)),(id=lootplusplus:dioros.ultimate_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments)),(id=lootplusplus:dioros.ultimate_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments)),(id=lootplusplus:dioros.ultimate_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments)),(id=lootplusplus:dioros.ultimate_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="&5dioros bob",CustomNameVisible=true,Attributes=[(Name=generic.maxHealth,Base=30)]))@chance=0.89@luck=-2

/ Lucky drop: diamond tools
group(ID=diamond_shovel;ID=diamond_pickaxe;ID=diamond_axe;ID=diamond_sword)@luck=1

/ Unlucky drop: explosion
type=explosion,radius=7,fire=false@luck=-1
type=explosion,radius=45,fire=true@luck=-2
type=explosion,radius=15,fire=false@luck=-1.5


/gapples
group(ID=golden_apple,amount=#rand(36,54);ID=golden_apple,amount=#rand(13,33),damage=1)@chance=0.9,@luck=2
/chain set
group(ID=chainmail_helmet;ID=chainmail_chestplate;ID=chainmail_leggings;ID=chainmail_boots)@luck=0

ID=diamond_block,amount=128@luck=2
ID=emerald_block,amount=128@luck=2
ID=gold_block,amount=128@luck=2
ID=iron_block,amount=128@luck=2

ID=tnt,amount=16@luck=1
ID=obsidian,amount=14@luck=1
ID=enchanting_table@luck=2
ID=ender_chest,amount=2@luck=0
ID=sponge@luck=0
ID=tnt,amount=8@luck=1
ID=obsidian,amount=14@luck=1
ID=enchanting_table@luck=2
ID=ender_chest,amount=2@luck=0
ID=beacon@luck=2

RANDOM LUCKY TOOLS
ID=diamond_sword,NBTTag=(ench=[(id=16,lvl=#rand(1,127)),(id=20,lvl=#rand(0,11)),(id=21,lvl=#rand(2,51)),(id=34,lvl=#rand(3,81))],display=(Name="$6Lucky Sword"))@luck=2
ID=diamond_helmet,NBTTag=(ench=[(id=0,lvl=#rand(1,127)),(id=1,lvl=#rand(1,51)),(id=5,lvl=#rand(2,51)),(id=4,lvl=#rand(3,81))],display=(Name="$6Lucky Helmet"))@luck=2
ID=diamond_chestplate,NBTTag=(ench=[(id=0,lvl=#rand(1,127)),(id=1,lvl=#rand(1,51)),(id=4,lvl=#rand(2,51)),(id=3,lvl=#rand(3,81))],display=(Name="$6Lucky Chestplate"))@luck=2
ID=diamond_leggings,NBTTag=(ench=[(id=0,lvl=#rand(1,127)),(id=1,lvl=#rand(1,51)),(id=4,lvl=#rand(2,51)),(id=3,lvl=#rand(3,81))],display=(Name="$6Lucky Leggings"))@luck=2
ID=diamond_boots,NBTTag=(ench=[(id=0,lvl=#rand(1,127)),(id=1,lvl=#rand(1,51)),(id=8,lvl=#rand(2,51)),(id=2,lvl=#rand(3,81))],display=(Name="$6Lucky Boots"))@luck=2
ID=bow,NBTTag=(ench=[(id=48,lvl=#rand(1,127)),(id=49,lvl=#rand(1,51)),(id=50,lvl=#rand(2,51)),(id=51,lvl=#rand(3,81))],display=(Name="$6Lucky Bow"))@luck=2
ID=diamond_pickaxe,NBTTag=(ench=[(id=32,lvl=#rand(1,127)),(id=34,lvl=#rand(1,51)),(id=35,lvl=#rand(2,51)),(id=33,lvl=#rand(0,11))],display=(Name="$6Lucky Pickaxe"))@luck=2
ID=diamond_axe,NBTTag=(ench=[(id=32,lvl=#rand(1,127)),(id=34,lvl=#rand(1,51)),(id=35,lvl=#rand(2,51)),(id=33,lvl=#rand(0,11))],display=(Name="$6Lucky Axe"))@luck=2
ID=diamond_shovel,NBTTag=(ench=[(id=32,lvl=#rand(1,127)),(id=34,lvl=#rand(1,51)),(id=35,lvl=#rand(2,51)),(id=33,lvl=#rand(0,11))],display=(Name="$6Lucky Shovel"))@luck=2
ID=wooden_pickaxe,NBTTag=(ench=[(id=32,lvl=127)],display=(Name="$6Super (un)lucky Pickaxe"))@luck=2


[===== Chests =====]

type=block,ID=chest,tileEntity=(Items=#chestVillageBlacksmith)@luck=0
type=block,ID=chest,tileEntity=(Items=#chestBonusChest)@luck=1
type=block,ID=chest,tileEntity=(Items=#chestDungeonChest)@luck=1
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,maxAmount=2,weight=10),(id=golden_apple,maxAmount=2,weight=10),(id=golden_apple,Damage=1,maxAmount=2,weight=10)],maxTotalAmount=12))@luck=2
group(type=structure,id=wooden_chest;type=entity,ID=FallingSand,NBTTag=(Block=chest,TileEntityData=(Items=#chestBonusChest)),posOffset=(0,10,0))@luck=0
group(type=structure,id=stone_chest;type=entity,ID=FallingSand,NBTTag=(Block=chest,TileEntityData=(Items=#chestDungeonChest)),posOffset=(0,10,0))@luck=0
group(type=structure,id=iron_chest;type=entity,ID=FallingSand,NBTTag=(Block=chest,TileEntityData=(Items=#chest(contents=[(id=iron_sword,maxAmount=1,weight=10),(id=iron_ingot,maxAmount=8,weight=10),(id=iron_block,maxAmount=10,weight=10),(id=iron_hoe,maxAmount=1,weight=10)],maxTotalAmount=20))),posOffset=(0,10,0))@luck=2,posOffset=(0,10,0))@luck=1
group(type=structure,id=gold_chest;type=entity,ID=FallingSand,NBTTag=(Block=chest,TileEntityData=(Items=#chest(contents=[(id=gold_sword,maxAmount=1,weight=10),(id=gold_ingot,maxAmount=8,weight=10),(id=gold_block,maxAmount=10,weight=10),(id=gold_hoe,maxAmount=1,weight=10)],maxTotalAmount=20))),posOffset=(0,10,0))@luck=2,posOffset=(0,10,0))@luck=1
group(type=structure,id=diamond_chest;type=entity,ID=FallingSand,NBTTag=(Block=chest,TileEntityData=(Items=#chest(contents=[(id=diamond,maxAmount=10,weight=10),(id=diamond_shovel,maxAmount=1,weight=10),(id=diamond_axe,maxAmount=1,weight=1),(id=diamond_hoe,maxAmount=1,weight=5)],maxTotalAmount=13))),posOffset=(0,10,0))@luck=2@chance=0.5
group(type=structure,id=nether_chest;type=entity,ID=FallingSand,NBTTag=(Block=chest,TileEntityData=(Items=#chest(contents=[(id=soul_sand,maxAmount=1,weight=10),(id=nether_brick,maxAmount=8,weight=10),(id=quartz_block,maxAmount=10,weight=10),(id=netherrack,maxAmount=10,weight=10),(id=quartz_ore,maxAmount=10,weight=10)],maxTotalAmount=20))),posOffset=(0,10,0))@luck=1
 ========== 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


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

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

/ lucky mobs
group:1:(type=entity,ID=Pig,NBTTag=(CustomName="$e$lLucky Pig",CustomNameVisible=true);type=entity,ID=Cow,NBTTag=(CustomName="$e$lLucky Cow",CustomNameVisible=true);type=entity,ID=Chicken,NBTTag=(CustomName="$e$lLucky Chicken",CustomNameVisible=true);type=entity,ID=Sheep,NBTTag=(CustomName="$e$lLucky Sheep",CustomNameVisible=true);type=entity,ID=Rabbit,NBTTag=(CustomName="$e$lLucky Rabbit",CustomNameVisible=true);type=entity,ID=Squid,NBTTag=(CustomName="$e$lUnlucky Squid",CustomNameVisible=true))@luck=0
/ 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 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=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

/ 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 Horseman",CustomNameVisible=true,Riding=(id=EntityHorse,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=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

/ 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$lLucky 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

/ ========== 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=items_wishing_well;type=message,ID="A WIP wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName lootplusplus:wip_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_wip,posY=#bPosY4,NBTTag=(Drops=["group(type=message,ID=\"$bYour wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=FireworksRocketEntity,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag='#'randFireworksRocket)),amount=20,posY='#'bPosY+3,posOffset='#'circleOffset(2);ID=gold_ingot,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=diamond,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=emerald,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=dye,damage=4,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
group(type=structure,ID=items_wishing_well;type=message,ID="A WIP wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName lootplusplus:wip_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_wip,posY=#bPosY4,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=items_wishing_well;type=message,ID="A WIP wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName lootplusplus:wip_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block_wip,posY=#bPosY4,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
