Package net.minecraft.entity.passive
Class TurtleEntity.GoHomeGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.passive.TurtleEntity.GoHomeGoal
- Enclosing class:
TurtleEntity
- Mappings:
Namespace Name named net/minecraft/entity/passive/TurtleEntity$GoHomeGoal
intermediary net/minecraft/class_1481$class_1483
official cgf$b
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private static final int
private boolean
private final double
private final TurtleEntity
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, getTickCount, setControls, shouldRunEveryTick, toGoalTicks, toString
-
Field Details
-
MAX_TRY_TICKS
private static final int MAX_TRY_TICKS- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_TRY_TICKS
Lnet/minecraft/entity/passive/TurtleEntity$GoHomeGoal;MAX_TRY_TICKS:I
intermediary field_30384
Lnet/minecraft/class_1481$class_1483;field_30384:I
official e
Lcgf$b;e:I
-
turtle
- Mappings:
Namespace Name Mixin selector named turtle
Lnet/minecraft/entity/passive/TurtleEntity$GoHomeGoal;turtle:Lnet/minecraft/entity/passive/TurtleEntity;
intermediary field_6930
Lnet/minecraft/class_1481$class_1483;field_6930:Lnet/minecraft/class_1481;
official a
Lcgf$b;a:Lcgf;
-
speed
private final double speed- Mappings:
Namespace Name Mixin selector named speed
Lnet/minecraft/entity/passive/TurtleEntity$GoHomeGoal;speed:D
intermediary field_6927
Lnet/minecraft/class_1481$class_1483;field_6927:D
official b
Lcgf$b;b:D
-
noPath
private boolean noPath- Mappings:
Namespace Name Mixin selector named noPath
Lnet/minecraft/entity/passive/TurtleEntity$GoHomeGoal;noPath:Z
intermediary field_6929
Lnet/minecraft/class_1481$class_1483;field_6929:Z
official c
Lcgf$b;c:Z
-
homeReachingTryTicks
private int homeReachingTryTicks- Mappings:
Namespace Name Mixin selector named homeReachingTryTicks
Lnet/minecraft/entity/passive/TurtleEntity$GoHomeGoal;homeReachingTryTicks:I
intermediary field_6928
Lnet/minecraft/class_1481$class_1483;field_6928:I
official d
Lcgf$b;d:I
-
-
Constructor Details
-
GoHomeGoal
GoHomeGoal(TurtleEntity turtle, double speed) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/passive/TurtleEntity$GoHomeGoal;<init>(Lnet/minecraft/entity/passive/TurtleEntity;D)V
intermediary <init>
Lnet/minecraft/class_1481$class_1483;<init>(Lnet/minecraft/class_1481;D)V
official <init>
Lcgf$b;<init>(Lcgf;D)V
-
-
Method Details
-
canStart
public boolean canStart() -
start
public void start() -
stop
public void stop() -
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classGoal
- Mappings:
Namespace Name Mixin selector named shouldContinue
Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
intermediary method_6266
Lnet/minecraft/class_1352;method_6266()Z
official c
Lcam;c()Z
-
tick
public void tick()
-