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 official bsm$b
intermediary net/minecraft/class_1481$class_1483
named net/minecraft/entity/passive/TurtleEntity$GoHomeGoal
-
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 official e
Lbsm$b;e:I
intermediary field_30384
Lnet/minecraft/class_1481$class_1483;field_30384:I
named MAX_TRY_TICKS
Lnet/minecraft/entity/passive/TurtleEntity$GoHomeGoal;MAX_TRY_TICKS:I
-
turtle
- Mappings:
Namespace Name Mixin selector official a
Lbsm$b;a:Lbsm;
intermediary field_6930
Lnet/minecraft/class_1481$class_1483;field_6930:Lnet/minecraft/class_1481;
named turtle
Lnet/minecraft/entity/passive/TurtleEntity$GoHomeGoal;turtle:Lnet/minecraft/entity/passive/TurtleEntity;
-
speed
private final double speed- Mappings:
Namespace Name Mixin selector official b
Lbsm$b;b:D
intermediary field_6927
Lnet/minecraft/class_1481$class_1483;field_6927:D
named speed
Lnet/minecraft/entity/passive/TurtleEntity$GoHomeGoal;speed:D
-
noPath
private boolean noPath- Mappings:
Namespace Name Mixin selector official c
Lbsm$b;c:Z
intermediary field_6929
Lnet/minecraft/class_1481$class_1483;field_6929:Z
named noPath
Lnet/minecraft/entity/passive/TurtleEntity$GoHomeGoal;noPath:Z
-
homeReachingTryTicks
private int homeReachingTryTicks- Mappings:
Namespace Name Mixin selector official d
Lbsm$b;d:I
intermediary field_6928
Lnet/minecraft/class_1481$class_1483;field_6928:I
named homeReachingTryTicks
Lnet/minecraft/entity/passive/TurtleEntity$GoHomeGoal;homeReachingTryTicks:I
-
-
Constructor Details
-
GoHomeGoal
GoHomeGoal(TurtleEntity turtle, double speed) - Mappings:
Namespace Name Mixin selector official <init>
Lbsm$b;<init>(Lbsm;D)V
intermediary <init>
Lnet/minecraft/class_1481$class_1483;<init>(Lnet/minecraft/class_1481;D)V
named <init>
Lnet/minecraft/entity/passive/TurtleEntity$GoHomeGoal;<init>(Lnet/minecraft/entity/passive/TurtleEntity;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 official b
Lbmv;b()Z
intermediary method_6266
Lnet/minecraft/class_1352;method_6266()Z
named shouldContinue
Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-
tick
public void tick()
-