/ Groups
/2 Luck
group(ID=golden_sword;ID=golden_shovel;ID=golden_pickaxe;ID=golden_axe;ID=golden_hoe)@luck=2

/ -1 Luck
group(ID=wood_hoe;ID=wood_shovel;;ID=wood_axe;ID=wood_sword)@luck=-1


/ Items

/ Named Items
/ 2 Luck
ID=diamond_sword,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$9$lHero's Sword"))@luck=2

/ Unnamed Items
/ 2 Luck

/ 1 Luck
ID=diamond_shovel@luck=1

/ 0 Luck

/ -1 Luck

/ -2 Luck
ID=iron_shovel@luck=-1



/ Blocks
/2 Luck
ID=diamond_block,amount=2@luck=2

/ Mobs
/ -2 Luck (might want to change Giant to 0 luck because they don't have AI anymore)
group(type=difficulty,ID=hard;type=entity,ID=giant)@luck=-2
group(type=difficulty,ID=hard;type=entity,ID=Creeper;type=entity,ID=LightningBolt)@luck=-2

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

/ Named Mobs with Armours (if you want flying versions, they should go under this catogory)
group(type=difficulty,ID=hard;type=entity,ID=Zombie,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="$9$lBob",CustomNameVisible=false))@luck=-2


/ Towers
/ -2 Luck
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