Package net.minecraft.entity.passive
Class OcelotEntity.FleeGoal<T extends LivingEntity>
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.FleeEntityGoal<T>
net.minecraft.entity.passive.OcelotEntity.FleeGoal<T>
- Enclosing class:
OcelotEntity
- Mappings:
Namespace Name official brx$aintermediary net/minecraft/class_3701$class_3702named net/minecraft/entity/passive/OcelotEntity$FleeGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control -
Field Summary
FieldsFields inherited from class net.minecraft.entity.ai.goal.FleeEntityGoal
classToFleeFrom, extraInclusionSelector, fleeDistance, fleeingEntityNavigation, fleePath, inclusionSelector, mob, targetEntity -
Constructor Summary
ConstructorsConstructorDescriptionFleeGoal(OcelotEntity ocelot, Class<T> fleeFromType, float distance, double slowSpeed, double fastSpeed) -
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.FleeEntityGoal
start, stop, tickMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, getTickCount, setControls, shouldRunEveryTick, toGoalTicks, toString
-
Field Details
-
ocelot
- Mappings:
Namespace Name Mixin selector official iLbrx$a;i:Lbrx;intermediary field_16303Lnet/minecraft/class_3701$class_3702;field_16303:Lnet/minecraft/class_3701;named ocelotLnet/minecraft/entity/passive/OcelotEntity$FleeGoal;ocelot:Lnet/minecraft/entity/passive/OcelotEntity;
-
-
Constructor Details
-
FleeGoal
public FleeGoal(OcelotEntity ocelot, Class<T> fleeFromType, float distance, double slowSpeed, double fastSpeed) - Mappings:
Namespace Name Mixin selector official <init>Lbrx$a;<init>(Lbrx;Ljava/lang/Class;FDD)Vintermediary <init>Lnet/minecraft/class_3701$class_3702;<init>(Lnet/minecraft/class_3701;Ljava/lang/Class;FDD)Vnamed <init>Lnet/minecraft/entity/passive/OcelotEntity$FleeGoal;<init>(Lnet/minecraft/entity/passive/OcelotEntity;Ljava/lang/Class;FDD)V
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStartin classFleeEntityGoal<T extends LivingEntity>- Mappings:
Namespace Name Mixin selector official aLbmt;a()Zintermediary method_6264Lnet/minecraft/class_1352;method_6264()Znamed canStartLnet/minecraft/entity/ai/goal/Goal;canStart()Z
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinuein classFleeEntityGoal<T extends LivingEntity>- Mappings:
Namespace Name Mixin selector official bLbmt;b()Zintermediary method_6266Lnet/minecraft/class_1352;method_6266()Znamed shouldContinueLnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-