Package net.minecraft.entity.passive
Class PandaEntity.PandaFleeGoal<T extends LivingEntity>
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.FleeEntityGoal<T>
net.minecraft.entity.passive.PandaEntity.PandaFleeGoal<T>
- Enclosing class:
- PandaEntity
static class PandaEntity.PandaFleeGoal<T extends LivingEntity> extends FleeEntityGoal<T>
- Mappings:
Namespace Name official bbw$c
intermediary net/minecraft/class_1440$class_1441
named net/minecraft/entity/passive/PandaEntity$PandaFleeGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields Modifier and Type Field Description private PandaEntity
panda
Fields inherited from class net.minecraft.entity.ai.goal.FleeEntityGoal
classToFleeFrom, extraInclusionSelector, fleeDistance, fleeingEntityNavigation, fleePath, inclusionSelector, mob, targetEntity
-
Constructor Summary
Constructors Constructor Description PandaFleeGoal(PandaEntity panda, Class<T> fleeFromType, float distance, double slowSpeed, double fastSpeed)
-
Method Summary
Modifier and Type Method Description boolean
canStart()
Methods inherited from class net.minecraft.entity.ai.goal.FleeEntityGoal
shouldContinue, start, stop, tick
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Field Details
-
panda
- Mappings:
Namespace Name Mixin selector official i
Lbbw$c;i:Lbbw;
intermediary field_6782
Lnet/minecraft/class_1440$class_1441;field_6782:Lnet/minecraft/class_1440;
named panda
Lnet/minecraft/entity/passive/PandaEntity$PandaFleeGoal;panda:Lnet/minecraft/entity/passive/PandaEntity;
-
-
Constructor Details
-
PandaFleeGoal
public PandaFleeGoal(PandaEntity panda, Class<T> fleeFromType, float distance, double slowSpeed, double fastSpeed)- Mappings:
Namespace Name Mixin selector official <init>
Lbbw$c;<init>(Lbbw;Ljava/lang/Class;FDD)V
intermediary <init>
Lnet/minecraft/class_1440$class_1441;<init>(Lnet/minecraft/class_1440;Ljava/lang/Class;FDD)V
named <init>
Lnet/minecraft/entity/passive/PandaEntity$PandaFleeGoal;<init>(Lnet/minecraft/entity/passive/PandaEntity;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
-