Aller au contenu
  • 0

Question

Posté(e)

Bonjour, avec un œuf spéciale que on peut avoir que via une commande j'aimerais qui fasse spawn un mob custom .

 

on spawn of zombie:
   chance of 0%:
       set helmet of event-entity to diamond helmet of protection 7
       set chestplate of event-entity to diamond chestplate of protection 7
       set leggings of event-entity to diamond leggings of protection 7
       set boots of event-entity to diamond boots of protection 7
       set name of event-entity to "&4[&cBOSS&4] &aBonobo"
       apply speed 8 to event-entity for 999 days
       apply fire resistance 1 to event-entity for 999 days
       apply resistance 5 to event-entity for 15 seconds
       apply strength 30 to event-entity for 999 days
       wait 16 seconds
       apply resistance 4 to event-entity for 999 days

1 réponse à cette question

Messages recommandés

  • 0
Posté(e)

Salut

command /oeuf:
   trigger:
       give 1 Spawn egg named "&aBoss" to player

on right click with Spawn Egg:
   cancel event
   if name of player's tool is "&aBoss":
       spawn a zombie at player
       set helmet of spawned zombie to diamond helmet of protection 7
       set chestplate of spawned zombie to diamond chestplate of protection 7
       set leggings of spawned zombie to diamond leggings of protection 7
       set boots of spawned zombie to diamond boots of protection 7
       set name of spawned zombie to "&4[&cBOSS&4] &aBonobo"
       apply speed 8 to spawned zombie for 999 days
       apply fire resistance 1 to spawned zombie for 999 days
       apply resistance 5 to spawned zombie for 15 seconds
       apply strength 30 to spawned zombie for 999 days
       remove 1 Spawn Egg named "&aBoss" from player's inventory
       wait 16 seconds
       apply resistance 4 to spawned zombie for 999 days

 

Remplace "event-entity" par "spawned zombie", l'event-entity va détecter le joueur qui a fait l'action et non le mob.

 

En espérant avoir pu t'aider.

  • J'aime 1
×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.