//== First Update Drops ==

/lucky block rain and resource pillar
group(type=fill,ID=air,size=(3,51,3);type=entity,ID=falling_block,NBTTag=(Block=lucky:new_year_lucky_block),posY=#bPosY+5;group(posZ=#bPosZ+10;posX=#bPosX+15;posZ=#bPosZ+15;posX=#bPosX+20;posZ=#bPosZ+20;posZ=#bPosZ+25;posX=#bPosX+30;posX=#bPosX+35;posZ=#bPosZ+40;posZ=#bPosZ+45;posX=#bPosX+50;posZ=#bPosZ-40;posY=#bPosY-45),type=entity,ID=falling_block,NBTTag=(Block=lucky:new_year_lucky_block))@luck=2
group(type=fill,ID=air,size=(3,51,3);type=entity,ID=falling_block,NBTTag=(Block=lucky:lucky_block),posY=#bPosY+5;group(posZ=#bPosZ+10;posX=#bPosX+15;posZ=#bPosZ+15;posX=#bPosX+20;posZ=#bPosZ+20;posZ=#bPosZ+25;posX=#bPosX+30;posX=#bPosX+35;posZ=#bPosZ-40;posY=#bPosY-45;posZ=#bPosZ+40;posZ=#bPosZ+45;posX=#bPosX+50),type=entity,ID=falling_block,NBTTag=(Block=lucky:lucky_block))@luck=1
type=fill,ID=gold_block,size=(1,40,1)@luck=3
type=fill,ID=diamond_block,size=(1,40,1)@luck=5
type=fill,ID=emerald_block,size=(1,40,1)@luck=4
type=fill,ID=iron_block,size=(1,40,1)@luck=2
type=fill,ID=lapis_block,size=(1,40,1)@luck=2
type=fill,ID=coal_block,size=(1,40,1)@luck=1
type=fill,ID=beacon,size=(1,40,1)@luck=3
type=fill,ID=redstone_block,size=(1,40,1)@luck=1
type=entity,ID=falling_block,NBTTag=(Block=lucky:new_year_lucky_block),posY=#bPosY+5@luck=0

/items and blocks
ID=additions:new_year_lucky_block-activated_infuser@luck=100
ID=additions:new_year_lucky_block-advanced_infuser_blank@luck=50
ID=additions:new_year_lucky_block-barrier_sword@luck=85
ID=additions:new_year_lucky_block-basic_infuser_blank@luck=25
ID=additions:new_year_lucky_block-colourful_shield@luck=70
ID=additions:new_year_lucky_block-dark_blade@luck=10
ID=additions:new_year_lucky_block-gaming_ultimate_destroyer_rgb@luck=15
ID=additions:new_year_lucky_block-gift_token,amount=8@luck=2
ID=additions:new_year_lucky_block-healing_star@luck=30
ID=additions:new_year_lucky_block-light_sword@luck=10
ID=additions:new_year_lucky_block-party_material,amount=2@luck=3
ID=additions:new_year_lucky_block-party_sword@luck=4
ID=additions:new_year_lucky_block-sus_material,amount=2@luck=3
ID=additions:new_year_lucky_block-sussy_sword@luck=4
ID=additions:new_year_lucky_block-potion_talisman@luck=3
ID=additions:new_year_lucky_block-cocoa_bread,amount=#rand(8,16)@luck=0 
ID=additions:new_year_lucky_block-enchanted_golden_carrot,amount=#rand(8,16)@luck=1
ID=additions:new_year_lucky_block-enchanted_golden_chorus_fruit,amount=#rand(8,16)@luck=1
ID=additions:new_year_lucky_block-golden_chorus_fruit,amount=#rand(8,16)@luck=1
ID=additions:new_year_lucky_block-black_cookies,amount=#rand(8,16)@luck=0
ID=additions:new_year_lucky_block-blue_cookies,amount=#rand(8,16)@luck=0
ID=additions:new_year_lucky_block-brown_cookies,amount=#rand(8,16)@luck=0
ID=additions:new_year_lucky_block-cyan_cookies,amount=#rand(8,16)@luck=0
ID=additions:new_year_lucky_block-gray_cookies,amount=#rand(8,16)@luck=0
ID=additions:new_year_lucky_block-green_cookies,amount=#rand(8,16)@luck=0
ID=additions:new_year_lucky_block-light_blue_cookies,amount=#rand(8,16)@luck=0
ID=additions:new_year_lucky_block-light_gray_cookies,amount=#rand(8,16)@luck=0
ID=additions:new_year_lucky_block-lime_cookies,amount=#rand(8,16)@luck=0
ID=additions:new_year_lucky_block-magenta_cookies,amount=#rand(8,16)@luck=0
ID=additions:new_year_lucky_block-orange_cookies,amount=#rand(8,16)@luck=0
ID=additions:new_year_lucky_block-purple_cookies,amount=#rand(8,16)@luck=0
ID=additions:new_year_lucky_block-red_cookies,amount=#rand(8,16)@luck=0
ID=additions:new_year_lucky_block-white_cookies,amount=#rand(8,16)@luck=0
ID=additions:new_year_lucky_block-yellow_cookies,amount=#rand(8,16)@luck=0
ID=additions:new_year_lucky_block-glow_berries,amount=#rand(8,16)@luck=0

/ golden carrots
group(ID=golden_carrots,amount=#rand(2,4);ID=additions:new_year_lucky_block-enchanted_golden_carrot,amount=#rand(1,2))@luck=2
/ golden chorus
group(ID=additions:new_year_lucky_block-golden_chorus_fruit,amount=#rand(2,4);ID=additions:new_year_lucky_block-enchanted_golden_chorus_fruit,amount=#rand(1,2))@luck=2
/apples
group(ID=apple,amount=#rand(6,8);ID=golden_apple,amount=#rand(2,4);ID=golden_apple,amount=#rand(1,2),damage=1)@luck=2
/carrots
group(ID=carrot,amount=#rand(6,8);ID=golden_carrot,amount=#rand(2,4);ID=additions:new_year_lucky_block-enchanted_golden_carrot,amount=#rand(1,2))@luck=2
/chorus
group(ID=chorus_fruit,amount=#rand(6,8);ID=additions:new_year_lucky_block-golden_chorus_fruit,amount=#rand(2,4);ID=additions:new_year_lucky_block-enchanted_golden_chorus_fruit,amount=#rand(1,2))@luck=2
ID=nether_star,amount=#rand(8,64)@luck=40
ID=dragon_egg,amount=#rand(8,64)@luck=40
ID=additions:new_year_lucky_block-colourful_pickaxe@luck=28
ID=additions:new_year_lucky_block-troll_mask@luck=4
ID=additions:new_year_lucky_block-gift_token,amount=16@luck=3
ID=additions:new_year_lucky_block-gift_token,amount=24@luck=5
ID=additions:new_year_lucky_block-gift_token,amount=32@luck=6
ID=additions:new_year_lucky_block-cake_or_not,amount=#rand(8,16)@luck=2
ID=additions:new_year_lucky_block-cake_or_not,amount=#rand(16,32)@luck=3
ID=additions:new_year_lucky_block-cake_or_not,amount=#rand(4,8)@luck=1
ID=additions:new_year_lucky_block-cake_or_not,amount=#rand(38,64)@luck=5
ID=additions:new_year_lucky_block-troll_mask,NBTTag=(ench=#luckyHelmetEnchantments,display=(Name="$9$lHero's Troll Mask"))@luck=2
ID=additions:new_year_lucky_block-dark_blade,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$9$lHero's Dark Sword"))@luck=2
ID=additions:new_year_lucky_block-light_sword,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$9$lHero's Light Sword"))@luck=2
ID=additions:new_year_lucky_block-sussy_sword,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$9$lHero's Sus Sword"))@luck=2
ID=additions:new_year_lucky_block-party_sword,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$9$lHero's Party Sword"))@luck=2
ID=additions:new_year_lucky_block-barrier_sword,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$9$lHero's Barrier Sword"))@luck=2
/ hero cake
ID=additions:new_year_lucky_block-cake_or_not,NBTTag=(Potion="fire_resistance",CustomPotionEffects=#luckyPotionEffects,display=(Name="$9$lHero's Cake?"))@luck=2
/ unlucky gift
ID=additions:new_year_lucky_block-gift_token,NBTTag=(Potion="harming",CustomPotionEffects=#unluckyPotionEffects,display=(Name="$4$lEvil Gift"))@luck=1
/ Troll bob zombie
group(type=difficulty,ID=hard;type=entity,ID=Zombie,NBTTag=(HandItems=[(id=additions:new_year_lucky_block-sussy_sword,Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=diamond_boots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=diamond_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=additions:new_year_lucky_block-troll_mask,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$9$lTroll Bob",CustomNameVisible=true))@luck=-3
/ bob's army
group(type=difficulty,ID=hard;type=entity,ID=Zombie,NBTTag=(HandItems=[(id=#randList(additions:new_year_lucky_block-barrier_sword,additions:new_year_lucky_block-gaming_ultimate_destroyer_rgb,additions:new_year_lucky_block-dark_blade,additions:new_year_lucky_block-light_sword,additions:new_year_lucky_block-party_sword,additions:new_year_lucky_block-sussy_sword,additions:new_year_lucky_block-colourful_pickaxe),Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=diamond_boots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=diamond_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=additions:new_year_lucky_block-troll_mask,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$9$lTroll Bob",CustomNameVisible=true),amount=#rand(4,32))@luck=-4
/kevin
group(type=difficulty,ID=hard;type=entity,ID=Wither_skeleton,NBTTag=(HandItems=[(id=additions:new_year_lucky_block-sussy_sword,Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=diamond_boots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=diamond_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=additions:new_year_lucky_block-troll_mask,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$9$lTroll Kevin",CustomNameVisible=true))@luck=-3
/stuart
group(type=difficulty,ID=hard;type=entity,ID=Stray,NBTTag=(HandItems=[(id=additions:new_year_lucky_block-sussy_sword,Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=diamond_boots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=diamond_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=additions:new_year_lucky_block-troll_mask,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$9$lTroll Stuart",CustomNameVisible=true))@luck=-3
/joe
group(type=difficulty,ID=hard;type=entity,ID=Skeleton,NBTTag=(HandItems=[(id=additions:new_year_lucky_block-sussy_sword,Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=diamond_boots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=diamond_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=additions:new_year_lucky_block-troll_mask,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$9$lTroll Joe",CustomNameVisible=true))@luck=-3
/paul
group(type=difficulty,ID=hard;type=entity,ID=Husk,NBTTag=(HandItems=[(id=additions:new_year_lucky_block-sussy_sword,Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=diamond_boots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=diamond_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=additions:new_year_lucky_block-troll_mask,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$9$lTroll Paul",CustomNameVisible=true))@luck=-3
/kevin's army
group(type=difficulty,ID=hard;type=entity,ID=Wither_skeleton,NBTTag=(HandItems=[(id=#randList(additions:new_year_lucky_block-barrier_sword,additions:new_year_lucky_block-gaming_ultimate_destroyer_rgb,additions:new_year_lucky_block-dark_blade,additions:new_year_lucky_block-light_sword,additions:new_year_lucky_block-party_sword,additions:new_year_lucky_block-sussy_sword,additions:new_year_lucky_block-colourful_pickaxe),Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=diamond_boots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=diamond_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=additions:new_year_lucky_block-troll_mask,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$9$lTroll Kevin",CustomNameVisible=true),amount=#rand(4,32))@luck=-5
/stuart's army
group(type=difficulty,ID=hard;type=entity,ID=Stray,NBTTag=(HandItems=[(id=#randList(additions:new_year_lucky_block-barrier_sword,additions:new_year_lucky_block-gaming_ultimate_destroyer_rgb,additions:new_year_lucky_block-dark_blade,additions:new_year_lucky_block-light_sword,additions:new_year_lucky_block-party_sword,additions:new_year_lucky_block-sussy_sword,additions:new_year_lucky_block-colourful_pickaxe),Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=diamond_boots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=diamond_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=additions:new_year_lucky_block-troll_mask,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$9$lTroll Stuart",CustomNameVisible=true),amount=#rand(4,32))@luck=-5
/joe's army
group(type=difficulty,ID=hard;type=entity,ID=Skeleton,NBTTag=(HandItems=[(id=#randlist(additions:new_year_lucky_block-barrier_sword,additions:new_year_lucky_block-gaming_ultimate_destroyer_rgb,additions:new_year_lucky_block-dark_blade,additions:new_year_lucky_block-light_sword,additions:new_year_lucky_block-party_sword,additions:new_year_lucky_block-sussy_sword,additions:new_year_lucky_block-colourful_pickaxe),Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=diamond_boots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=diamond_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=additions:new_year_lucky_block-troll_mask,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$9$lTroll Joe",CustomNameVisible=true),amount=#rand(4,32))@luck=-5
/paul's army
group(type=difficulty,ID=hard;type=entity,ID=Husk,NBTTag=(HandItems=[(id=#randList(additions:new_year_lucky_block-barrier_sword,additions:new_year_lucky_block-gaming_ultimate_destroyer_rgb,additions:new_year_lucky_block-dark_blade,additions:new_year_lucky_block-light_sword,additions:new_year_lucky_block-party_sword,additions:new_year_lucky_block-sussy_sword,additions:new_year_lucky_block-colourful_pickaxe),Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=diamond_boots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=diamond_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=additions:new_year_lucky_block-troll_mask,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$9$lTroll Paul",CustomNameVisible=true),amount=#rand(4,32))@luck=-5
/ ghostly horseman skeleton
group(type=difficulty,ID=hard;type=entity,ID=Bat,NBTTag=(Silent=true,ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)],Passengers=[(id=skeleton_horse,Tame=true,Type=4,Passengers=[(id=Skeleton,HandItems=[(id=bow,Count=1,tag=(ench=#luckyBowEnchantments))],ArmorItems=[(id=chainmail_boots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=chainmail_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=chainmail_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=chainmail_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$7$lGhostly Horseman",CustomNameVisible=true)])]))@luck=-2
/ colorful poles
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=falling_block;type=entity,ID=falling_block,NBTTag=(Block=diamond_block),posY=#bPosY+50;type=entity,ID=LightningBolt,posY=#bPosY+10,delay=5.3)@luck=2
group(type=fill,ID=air,size=(1,51,1);group(NBTTag=(Block=stained_glass,Data=14),posY=#bPosY+5;NBTTag=(Block=stained_glass,Data=1),posY=#bPosY+10;NBTTag=(Block=stained_glass,Data=4),posY=#bPosY+15;NBTTag=(Block=stained_glass,Data=5),posY=#bPosY+20;NBTTag=(Block=stained_glass,Data=3),posY=#bPosY+25;NBTTag=(Block=stained_glass,Data=11),posY=#bPosY+30;NBTTag=(Block=stained_glass,Data=10),posY=#bPosY+35;NBTTag=(Block=stained_glass,Data=2),posY=#bPosY+40;NBTTag=(Block=stained_glass,Data=6),posY=#bPosY+45),type=entity,ID=falling_block;type=entity,ID=falling_block,NBTTag=(Block=diamond_block),posY=#bPosY+50;type=entity,ID=LightningBolt,posY=#bPosY+10,delay=5.3)@luck=2
group(type=fill,ID=air,size=(1,51,1);group(NBTTag=(Block=concrete,Data=14),posY=#bPosY+5;NBTTag=(Block=concrete,Data=1),posY=#bPosY+10;NBTTag=(Block=concrete,Data=4),posY=#bPosY+15;NBTTag=(Block=concrete,Data=5),posY=#bPosY+20;NBTTag=(Block=concrete,Data=3),posY=#bPosY+25;NBTTag=(Block=concrete,Data=11),posY=#bPosY+30;NBTTag=(Block=concrete,Data=10),posY=#bPosY+35;NBTTag=(Block=concrete,Data=2),posY=#bPosY+40;NBTTag=(Block=concrete,Data=6),posY=#bPosY+45),type=entity,ID=falling_block;type=entity,ID=falling_block,NBTTag=(Block=diamond_block),posY=#bPosY+50;type=entity,ID=LightningBolt,posY=#bPosY+10,delay=5.3)@luck=2
group(type=fill,ID=air,size=(1,51,1);group(NBTTag=(Block=glazed_terracotta,Data=14),posY=#bPosY+5;NBTTag=(Block=glazed_terracotta,Data=1),posY=#bPosY+10;NBTTag=(Block=glazed_terracotta,Data=4),posY=#bPosY+15;NBTTag=(Block=glazed_terracotta,Data=5),posY=#bPosY+20;NBTTag=(Block=glazed_terracotta,Data=3),posY=#bPosY+25;NBTTag=(Block=glazed_terracotta,Data=11),posY=#bPosY+30;NBTTag=(Block=glazed_terracotta,Data=10),posY=#bPosY+35;NBTTag=(Block=glazed_terracotta,Data=2),posY=#bPosY+40;NBTTag=(Block=glazed_terracotta,Data=6),posY=#bPosY+45),type=entity,ID=falling_block;type=entity,ID=falling_block,NBTTag=(Block=diamond_block),posY=#bPosY+50;type=entity,ID=LightningBolt,posY=#bPosY+10,delay=5.3)@luck=2
/ colorful pole lucky
group(type=fill,ID=air,size=(1,51,1);group(NBTTag=(Block=lucky:lucky_block),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=falling_block;type=entity,ID=falling_block,NBTTag=(Block=diamond_block),posY=#bPosY+50;type=entity,ID=LightningBolt,posY=#bPosY+10,delay=5.3)@luck=2
/ baby player (classic)
type=entity,ID=armor_stand,NBTTag=(Small=true,NoBasePlate=true,ShowArms=true,HandItems=[(id=stone_pickaxe,Count=1)],ArmorItems=[(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
/ baby player (gaming)
type=entity,ID=armor_stand,NBTTag=(Small=true,NoBasePlate=true,ShowArms=true,HandItems=[(id=additions:new_year_lucky_block-gaming_ultimate_destroyer_rgb,Count=1)],ArmorItems=[(id=diamond_boots,Count=1),(id=diamond_leggings,Count=1),(id=diamond_chestplate,Count=1),(id=skull,Damage=3,Count=1,tag=(SkullOwner=#pName))],Rotation=[#pYaw+180f,0f],CustomName="Baby #pName",CustomNameVisible=true)@luck=70
/ baby player (colourful)
type=entity,ID=armor_stand,NBTTag=(Small=true,NoBasePlate=true,ShowArms=true,HandItems=[(id=additions:new_year_lucky_block-colourful_pickaxe,Count=1)],ArmorItems=[(id=diamond_boots,Count=1),(id=diamond_leggings,Count=1),(id=diamond_chestplate,Count=1),(id=skull,Damage=3,Count=1,tag=(SkullOwner=#pName))],Rotation=[#pYaw+180f,0f],CustomName="Baby #pName",CustomNameVisible=true)@luck=70
/ baby player (sus)
type=entity,ID=armor_stand,NBTTag=(Small=true,NoBasePlate=true,ShowArms=true,HandItems=[(id=additions:new_year_lucky_block-sussy_sword,Count=1)],ArmorItems=[(id=diamond_boots,Count=1),(id=diamond_leggings,Count=1),(id=diamond_chestplate,Count=1),(id=skull,Damage=3,Count=1,tag=(SkullOwner=#pName))],Rotation=[#pYaw+180f,0f],CustomName="Baby #pName",CustomNameVisible=true)@luck=70
/ baby player (party)
type=entity,ID=armor_stand,NBTTag=(Small=true,NoBasePlate=true,ShowArms=true,HandItems=[(id=additions:new_year_lucky_block-party_sword,Count=1)],ArmorItems=[(id=diamond_boots,Count=1),(id=diamond_leggings,Count=1),(id=diamond_chestplate,Count=1),(id=skull,Damage=3,Count=1,tag=(SkullOwner=#pName))],Rotation=[#pYaw+180f,0f],CustomName="Baby #pName",CustomNameVisible=true)@luck=70
/ baby player (light)
type=entity,ID=armor_stand,NBTTag=(Small=true,NoBasePlate=true,ShowArms=true,HandItems=[(id=additions:new_year_lucky_block-light_sword,Count=1)],ArmorItems=[(id=diamond_boots,Count=1),(id=diamond_leggings,Count=1),(id=diamond_chestplate,Count=1),(id=skull,Damage=3,Count=1,tag=(SkullOwner=#pName))],Rotation=[#pYaw+180f,0f],CustomName="Baby #pName",CustomNameVisible=true)@luck=70
/ baby player (dark)
type=entity,ID=armor_stand,NBTTag=(Small=true,NoBasePlate=true,ShowArms=true,HandItems=[(id=additions:new_year_lucky_block-dark_sword,Count=1)],ArmorItems=[(id=diamond_boots,Count=1),(id=diamond_leggings,Count=1),(id=diamond_chestplate,Count=1),(id=skull,Damage=3,Count=1,tag=(SkullOwner=#pName))],Rotation=[#pYaw+180f,0f],CustomName="Baby #pName",CustomNameVisible=true)@luck=70
/ baby player (rich)
type=entity,ID=armor_stand,NBTTag=(Small=true,NoBasePlate=true,ShowArms=true,HandItems=[(id=additions:new_year_lucky_block-barrier_sword,Count=1)],ArmorItems=[(id=diamond_boots,Count=1),(id=diamond_leggings,Count=1),(id=diamond_chestplate,Count=1),(id=skull,Damage=3,Count=1,tag=(SkullOwner=#pName))],Rotation=[#pYaw+180f,0f],CustomName="Baby #pName",CustomNameVisible=true)@luck=70

//Classic Drops
/ ========== 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
/ lucky bow and arrows
group(ID=lucky:lucky_bow;ID=arrow,amount=#rand(16,32))@luck=2
/ new year lucky bow and arrows
group(ID=lucky:new_year_lucky_bow;ID=arrow,amount=#rand(16,32))@luck=2
/ shield and totem
group(ID=shield;ID=totem_of_undying)@luck=1
/ ========== BLOCKS ==========

ID=sponge,amount=8@luck=1
ID=tnt,amount=18@luck=2
ID=obsidian,amount=114@luck=2
ID=enchanting_table,amount=8@luck=4
ID=end_portal_frame,amount=#rand(9,16)@luck=4
ID=bedrock,amount=#rand(9,16)@luck=4
ID=barrier,amount=#rand(9,16)@luck=4
ID=ender_chest,amount=6@luck=1
ID=dropper,amount=18@luck=1
ID=hay_block,amount=28@luck=1
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
ID=#randColor_shulker_box@luck=0
/ chests
type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/spawn_bonus_chest"))@luck=0
type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/simple_dungeon"))@luck=1
type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/village_blacksmith"))@luck=1
type=block,ID=chest,tileEntity=(Items=#customChestLootTable({"pools":[{"rolls":{"min":6,"max":12},"entries":[{"type":"item","name":"minecraft:iron_ingot","weight":1,"functions":[{"function":"set_count","count":{"min":1,"max":8}}]},{"type":"item","name":"minecraft:gold_ingot","weight":1,"functions":[{"function":"set_count","count":{"min":1,"max":4}}]},{"type":"item","name":"minecraft:diamond","weight":1,"functions":[{"function":"set_count","count":{"min":1,"max":4}}]},{"type":"item","name":"minecraft:emerald","weight":1,"functions":[{"function":"set_count","count":{"min":1,"max":4}}]},{"type":"item","name":"minecraft:dye","weight":1,"functions":[{"function":"set_data","data":4},{"function":"set_count","count":{"min":1,"max":4}}]},{"type":"item","name":"lucky:lucky_block","weight":1,"functions":[{"function":"set_data","data":0},{"function":"set_count","count":{"min":1,"max":2}}]},{"type":"item","name":"minecraft:golden_apple","weight":1,"functions":[{"function":"set_data","data":0},{"function":"set_count","count":{"min":1,"max":2}}]},{"type":"item","name":"minecraft:golden_apple","weight":1,"functions":[{"function":"set_data","data":1},{"function":"set_count","count":{"min":1,"max":2}}]}]}]}))@luck=2
type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/abandoned_mineshaft"))@luck=0
type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/desert_pyramid"))@luck=0
type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/igloo_chest"))@luck=0
type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/abandoned_mineshaft"))@luck=0
type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/end_city_treasure"))@luck=3
type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/jungle_temple"))@luck=0
type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/jungle_temple_dispenser"))@luck=-1
type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/nether_bridge"))@luck=0
type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/stronghold_corridor"))@luck=0
type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/stronghold_crossing"))@luck=0
type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/stronghold_library"))@luck=0
type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/woodland_mansion"))@luck=0
type=block,ID=chest,tileEntity=(Items=#chestLootTable("gameplay/fishing/treasure"))@luck=0
/ ========= ITEMS ==========

ID=gold_ingot,amount=#rand(16,32)@luck=1
ID=stick,amount=6@luck=-1
ID=deadbush,amount=6@luck=-1
ID=painting,amount=9@luck=0
ID=saddle,amount=3@luck=0
ID=cake,amount=3@luck=0
ID=rotten_flesh,amount=#rand(9,66)@luck=-1
ID=nether_star@luck=2
ID=red_flower,NBTTag=(display=(Name="$cRomantic Rose"))@luck=-1
ID=rabbit_stew,amount=#rand(5,7)@luck=1
ID=coal,amount=64@luck=1
ID=coal,amount=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=#randList(potion,splash_potion),NBTTag=(Potion=#randPotion),amount=#rand(4,8)@luck=1
/ spawn eggs
ID=spawn_egg,NBTTag=(EntityTag=(id=#randSpawnEgg)),amount=#rand(4,8)@luck=1
/ heads
ID=skull,damage=#rand(0,4),amount=#rand(2,5)@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=splashpotion,potion="fire_resistance")@luck=2
/ redstone
group(ID=dispenser,amount=2;ID=noteblock,amount=1;ID=sticky_piston,amount=4;ID=piston,amount=4;ID=tnt,amount=6;ID=lever,amount=2;ID=stone_pressure_plate,amount=2;ID=wooden_pressure_plate,amount=2;ID=redstone_torch,amount=8;ID=stone_button,amount=2;ID=trapdoor,amount=2;ID=iron_trapdoor,amount=2;ID=fence_gate,amount=1;ID=redstone_lamp,amount=4;ID=tripwire_hook,amount=2;ID=wooden_button,amount=2;ID=light_weighted_pressure_plate,amount=1;ID=heavy_weighted_pressure_plate,amount=1;ID=daylight_detector,amount=1;ID=hopper,amount=4;ID=dropper,amount=#rand(2,4);ID=wooden_door,amount=1;ID=iron_door,amount=1;ID=redstone,amount=#rand(32,64);ID=repeater,amount=8;ID=comparator,amount=2;type=particle,ID=splashpotion,potion="healing")@luck=2
/ colorful
group(group:1:(ID=wool,damage=#rand(0,15),amount=#rand(32,64);ID=stained_hardened_clay,damage=#rand(0,15),amount=#rand(32,64);ID=dye,damage=#rand(0,15),amount=#rand(32,64));type=particle,ID=splashpotion,potion=#randPotion,amount=10)@luck=1
/ iron, gold, diamond, emerald, lapis with fireworks
group(ID=iron_ingot,amount=#rand(8,16);ID=gold_ingot,amount=#rand(8,16);ID=diamond,amount=#rand(8,16);ID=emerald,amount=#rand(8,16);ID=dye,damage=4,amount=#rand(8,16);type=entity,ID=fireworks_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,Count=1,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=splashpotion,potion="invisibility")@luck=1
/ fish
group(ID=fishing_rod;ID=349,damage=#rand(0,3),amount=#rand(10,20))@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=splashpotion,potion="invisibility")@luck=1

/ ========== 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=egg,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=xp_bottle,NBTTag=(Motion=#randLaunchMotion),amount=#rand(16,32)@luck=2

/ launched tnt
type=entity,ID=tnt,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=wither)@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
/ stacked villager and pigs
type=entity,ID=Pig,NBTTag=(Passengers=[(id=Pig,Passengers=[(id=Pig,Passengers=[(id=Pig,Passengers=[(id=Pig,Passengers=[(id=Pig,Passengers=[(id=Pig,Passengers=[(id=Pig,Passengers=[(id=Villager)])])])])])])])])@luck=0

/ horses
type=entity,ID=#randList(horse,skeleton_horse,zombie_horse),amount=12,posOffset=#circleOffset(4),NBTTag=(Tame=true,OwnerUUID=#pUUID)@luck=1

/ llamas
type=entity,ID=llama,amount=8,posOffset=#circleOffset(4),NBTTag=(CustomName=#randList("$5$lLlaura","$5$lLlauretta","$5$lLlavender","$5$lLlinda","$5$lLlisa","$5$lLlouise","$5$lLlucy","$5$lLlydia"),Variant=#rand(0,3),CustomNameVisible=true)@luck=0

/ 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=magma_cube,NBTTag=(Size=10))@luck=-2

/ pet wolves
group(type=entity,ID=Wolf,amount=#rand(5,10),posOffset=#circleOffset(3),NBTTag=(CollarColor=#rand(0,14),OwnerUUID=#pUUID,Sitting=1);type=particle,ID="heart",size=(2,0,2),particleAmount=20)@luck=1
/ pet cats
group(type=entity,ID=ocelot,amount=#rand(5,10),posOffset=#circleOffset(3),NBTTag=(CatType=#rand(0,3),OwnerUUID=#pUUID,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),OwnerUUID=#pUUID,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="$9$lHero's Sword"))),maxUses=1),(buy=(id=diamond,Count=#rand(20,25)),sell=(id=bow,Count=1,tag=(ench=#luckyBowEnchantments,display=(Name="$9$lHero's Bow"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=fishing_rod,Count=1,tag=(ench=#luckyFishingRodEnchantments,display=(Name="$9$lHero's Fishing Rod"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=potion,Count=1,tag=(Potion="fire_resistance",CustomPotionEffects=#luckyPotionEffects,display=(Name="$9$lHero's Potion"))),maxUses=1),(buy=(id=diamond,Count=#rand(7,12)),sell=(id=splash_potion,Count=1,tag=(Potion="harming",CustomPotionEffects=#unluckyPotionEffects,display=(Name="$4$lEvil Potion"))),maxUses=1)]),CustomName="$9$lHero 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="$9$lHero's Helmet"))),maxUses=1),(buy=(id=diamond,Count=#rand(20,25)),sell=(id=diamond_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments,display=(Name="$9$lHero's Chestplate"))),maxUses=1),(buy=(id=diamond,Count=#rand(15,20)),sell=(id=diamond_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments,display=(Name="$9$lHero's Leggings"))),maxUses=1),(buy=(id=diamond,Count=#rand(12,17)),sell=(id=diamond_boots,Count=1,tag=(ench=#luckyBootsEnchantments,display=(Name="$9$lHero's Boots"))),maxUses=1)]),CustomName="$9$lHero 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="$9$lHero's Shovel"))),maxUses=1),(buy=(id=diamond,Count=#rand(15,20)),sell=(id=diamond_pickaxe,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$9$lHero's Pickaxe"))),maxUses=1),(buy=(id=diamond,Count=#rand(15,20)),sell=(id=diamond_axe,Count=1,tag=(ench=#luckyAxeEnchantments,display=(Name="$9$lHero's Axe"))),maxUses=1),(buy=(id=diamond,Count=#rand(10,15)),sell=(id=diamond_hoe,Count=1,tag=(ench=#luckyToolEnchantments,display=(Name="$9$lHero's Hoe"))),maxUses=1)]),CustomName="$9$lHero Villager",CustomNameVisible=true)@luck=1

/ falling blocks (iron, gold, diamond, emerald)
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=falling_block,posY=#bPosY+7,NBTTag=(Block=iron_block);type=particle,ID=largesmoke,size=(1,2,1),particleAmount=500;type=sound,ID=block.fire.extinguish)@luck=0
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=falling_block,posY=#bPosY+7,NBTTag=(Block=gold_block);type=particle,ID=flame,size=(1,2,1),particleAmount=500;type=sound,ID=entity.ghast.shoot)@luck=1
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=falling_block,posY=#bPosY+7,NBTTag=(Block=diamond_block);type=entity,ID=LightningBolt)@luck=3
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=falling_block,posY=#bPosY+7,NBTTag=(Block=emerald_block);type=particle,ID=happyVillager,size=(1,2,1),particleAmount=500;type=sound,ID=block.grass.break)@luck=1
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=falling_block,posY=#bPosY+7,NBTTag=(Block=lapis_block);type=particle,ID=splash,size=(1,2,1),particleAmount=1000;type=sound,ID=entity.player.swim)@luck=1
/ tnt pole
group(type=fill,ID=air,size=(1,51,1);type=entity,ID=falling_block,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=falling_block,NBTTag=(Block=tnt))@luck=-2
/ ==== Monster Apocalyple ====
/ sword, difficulty, time, potion effects
group(ID=wooden_sword;type=difficulty,ID=hard;type=time,ID=18750;type=effect,ID=slowness,duration=30,amplifier=4;type=effect,ID=blindness,duration=30; \
/ 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(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);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

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

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

/ 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 wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$bYour wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=fireworks_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,Count=1,tag='#'randFireworksRocket)),amount=20,posY='#'bPosY+3,posOffset='#'circleOffset(2);ID=gold_ingot,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=diamond,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=emerald,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=dye,damage=4,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$eYour wish came true! (If you like potatoes)\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=potato,amount=128,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=baked_potato,amount=64,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=poisonous_potato,amount=32,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=1
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$4Your death wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=tnt,NBTTag=(Fuse=50b,Motion='#'randLaunchMotion),posY='#'bPosY+7,amount=20)"]))@luck=-2
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$bYour Supreme wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=fireworks_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,Count=1,tag='#'randFireworksRocket)),amount=20,posY='#'bPosY+3,posOffset='#'circleOffset(2);ID=gold_block,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=diamond_block,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=emerald_block,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=lapis_block,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=14
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$eYour wish came true! (If you like carrots)\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=carrot,amount=128,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=golden_carrot,amount=64,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=golden_carrot,amount=32,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$cYour wish came true! (If you like apples)\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=apple,amount=128,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=golden_apple,amount=64,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=golden_apple,damage=1,amount=32,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$4Your death wish came true! (These are your problems)\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=Wither,posY='#'bPosY+7,amount=20)"]))@luck=-9
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$bStar strike!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=fireworks_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,Count=1,tag='#'randFireworksRocket)),amount=20,posY='#'bPosY+3,posOffset='#'circleOffset(2);ID=nether_star,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=nether_star,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=additions:new_year_lucky_block-healing_star,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=additions:new_year_lucky_block-healing_star,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=10
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$eLuckyblocks\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=falling_block,NBTTag=(Block=lucky:lucky_block,Motion='#'randLaunchMotion),posY='#'bPosY+7,amount=20)"]))@luck=2
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$bLuckyblocks\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=falling_block,NBTTag=(Block=lucky:new_year_lucky_block,Motion='#'randLaunchMotion),posY='#'bPosY+7,amount=20)"]))@luck=2

/ bouncing castle
type=structure,ID=bouncing_castle,pos=#pPos,rotation=#pDirect@luck=-1

/ 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=diamond_sword,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$9$lHero's Sword"))@luck=2
/ hero bow

ID=bow,NBTTag=(ench=#luckyBowEnchantments,display=(Name="$9$lHero's Bow"))@luck=2
/ hero fishing rod

ID=fishing_rod,NBTTag=(ench=#luckyFishingRodEnchantments,display=(Name="$9$lHero's Fishing Rod"))@luck=2
/ hero tools

group:#rand(1,2):(ID=diamond_shovel,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$9$lHero's Shovel"));ID=diamond_pickaxe,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$9$lHero's Pickaxe"));ID=diamond_axe,NBTTag=(ench=#luckyAxeEnchantments,display=(Name="$9$lHero's Axe"));ID=diamond_hoe,NBTTag=(ench=#luckyToolEnchantments,display=(Name="$9$lHero's Hoe")))@luck=2
/ hero armor

group:#rand(1,2):(ID=diamond_helmet,NBTTag=(ench=#luckyHelmetEnchantments,display=(Name="$9$lHero's Helmet"));ID=diamond_chestplate,NBTTag=(ench=#luckyChestplateEnchantments,display=(Name="$9$lHero's Chestplate"));ID=diamond_leggings,NBTTag=(ench=#luckyLeggingsEnchantments,display=(Name="$9$lHero's Leggings"));ID=diamond_boots,NBTTag=(ench=#luckyBootsEnchantments,display=(Name="$9$lHero's Boots")))@luck=2
/ hero potion

ID=potion,NBTTag=(Potion="fire_resistance",CustomPotionEffects=#luckyPotionEffects,display=(Name="$9$lHero's Potion"))@luck=2
/ unlucky potion

ID=splash_potion,NBTTag=(Potion="harming",CustomPotionEffects=#unluckyPotionEffects,display=(Name="$4$lEvil Potion"))@luck=1
/ hero splash potion

ID=spash_potion,NBTTag=(Potion="fire_resistance",CustomPotionEffects=#luckyPotionEffects,display=(Name="$9$lHero's Splash Potion"))@luck=2
/ unlucky lingering potion

ID=lingering_potion,NBTTag=(Potion="harming",CustomPotionEffects=#unluckyPotionEffects,display=(Name="$4$lEvil Lingering Potion"))@luck=1
/ hero lingering potion

ID=lingering_potion,NBTTag=(Potion="fire_resistance",CustomPotionEffects=#luckyPotionEffects,display=(Name="$9$lHero's Lingering Potion"))@luck=2
/ hero arrow

ID=tipped_arrow,NBTTag=(Potion="fire_resistance",CustomPotionEffects=#luckyPotionEffects,display=(Name="$9$lHero's Arrow"))@luck=2
/ unlucky arrow

ID=tipped_arrow,NBTTag=(Potion="harming",CustomPotionEffects=#unluckyPotionEffects,display=(Name="$4$lEvil Arrow"))@luck=1

/ lucky items

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

//Similar to other luckyblocks on web (somethings is a placeolder)
Id=clay,amount=25@luck=0
Id=dirt,amount=25@luck=-1
Id=mycelium,amount=25@luck=0
Id=netherrack,amount=25@luck=-1
Id=stone_brick,amount=25@luck=0
Id=hay_block,amount=25@luck=0
Id=wooden_sword,amount=25@luck=-1
Id=stone_sword,amount=25@luck=-1
Id=brick,amount=25@luck=0
Id=arrow,amount=982@luck=1
Id=sugar_cane,amount=25@luck=0
Id=redstone_dust,amount=25@luck=-1
Id=bone,amount=25@luck=-1
Id=deadbush,amount=25@luck=-2
group(group:1:(ID=wool,damage=#rand(0,15),amount=#rand(32,64);ID=stained_hardened_clay,damage=#rand(0,15),amount=#rand(32,64);ID=dye,damage=#rand(0,15),amount=#rand(32,64));type=particle,ID=splashpotion,potion=#randPotion,amount=10)@luck=1
ID=diamond,amount=#rand(8,16)@luck=1
ID=emerald,amount=#rand(8,16)@luck=1
group(ID=ice,amount=#rand(1,32);ID=packed_ice,amount=#rand(1,32))@luck=0
ID=lucky:lucky_block,NBTTag=(Luck=#randPosNeg(0,100),display=(Name="Try your Luck!")),amount=3@luck=0
ID=lucky:new_year_lucky_block,NBTTag=(Luck=#randPosNeg(0,100),display=(Name="Try your Luck!")),amount=3@luck=0

/====Messages====
group(type=message,ID="$eNotch joined the game";type=command,ID="/summon armor_stand ~ ~1 ~ {CustomName:\"Notch\",CustomNameVisible:1,ShowArms:1,NoBasePlate:1,ArmorItems:[{id:\"minecraft:iron_boots\",Count:1b},{id:\"minecraft:iron_leggings\",Count:1b},{id:\"minecraft:iron_chestplate\",Count:1b},{id:\"minecraft:skull\",Damage:3,Count:1b,tag:{display:{Name:\"Notch's Head\"},SkullOwner:{Id:\"dffca14c-8765-46c5-9644-0b1c80801ec6\",Properties:{textures:[{Value:\"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTExNmU2OWE4NDVlMjI3ZjdjYTFmZGRlOGMzNTdjOGM4MjFlYmQ0YmE2MTkzODJlYTRhMWY4N2Q0YWU5NCJ9fX0=\"}]}}}}],HandItems:[{id:\"minecraft:diamond_sword\",Count:1b,tag:{display:{Name:\"Notch's Diamond Sword\",Lore:[\"Bans target on hit...?\"]}}},{id:\"minecraft:golden_apple\",Damage:1,Count:#rand(5,10)b}]}")@chance=0.8@luck=2
group(type=message,ID="$ejeb_ joined the game";type=entity,ID=Sheep,NBTTag=(CustomName="jeb_",CustomNameVisible=true))@chance=0.8@luck=2
group(type=message,ID="$eDinnerbone joined the game";type=entity,ID=Wolf,NBTTag=(Health=20f,Owner=#pName,CustomName="Dinnerbone",CustomNameVisible=true))@chance=0.6@luck=2
group(type=message,ID="Free diamonds, tp to #pName";ID=diamond,amount=3))@luck=-2
group(type=message,ID="Free emeralds, tp to #pName";ID=emerald,amount=3))@luck=-2
group(type=message,ID="Free netherstars, tp to #pName";ID=nether_star,amount=3))@luck=-2

/=====Falling Blocks=====
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=falling_block,posY=#bPosY+7,NBTTag=(Block=tnt))@luck=0
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=falling_block,posY=#bPosY+7,NBTTag=(Block=beacon))@luck=2
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=falling_block,posY=#bPosY+7,NBTTag=(Block=obsidian))@luck=0
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=falling_block,posY=#bPosY+7,NBTTag=(Block=cake))@luck=0

/=====Traps (unlucky)=====
group(type=message,ID="The gods have spoken. #pName, prepare to meet your doom.";type=command,ID="/summon lightning_bolt ~-3 ~ ~",amount=#rand(100,200);type=command,ID="/summon lightning_bolt ~3 ~ ~",amount=#rand(100,200);type=command,ID="/summon lightning_bolt ~ ~ ~-3",amount=#rand(100,200);type=command,ID="/summon lightning_bolt ~ ~ ~3",amount=#rand(100,200);type=command,ID="/summon lightning_bolt ~-3 ~ ~-3",amount=#rand(100,200);type=command,ID="/summon lightning_bolt ~3 ~ ~3",amount=#rand(100,200);type=command,ID="/summon lightning_bolt ~-3 ~ ~3",amount=#rand(100,200);type=command,ID="/summon lightning_bolt ~3 ~ ~-3",amount=#rand(100,200);type=command,ID="/summon lightning_bolt ~ ~ ~",amount=#rand(100,200))@chance=0.1@luck=-2
group(type=message,ID="oh, no! #pname has activated a trap! Everyone, look out!";type=command,id="/execute @r ~ ~ ~ summon Creeper ~ ~ ~ {ExplosionRadius:50,Fuse:1,powered:1,CustomName:"$a#pName's Creeper",CustomNameVisible:true}")@chance=0.2@luck=-1
group(type=message,ID="oh, no! #pname has activated a trap! Everyone, look out!";type=command,id="/tp @r ~ ~100 ~")@chance=0.3@luck=-1
group(type=message,ID="oh, no! #pname has activated a trap! Everyone, look out!";type=command,id="/execute @r ~ ~ ~ summon tnt ~ ~ ~ {Fuse:10}",amount=5)@chance=0.5@luck=-1
group(type=message,ID="oh, no! #pname has activated a trap! Everyone, look out!";type=command,id="/scoreboard objectives add Trapped dummy";type=command,id="/scoreboard players set @r Trapped 1";type=command,id="/tp @p[score_Trapped=1] ~ ~100 ~";type=command,id="/effect @p[score_Trapped=1] resistance 8 9 true";type=command,id="/scoreboard players set @a[score_Trapped=1] Trapped 0")@chance=0.6@luck=-1
group(type=message,ID="oh, no! #pname has activated a trap! Everyone, look out!";type=command,id="/effect @r wither 30 0 true")@chance=0.3@luck=-2
group(type=message,ID="oh, no! #pname has activated a trap! Everyone, look out!";type=command,id="/tp @r ~ -5 ~")@chance=0.1@luck=-2
group(type=message,ID="oh, no! #pname has activated a trap! Everyone, look out!";type=command,id="/effect @a wither 30 0 true")@chance=0.1@luck=-2
group(type=message,ID="oh, no! #pname has activated a trap! Everyone, look out!";type=command,id="/tp @a ~ ~30 ~")@chance=0.1@luck=-2
group(type=message,ID="oh, no! #pname has activated a trap! Everyone, look out!";type=command,id="/execute @a ~ ~ ~ summon tnt ~ ~ ~ {Fuse:10}",amount=5)@chance=0.1@luck=-2
group(type=message,ID="oh, no! #pname has activated a trap! Everyone, look out!";type=command,id="/effect @r potioncore:curse 1 4 true")@chance=0.3@luck=-2
/=====Lucky events=====
group(type=message,ID="#pname feels lucky! Eveyone receives somethings of good!";type=command,ID="/effect @a minecraft:regeneration 120 1")@luck=2
group(type=message,ID="#pname feels lucky! Eveyone receives somethings of good!";type=command,ID="/effect @a minecraft:resistance 120 1")@luck=2
group(type=message,ID="#pname feels lucky! Eveyone receives somethings of good!";type=command,ID="/effect @a minecraft:speed 120 1")@luck=2
group(type=message,ID="#pname feels lucky! Eveyone receives somethings of good!";type=command,ID="/effect @a minecraft:strength 120 1")@luck=2
group(type=message,ID="#pname feels lucky! Eveyone receives somethings of good!";type=command,ID="/effect @a minecraft:jump_boost 120 1")@luck=2
group(type=message,ID="#pname feels lucky! Eveyone receives somethings of good!";type=command,ID="/give @a diamond 10")@luck=1
group(type=message,ID="#pname feels lucky! Eveyone receives somethings of good!";type=command,ID="/give @a lucky:new_year_lucky_block 10")@chance=0.5@luck=0
group(type=message,ID="#pname feels lucky! Eveyone receives somethings of good!";type=command,ID="/give @a lucky:lucky_block 1 0 {Luck:#randPosNeg(0,100),display:{Name:\"Lucky? Block\",Lore:[\"$7Luck: $6?\"]},HideFlags:63}")@chance=0.5@luck=0
group(type=message,ID="#pname feels lucky! Eveyone receives somethings of good!";type=command,ID="/give @a lucky:new_year_lucky_block 1 0 {Luck:#randPosNeg(0,100),display:{Name:\"?\",Lore:[\"$7Luck: $6?\"]},HideFlags:63}")@chance=0.5@luck=0
group(type=message,ID="#pname feels lucky! Eveyone receives somethings of good!";type=command,ID="/effect @a potioncore:bless 1 5")@luck=2
group(type=message,ID="#pname feels lucky! Eveyone receives somethings of good! All can fly! ";type=command,ID="/effect @a potioncore:fight 220 1")@luck=2
/others
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName gold_nugget 1 0 {display:{Name:\"$6Coin\"}}";type=block,ID=lucky:new_year_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$eSPONGE 4 YOU!!!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=sponge,amount=6,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=sponge,damage=1,amount=3,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=1
group(type=message,ID="$ejeb_ joined the game";type=entity,ID=Sheep,NBTTag=(CustomName="jeb_",CustomNameVisible=true))@chance=0.8@luck=2
group(type=message,ID="$eDinnerbone joined the game";type=entity,ID=Wolf,NBTTag=(Health=20f,Owner=#pName,CustomName="Dinnerbone",CustomNameVisible=true))@chance=0.6@luck=2
/illusioner
group(type=difficulty,ID=hard;type=entity,ID=illusion_illager,NBTTag=(CustomName="$9Get Blind$r",CustomNameVisible=true,Health=50f,Attributes=[(Name="generic.maxHealth",Base=50)]))@chance=0.6@luck=-2
/take my fire balls
group(type=difficulty,ID=hard;type=entity,ID=ghast,NBTTag=(ArmorItems=[(id=diamond_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments)),(id=diamond_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments)),(id=diamond_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments))],HandItems=[(id=diamond_sword,Count=1,Damage=0,tag=(ench=#luckySwordEnchantments)),()],ArmorDropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],HandDropChances=[#randList(0,2)f,0f],ExplosionPower=3,CustomName="$7$lTake my fireball$r",CustomNameVisible=true,Health=30f,Attributes=[(Name="generic.maxHealth",Base=30)]))@chance=0.3@luck=-3
/Grrrrr, i will got my revenge
group(type=difficulty,ID=hard;type=entity,ID=#randList(zombie,zombie,zombie,zombie,husk),NBTTag=(ArmorItems=[(id=iron_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments)),(id=iron_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments)),(id=iron_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments)),(id=iron_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments))],HandItems=[(id=iron_sword,Count=1,Damage=0,tag=(ench=#luckySwordEnchantments)),()],ArmorDropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],HandDropChances=[#randList(0,2)f,0f],CustomName="$7Grrrrr, i will got my revenge$r",CustomNameVisible=true,Health=30f,Attributes=[(Name="generic.maxHealth",Base=30)]))@luck=-2
/I end you
group(type=difficulty,ID=hard;type=entity,ID=#randList(skeleton,skeleton,skeleton,wither_skeleton,stray),NBTTag=(ArmorItems=[(id=iron_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments)),(id=iron_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments)),(id=iron_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments)),(id=iron_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments))],HandItems=[(id=iron_sword,Count=1,Damage=0,tag=(ench=#luckySwordEnchantments)),()],ArmorDropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],HandDropChances=[#randList(0,2)f,0f],CustomName="$7I end you$r",CustomNameVisible=true,Health=30f,Attributes=[(Name="generic.maxHealth",Base=30)]))@luck=-2
/spider ...
group(type=difficulty,ID=hard;type=entity,ID=spider,NBTTag=(ArmorItems=[(id=iron_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments)),(id=iron_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments)),(id=iron_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments)),(id=iron_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments))],HandItems=[(id=iron_sword,Count=1,Damage=0,tag=(ench=#luckySwordEnchantments)),()],ArmorDropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],HandDropChances=[#randList(0,2)f,0f],CustomName="$7CAME ON KILL ME$r",CustomNameVisible=true,Health=30f,Attributes=[(Name="generic.maxHealth",Base=30)]))@luck=-3
/withers
group(type=difficulty,ID=hard;type=entity,ID=wither,NBTTag=(CustomName="$e$lDead with this #pName, you have lose Hahahahahah!!!$r",CustomNameVisible=true,Health=500f,Attributes=[(Name=generic.maxHealth,Base=500D)]))@chance=0.1@luck=-50
group(type=difficulty,ID=hard;type=entity,ID=wither,NBTTag=(ArmorItems=[(id=diamond_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments)),(id=diamond_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments)),(id=diamond_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments))],HandItems=[(id=diamond_sword,Count=1,Damage=0,tag=(ench=#luckySwordEnchantments)),(id=bow,Count=1,Damage=0,tag=(ench=#luckyBowEnchantments))],ArmorDropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],HandDropChances=[#randList(0,2)f,#randList(0,2)f],CustomName="$b$l$oWither Surprise$r",CustomNameVisible=true,Health=1000f,Attributes=[(Name=generic.maxHealth,Base=1000D)]))@chance=0.05@luck=-60
/enderman?
group(type=difficulty,ID=hard;type=entity,ID=endermite,amount=10,posOffset=#circleOffset(4);type=entity,ID=enderman,NBTTag=(ArmorItems=[(id=diamond_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments)),(id=diamond_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments)),(id=diamond_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments))],HandItems=[(id=diamond_sword,Count=1,Damage=0,tag=(ench=#luckySwordEnchantments)),()],ArmorDropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],HandDropChances=[#randList(0,2)f,0f],CustomName="$e$l#pName?$r",CustomNameVisible=true))@luck=-2
/cave spider ...
group(type=difficulty,ID=hard;type=entity,ID=cave_spider,NBTTag=(ArmorItems=[(id=iron_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments)),(id=iron_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments)),(id=iron_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments)),(id=iron_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments))],HandItems=[(id=iron_sword,Count=1,Damage=0,tag=(ench=#luckySwordEnchantments)),()],ArmorDropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],HandDropChances=[#randList(0,2)f,0f],CustomName="$7Hi,#pName, i know you have done yesterday 😀$r",CustomNameVisible=true,Health=30f,Attributes=[(Name="generic.maxHealth",Base=30)]))@luck=-2
/hug me
group(type=difficulty,ID=hard;type=entity,ID=silverfish,NBTTag=(ArmorItems=[(id=diamond_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments)),(id=diamond_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments)),(id=diamond_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments))],HandItems=[(id=diamond_sword,Count=1,Damage=0,tag=(ench=#luckySwordEnchantments)),()],ArmorDropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],HandDropChances=[#randList(0,2)f,0f],CustomName="$7$lHug me #pName$r",CustomNameVisible=true,Health=20f,Attributes=[(Name=generic.maxHealth,Base=20D)]))@luck=-2
/new bob
group(type=difficulty,id=hard;type=entity,id=zombie,NBTTag=(ArmorItems=[(id=diamond_boots,Count=1,Damage=0,tag=(ench=#luckyBootsEnchantments,display=(Name="$eBob's Diamond Boots$r"))),(id=diamond_leggings,Count=1,Damage=0,tag=(ench=#luckyLeggingsEnchantments,display=(Name="$eBob's Diamond Leggings$r"))),(id=diamond_chestplate,Count=1,Damage=0,tag=(ench=#luckyChestplateEnchantments,display=(Name="$eBob's Diamond Chestplate$r"))),(id=diamond_helmet,Count=1,Damage=0,tag=(ench=#luckyHelmetEnchantments,display=(Name="$eBob's Diamond Helmet$r")))],HandItems=[(id=additions:new_year_lucky_block-party_sword,Count=1,Damage=0,tag=(ench=#luckySwordEnchantments,display=(Name="$eBob's Party Sword$r"))),()],ArmorDropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],HandDropChances=[#randList(0,2)f,0f],ZombieType=0,IsVillager=0,Health=50,Attributes=[(Name="generic.maxHealth",Base=75)],CustomName="$e$lUltimate Party Bob$r",CustomNameVisible=true))@chance=0.9@luck=-5
/illusioner mage
group(type=difficulty,ID=hard;type=entity,ID=illusion_illager,NBTTag=(HandItems=[(id=diamond_sword,Count=1,tag=(ench=#luckySwordEnchantments))],ArmorItems=[(id=diamond_boots,Count=1,tag=(ench=#luckyBootsEnchantments)),(id=diamond_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=diamond_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName="$9Become a Mage #pName$r",CustomNameVisible=true,Health=50f,Attributes=[(Name="generic.maxHealth",Base=50)]))@chance=0.6@luck=-4
/others
type=entity,ID=slime,NBTTag=(Health=289f,Attributes=[(Base=289,Name="generic.maxHealth")],Size=16,CustomName="$a$lSticky surprise$r",CustomNameVisible=true)@chance=0.7@luck=-1
type=entity,ID=magma_cube,NBTTag=(Health=49f,Attributes=[(Base=49,Name="generic.maxHealth")],Size=6,CustomName="$c$lMagma surprise$r",CustomNameVisible=true)@chance=0.5@luck=-1
type=entity,ID=creeper,NBTTag=(ExplosionRadius=20,powered=1,Fuse=100,CustomName="$a$o#pName's creeper$r",CustomNameVisible=true)@luck=-3
group(type=difficulty,ID=hard;type=entity,ID=rabbit,NBTTag=(RabbitType=99,CustomName="#pName's Rabbits",CustomNameVisible=true),amount=20,posOffset=#circleOffset(5))@luck=-2
/block placed
type=block,ID=lucky:new_year_lucky_block,NBTTag=(Luck=#randPosNeg(0,100)@luck=0
type=block,ID=lucky:lucky_block,NBTTag=(Luck=#randPosNeg(0,100)@luck=0
type=block,ID=lucky:new_year_lucky_block,NBTTag=(Drops=[type=block,ID=lucky:new_year_lucky_block,NBTTag=(Luck=100)@luck=0])@luck=20
type=block,ID=lucky:lucky_block,NBTTag=(Luck=100)@luck=50
type=block,ID=lucky:lucky_block,NBTTag=(Luck=-100)@luck=-50
type=entity,ID=falling_block,NBTTag=(Block=lucky:lucky_block),amount=40,posOffset=#circleOffset(20,22)@luck=0
type=entity,ID=falling_block,NBTTag=(Block=diamond_block),amount=40,posOffset=#circleOffset(20,22)@luck=100
type=entity,ID=falling_block,NBTTag=(Block=emerald_block),amount=40,posOffset=#circleOffset(20,22)@luck=90
type=entity,ID=falling_block,NBTTag=(Block=iron_block),amount=40,posOffset=#circleOffset(20,22)@luck=50
type=entity,ID=falling_block,NBTTag=(Block=gold_block),amount=40,posOffset=#circleOffset(20,22)@luck=60
type=entity,ID=falling_block,NBTTag=(Block=coal_block),amount=40,posOffset=#circleOffset(20,22)@luck=3
type=entity,ID=falling_block,NBTTag=(Block=lapis_block),amount=40,posOffset=#circleOffset(20,22)@luck=2
type=entity,ID=falling_block,NBTTag=(Block=quarz_block),amount=40,posOffset=#circleOffset(20,22)@luck=2
type=entity,ID=falling_block,NBTTag=(Block=lucky:new_year_lucky_block),amount=40,posOffset=#circleOffset(20,22)@luck=0
type=entity,ID=falling_block,NBTTag=(Block=mossy_cobblestone),amount=40,posOffset=#circleOffset(20,22)@luck=0
type=entity,ID=falling_block,NBTTag=(Block=gold_ore),amount=40,posOffset=#circleOffset(20,22)@luck=4
type=entity,ID=falling_block,NBTTag=(Block=diamond_ore),amount=40,posOffset=#circleOffset(20,22)@luck=6
type=entity,ID=falling_block,NBTTag=(Block=iron_ore),amount=40,posOffset=#circleOffset(20,22)@luck=4
type=entity,ID=falling_block,NBTTag=(Block=emerald_ore),amount=40,posOffset=#circleOffset(20,22)@luck=5
type=entity,ID=falling_block,NBTTag=(Block=redstone_ore),amount=40,posOffset=#circleOffset(20,22)@luck=3
type=entity,ID=falling_block,NBTTag=(Block=coal_ore),amount=40,posOffset=#circleOffset(20,22)@luck=2
type=entity,ID=falling_block,NBTTag=(Block=lapis_ore),amount=40,posOffset=#circleOffset(20,22)@luck=3
type=entity,ID=falling_block,NBTTag=(Block=tnt),amount=40,posOffset=#circleOffset(20,22)@luck=-1
type=entity,ID=falling_block,NBTTag=(Block=end_portal),amount=40,posOffset=#circleOffset(20,22)@luck=0
type=entity,ID=falling_block,NBTTag=(Block=bedrock),amount=40,posOffset=#circleOffset(20,22)@luck=-10
type=entity,ID=falling_block,NBTTag=(Block=lava),amount=40,posOffset=#circleOffset(20,22)@luck=-7
type=entity,ID=falling_block,NBTTag=(Block=nether_portal),amount=40,posOffset=#circleOffset(20,22)@luck=0
type=entity,ID=falling_block,NBTTag=(Block=dragon_egg),amount=40,posOffset=#circleOffset(20,22)@luck=0
type=entity,ID=falling_block,NBTTag=(Block=beacon),amount=40,posOffset=#circleOffset(20,22)@luck=1
type=entity,ID=falling_block,NBTTag=(Block=anvil),amount=40,posOffset=#circleOffset(20,22)@luck=1
type=entity,ID=falling_block,NBTTag=(Block=enchanting_table),amount=40,posOffset=#circleOffset(20,22)@luck=1

//== Second Update Drops ==
type=entity,ID=falling_block,NBTTag=(Block=bookshelf),amount=40,posOffset=#circleOffset(20,22)@luck=0
type=entity,ID=falling_block,NBTTag=(Block=ender_chest),amount=40,posOffset=#circleOffset(20,22)@luck=0
type=entity,ID=falling_block,NBTTag=(Block=magma_block),amount=40,posOffset=#circleOffset(20,22)@luck=0
type=entity,ID=falling_block,NBTTag=(Block=slime_block),amount=40,posOffset=#circleOffset(20,22)@luck=0
type=entity,ID=falling_block,NBTTag=(Block=cake),amount=40,posOffset=#circleOffset(20,22)@luck=0
group(type=fill,ID=air,size=(1,51,1);group(NBTTag=(Block=lucky:ney_year_lucky_block),posY=#bPosY+5;NBTTag=(Block=redstone_block),posY=#bPosY+10;NBTTag=(Block=lucky:new_year_lucky_block),posY=#bPosY+15;NBTTag=(Block=lucky:lucky_block),posY=#bPosY+20;NBTTag=(Block=gold_block),posY=#bPosY+25;NBTTag=(Block=iron_bllock),posY=#bPosY+30;NBTTag=(Block=lapis_block),posY=#bPosY+35;NBTTag=(Block=emerald_block),posY=#bPosY+40;NBTTag=(Block=lapis_block),posY=#bPosY+45),type=entity,ID=falling_block;type=entity,ID=falling_block,NBTTag=(Block=diamond_block),posY=#bPosY+50;type=entity,ID=LightningBolt,posY=#bPosY+10,delay=5.3)@luck=4
type=fill,ID=lucky:lucky_block,size=(1,40,1)@luck=1
type=fill,ID=lucky:new_year_lucky_block,size=(1,40,1)@luck=1
type=block,ID=lucky:new_year_lucky_block@luck=0
group(ID=planks,amount=#rand(64,128),damage=#rand(0,5);ID=log,amount=#rand(10,20),damage=#rand(0,3);ID=log2,amount=#rand(5,10),damage=#rand(0,1);ID=wooden_slab,amount=#rand(5,10),damage=#rand(0,5);ID=oak_stairs,amount=#rand(1,2);ID=spruce_stairs,amount=#rand(1,2);ID=birch_stairs,amount=#rand(1,2);ID=jungle_stairs,amount=#rand(1,2);ID=oak_stairs,amount=#rand(1,2);ID=dark_oak_stairs,amount=#rand(1,2);ID=acacia_stairs,amount=#rand(1,2))@luck=0
group(ID=snowball,amount=#rand(64,128);ID=snow,amount=#rand(32,64);ID=snow_layer,amount=#rand(16,32))@luck=0
group(ID=sugar,amount=#rand(10,20);ID=redstone,amount=#rand(10,20);ID=glowstone_dust,amount=#rand(10,20))@luck=0
group(ID=sand,damage=#rand(0,1),amount=#rand(16,32);ID=gravel,amount=#rand(16,32);ID=clay,amount=#rand(16,32);ID=clay_ball,amount=#rand(8,16);ID=reeds,amount=#rand(8,16))@luck=0
ID=lucky:lucky_block,NBTTag=(Luck=#randPosNeg(0,100),display=(Name="Test your Luck!")),amount=#rand(4,9)@luck=0
ID=lucky:lucky_block,NBTTag=(Luck=#rand(0,100),display=(Name="Test your Luck!")),amount=#rand(4,9)@luck=1
group(type=entity,ID=egg,NBTTag=(Motion=#randLaunchMotion(0.6,15)),amount=40;type=entity,ID=Item,NBTTag=(Item=(id=diamond_block,Count=1),Motion=#randLaunchMotion(0.7,18)),amount=20)@luck=5
ID=wooden_sword,NBTTag=(ench=#luckySwordEnchantments,display=(Name="Noob Sword"))@luck=-1
ID=stone_sword,NBTTag=(ench=#luckySwordEnchantments,display=(Name="Basic Sword"))@luck=0
ID=iron_sword,NBTTag=(ench=#luckySwordEnchantments,display=(Name="Shiny Sword"))@luck=1
ID=gold_sword,NBTTag=(ench=#luckySwordEnchantments,display=(Name="Gifted Sword"))@luck=-1
ID=diamond_axe,NBTTag=(ench=#luckySwordEnchantments,display=(Name="Enchanted Battleaxe"))@luck=2
ID=#randList(dragon_egg,shield,totem_of_undying,nether_star,ender_chest,bedrock,barrier,beacon,command_block,chain_command_block,repeating_command_block,minecart_command_block,structure_void,grass_block,bow,diamond_pickaxe,gold_pickaxe,iron_pickaxe,glass_bottle,glass_panel,emerald,diamond,fire_charge,wooden_hoe,stone_hoe,end_rod,book,tnt,iron_block,redstone_block,lucky:lucky_block,additions:new_year_lucky_block-cocoa_bread,additions:new_year_lucky_block-enchanted_golden_carrot,lucky:new_year_lucky_block,additions:new_year_lucky_block-gift_token,additions:new_year_lucky_block-cake_or_not,,additions:new_year_lucky_block-enchanted_golden_chorus_fruit,iron_ingot,ender_pearl),NBTTag=(ench=#luckySwordEnchantments,display=(Name="#pName's random enchanted items")),amount=#rand(3,5)@luck=0
ID=#randList(dragon_egg,shield,totem_of_undying,nether_star,ender_chest,bedrock,barrier,beacon,command_block,chain_command_block,repeating_command_block,minecart_command_block,structure_void,grass_block,bow,diamond_pickaxe,gold_pickaxe,iron_pickaxe,glass_bottle,glass_panel,emerald,diamond,fire_charge,wooden_hoe,stone_hoe,end_rod,book,tnt,iron_block,redstone_block,lucky:lucky_block,additions:new_year_lucky_block-cocoa_bread,additions:new_year_lucky_block-enchanted_golden_carrot,lucky:new_year_lucky_block,additions:new_year_lucky_block-gift_token,additions:new_year_lucky_block-cake_or_not,,additions:new_year_lucky_block-enchanted_golden_chorus_fruit,iron_ingot,ender_pearl),NBTTag=(ench=#luckySwordEnchantments,display=(Name="#pName's random enchanted items")),amount=#rand(1,2)@luck=-1
ID=#randList(dragon_egg,shield,totem_of_undying,nether_star,ender_chest,bedrock,barrier,book,beacon,command_block,chain_command_block,repeating_command_block,minecart_command_block,structure_void,grass_block,bow,diamond_pickaxe,gold_pickaxe,iron_pickaxe,glass_bottle,glass_panel,emerald,diamond,fire_charge,wooden_hoe,stone_hoe,end_rod,tnt,iron_block,redstone_block,lucky:lucky_block,additions:new_year_lucky_block-cocoa_bread,additions:new_year_lucky_block-enchanted_golden_carrot,lucky:new_year_lucky_block,additions:new_year_lucky_block-gift_token,additions:new_year_lucky_block-cake_or_not,,additions:new_year_lucky_block-enchanted_golden_chorus_fruit,iron_ingot,ender_pearl),NBTTag=(ench=#luckySwordEnchantments,display=(Name="#pName's random enchanted items")),amount=#rand(6,8)@luck=1
ID=additions:new_year_lucky_block-gift_launcer@luck=100
ID=additions:new_year_lucky_block-troll_face,amount=#rand(8,16)@luck=1
group(type=message,ID="$e#pName joined the game";type=entity,ID=Wolf,NBTTag=(Health=20f,Owner=#pName,CustomName="#pName",CustomNameVisible=true))@chance=0.6@luck=2
type=entity,ID=xp_bottle,NBTTag=(Motion=#randLaunchMotion),amount=#rand(32,64)@luck=3
type=entity,ID=falling_block,NBTTag=(Block=bookshelf,Motion=#randLaunchMotion),amount=15@luck=0
type=entity,ID=falling_block,NBTTag=(Block=sand,Motion=#randLaunchMotion),amount=15@luck=0
type=entity,ID=falling_block,NBTTag=(Block=grass,Motion=#randLaunchMotion),amount=15@luck=0
type=entity,ID=falling_block,NBTTag=(Block=diamond_block,Motion=#randLaunchMotion),amount=15@luck=3
type=entity,ID=falling_block,NBTTag=(Block=emerald_block,Motion=#randLaunchMotion),amount=15@luck=2
type=entity,ID=falling_block,NBTTag=(Block=iron_block,Motion=#randLaunchMotion),amount=15@luck=1
type=entity,ID=falling_block,NBTTag=(Block=gold_block,Motion=#randLaunchMotion),amount=15@luck=2
type=entity,ID=falling_block,NBTTag=(Block=redstone_block,Motion=#randLaunchMotion),amount=15@luck=1
type=entity,ID=falling_block,NBTTag=(Block=lapis_block,Motion=#randLaunchMotion),amount=15@luck=1
type=entity,ID=falling_block,NBTTag=(Block=quartz_block,Motion=#randLaunchMotion),amount=15@luck=1
type=entity,ID=falling_block,NBTTag=(Block=prismarine,Motion=#randLaunchMotion),amount=15@luck=0
type=entity,ID=falling_block,NBTTag=(Block=sponge,Motion=#randLaunchMotion),amount=15@luck=0
type=entity,ID=falling_block,NBTTag=(Block=bedrock,Motion=#randLaunchMotion),amount=15@luck=-4
type=entity,ID=falling_block,NBTTag=(Block=barrier,Motion=#randLaunchMotion),amount=15@luck=-4
type=entity,ID=falling_block,NBTTag=(Block=command_block,Motion=#randLaunchMotion),amount=15@luck=-4
type=entity,ID=falling_block,NBTTag=(Block=chain_command_block,Motion=#randLaunchMotion),amount=15@luck=-4
type=entity,ID=falling_block,NBTTag=(Block=repeating_command_block,Motion=#randLaunchMotion),amount=15@luck=-4
type=entity,ID=falling_block,NBTTag=(Block=water,Motion=#randLaunchMotion),amount=15@luck=0
type=entity,ID=falling_block,NBTTag=(Block=lava,Motion=#randLaunchMotion),amount=15@luck=-1
type=entity,ID=falling_block,NBTTag=(Block=dragon_egg,Motion=#randLaunchMotion),amount=15@luck=2
type=entity,ID=falling_block,NBTTag=(Block=anvil,Motion=#randLaunchMotion),amount=15@luck=-1
type=entity,ID=zombie,NBTTag=(Motion=#randLaunchMotion),amount=15@luck=-1
type=entity,ID=creeper,NBTTag=(Motion=#randLaunchMotion),amount=15@luck=-1
type=entity,ID=villager,NBTTag=(Motion=#randLaunchMotion),amount=15@luck=0
type=entity,ID=villager_golem,NBTTag=(Motion=#randLaunchMotion),amount=15@luck=1
group(ID=additions:new_year_lucky_block-troll_mask;ID=additions:new_year_lucky_block-troll_face,amount=#rand(8,16))@luck=3
ID=lucky:new_year_lucky_block,NBTTag=(Drops=[type=structure,ID=lucky_temple,pos=#pPos]),display=(Name="Instant Lucky Temple")@luck=0
ID=lucky:new_year_lucky_block,NBTTag=(Drops=[type=structure,ID=Dungeon,pos=#pPos]),display=(Name="Instant dungeon")@luck=0
ID=lucky:new_year_lucky_block,NBTTag=(Drops=[type=structure,ID=Lucky_Boat,pos=#pPos]),display=(Name="Instant Lucky Boat")@luck=0
type=structure,ID=Lucky_Boat,pos=#pPos@luck=1
type=structure,ID=Noise_Machine,pos=#pPos@luck=-1
type=structure,ID=IntoLucky,pos=#pPos@luck=1
ID=brick_block,amount=#rand(30,60)@luck=0
ID=noteblock,amount=#rand(5,20)@luck=0
ID=gold_block,amount=5@luck=1
ID=iron_ore,amount=#rand(8,14)@luck=0
ID=emerald_ore,amount=#rand(8,14)@luck=0
ID=skull,damage=1,amount=3@luck=1
group:1:(ID=red_flower,NBTTag=(display=(Name="$cRomantic Poppy"));ID=red_flower,damage=1,NBTTag=(display=(Name="$bRomantic Orchid"));ID=red_flower,damage=2,NBTTag=(display=(Name="$5Romantic Allium"));ID=red_flower,damage=3,NBTTag=(display=(Name="$7Romantic Bluet"));ID=red_flower,damage=4,NBTTag=(display=(Name="$4Romantic Tulip"));ID=red_flower,damage=5,NBTTag=(display=(Name="$6Romantic Tulip"));ID=red_flower,damage=6,NBTTag=(display=(Name="$fRomantic Tulip"));ID=red_flower,damage=7,NBTTag=(display=(Name="$dRomantic Tulip"));ID=red_flower,damage=8,NBTTag=(display=(Name="$8Romantic Daisy"));ID=yellow_flower,NBTTag=(display=(Name="$eRomantic Dandelion")))@luck=-1
group:1:(group(type=command,ID="/tell #pName Listen to me, #pName. You are in grave danger. You need to run. Now. Take this sword, it is your only hope.",commandSender="Herobrine";ID=additions:new_year_lucky_block-barrier_sword,NBTTag=(display=(Name="$cOnly Hope")));group(type=command,ID="/tell #pName Listen to me, #pName. You are in grave danger. You need to run. Now. Take this shield, it is your only hope.",commandSender="Herobrine";ID=additions:new_year_lucky_block-colourful_shield,NBTTag=(display=(Name="$6Only Hope"))))@luck=5
group:1:(group(type=command,ID="/tell #pName Listen to me, #pName. You are in grave danger. You need to run. Now. Take this mushroom, it is your only hope.",commandSender="???????";ID=red_mushroom,NBTTag=(display=(Name="$cOnly Hope")));group(type=command,ID="/tell #pName Listen to me, #pName. You are in grave danger. You need to run. Now. Take this mushroom, it is your only hope.",commandSender="????????";ID=brown_mushroom,NBTTag=(display=(Name="$6Only Hope"))))@luck=-1
group(ID=golden_apple,amount=#rand(2,4),NBTTag=(display=(Name="$eButtered Apple"));ID=golden_apple,amount=#rand(1,2),damage=1,NBTTag=(display=(Name="$6Heavily Buttered Apple")))@luck=1
ID=potion,NBTTag=(Potion=#randPotion,display=(Name="$dWitches Brew")),amount=#rand(4,8)@luck=0
group(type=message,ID=\"$4$lWarning... dont open Pandora's box...\";type=command,ID=\"/playsound minecraft:entity.player.levelup master #pName ~ ~ ~ 5.0 0.5\";ID=lucky:lucky_block,NBTTag=(display=(Name="$4$lPandora's Box",Lore=["$cIf #pName chooses to","$copen this box...","$cconsequences will","$ccome..."]),Drops=["group(type=message,ID="$4#pName has been warned, now prepare to die...";type=entity,ID=Wither;type=entity,ID=Ghast,amount=#rand(5,10);type=entity,ID=wither_skeleton,NBTTag=(HandItems=[(id="minecraft:stone_sword"),()]),amount=#rand(30,60);type=command,ID=\"/gamerule commandBlockOutput false\";type=difficulty,ID=hard;type=time,ID=night;type=command,ID=summon lightning_bolt ~ ~ ~,amount=#rand(50,100),posOffset='#'circleOffset(30);type=particle,ID=mobappearance;type=sound,ID=entity.elder_guardian.curse;type=command,ID=\"/effect #pName 4 240 3\";type=entity,ID=elder_guardian,amount=#rand(1,3);type=command,ID=/"/execute #pName ~ ~ ~ /summon Arrow ~ ~5 ~ {Power:5}/";type=entity,ID=tnt,amount=#rand(20,40),NBTTag=(Fuse=120),posOffset='#'circleOffset(10);type=entity,ID=falling_block,NBTTag=(Block=lava,Motion=#randLaunchMotion(10,5)),amount=#rand(30,60))"]))@luck=-2@chance=0.5
group(ID=gold_nugget,amount=#rand(120,140),delay=3;type=message,ID=\"$6$lThe gold is coming...\")@luck=0
group(ID=iron_nugget,amount=#rand(120,140),delay=3;type=message,ID=\"$2$lThe iron is coming...\")@luck=0
type=entity,ID=Sheep,posY=#bPosY+1,NBTTag=(Color=#rand(0,15),Passengers=[(id=Sheep,Color=#rand(0,15),Passengers=[(id=Sheep,Color=#rand(0,15),Passengers=[(id=Sheep,Color=#rand(0,15),Passengers=[(id=Sheep,Color=#rand(0,15),Passengers=[(id=Sheep,Color=#rand(0,15),Passengers=[(id=falling_block,Block=#randList(diamond_block,emerald_block,iron_block,gold_block,glowstone,redstone_block,lapis_block,coal_block,dirt,wool,web,tnt,chest,mycelium,grass,stone,sand,planks,fire,cake,skull,lucky:new_year_lucky_block,lucky:lucky_block))])])])])])])@luck=1
type=entity,ID=snowball,amount=#rand(10,30),NBTTag=(Motion=#randLaunchMotion,Passengers=[(id=item,Item=(id=emerald,Count=1b))])@luck=1
type=entity,ID=snowball,amount=#rand(10,30),NBTTag=(Motion=#randLaunchMotion,Passengers=[(id=item,Item=(id=gold_ingot,Count=1b))])@luck=1
type=entity,ID=snowball,amount=#rand(10,30),NBTTag=(Motion=#randLaunchMotion,Passengers=[(id=item,Item=(id=diamond,Count=1b))])@luck=2
type=entity,ID=Arrow,amount=#rand(30,50),NBTTag=(Motion=#randLaunchMotion,damage=4.5)@luck=-2
group(ID=diamond;type=explosion,radius=4,delay=2)@luck=-2
type=entity,ID=bat,NBTTag=(Silent=1,ActiveEffects=[(Id=14,Duration=10000,ShowParticles=false)],Passengers=[(id="minecraft:ender_crystal")]),posY=#bPosY+2@luck=-1
type=entity,ID=ender_dragon,NBTTag=(DragonPhase=9)@chance=0.2@luck=0
group(type=message,ID="Not now";type=explosion,radius=8,delay=10)@chance=0.7@luck=-2
group(type=message,ID="Not now";group(ID=diamond,amount=#rand(4,10);ID=emerald,amount=#rand(5,10);ID=gold_ingot,amount=#rand(8,14);ID=iron,amount=#rand(10,15);ID=dye,damage=4,amount=#rand(12,18);ID=redstone_dust,amount=#rand(13,20);ID=coal,amount=#rand(14,22);type=entity,ID=fireworks_rocket,NBTTag=(LifeTime=20,FireworksItem=(Count=1,id=fireworks,tag=#randFireworksRocket)),amount=10,posOffset=#circleOffset(2),pos=#pPos),delay=10)@luck=2
group(type=message,ID="Not now";type=explosion,radius=10,delay=10)@chance=0.7@luck=-2
group(type=message,ID="Not now";group(ID=diamond_block,amount=#rand(4,10);ID=emerald,amount=#rand(5,10);ID=gold_ingot,amount=#rand(8,14);ID=iron,amount=#rand(10,15);ID=dye,damage=4,amount=#rand(12,18);ID=redstone_dust,amount=#rand(13,20);ID=lucky:lucky_block,amount=#rand(14,22);type=entity,ID=fireworks_rocket,NBTTag=(LifeTime=20,FireworksItem=(Count=1,id=fireworks,tag=#randFireworksRocket)),amount=10,posOffset=#circleOffset(2),pos=#pPos),delay=10)@luck=2
group(ID=barrier,amount=#rand(6,8);ID=obdsidian,amount=#rand(2,4);ID=bedrock,amount=#rand(1,2))@luck=1
group(ID=bedrock,amount=#rand(6,8);ID=obdsidian,amount=#rand(3,5))@luck=0
group(ID=barrier,amount=#rand(6,8);ID=obdsidian,amount=#rand(2,4);ID=bedrock,amount=#rand(1,2))@luck=1

/ COPY & PASTE ME INTO YOUR LUCKY BLOCK ADD-ON :D JUST DO IT!!!!!!!!!!!!!!!!!
group(type=message,ID="$cTHIS DROP SHOULD, CAN, AND WILL BE COPY & PASTED INTO OTHER LUCKY BLOCKS!!!!!!";ID=paper,NBTTag=(display=(Name="$cThe Copy & Paste Drop")))@luck=-1
group(type=message,ID="$cTHIS DROP SHOULD, CAN, AND WILL BE COPY & PASTED INTO OTHER LUCKY BLOCKS!!!!!!";ID=cake,NBTTag=(display=(Name="$cThe Copy & Paste Drop")))@luck=-1
group(type=message,ID="$cTHIS DROP SHOULD, CAN, AND WILL BE COPY & PASTED INTO OTHER LUCKY BLOCKS!!!!!!";ID=diamond_block,NBTTag=(display=(Name="$cThe Copy & Paste Drop")))@luck=1
group(type=message,ID="$cTHIS DROP SHOULD, CAN, AND WILL BE COPY & PASTED INTO OTHER LUCKY BLOCKS!!!!!!";ID=stick,NBTTag=(display=(Name="$cThe Copy & Paste Drop")))@luck=-1
group(type=message,ID="$cTHIS DROP SHOULD, CAN, AND WILL BE COPY & PASTED INTO OTHER LUCKY BLOCKS!!!!!!";ID=barrier,amount=#rand(2,10),NBTTag=(display=(Name="$cThe Copy & Paste Drop")))@luck=0
group(type=message,ID="$cTHIS DROP SHOULD, CAN, AND WILL BE COPY & PASTED INTO OTHER LUCKY BLOCKS!!!!!!";ID=bedrock,amount=#rand(2,10),NBTTag=(display=(Name="$cThe Copy & Paste Drop")))@luck=0
group(type=message,ID="$cTHIS DROP SHOULD, CAN, AND WILL BE COPY & PASTED INTO OTHER LUCKY BLOCKS!!!!!!";ID=#randList(command,chain_command,repeating_command)_block,NBTTag=(display=(Name="$cThe Copy & Paste Drop")))@luck=-1
group(type=message,ID="$cTHIS DROP SHOULD, CAN, AND WILL BE COPY & PASTED INTO OTHER LUCKY BLOCKS!!!!!!";ID=deadbush,NBTTag=(display=(Name="$cThe Copy & Paste Drop")))@luck=-1
group(type=message,ID="$cTHIS DROP SHOULD, CAN, AND WILL BE COPY & PASTED INTO OTHER LUCKY BLOCKS!!!!!!";ID=lucky:lucky_block,NBTTag=(display=(Name="$cThe Copy & Paste Drop")))@luck=-1
group(type=message,ID="$cTHIS DROP SHOULD, CAN, AND WILL BE COPY & PASTED INTO OTHER LUCKY BLOCKS!!!!!!";ID=emerald_block,NBTTag=(display=(Name="$cThe Copy & Paste Drop")))@luck=0
group(type=message,ID="$cTHIS DROP SHOULD, CAN, AND WILL BE COPY & PASTED INTO OTHER LUCKY BLOCKS!!!!!!";ID=blaze_rod,NBTTag=(display=(Name="$cThe Copy & Paste Drop")))@luck=-1

//== In The Next Update, I Will Add Some New Drops And Balance Luck Value of Some Things ==
