Separate names with a comma.
but I know how to add life but i need code to get the entity.
e.g to get player i use: $sender->getPlayer();
But i need to get the zombie entity
It not work.
I need to add more health to entity.
How i'm can get Entity in CommandSender??
e.g in EntityDamageEvent: $entity = $event->getEntity();
but I ask you to do a few classes in the plugin and you give me a guide on how to do a new file in windows ... !
but what is the creation of the file to the plugin ?
and a so-so already advised , I used __construct
Any help me? ;)
but I mean to stop damage to the weapons and do not stop the damage inflicted by weapons
But how to stop damage in this API?
Ok thanks for help.
I have one question:
It is possible and how to stop damage of item when player attack e.q zombie.
And t is possible to remove this item with custom name?
It is possible to give of an item that has changed the name but his real name is not affected?
for instance a player has a diamond blade that is...