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
- Mappings:
Namespace Name official bni$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
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, getTickCount, setControls, shouldRunEveryTick, toGoalTicks, toString
-
Field Details
-
turtle
- Mappings:
Namespace Name Mixin selector official a
Lbni$i;a:Lbni;
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
Lbni$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
Lbni$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>
Lbni$i;<init>(Lbni;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
Lbhs;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()
-