Package net.minecraft.entity.passive
Class TurtleEntity.TravelGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.passive.TurtleEntity.TravelGoal
- Enclosing class:
- TurtleEntity
static class TurtleEntity.TravelGoal extends Goal
- Mappings:
Namespace Name official bci$i
intermediary net/minecraft/class_1481$class_1491
named net/minecraft/entity/passive/TurtleEntity$TravelGoal
-
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 boolean
noPath
private double
speed
private TurtleEntity
turtle
-
Constructor Summary
Constructors Constructor Description TravelGoal(TurtleEntity turtle, double speed)
-
Method Summary
Modifier and Type Method Description boolean
canStart()
boolean
shouldContinue()
void
start()
void
stop()
void
tick()
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Field Details
-
turtle
- Mappings:
Namespace Name Mixin selector official a
Lbci$i;a:Lbci;
intermediary field_6942
Lnet/minecraft/class_1481$class_1491;field_6942:Lnet/minecraft/class_1481;
named turtle
Lnet/minecraft/entity/passive/TurtleEntity$TravelGoal;turtle:Lnet/minecraft/entity/passive/TurtleEntity;
-
speed
private final double speed- Mappings:
Namespace Name Mixin selector official b
Lbci$i;b:D
intermediary field_6940
Lnet/minecraft/class_1481$class_1491;field_6940:D
named speed
Lnet/minecraft/entity/passive/TurtleEntity$TravelGoal;speed:D
-
noPath
private boolean noPath- Mappings:
Namespace Name Mixin selector official c
Lbci$i;c:Z
intermediary field_6941
Lnet/minecraft/class_1481$class_1491;field_6941:Z
named noPath
Lnet/minecraft/entity/passive/TurtleEntity$TravelGoal;noPath:Z
-
-
Constructor Details
-
TravelGoal
TravelGoal(TurtleEntity turtle, double speed)- Mappings:
Namespace Name Mixin selector official <init>
Lbci$i;<init>(Lbci;D)V
intermediary <init>
Lnet/minecraft/class_1481$class_1491;<init>(Lnet/minecraft/class_1481;D)V
named <init>
Lnet/minecraft/entity/passive/TurtleEntity$TravelGoal;<init>(Lnet/minecraft/entity/passive/TurtleEntity;D)V
-
-
Method Details
-
canStart
public boolean canStart() -
start
public void start() -
tick
public void tick() -
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classGoal
- Mappings:
Namespace Name Mixin selector official b
Lawx;b()Z
intermediary method_6266
Lnet/minecraft/class_1352;method_6266()Z
named shouldContinue
Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-
stop
public void stop()
-