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