public class DrownedWorldChunkGenerator
extends net.minecraft.world.gen.ChunkGenerator
| Modifier and Type | Field and Description |
|---|---|
static com.mojang.serialization.Codec<DrownedWorldChunkGenerator> |
CODEC |
protected net.minecraft.block.BlockState |
defaultBlock |
protected net.minecraft.block.BlockState |
defaultFluid |
protected net.minecraft.util.SharedSeedRandom |
random |
protected java.util.function.Supplier<net.minecraft.world.gen.DimensionSettings> |
settings |
| Constructor and Description |
|---|
DrownedWorldChunkGenerator(net.minecraft.world.biome.provider.BiomeProvider biomeProvider,
long seed,
java.util.function.Supplier<net.minecraft.world.gen.DimensionSettings> settings) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildSurfaceAndBedrock(net.minecraft.world.gen.WorldGenRegion p_225551_1_,
net.minecraft.world.chunk.IChunk p_225551_2_) |
protected com.mojang.serialization.Codec<? extends net.minecraft.world.gen.ChunkGenerator> |
codec() |
void |
fillFromNoise(net.minecraft.world.IWorld p_230352_1_,
net.minecraft.world.gen.feature.structure.StructureManager p_230352_2_,
net.minecraft.world.chunk.IChunk p_230352_3_) |
protected net.minecraft.block.BlockState |
generateBaseState(double p_236086_1_,
int p_236086_3_) |
net.minecraft.world.IBlockReader |
getBaseColumn(int p_230348_1_,
int p_230348_2_) |
int |
getBaseHeight(int p_222529_1_,
int p_222529_2_,
net.minecraft.world.gen.Heightmap.Type p_222529_3_) |
int |
getGenDepth() |
java.util.List<net.minecraft.world.biome.MobSpawnInfo.Spawners> |
getMobsAt(net.minecraft.world.biome.Biome p_230353_1_,
net.minecraft.world.gen.feature.structure.StructureManager p_230353_2_,
net.minecraft.entity.EntityClassification p_230353_3_,
net.minecraft.util.math.BlockPos p_230353_4_) |
int |
getSeaLevel() |
void |
spawnOriginalMobs(net.minecraft.world.gen.WorldGenRegion p_230354_1_) |
boolean |
stable(long p_236088_1_,
net.minecraft.util.RegistryKey<net.minecraft.world.gen.DimensionSettings> p_236088_3_) |
net.minecraft.world.gen.ChunkGenerator |
withSeed(long seed) |
public static final com.mojang.serialization.Codec<DrownedWorldChunkGenerator> CODEC
protected final net.minecraft.util.SharedSeedRandom random
protected final net.minecraft.block.BlockState defaultBlock
protected final net.minecraft.block.BlockState defaultFluid
protected final java.util.function.Supplier<net.minecraft.world.gen.DimensionSettings> settings
public DrownedWorldChunkGenerator(net.minecraft.world.biome.provider.BiomeProvider biomeProvider,
long seed,
java.util.function.Supplier<net.minecraft.world.gen.DimensionSettings> settings)
protected com.mojang.serialization.Codec<? extends net.minecraft.world.gen.ChunkGenerator> codec()
codec in class net.minecraft.world.gen.ChunkGeneratorpublic net.minecraft.world.gen.ChunkGenerator withSeed(long seed)
withSeed in class net.minecraft.world.gen.ChunkGeneratorpublic boolean stable(long p_236088_1_,
net.minecraft.util.RegistryKey<net.minecraft.world.gen.DimensionSettings> p_236088_3_)
public int getBaseHeight(int p_222529_1_,
int p_222529_2_,
net.minecraft.world.gen.Heightmap.Type p_222529_3_)
getBaseHeight in class net.minecraft.world.gen.ChunkGeneratorpublic net.minecraft.world.IBlockReader getBaseColumn(int p_230348_1_,
int p_230348_2_)
getBaseColumn in class net.minecraft.world.gen.ChunkGeneratorprotected net.minecraft.block.BlockState generateBaseState(double p_236086_1_,
int p_236086_3_)
public void buildSurfaceAndBedrock(net.minecraft.world.gen.WorldGenRegion p_225551_1_,
net.minecraft.world.chunk.IChunk p_225551_2_)
buildSurfaceAndBedrock in class net.minecraft.world.gen.ChunkGeneratorpublic void fillFromNoise(net.minecraft.world.IWorld p_230352_1_,
net.minecraft.world.gen.feature.structure.StructureManager p_230352_2_,
net.minecraft.world.chunk.IChunk p_230352_3_)
fillFromNoise in class net.minecraft.world.gen.ChunkGeneratorpublic int getGenDepth()
getGenDepth in class net.minecraft.world.gen.ChunkGeneratorpublic int getSeaLevel()
getSeaLevel in class net.minecraft.world.gen.ChunkGeneratorpublic java.util.List<net.minecraft.world.biome.MobSpawnInfo.Spawners> getMobsAt(net.minecraft.world.biome.Biome p_230353_1_,
net.minecraft.world.gen.feature.structure.StructureManager p_230353_2_,
net.minecraft.entity.EntityClassification p_230353_3_,
net.minecraft.util.math.BlockPos p_230353_4_)
getMobsAt in class net.minecraft.world.gen.ChunkGeneratorpublic void spawnOriginalMobs(net.minecraft.world.gen.WorldGenRegion p_230354_1_)
spawnOriginalMobs in class net.minecraft.world.gen.ChunkGenerator