Class EndDensitySource.IslandCache

java.lang.Object
org.cloudburstmc.server.level.generator.standard.misc.TerrainDoubleCache
org.cloudburstmc.server.level.generator.standard.generation.density.EndDensitySource.IslandCache
Enclosing class:
EndDensitySource

protected static class EndDensitySource.IslandCache extends TerrainDoubleCache
  • Field Details

    • island

      protected net.daporkchop.lib.noise.NoiseSource island
    • weight

      protected net.daporkchop.lib.noise.NoiseSource weight
    • islandRadius

      protected double islandRadius
    • outerIslandStartRadiusSq

      protected double outerIslandStartRadiusSq
    • outerIslandSeedThreshold

      protected double outerIslandSeedThreshold
    • islandNoise

      protected NoiseGenerator islandNoise
    • islandWeight

      protected NoiseGenerator islandWeight
  • Constructor Details

    • IslandCache

      public IslandCache(int radius, double islandRadius, double outerIslandStartRadius, double outerIslandSeedThreshold, NoiseGenerator islandNoise, NoiseGenerator islandWeight)
  • Method Details

    • init

      protected void init(@NonNull @NonNull net.daporkchop.lib.random.PRandom random)
    • computeValue

      protected double computeValue(int x, int z, int radius, int scale)
      Specified by:
      computeValue in class TerrainDoubleCache