public class HurtByTargetGoal extends TargetGoal
| Modifier and Type | Field and Description |
|---|---|
private boolean |
entityCallsForHelp |
private java.lang.Class<?>[] |
excludedReinforcementTypes |
private static EntityPredicate |
field_220795_a |
private java.lang.Class<?>[] |
field_220797_i |
private int |
revengeTimerOld |
goalOwner, shouldCheckSight, target, unseenMemoryTicks| Constructor and Description |
|---|
HurtByTargetGoal(CreatureEntity creatureIn,
java.lang.Class<?>... p_i50317_2_) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
alertOthers() |
protected void |
setAttackTarget(MobEntity mobIn,
LivingEntity targetIn) |
HurtByTargetGoal |
setCallsForHelp(java.lang.Class<?>... p_220794_1_) |
boolean |
shouldExecute() |
void |
startExecuting() |
getTargetDistance, isSuitableTarget, resetTask, setUnseenMemoryTicks, shouldContinueExecutinggetMutexFlags, isPreemptible, setMutexFlags, tick, toStringprivate static final EntityPredicate field_220795_a
private boolean entityCallsForHelp
private int revengeTimerOld
private final java.lang.Class<?>[] excludedReinforcementTypes
private java.lang.Class<?>[] field_220797_i
public HurtByTargetGoal(CreatureEntity creatureIn, java.lang.Class<?>... p_i50317_2_)
public boolean shouldExecute()
shouldExecute in class Goalpublic HurtByTargetGoal setCallsForHelp(java.lang.Class<?>... p_220794_1_)
public void startExecuting()
startExecuting in class TargetGoalprotected void alertOthers()
protected void setAttackTarget(MobEntity mobIn, LivingEntity targetIn)