public interface Targetable extends EntityComponent
| Modifier and Type | Method and Description |
|---|---|
Optional<Entity> |
getTarget()
Gets the current target of this Creature
|
void |
setTarget(Entity target)
Instructs this Creature to set the specified Living as its
target.
|
Copyright © 2017–2020 NukkitX. All rights reserved.