public class EntityAIOwnerHurtTarget extends EntityAITarget
shouldCheckSight, taskOwner| Constructor and Description |
|---|
EntityAIOwnerHurtTarget(EntityTameable p_i1668_1_) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldExecute()
Returns whether the EntityAIBase should begin execution.
|
void |
startExecuting()
Execute a one shot task or start executing a continuous task
|
continueExecuting, getTargetDistance, isSuitableTarget, resetTaskgetMutexBits, isInterruptible, setMutexBits, updateTaskpublic EntityAIOwnerHurtTarget(EntityTameable p_i1668_1_)
public boolean shouldExecute()
shouldExecute in class EntityAIBasepublic void startExecuting()
startExecuting in class EntityAITarget