Package net.minecraft.entity.passive
Class RabbitEntity.FleeGoal<T extends LivingEntity>
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.FleeEntityGoal<T>
net.minecraft.entity.passive.RabbitEntity.FleeGoal<T>
- Enclosing class:
- RabbitEntity
- Mappings:
Namespace Name official bhw$b
intermediary net/minecraft/class_1463$class_1465
named net/minecraft/entity/passive/RabbitEntity$FleeGoal
-
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
ConstructorDescriptionFleeGoal
(RabbitEntity rabbit, 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
-
rabbit
- Mappings:
Namespace Name Mixin selector official i
Lbhw$b;i:Lbhw;
intermediary field_6853
Lnet/minecraft/class_1463$class_1465;field_6853:Lnet/minecraft/class_1463;
named rabbit
Lnet/minecraft/entity/passive/RabbitEntity$FleeGoal;rabbit:Lnet/minecraft/entity/passive/RabbitEntity;
-
-
Constructor Details
-
FleeGoal
public FleeGoal(RabbitEntity rabbit, Class<T> fleeFromType, float distance, double slowSpeed, double fastSpeed) - Mappings:
Namespace Name Mixin selector official <init>
Lbhw$b;<init>(Lbhw;Ljava/lang/Class;FDD)V
intermediary <init>
Lnet/minecraft/class_1463$class_1465;<init>(Lnet/minecraft/class_1463;Ljava/lang/Class;FDD)V
named <init>
Lnet/minecraft/entity/passive/RabbitEntity$FleeGoal;<init>(Lnet/minecraft/entity/passive/RabbitEntity;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
Lbcu;a()Z
intermediary method_6264
Lnet/minecraft/class_1352;method_6264()Z
named canStart
Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
-