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
- Mappings:
Namespace Name official bnt$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 inherited from class net.minecraft.entity.ai.goal.FleeEntityGoal
classToFleeFrom, extraInclusionSelector, fleeDistance, fleeingEntityNavigation, fleePath, inclusionSelector, mob, targetEntity
-
Constructor Summary
ConstructorDescriptionPandaFleeGoal
(PandaEntity panda, Class<T> fleeFromType, float distance, double slowSpeed, double fastSpeed) -
Method Summary
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, getTickCount, setControls, shouldRunEveryTick, toGoalTicks, toString
-
Field Details
-
panda
- Mappings:
Namespace Name Mixin selector official i
Lbnt$c;i:Lbnt;
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>
Lbnt$c;<init>(Lbnt;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
Lbip;a()Z
intermediary method_6264
Lnet/minecraft/class_1352;method_6264()Z
named canStart
Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
-