Class ValleySurfaceBuilder
- java.lang.Object
-
- net.minecraftforge.registries.ForgeRegistryEntry<SurfaceBuilder<?>>
-
- net.minecraft.world.gen.surfacebuilders.SurfaceBuilder<SurfaceBuilderConfig>
-
- net.minecraft.world.gen.surfacebuilders.ValleySurfaceBuilder
-
- All Implemented Interfaces:
IForgeRegistryEntry<SurfaceBuilder<?>>
- Direct Known Subclasses:
BasaltDeltasSurfaceBuilder,SoulSandValleySurfaceBuilder
public abstract class ValleySurfaceBuilder extends SurfaceBuilder<SurfaceBuilderConfig>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
-
Field Summary
Fields Modifier and Type Field Description private com.google.common.collect.ImmutableMap<BlockState,OctavesNoiseGenerator>ceilingNoisesprivate com.google.common.collect.ImmutableMap<BlockState,OctavesNoiseGenerator>floorNoisesprivate OctavesNoiseGeneratorpatchNoiseprivate longseed-
Fields inherited from class net.minecraft.world.gen.surfacebuilders.SurfaceBuilder
BADLANDS, BASALT_DELTAS, CONFIG_BADLANDS, CONFIG_BASALT_DELTAS, CONFIG_COARSE_DIRT, CONFIG_CRIMSON_FOREST, CONFIG_DESERT, CONFIG_FULL_SAND, CONFIG_GRASS, CONFIG_GRAVEL, CONFIG_HELL, CONFIG_MYCELIUM, CONFIG_OCEAN_SAND, CONFIG_PODZOL, CONFIG_SOUL_SAND_VALLEY, CONFIG_STONE, CONFIG_THEEND, CONFIG_WARPED_FOREST, DEFAULT, ERODED_BADLANDS, FROZEN_OCEAN, GIANT_TREE_TAIGA, GRAVELLY_MOUNTAIN, MOUNTAIN, NETHER, NETHER_FOREST, NOPE, SHATTERED_SAVANNA, SOUL_SAND_VALLEY, SWAMP, WOODED_BADLANDS
-
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
-
Constructor Summary
Constructors Constructor Description ValleySurfaceBuilder(com.mojang.serialization.Codec<SurfaceBuilderConfig> p_i232130_1_)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidapply(java.util.Random p_205610_1_, IChunk p_205610_2_, Biome p_205610_3_, int p_205610_4_, int p_205610_5_, int p_205610_6_, double p_205610_7_, BlockState p_205610_9_, BlockState p_205610_10_, int p_205610_11_, long p_205610_12_, SurfaceBuilderConfig p_205610_14_)protected abstract com.google.common.collect.ImmutableList<BlockState>getCeilingBlockStates()protected abstract com.google.common.collect.ImmutableList<BlockState>getFloorBlockStates()protected abstract BlockStategetPatchBlockState()voidinitNoise(long p_205548_1_)private static com.google.common.collect.ImmutableMap<BlockState,OctavesNoiseGenerator>initPerlinNoises(com.google.common.collect.ImmutableList<BlockState> p_237175_0_, long p_237175_1_)-
Methods inherited from class net.minecraft.world.gen.surfacebuilders.SurfaceBuilder
configured, configuredCodec
-
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
-
-
-
Field Detail
-
seed
private long seed
-
floorNoises
private com.google.common.collect.ImmutableMap<BlockState,OctavesNoiseGenerator> floorNoises
-
ceilingNoises
private com.google.common.collect.ImmutableMap<BlockState,OctavesNoiseGenerator> ceilingNoises
-
patchNoise
private OctavesNoiseGenerator patchNoise
-
-
Constructor Detail
-
ValleySurfaceBuilder
public ValleySurfaceBuilder(com.mojang.serialization.Codec<SurfaceBuilderConfig> p_i232130_1_)
-
-
Method Detail
-
apply
public void apply(java.util.Random p_205610_1_, IChunk p_205610_2_, Biome p_205610_3_, int p_205610_4_, int p_205610_5_, int p_205610_6_, double p_205610_7_, BlockState p_205610_9_, BlockState p_205610_10_, int p_205610_11_, long p_205610_12_, SurfaceBuilderConfig p_205610_14_)- Specified by:
applyin classSurfaceBuilder<SurfaceBuilderConfig>
-
initNoise
public void initNoise(long p_205548_1_)
- Overrides:
initNoisein classSurfaceBuilder<SurfaceBuilderConfig>
-
initPerlinNoises
private static com.google.common.collect.ImmutableMap<BlockState,OctavesNoiseGenerator> initPerlinNoises(com.google.common.collect.ImmutableList<BlockState> p_237175_0_, long p_237175_1_)
-
getFloorBlockStates
protected abstract com.google.common.collect.ImmutableList<BlockState> getFloorBlockStates()
-
getCeilingBlockStates
protected abstract com.google.common.collect.ImmutableList<BlockState> getCeilingBlockStates()
-
getPatchBlockState
protected abstract BlockState getPatchBlockState()
-
-