Ich habe leider sowas noch nie gemacht, kann dir da also keine Informationen aus Erfahrung geben. Allerdings gibt es die Methode setTarget(LivingEntity e) für eine Instanz der Klasse Creature. Vielleicht reicht das dann:
Die Geschwindigkeit wären dann natürlich nicht veränderbar.
Source and more information: http://bukkit.org/threads/making-animals-follow-target-player.155223/
Source: http://jd.bukkit.org/rb/apidocs/org/bukkit/entity/Creature.html
PS: Die Beschreibung der Methode setTarget(LivingEntity e) ist "Instructs this Creature to set the specified LivingEntity as its target. Hostile creatures may attack their target, and friendly creatures may follow their target."
Code:
((Creature) c).setTarget(player);
Die Geschwindigkeit wären dann natürlich nicht veränderbar.
Source and more information: http://bukkit.org/threads/making-animals-follow-target-player.155223/
Source: http://jd.bukkit.org/rb/apidocs/org/bukkit/entity/Creature.html
PS: Die Beschreibung der Methode setTarget(LivingEntity e) ist "Instructs this Creature to set the specified LivingEntity as its target. Hostile creatures may attack their target, and friendly creatures may follow their target."