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 named net/minecraft/entity/passive/RabbitEntity$FleeGoal
intermediary net/minecraft/class_1463$class_1465
official cfm$a
-
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 named rabbit
Lnet/minecraft/entity/passive/RabbitEntity$FleeGoal;rabbit:Lnet/minecraft/entity/passive/RabbitEntity;
intermediary field_6853
Lnet/minecraft/class_1463$class_1465;field_6853:Lnet/minecraft/class_1463;
official i
Lcfm$a;i:Lcfm;
-
-
Constructor Details
-
FleeGoal
public FleeGoal(RabbitEntity rabbit, Class<T> fleeFromType, float distance, double slowSpeed, double fastSpeed) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/passive/RabbitEntity$FleeGoal;<init>(Lnet/minecraft/entity/passive/RabbitEntity;Ljava/lang/Class;FDD)V
intermediary <init>
Lnet/minecraft/class_1463$class_1465;<init>(Lnet/minecraft/class_1463;Ljava/lang/Class;FDD)V
official <init>
Lcfm$a;<init>(Lcfm;Ljava/lang/Class;FDD)V
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStart
in classFleeEntityGoal<T extends LivingEntity>
- Mappings:
Namespace Name Mixin selector named canStart
Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
intermediary method_6264
Lnet/minecraft/class_1352;method_6264()Z
official a
Lcaa;a()Z
-