Class FadeContainer

java.lang.Object
com.hypixel.hytale.server.worldgen.container.FadeContainer

public class FadeContainer extends Object
  • Field Details

    • NO_FADE_HEIGHTMAP

      public static final double NO_FADE_HEIGHTMAP
      See Also:
    • maskFadeStart

      protected final double maskFadeStart
    • maskFadeLength

      protected final double maskFadeLength
    • maskFadeSum

      protected final double maskFadeSum
    • terrainFadeStart

      protected final double terrainFadeStart
    • terrainFadeLength

      protected final double terrainFadeLength
    • terrainFadeSum

      protected final double terrainFadeSum
    • fadeHeightmap

      protected final double fadeHeightmap
  • Constructor Details

    • FadeContainer

      public FadeContainer(double maskFadeStart, double maskFadeLength, double terrainFadeStart, double terrainFadeLength, double fadeHeightmap)
  • Method Details

    • getMaskFadeStart

      public double getMaskFadeStart()
    • getMaskFadeLength

      public double getMaskFadeLength()
    • getMaskFadeSum

      public double getMaskFadeSum()
    • getHeightFadeStart

      public double getHeightFadeStart()
    • getHeightFadeLength

      public double getHeightFadeLength()
    • getHeightFadeSum

      public double getHeightFadeSum()
    • getFadeHeightmap

      public double getFadeHeightmap()
    • getMaskFactor

      public double getMaskFactor(@Nonnull ZoneGeneratorResult result)
    • getTerrainFactor

      public double getTerrainFactor(@Nonnull ZoneGeneratorResult result)
    • getFactor

      public double getFactor(@Nonnull ZoneGeneratorResult result, double distanceFromBorder, double gradientWidth)
    • shouldFade

      public boolean shouldFade()
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class Object
    • limit

      private static double limit(double d)