public class OwnerHurtTargetGoal extends TargetGoal
| Modifier and Type | Field and Description |
|---|---|
private LivingEntity |
attacker |
private TameableEntity |
tameable |
private int |
timestamp |
goalOwner, shouldCheckSight, target, unseenMemoryTicks| Constructor and Description |
|---|
OwnerHurtTargetGoal(TameableEntity theEntityTameableIn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldExecute() |
void |
startExecuting() |
getTargetDistance, isSuitableTarget, resetTask, setUnseenMemoryTicks, shouldContinueExecutinggetMutexFlags, isPreemptible, setMutexFlags, tick, toStringprivate final TameableEntity tameable
private LivingEntity attacker
private int timestamp
public OwnerHurtTargetGoal(TameableEntity theEntityTameableIn)
public boolean shouldExecute()
shouldExecute in class Goalpublic void startExecuting()
startExecuting in class TargetGoal