Package net.minecraft.entity.passive
Class TurtleEntity.LayEggGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.MoveToTargetPosGoal
net.minecraft.entity.passive.TurtleEntity.LayEggGoal
- Enclosing class:
TurtleEntity
- Mappings:
Namespace Name official bvj$dintermediary net/minecraft/class_1481$class_1485named net/minecraft/entity/passive/TurtleEntity$LayEggGoal
-
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) booleanvoidtick()Methods inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoal
findTargetPos, getDesiredDistanceToTarget, getInterval, getTargetPos, hasReached, shouldResetPath, shouldRunEveryTick, start, startMovingToTargetMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, getTickCount, setControls, stop, toGoalTicks, toString
-
Field Details
-
turtle
- Mappings:
Namespace Name Mixin selector official gLbvj$d;g:Lbvj;intermediary field_6932Lnet/minecraft/class_1481$class_1485;field_6932:Lnet/minecraft/class_1481;named turtleLnet/minecraft/entity/passive/TurtleEntity$LayEggGoal;turtle:Lnet/minecraft/entity/passive/TurtleEntity;
-
-
Constructor Details
-
LayEggGoal
LayEggGoal(TurtleEntity turtle, double speed) - Mappings:
Namespace Name Mixin selector official <init>Lbvj$d;<init>(Lbvj;D)Vintermediary <init>Lnet/minecraft/class_1481$class_1485;<init>(Lnet/minecraft/class_1481;D)Vnamed <init>Lnet/minecraft/entity/passive/TurtleEntity$LayEggGoal;<init>(Lnet/minecraft/entity/passive/TurtleEntity;D)V
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStartin classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official aLbps;a()Zintermediary method_6264Lnet/minecraft/class_1352;method_6264()Znamed canStartLnet/minecraft/entity/ai/goal/Goal;canStart()Z
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinuein classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official bLbps;b()Zintermediary method_6266Lnet/minecraft/class_1352;method_6266()Znamed shouldContinueLnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-
tick
public void tick()- Overrides:
tickin classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official eLbps;e()Vintermediary method_6268Lnet/minecraft/class_1352;method_6268()Vnamed tickLnet/minecraft/entity/ai/goal/Goal;tick()V
-
isTargetPos
- Specified by:
isTargetPosin classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official aLbqf;a(Lcpn;Lgv;)Zintermediary method_6296Lnet/minecraft/class_1367;method_6296(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Znamed isTargetPosLnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;isTargetPos(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
-