Class SkyblockChunkGenerator

java.lang.Object
net.minecraft.world.level.chunk.ChunkGenerator
net.minecraft.world.level.levelgen.NoiseBasedChunkGenerator
vazkii.botania.common.world.SkyblockChunkGenerator

public class SkyblockChunkGenerator extends net.minecraft.world.level.levelgen.NoiseBasedChunkGenerator
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.MapCodec<SkyblockChunkGenerator>
     

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

    biomeSource
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    applyBiomeDecoration(@NotNull net.minecraft.world.level.WorldGenLevel level, @NotNull net.minecraft.world.level.chunk.ChunkAccess chunkAccess, @NotNull net.minecraft.world.level.StructureManager structureManager)
     
    void
    applyCarvers(@NotNull net.minecraft.server.level.WorldGenRegion worldGenRegion, long seed, @NotNull net.minecraft.world.level.levelgen.RandomState randomState, @NotNull net.minecraft.world.level.biome.BiomeManager biomeManager, @NotNull net.minecraft.world.level.StructureManager structureManager, @NotNull net.minecraft.world.level.chunk.ChunkAccess chunkAccess, @NotNull net.minecraft.world.level.levelgen.GenerationStep.Carving carving)
     
    void
    buildSurface(@NotNull net.minecraft.world.level.chunk.ChunkAccess chunkAccess, @NotNull net.minecraft.world.level.levelgen.WorldGenerationContext context, @NotNull net.minecraft.world.level.levelgen.RandomState randomState, @NotNull net.minecraft.world.level.StructureManager structureManager, @NotNull net.minecraft.world.level.biome.BiomeManager biomeManager, @NotNull net.minecraft.core.Registry<net.minecraft.world.level.biome.Biome> biomes, @NotNull net.minecraft.world.level.levelgen.blending.Blender blender)
     
    protected @NotNull com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.chunk.ChunkGenerator>
     
    @NotNull CompletableFuture<net.minecraft.world.level.chunk.ChunkAccess>
    fillFromNoise(@NotNull net.minecraft.world.level.levelgen.blending.Blender blender, @NotNull net.minecraft.world.level.levelgen.RandomState randomState, @NotNull net.minecraft.world.level.StructureManager structureManager, @NotNull net.minecraft.world.level.chunk.ChunkAccess chunk)
     
    int
    getBaseHeightInEquivalentNoiseWorld(int x, int z, net.minecraft.world.level.levelgen.Heightmap.Types heightmap, net.minecraft.world.level.WorldGenLevel level)
    Calculates the height at a particular location as it would be in a world with the same seed that isn't empty.
    static boolean
    isWorldSkyblock(net.minecraft.world.level.Level world)
     
    void
    spawnOriginalMobs(@NotNull net.minecraft.server.level.WorldGenRegion region)
     
    static void
    submitRegistration(BiConsumer<com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.chunk.ChunkGenerator>,net.minecraft.resources.ResourceLocation> consumer)
     

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

    addDebugScreenInfo, buildSurface, createBiomes, generatorSettings, getBaseColumn, getBaseHeight, getGenDepth, getMinY, getSeaLevel, stable

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

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

    Methods inherited from class java.lang.Object

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

  • Method Details

    • submitRegistration

      public static void submitRegistration(BiConsumer<com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.chunk.ChunkGenerator>,net.minecraft.resources.ResourceLocation> consumer)
    • isWorldSkyblock

      public static boolean isWorldSkyblock(net.minecraft.world.level.Level world)
    • codec

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

      public void buildSurface(@NotNull @NotNull net.minecraft.world.level.chunk.ChunkAccess chunkAccess, @NotNull @NotNull net.minecraft.world.level.levelgen.WorldGenerationContext context, @NotNull @NotNull net.minecraft.world.level.levelgen.RandomState randomState, @NotNull @NotNull net.minecraft.world.level.StructureManager structureManager, @NotNull @NotNull net.minecraft.world.level.biome.BiomeManager biomeManager, @NotNull @NotNull net.minecraft.core.Registry<net.minecraft.world.level.biome.Biome> biomes, @NotNull @NotNull net.minecraft.world.level.levelgen.blending.Blender blender)
      Overrides:
      buildSurface in class net.minecraft.world.level.levelgen.NoiseBasedChunkGenerator
    • applyCarvers

      public void applyCarvers(@NotNull @NotNull net.minecraft.server.level.WorldGenRegion worldGenRegion, long seed, @NotNull @NotNull net.minecraft.world.level.levelgen.RandomState randomState, @NotNull @NotNull net.minecraft.world.level.biome.BiomeManager biomeManager, @NotNull @NotNull net.minecraft.world.level.StructureManager structureManager, @NotNull @NotNull net.minecraft.world.level.chunk.ChunkAccess chunkAccess, @NotNull net.minecraft.world.level.levelgen.GenerationStep.Carving carving)
      Overrides:
      applyCarvers in class net.minecraft.world.level.levelgen.NoiseBasedChunkGenerator
    • fillFromNoise

      @NotNull public @NotNull CompletableFuture<net.minecraft.world.level.chunk.ChunkAccess> fillFromNoise(@NotNull @NotNull net.minecraft.world.level.levelgen.blending.Blender blender, @NotNull @NotNull net.minecraft.world.level.levelgen.RandomState randomState, @NotNull @NotNull net.minecraft.world.level.StructureManager structureManager, @NotNull @NotNull net.minecraft.world.level.chunk.ChunkAccess chunk)
      Overrides:
      fillFromNoise in class net.minecraft.world.level.levelgen.NoiseBasedChunkGenerator
    • spawnOriginalMobs

      public void spawnOriginalMobs(@NotNull @NotNull net.minecraft.server.level.WorldGenRegion region)
      Overrides:
      spawnOriginalMobs in class net.minecraft.world.level.levelgen.NoiseBasedChunkGenerator
    • applyBiomeDecoration

      public void applyBiomeDecoration(@NotNull @NotNull net.minecraft.world.level.WorldGenLevel level, @NotNull @NotNull net.minecraft.world.level.chunk.ChunkAccess chunkAccess, @NotNull @NotNull net.minecraft.world.level.StructureManager structureManager)
      Overrides:
      applyBiomeDecoration in class net.minecraft.world.level.chunk.ChunkGenerator
    • getBaseHeightInEquivalentNoiseWorld

      public int getBaseHeightInEquivalentNoiseWorld(int x, int z, net.minecraft.world.level.levelgen.Heightmap.Types heightmap, net.minecraft.world.level.WorldGenLevel level)
      Calculates the height at a particular location as it would be in a world with the same seed that isn't empty. (Based on code from CarpetSkyAdditions.)