Class ExtendedNoiseChunkGenerator

java.lang.Object
net.minecraft.world.level.chunk.ChunkGenerator
net.minecraft.world.level.levelgen.NoiseBasedChunkGenerator
org.moddingx.libx.sandbox.generator.ExtendedNoiseChunkGenerator

public class ExtendedNoiseChunkGenerator extends net.minecraft.world.level.levelgen.NoiseBasedChunkGenerator
A version of NoiseBasedChunkGenerator that allows overriding the surface rules, taking BiomeSurface into account.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.Codec<ExtendedNoiseChunkGenerator>
     

    Fields inherited from class net.minecraft.world.level.chunk.ChunkGenerator

    biomeSource
  • Constructor Summary

    Constructors
    Constructor
    Description
    ExtendedNoiseChunkGenerator(net.minecraft.world.level.biome.BiomeSource biomes, net.minecraft.core.Holder<net.minecraft.world.level.levelgen.NoiseGeneratorSettings> settings, Optional<net.minecraft.core.Holder<SurfaceRuleSet>> surfaceOverride)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.mojang.serialization.Codec<? extends net.minecraft.world.level.chunk.ChunkGenerator>
     
    net.minecraft.core.Holder<net.minecraft.world.level.levelgen.NoiseGeneratorSettings>
     
    void
    init(net.minecraft.core.RegistryAccess access)
     
    boolean
    stable(net.minecraft.resources.ResourceKey<net.minecraft.world.level.levelgen.NoiseGeneratorSettings> settings)
     

    Methods inherited from class net.minecraft.world.level.levelgen.NoiseBasedChunkGenerator

    addDebugScreenInfo, applyCarvers, buildSurface, buildSurface, createBiomes, fillFromNoise, getBaseColumn, getBaseHeight, getGenDepth, getMinY, getSeaLevel, iterateNoiseColumn, spawnOriginalMobs

    Methods inherited from class net.minecraft.world.level.chunk.ChunkGenerator

    applyBiomeDecoration, createReferences, createState, createStructures, findNearestMapStructure, getBiomeGenerationSettings, getBiomeSource, getFirstFreeHeight, getFirstOccupiedHeight, getMobsAt, getSpawnHeight, getTypeNameForDataFixer

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • ExtendedNoiseChunkGenerator

      public ExtendedNoiseChunkGenerator(net.minecraft.world.level.biome.BiomeSource biomes, net.minecraft.core.Holder<net.minecraft.world.level.levelgen.NoiseGeneratorSettings> settings, Optional<net.minecraft.core.Holder<SurfaceRuleSet>> surfaceOverride)
  • Method Details

    • init

      public void init(net.minecraft.core.RegistryAccess access)
    • codec

      @Nonnull protected com.mojang.serialization.Codec<? extends net.minecraft.world.level.chunk.ChunkGenerator> codec()
      Overrides:
      codec in class net.minecraft.world.level.levelgen.NoiseBasedChunkGenerator
    • generatorSettings

      @Nonnull public net.minecraft.core.Holder<net.minecraft.world.level.levelgen.NoiseGeneratorSettings> generatorSettings()
      Overrides:
      generatorSettings in class net.minecraft.world.level.levelgen.NoiseBasedChunkGenerator
    • stable

      public boolean stable(@Nonnull net.minecraft.resources.ResourceKey<net.minecraft.world.level.levelgen.NoiseGeneratorSettings> settings)
      Overrides:
      stable in class net.minecraft.world.level.levelgen.NoiseBasedChunkGenerator