Package net.minecraft.entity.passive
Class CatEntity.CatFleeGoal<T extends LivingEntity>
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.FleeEntityGoal<T>
net.minecraft.entity.passive.CatEntity.CatFleeGoal<T>
- Enclosing class:
CatEntity
- Mappings:
Namespace Name official brm$aintermediary net/minecraft/class_1451$class_3698named net/minecraft/entity/passive/CatEntity$CatFleeGoal
-
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
ConstructorsConstructorDescriptionCatFleeGoal(CatEntity cat, 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
-
cat
- Mappings:
Namespace Name Mixin selector official iLbrm$a;i:Lbrm;intermediary field_16293Lnet/minecraft/class_1451$class_3698;field_16293:Lnet/minecraft/class_1451;named catLnet/minecraft/entity/passive/CatEntity$CatFleeGoal;cat:Lnet/minecraft/entity/passive/CatEntity;
-
-
Constructor Details
-
CatFleeGoal
public CatFleeGoal(CatEntity cat, Class<T> fleeFromType, float distance, double slowSpeed, double fastSpeed) - Mappings:
Namespace Name Mixin selector official <init>Lbrm$a;<init>(Lbrm;Ljava/lang/Class;FDD)Vintermediary <init>Lnet/minecraft/class_1451$class_3698;<init>(Lnet/minecraft/class_1451;Ljava/lang/Class;FDD)Vnamed <init>Lnet/minecraft/entity/passive/CatEntity$CatFleeGoal;<init>(Lnet/minecraft/entity/passive/CatEntity;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
-