Files
data
pack.mcmeta
README.md
Code
7 76
data/mace_smp/function/tick.mcfunction
execute as @a[tag=!mace_starter_received] run function mace_smp:starter
execute as @a[scores={maceKills=5..}] unless items entity @s weapon.mainhand minecraft:mace[minecraft:custom_name='{"text":"God Mace","bold":true}'] run item replace entity @s weapon.mainhand with minecraft:mace[minecraft:custom_name='{"text":"God Mace","bold":true}',minecraft:enchantments={levels:{"minecraft:sharpness":8,"minecraft:wind_burst":8,"minecraft:density":8}}]
execute as @a[scores={maceKills=4}] unless items entity @s weapon.mainhand minecraft:mace[minecraft:custom_name='{"text":"OP Mace"}'] run item replace entity @s weapon.mainhand with minecraft:mace[minecraft:custom_name='{"text":"OP Mace"}',minecraft:enchantments={levels:{"minecraft:wind_burst":3,"minecraft:density":3}}]
execute as @a[scores={maceKills=3}] unless items entity @s weapon.mainhand minecraft:mace[minecraft:custom_name='{"text":"Super Mace"}'] run item replace entity @s weapon.mainhand with minecraft:mace[minecraft:custom_name='{"text":"Super Mace"}',minecraft:enchantments={levels:{"minecraft:wind_burst":3,"minecraft:density":2}}]
execute as @a[scores={maceKills=2}] unless items entity @s weapon.mainhand minecraft:mace[minecraft:custom_name='{"text":"Stone Mace"}'] run item replace entity @s weapon.mainhand with minecraft:mace[minecraft:custom_name='{"text":"Stone Mace"}',minecraft:enchantments={levels:{"minecraft:wind_burst":2,"minecraft:density":1}}]
execute as @a[scores={maceKills=1}] unless items entity @s weapon.mainhand minecraft:mace[minecraft:custom_name='{"text":"Wooden Mace"}'] run item replace entity @s weapon.mainhand with minecraft:mace[minecraft:custom_name='{"text":"Wooden Mace"}',minecraft:enchantments={levels:{"minecraft:wind_burst":1}}]