help I try to create a WorldOfMineCraft plugin
but if I say I want to spawn a level 1 zombie and I want to give it the properties of level 1 that I can not really do
on spawn of a zombie:
if name or spawned entity is "& cZombs [Level 1]":
victim is zombie:
set name of the zombie to "& cZombs [Level 1]"
apply speed 1 to the zombie for 9999 minutes
apply fire resistance 2 to the zombie for 999 minutes
set the maximum health or zombie to 5
heal the zombie
set of chestplate or zombie to leather chestplate with name "& 6Zombs [Level 1]"
dye zombie's chestplate yellow
this: if name or spawned entity is "& cZombs [Level 1]": is wrong
was I supposed to do now?
but if I say I want to spawn a level 1 zombie and I want to give it the properties of level 1 that I can not really do
on spawn of a zombie:
if name or spawned entity is "& cZombs [Level 1]":
victim is zombie:
set name of the zombie to "& cZombs [Level 1]"
apply speed 1 to the zombie for 9999 minutes
apply fire resistance 2 to the zombie for 999 minutes
set the maximum health or zombie to 5
heal the zombie
set of chestplate or zombie to leather chestplate with name "& 6Zombs [Level 1]"
dye zombie's chestplate yellow
this: if name or spawned entity is "& cZombs [Level 1]": is wrong
was I supposed to do now?