Package net.minecraft.entity.passive
Class PandaEntity.AvoidGoal<T extends LivingEntity>
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.AvoidEntityGoal<T>
-
- net.minecraft.entity.passive.PandaEntity.AvoidGoal<T>
-
- Enclosing class:
- PandaEntity
static class PandaEntity.AvoidGoal<T extends LivingEntity> extends AvoidEntityGoal<T>
-
-
Field Summary
Fields Modifier and Type Field Description private PandaEntity
panda
-
Fields inherited from class net.minecraft.entity.ai.goal.AvoidEntityGoal
avoidClass, avoidPredicate, maxDist, mob, path, pathNav, predicateOnAvoidEntity, toAvoid
-
-
Constructor Summary
Constructors Constructor Description AvoidGoal(PandaEntity p_i51466_1_, java.lang.Class<T> p_i51466_2_, float p_i51466_3_, double p_i51466_4_, double p_i51466_6_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canUse()
-
Methods inherited from class net.minecraft.entity.ai.goal.AvoidEntityGoal
canContinueToUse, start, stop, tick
-
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
-
-
-
Field Detail
-
panda
private final PandaEntity panda
-
-
Constructor Detail
-
AvoidGoal
public AvoidGoal(PandaEntity p_i51466_1_, java.lang.Class<T> p_i51466_2_, float p_i51466_3_, double p_i51466_4_, double p_i51466_6_)
-
-
Method Detail
-
canUse
public boolean canUse()
- Overrides:
canUse
in classAvoidEntityGoal<T extends LivingEntity>
-
-