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
- Mappings:
Namespace Name named net/minecraft/entity/passive/TurtleEntity$WanderInWaterGoalintermediary net/minecraft/class_1481$class_1484official cgf$c
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control -
Field Summary
FieldsFields inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoal
cooldown, lowestY, mob, speed, targetPos, tryingTime -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanStart()protected booleanisTargetPos(WorldView world, BlockPos pos) booleanbooleanMethods inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoal
findTargetPos, getDesiredDistanceToTarget, getInterval, getTargetPos, hasReached, shouldRunEveryTick, start, startMovingToTarget, tickMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, getTickCount, setControls, stop, toGoalTicks, toString
-
Field Details
-
field_30385
private static final int field_30385- See Also:
- Mappings:
Namespace Name Mixin selector named field_30385Lnet/minecraft/entity/passive/TurtleEntity$WanderInWaterGoal;field_30385:Iintermediary field_30385Lnet/minecraft/class_1481$class_1484;field_30385:Iofficial gLcgf$c;g:I
-
turtle
- Mappings:
Namespace Name Mixin selector named turtleLnet/minecraft/entity/passive/TurtleEntity$WanderInWaterGoal;turtle:Lnet/minecraft/entity/passive/TurtleEntity;intermediary field_6931Lnet/minecraft/class_1481$class_1484;field_6931:Lnet/minecraft/class_1481;official hLcgf$c;h:Lcgf;
-
-
Constructor Details
-
WanderInWaterGoal
WanderInWaterGoal(TurtleEntity turtle, double speed) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/passive/TurtleEntity$WanderInWaterGoal;<init>(Lnet/minecraft/entity/passive/TurtleEntity;D)Vintermediary <init>Lnet/minecraft/class_1481$class_1484;<init>(Lnet/minecraft/class_1481;D)Vofficial <init>Lcgf$c;<init>(Lcgf;D)V
-
-
Method Details
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinuein classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector named shouldContinueLnet/minecraft/entity/ai/goal/Goal;shouldContinue()Zintermediary method_6266Lnet/minecraft/class_1352;method_6266()Zofficial cLcam;c()Z
-
canStart
public boolean canStart()- Overrides:
canStartin classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector named canStartLnet/minecraft/entity/ai/goal/Goal;canStart()Zintermediary method_6264Lnet/minecraft/class_1352;method_6264()Zofficial bLcam;b()Z
-
shouldResetPath
public boolean shouldResetPath()- Overrides:
shouldResetPathin classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector named shouldResetPathLnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;shouldResetPath()Zintermediary method_6294Lnet/minecraft/class_1367;method_6294()Zofficial lLcaz;l()Z
-
isTargetPos
- Specified by:
isTargetPosin classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector named isTargetPosLnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;isTargetPos(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Zintermediary method_6296Lnet/minecraft/class_1367;method_6296(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Zofficial aLcaz;a(Ldcz;Ljd;)Z
-