|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Creature
Represents a Creature. Creatures are non-intelligent monsters or animals which have very simple abilities.
| Method Summary | |
|---|---|
LivingEntity |
getTarget()
Gets the current target of this Creature |
void |
setTarget(LivingEntity target)
Instructs this Creature to set the specified LivingEntity as its target. |
| Methods inherited from interface org.bukkit.entity.Damageable |
|---|
damage, damage, getHealth, getMaxHealth, resetMaxHealth, setHealth, setMaxHealth |
| Method Detail |
|---|
void setTarget(LivingEntity target)
target - New LivingEntity to target, or null to clear the targetLivingEntity getTarget()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||