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$WanderInWaterGoal
intermediary net/minecraft/class_1481$class_1484
official cix$c
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoal
cooldown, lowestY, mob, speed, targetPos, tryingTime
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canStart()
protected boolean
isTargetPos
(WorldView world, BlockPos pos) boolean
boolean
Methods inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoal
findTargetPos, getDesiredDistanceToTarget, getInterval, getTargetPos, hasReached, shouldRunEveryTick, start, startMovingToTarget, tick
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, castToServerWorld, getControls, getServerWorld, getTickCount, setControls, stop, toGoalTicks, toString
-
Field Details
-
field_30385
private static final int field_30385- See Also:
- Mappings:
Namespace Name Mixin selector named field_30385
Lnet/minecraft/entity/passive/TurtleEntity$WanderInWaterGoal;field_30385:I
intermediary field_30385
Lnet/minecraft/class_1481$class_1484;field_30385:I
official g
Lcix$c;g:I
-
turtle
- Mappings:
Namespace Name Mixin selector named turtle
Lnet/minecraft/entity/passive/TurtleEntity$WanderInWaterGoal;turtle:Lnet/minecraft/entity/passive/TurtleEntity;
intermediary field_6931
Lnet/minecraft/class_1481$class_1484;field_6931:Lnet/minecraft/class_1481;
official h
Lcix$c;h:Lcix;
-
-
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)V
intermediary <init>
Lnet/minecraft/class_1481$class_1484;<init>(Lnet/minecraft/class_1481;D)V
official <init>
Lcix$c;<init>(Lcix;D)V
-
-
Method Details
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classMoveToTargetPosGoal
- Mappings:
Namespace Name Mixin selector named shouldContinue
Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
intermediary method_6266
Lnet/minecraft/class_1352;method_6266()Z
official c
Lcdd;c()Z
-
canStart
public boolean canStart()- Overrides:
canStart
in classMoveToTargetPosGoal
- Mappings:
Namespace Name Mixin selector named canStart
Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
intermediary method_6264
Lnet/minecraft/class_1352;method_6264()Z
official b
Lcdd;b()Z
-
shouldResetPath
public boolean shouldResetPath()- Overrides:
shouldResetPath
in classMoveToTargetPosGoal
- Mappings:
Namespace Name Mixin selector named shouldResetPath
Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;shouldResetPath()Z
intermediary method_6294
Lnet/minecraft/class_1367;method_6294()Z
official l
Lcdq;l()Z
-
isTargetPos
- Specified by:
isTargetPos
in classMoveToTargetPosGoal
- Mappings:
Namespace Name Mixin selector named isTargetPos
Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;isTargetPos(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
intermediary method_6296
Lnet/minecraft/class_1367;method_6296(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
official a
Lcdq;a(Ldhk;Ljh;)Z
-