Package net.minecraft.entity.passive
Class FoxEntity.AvoidDaylightGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.EscapeSunlightGoal
net.minecraft.entity.passive.FoxEntity.AvoidDaylightGoal
- Enclosing class:
- FoxEntity
class FoxEntity.AvoidDaylightGoal extends EscapeSunlightGoal
- Mappings:
Namespace Name official bbs$s
intermediary net/minecraft/class_4019$class_4036
named net/minecraft/entity/passive/FoxEntity$AvoidDaylightGoal
-
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 int
timer
Fields inherited from class net.minecraft.entity.ai.goal.EscapeSunlightGoal
mob
-
Constructor Summary
Constructors Constructor Description AvoidDaylightGoal(double speed)
-
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.EscapeSunlightGoal
locateShadedPos, shouldContinue, targetShadedPos
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, stop, tick, toString
-
Field Details
-
timer
private int timer- Mappings:
Namespace Name Mixin selector official c
Lbbs$s;c:I
intermediary field_17992
Lnet/minecraft/class_4019$class_4036;field_17992:I
named timer
Lnet/minecraft/entity/passive/FoxEntity$AvoidDaylightGoal;timer:I
-
-
Constructor Details
-
AvoidDaylightGoal
public AvoidDaylightGoal(double speed)- Mappings:
Namespace Name Mixin selector official <init>
Lbbs$s;<init>(Lbbs;D)V
intermediary <init>
Lnet/minecraft/class_4019$class_4036;<init>(Lnet/minecraft/class_4019;D)V
named <init>
Lnet/minecraft/entity/passive/FoxEntity$AvoidDaylightGoal;<init>(Lnet/minecraft/entity/passive/FoxEntity;D)V
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStart
in classEscapeSunlightGoal
- 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
-
start
public void start()- Overrides:
start
in classEscapeSunlightGoal
- Mappings:
Namespace Name Mixin selector official c
Lawx;c()V
intermediary method_6269
Lnet/minecraft/class_1352;method_6269()V
named start
Lnet/minecraft/entity/ai/goal/Goal;start()V
-