// ========== TOOLS & ARMOR ==========

//Tools

/La Hache
/group(ID=wankilcrazy:la_hache)@luck=1

/Le feutre bleu
/ID=wankilcrazy:feutre,NBTTag=(Damage=30,display=(Name=#jsonStr(text="$9Feutre Bleu")),Enchantments=[(id=knockback,lvl=10)])@luck=1

/Le feutre rouge
/ID=wankilcrazy:feutrerouge,NBTTag=(Damage=30,display=(Name=#jsonStr(text="$cFeutre Rouge")),Enchantments=[(id=sharpness,lvl=8)])@luck=1

/Le feutre jaune
/ID=wankilcrazy:feutrejaune,NBTTag=(Damage=30,display=(Name=#jsonStr(text="$eFeutre Jaune")),Enchantments=[(id=looting,lvl=10)])@luck=1




// ========== MOBS ==========

/ Laink et Terracid
group(
   type=difficulty,ID=hard;
   type=entity,ID=zombie,NBTTag=(HandItems=[(id=diamond_sword,Count=1,tag=(Enchantments=#luckySwordEnchantments))],
   ArmorItems=[(id=leather_boots,Count=0,tag=(Enchantments=#luckyBootsEnchantments)),(id=leather_leggings,Count=0,tag=(Enchantments=#luckyLeggingsEnchantments)),(id=leather_chestplate,Count=0,tag=(Enchantments=#luckyChestplateEnchantments)),(id=player_head,Count=1,tag=(Enchantments=#luckyHelmetEnchantments),tag=(SkullOwner=Terracid))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName=#jsonStr(text="Terracid",color=red,bold=true),CustomNameVisible=true);
   type=entity,ID=zombie,NBTTag=(HandItems=[(id=diamond_sword,Count=1,tag=(Enchantments=#luckySwordEnchantments))],
   ArmorItems=[(id=leather_boots,Count=0,tag=(Enchantments=#luckyBootsEnchantments)),(id=leather_leggings,Count=0,tag=(Enchantments=#luckyLeggingsEnchantments)),(id=leather_chestplate,Count=0,tag=(Enchantments=#luckyChestplateEnchantments)),(id=player_head,Count=1,tag=(Enchantments=#luckyHelmetEnchantments),tag=(SkullOwner=Lainkk))],HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],CustomName=#jsonStr(text="Laink",color=red,bold=true),CustomNameVisible=true)
)@luck=-2


/ Simple Enemies
/type=entity,ID=zombie,amount=#rand(2,5)@luck=-2
/type=entity,ID=skeleton,amount=#rand(2,5)@luck=-2
/type=entity,ID=creeper,amount=#rand(1,3)@luck=-2
/type=entity,ID=enderman,amount=#rand(1,4)@luck=-2
/type=entity,ID=witch,amount=#rand(1,3)@luck=-2

// ========== TRUCS UN PEU BATARD ==========

/ Explosion
/group(
   type=explosion,radius=6;
   type=message,ID="$cNON IL N'Y A PAS QUE LA HACHE DANS CE LUCKY BLOCK"
)@luck=-2
/group(
   type=explosion,radius=6;
   type=message,ID="$cNON IL N'Y A PAS QUE LA HACHE DANS CE LUCKY BLOCK"
)@luck=-2@chance=0.5