Adding Creature.setTarget() per jlogsdon
This commit is contained in:
parent
2db95ba0b9
commit
3f60ba1f91
@ -6,5 +6,12 @@ package org.bukkit.entity;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public interface Creature extends LivingEntity{
|
public interface Creature extends LivingEntity{
|
||||||
|
/**
|
||||||
|
* Instructs this Creature to set the specified LivingEntity as its target.
|
||||||
|
* Hostile creatures may attack their target, and friendly creatures may
|
||||||
|
* follow their target.
|
||||||
|
*
|
||||||
|
* @param target New LivingEntity to target
|
||||||
|
*/
|
||||||
|
public void setTarget(LivingEntity target);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user