Class DrownedEntity.WanderAroundOnSurfaceGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.mob.DrownedEntity.WanderAroundOnSurfaceGoal
Enclosing class:
DrownedEntity

static class DrownedEntity.WanderAroundOnSurfaceGoal
extends Goal
  • Field Details

    • mob

      private final PathAwareEntity mob
    • x

      private double x
    • y

      private double y
    • z

      private double z
    • speed

      private final double speed
    • world

      private final World world
  • Constructor Details

    • WanderAroundOnSurfaceGoal

      public WanderAroundOnSurfaceGoal​(PathAwareEntity mob, double speed)
  • Method Details

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
    • shouldContinue

      public boolean shouldContinue()
      Overrides:
      shouldContinue in class Goal
    • start

      public void start()
      Overrides:
      start in class Goal
    • getWanderTarget

      @Nullable private Vec3d getWanderTarget()