Class TurtleEntity.LayEggGoal

Enclosing class:
TurtleEntity

private static class TurtleEntity.LayEggGoal extends MoveToTargetPosGoal
Mappings:
Namespace Name
official bsg$d
intermediary net/minecraft/class_1481$class_1485
named net/minecraft/entity/passive/TurtleEntity$LayEggGoal
  • Field Details

    • turtle

      private final TurtleEntity turtle
      Mappings:
      Namespace Name Mixin selector
      official g Lbsg$d;g:Lbsg;
      intermediary field_6932 Lnet/minecraft/class_1481$class_1485;field_6932:Lnet/minecraft/class_1481;
      named turtle Lnet/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> Lbsg$d;<init>(Lbsg;D)V
      intermediary <init> Lnet/minecraft/class_1481$class_1485;<init>(Lnet/minecraft/class_1481;D)V
      named <init> Lnet/minecraft/entity/passive/TurtleEntity$LayEggGoal;<init>(Lnet/minecraft/entity/passive/TurtleEntity;D)V
  • Method Details

    • canStart

      public boolean canStart()
      Overrides:
      canStart in class MoveToTargetPosGoal
      Mappings:
      Namespace Name Mixin selector
      official a Lbmp;a()Z
      intermediary method_6264 Lnet/minecraft/class_1352;method_6264()Z
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
    • shouldContinue

      public boolean shouldContinue()
      Overrides:
      shouldContinue in class MoveToTargetPosGoal
      Mappings:
      Namespace Name Mixin selector
      official b Lbmp;b()Z
      intermediary method_6266 Lnet/minecraft/class_1352;method_6266()Z
      named shouldContinue Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
    • tick

      public void tick()
      Overrides:
      tick in class MoveToTargetPosGoal
      Mappings:
      Namespace Name Mixin selector
      official e Lbmp;e()V
      intermediary method_6268 Lnet/minecraft/class_1352;method_6268()V
      named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V
    • isTargetPos

      protected boolean isTargetPos(WorldView world, BlockPos pos)
      Specified by:
      isTargetPos in class MoveToTargetPosGoal
      Mappings:
      Namespace Name Mixin selector
      official a Lbnc;a(Lcmi;Lgu;)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