Package net.minecraft.entity.passive
Class TurtleEntity.WanderInWaterGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.MoveToTargetPosGoal
net.minecraft.entity.passive.TurtleEntity.WanderInWaterGoal
- Enclosing class:
- TurtleEntity
static class TurtleEntity.WanderInWaterGoal extends MoveToTargetPosGoal
- Mappings:
Namespace Name official bci$c
intermediary net/minecraft/class_1481$class_1484
named net/minecraft/entity/passive/TurtleEntity$WanderInWaterGoal
-
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 TurtleEntity
turtle
Fields inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoal
cooldown, lowestY, mob, speed, targetPos, tryingTime
-
Constructor Summary
Constructors Modifier Constructor Description private
WanderInWaterGoal(TurtleEntity turtle, double speed)
-
Method Summary
Modifier and Type Method Description boolean
canStart()
protected boolean
isTargetPos(WorldView world, BlockPos pos)
boolean
shouldContinue()
boolean
shouldResetPath()
Methods inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoal
findTargetPos, getDesiredSquaredDistanceToTarget, getInterval, getTargetPos, hasReached, start, startMovingToTarget, tick
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, stop, toString
-
Field Details
-
turtle
- Mappings:
Namespace Name Mixin selector official g
Lbci$c;g:Lbci;
intermediary field_6931
Lnet/minecraft/class_1481$class_1484;field_6931:Lnet/minecraft/class_1481;
named turtle
Lnet/minecraft/entity/passive/TurtleEntity$WanderInWaterGoal;turtle:Lnet/minecraft/entity/passive/TurtleEntity;
-
-
Constructor Details
-
WanderInWaterGoal
- Mappings:
Namespace Name Mixin selector official <init>
Lbci$c;<init>(Lbci;D)V
intermediary <init>
Lnet/minecraft/class_1481$class_1484;<init>(Lnet/minecraft/class_1481;D)V
named <init>
Lnet/minecraft/entity/passive/TurtleEntity$WanderInWaterGoal;<init>(Lnet/minecraft/entity/passive/TurtleEntity;D)V
-
-
Method Details
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classMoveToTargetPosGoal
- 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
-
canStart
public boolean canStart()- Overrides:
canStart
in classMoveToTargetPosGoal
- 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
-
shouldResetPath
public boolean shouldResetPath()- Overrides:
shouldResetPath
in classMoveToTargetPosGoal
- Mappings:
Namespace Name Mixin selector official k
Laxl;k()Z
intermediary method_6294
Lnet/minecraft/class_1367;method_6294()Z
named shouldResetPath
Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;shouldResetPath()Z
-
isTargetPos
- Specified by:
isTargetPos
in classMoveToTargetPosGoal
- Mappings:
Namespace Name Mixin selector official a
Laxl;a(Lbty;Lfx;)Z
intermediary method_6296
Lnet/minecraft/class_1367;method_6296(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
named isTargetPos
Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;isTargetPos(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
-