Class AbstractDistortedBody

java.lang.Object
com.hypixel.hytale.server.worldgen.cave.shape.distorted.AbstractDistortedShape
com.hypixel.hytale.server.worldgen.cave.shape.distorted.AbstractDistortedBody
All Implemented Interfaces:
DistortedShape, IChunkBounds, IWorldBounds
Direct Known Subclasses:
DistortedEllipsoidShape

public abstract class AbstractDistortedBody extends AbstractDistortedShape
  • Field Details

  • Constructor Details

    • AbstractDistortedBody

      public AbstractDistortedBody(@Nonnull Vector3d o, Vector3d v, double yaw, double pitch, double radiusX, double radiusY, double radiusZ)
    • AbstractDistortedBody

      private AbstractDistortedBody(@Nonnull Vector3d o, Vector3d v, @Nonnull CoordinateRotator rotation, double radiusX, double radiusY, double radiusZ)
  • Method Details

    • getHeight

      protected abstract double getHeight(int var1, double var2, double var4, double var6, double var8, CaveType var10, ShapeDistortion var11)
    • getStart

      @Nonnull public Vector3d getStart()
    • getEnd

      @Nonnull public Vector3d getEnd()
    • getHeightAtProjection

      public double getHeightAtProjection(int caveSeed, double x, double z, double t, double centerY, CaveType caveType, ShapeDistortion distortion)
    • getFloor

      public double getFloor(double x, double z, double centerY, double height)
    • getCeiling

      public double getCeiling(double x, double z, double centerY, double height)
    • maxX

      private static double maxX(@Nonnull CoordinateRotator rotation, double radiusX, double radiusY, double radiusZ)
    • maxY

      private static double maxY(@Nonnull CoordinateRotator rotation, double radiusX, double radiusY, double radiusZ)
    • maxZ

      private static double maxZ(@Nonnull CoordinateRotator rotation, double radiusX, double radiusY, double radiusZ)