static class PandaEntity.WatchGoal extends LookAtGoal
| Modifier and Type | Field and Description |
|---|---|
private PandaEntity |
field_220718_f |
chance, closestEntity, entity, field_220716_e, maxDistance, watchedClass| Constructor and Description |
|---|
WatchGoal(PandaEntity p_i51458_1_,
java.lang.Class<? extends LivingEntity> p_i51458_2_,
float p_i51458_3_) |
| Modifier and Type | Method and Description |
|---|---|
void |
func_229975_a_(LivingEntity p_229975_1_) |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
tick() |
resetTask, startExecutinggetMutexFlags, isPreemptible, setMutexFlags, toStringprivate final PandaEntity field_220718_f
public WatchGoal(PandaEntity p_i51458_1_, java.lang.Class<? extends LivingEntity> p_i51458_2_, float p_i51458_3_)
public void func_229975_a_(LivingEntity p_229975_1_)
public boolean shouldContinueExecuting()
shouldContinueExecuting in class LookAtGoalpublic boolean shouldExecute()
shouldExecute in class LookAtGoalpublic void tick()
tick in class LookAtGoal