Class TetrahedronCaveNodeShape

java.lang.Object
com.hypixel.hytale.server.worldgen.cave.shape.AbstractCaveNodeShape
com.hypixel.hytale.server.worldgen.cave.shape.TetrahedronCaveNodeShape
All Implemented Interfaces:
CaveNodeShape, IChunkBounds, IWorldBounds

@Deprecated public class TetrahedronCaveNodeShape extends AbstractCaveNodeShape implements IWorldBounds
Deprecated.
  • Field Details

    • o

      @Nonnull private final Vector3d o
      Deprecated.
    • a

      @Nonnull private final Vector3d a
      Deprecated.
    • b

      @Nonnull private final Vector3d b
      Deprecated.
    • c

      @Nonnull private final Vector3d c
      Deprecated.
    • n1

      @Nonnull private final Vector3d n1
      Deprecated.
    • n2

      @Nonnull private final Vector3d n2
      Deprecated.
    • n3

      @Nonnull private final Vector3d n3
      Deprecated.
    • n4

      @Nonnull private final Vector3d n4
      Deprecated.
    • lowBoundX

      private final int lowBoundX
      Deprecated.
    • lowBoundY

      private final int lowBoundY
      Deprecated.
    • lowBoundZ

      private final int lowBoundZ
      Deprecated.
    • highBoundX

      private final int highBoundX
      Deprecated.
    • highBoundY

      private final int highBoundY
      Deprecated.
    • highBoundZ

      private final int highBoundZ
      Deprecated.
  • Constructor Details

    • TetrahedronCaveNodeShape

      public TetrahedronCaveNodeShape(@Nonnull Vector3d o)
      Deprecated.
  • Method Details

    • getStart

      @Nonnull public Vector3d getStart()
      Deprecated.
      Specified by:
      getStart in interface CaveNodeShape
    • getEnd

      @Nonnull public Vector3d getEnd()
      Deprecated.
      Specified by:
      getEnd in interface CaveNodeShape
    • getAnchor

      @Nonnull public Vector3d getAnchor(@Nonnull Vector3d vector, double tx, double ty, double tz)
      Deprecated.
      Specified by:
      getAnchor in interface CaveNodeShape
    • getBounds

      @Nonnull public IWorldBounds getBounds()
      Deprecated.
      Specified by:
      getBounds in interface CaveNodeShape
    • getLowBoundX

      public int getLowBoundX()
      Deprecated.
      Specified by:
      getLowBoundX in interface IChunkBounds
    • getLowBoundZ

      public int getLowBoundZ()
      Deprecated.
      Specified by:
      getLowBoundZ in interface IChunkBounds
    • getHighBoundX

      public int getHighBoundX()
      Deprecated.
      Specified by:
      getHighBoundX in interface IChunkBounds
    • getHighBoundZ

      public int getHighBoundZ()
      Deprecated.
      Specified by:
      getHighBoundZ in interface IChunkBounds
    • getLowBoundY

      public int getLowBoundY()
      Deprecated.
      Specified by:
      getLowBoundY in interface IWorldBounds
    • getHighBoundY

      public int getHighBoundY()
      Deprecated.
      Specified by:
      getHighBoundY in interface IWorldBounds
    • shouldReplace

      public boolean shouldReplace(int seed, double x, double z, int y)
      Deprecated.
      Specified by:
      shouldReplace in interface CaveNodeShape
    • getFloorPosition

      public double getFloorPosition(int seed, double x, double z)
      Deprecated.
      Specified by:
      getFloorPosition in interface CaveNodeShape
    • getCeilingPosition

      public double getCeilingPosition(int seed, double x, double z)
      Deprecated.
      Specified by:
      getCeilingPosition in interface CaveNodeShape
    • determine

      private static boolean determine(@Nonnull Vector3d o, @Nonnull Vector3d n, double px, double py, double pz)
      Deprecated.
    • determine

      private static boolean determine(double ox, double oy, double oz, @Nonnull Vector3d n, double px, double py, double pz)
      Deprecated.