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$FleeGoalintermediary net/minecraft/class_1463$class_1465official cfy$a
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control -
Field Summary
FieldsFields inherited from class net.minecraft.entity.ai.goal.FleeEntityGoal
classToFleeFrom, extraInclusionSelector, fleeDistance, fleeingEntityNavigation, fleePath, inclusionSelector, mob, targetEntity -
Constructor Summary
ConstructorsConstructorDescriptionFleeGoal(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, tickMethods 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 rabbitLnet/minecraft/entity/passive/RabbitEntity$FleeGoal;rabbit:Lnet/minecraft/entity/passive/RabbitEntity;intermediary field_6853Lnet/minecraft/class_1463$class_1465;field_6853:Lnet/minecraft/class_1463;official iLcfy$a;i:Lcfy;
-
-
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)Vintermediary <init>Lnet/minecraft/class_1463$class_1465;<init>(Lnet/minecraft/class_1463;Ljava/lang/Class;FDD)Vofficial <init>Lcfy$a;<init>(Lcfy;Ljava/lang/Class;FDD)V
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStartin classFleeEntityGoal<T extends LivingEntity>- Mappings:
Namespace Name Mixin selector named canStartLnet/minecraft/entity/ai/goal/Goal;canStart()Zintermediary method_6264Lnet/minecraft/class_1352;method_6264()Zofficial bLcam;b()Z
-