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
static class CatEntity.CatFleeGoal<T extends LivingEntity> extends FleeEntityGoal<T>
- Mappings:
Namespace Name official bbm$a
intermediary net/minecraft/class_1451$class_3698
named 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
Fields inherited from class net.minecraft.entity.ai.goal.FleeEntityGoal
classToFleeFrom, extraInclusionSelector, fleeDistance, fleeingEntityNavigation, fleePath, inclusionSelector, mob, targetEntity
-
Constructor Summary
Constructors Constructor Description CatFleeGoal(CatEntity cat, Class<T> fleeFromType, float distance, double slowSpeed, double fastSpeed)
-
Method Summary
Modifier and Type Method Description boolean
canStart()
boolean
shouldContinue()
Methods inherited from class net.minecraft.entity.ai.goal.FleeEntityGoal
start, stop, tick
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Field Details
-
cat
- Mappings:
Namespace Name Mixin selector official i
Lbbm$a;i:Lbbm;
intermediary field_16293
Lnet/minecraft/class_1451$class_3698;field_16293:Lnet/minecraft/class_1451;
named cat
Lnet/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>
Lbbm$a;<init>(Lbbm;Ljava/lang/Class;FDD)V
intermediary <init>
Lnet/minecraft/class_1451$class_3698;<init>(Lnet/minecraft/class_1451;Ljava/lang/Class;FDD)V
named <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:
canStart
in classFleeEntityGoal<T extends LivingEntity>
- Mappings:
Namespace Name Mixin selector official a
Lawx;a()Z
intermediary method_6264
Lnet/minecraft/class_1352;method_6264()Z
named canStart
Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classFleeEntityGoal<T extends LivingEntity>
- Mappings:
Namespace Name Mixin selector official b
Lawx;b()Z
intermediary method_6266
Lnet/minecraft/class_1352;method_6266()Z
named shouldContinue
Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-