Class SurfaceBuilder
java.lang.Object
net.minecraft.world.gen.surfacebuilder.SurfaceBuilder
- Mappings:
Namespace Name named net/minecraft/world/gen/surfacebuilder/SurfaceBuilder
intermediary net/minecraft/class_6724
official eeh
-
Field Summary
Modifier and TypeFieldDescriptionprivate final DoublePerlinNoiseSampler
private final DoublePerlinNoiseSampler
private final DoublePerlinNoiseSampler
private static final BlockState
private final BlockState
private final DoublePerlinNoiseSampler
private final DoublePerlinNoiseSampler
private final DoublePerlinNoiseSampler
private static final BlockState
private static final BlockState
private static final BlockState
private final RandomSplitter
private static final BlockState
private final int
private static final BlockState
private final DoublePerlinNoiseSampler
private final DoublePerlinNoiseSampler
private static final BlockState
private final BlockState[]
private final DoublePerlinNoiseSampler
private static final BlockState
private static final BlockState
-
Constructor Summary
ConstructorDescriptionSurfaceBuilder
(NoiseConfig noiseConfig, BlockState defaultState, int seaLevel, RandomSplitter randomDeriver) -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
addTerracottaBands
(Random random, BlockState[] terracottaBands, int minBandSize, BlockState state) applyMaterialRule
(MaterialRules.MaterialRule rule, CarverContext context, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, BlockPos pos, boolean hasFluid) Deprecated.void
buildSurface
(NoiseConfig noiseConfig, BiomeAccess biomeAccess, Registry<Biome> biomeRegistry, boolean useLegacyRandom, HeightContext heightContext, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, MaterialRules.MaterialRule materialRule) private static BlockState[]
createTerracottaBands
(Random random) int
protected BlockState
getTerracottaBlock
(int x, int y, int z) private boolean
isDefaultBlock
(BlockState state) private void
placeBadlandsPillar
(BlockColumn column, int x, int z, int surfaceY, HeightLimitView chunk) private void
placeIceberg
(int minY, Biome biome, BlockColumn column, BlockPos.Mutable mutablePos, int x, int z, int surfaceY) protected int
sampleRunDepth
(int blockX, int blockZ) protected double
sampleSecondaryDepth
(int blockX, int blockZ)
-
Field Details
-
WHITE_TERRACOTTA
- Mappings:
Namespace Name Mixin selector named WHITE_TERRACOTTA
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;WHITE_TERRACOTTA:Lnet/minecraft/block/BlockState;
intermediary field_35275
Lnet/minecraft/class_6724;field_35275:Lnet/minecraft/class_2680;
official a
Leeh;a:Ldxu;
-
ORANGE_TERRACOTTA
- Mappings:
Namespace Name Mixin selector named ORANGE_TERRACOTTA
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;ORANGE_TERRACOTTA:Lnet/minecraft/block/BlockState;
intermediary field_35276
Lnet/minecraft/class_6724;field_35276:Lnet/minecraft/class_2680;
official b
Leeh;b:Ldxu;
-
TERRACOTTA
- Mappings:
Namespace Name Mixin selector named TERRACOTTA
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;TERRACOTTA:Lnet/minecraft/block/BlockState;
intermediary field_35277
Lnet/minecraft/class_6724;field_35277:Lnet/minecraft/class_2680;
official c
Leeh;c:Ldxu;
-
YELLOW_TERRACOTTA
- Mappings:
Namespace Name Mixin selector named YELLOW_TERRACOTTA
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;YELLOW_TERRACOTTA:Lnet/minecraft/block/BlockState;
intermediary field_35278
Lnet/minecraft/class_6724;field_35278:Lnet/minecraft/class_2680;
official d
Leeh;d:Ldxu;
-
BROWN_TERRACOTTA
- Mappings:
Namespace Name Mixin selector named BROWN_TERRACOTTA
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;BROWN_TERRACOTTA:Lnet/minecraft/block/BlockState;
intermediary field_35279
Lnet/minecraft/class_6724;field_35279:Lnet/minecraft/class_2680;
official e
Leeh;e:Ldxu;
-
RED_TERRACOTTA
- Mappings:
Namespace Name Mixin selector named RED_TERRACOTTA
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;RED_TERRACOTTA:Lnet/minecraft/block/BlockState;
intermediary field_35280
Lnet/minecraft/class_6724;field_35280:Lnet/minecraft/class_2680;
official f
Leeh;f:Ldxu;
-
LIGHT_GRAY_TERRACOTTA
- Mappings:
Namespace Name Mixin selector named LIGHT_GRAY_TERRACOTTA
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;LIGHT_GRAY_TERRACOTTA:Lnet/minecraft/block/BlockState;
intermediary field_35281
Lnet/minecraft/class_6724;field_35281:Lnet/minecraft/class_2680;
official g
Leeh;g:Ldxu;
-
PACKED_ICE
- Mappings:
Namespace Name Mixin selector named PACKED_ICE
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;PACKED_ICE:Lnet/minecraft/block/BlockState;
intermediary field_35282
Lnet/minecraft/class_6724;field_35282:Lnet/minecraft/class_2680;
official h
Leeh;h:Ldxu;
-
SNOW_BLOCK
- Mappings:
Namespace Name Mixin selector named SNOW_BLOCK
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;SNOW_BLOCK:Lnet/minecraft/block/BlockState;
intermediary field_35283
Lnet/minecraft/class_6724;field_35283:Lnet/minecraft/class_2680;
official i
Leeh;i:Ldxu;
-
defaultState
- Mappings:
Namespace Name Mixin selector named defaultState
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;defaultState:Lnet/minecraft/block/BlockState;
intermediary field_35285
Lnet/minecraft/class_6724;field_35285:Lnet/minecraft/class_2680;
official j
Leeh;j:Ldxu;
-
seaLevel
private final int seaLevel- Mappings:
Namespace Name Mixin selector named seaLevel
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;seaLevel:I
intermediary field_35286
Lnet/minecraft/class_6724;field_35286:I
official k
Leeh;k:I
-
terracottaBands
- Mappings:
Namespace Name Mixin selector named terracottaBands
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;terracottaBands:[Lnet/minecraft/block/BlockState;
intermediary field_35287
Lnet/minecraft/class_6724;field_35287:[Lnet/minecraft/class_2680;
official l
Leeh;l:[Ldxu;
-
terracottaBandsOffsetNoise
- Mappings:
Namespace Name Mixin selector named terracottaBandsOffsetNoise
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;terracottaBandsOffsetNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
intermediary field_35288
Lnet/minecraft/class_6724;field_35288:Lnet/minecraft/class_5216;
official m
Leeh;m:Lesz;
-
badlandsPillarNoise
- Mappings:
Namespace Name Mixin selector named badlandsPillarNoise
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;badlandsPillarNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
intermediary field_35495
Lnet/minecraft/class_6724;field_35495:Lnet/minecraft/class_5216;
official n
Leeh;n:Lesz;
-
badlandsPillarRoofNoise
- Mappings:
Namespace Name Mixin selector named badlandsPillarRoofNoise
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;badlandsPillarRoofNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
intermediary field_35496
Lnet/minecraft/class_6724;field_35496:Lnet/minecraft/class_5216;
official o
Leeh;o:Lesz;
-
badlandsSurfaceNoise
- Mappings:
Namespace Name Mixin selector named badlandsSurfaceNoise
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;badlandsSurfaceNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
intermediary field_35497
Lnet/minecraft/class_6724;field_35497:Lnet/minecraft/class_5216;
official p
Leeh;p:Lesz;
-
icebergPillarNoise
- Mappings:
Namespace Name Mixin selector named icebergPillarNoise
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;icebergPillarNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
intermediary field_35498
Lnet/minecraft/class_6724;field_35498:Lnet/minecraft/class_5216;
official q
Leeh;q:Lesz;
-
icebergPillarRoofNoise
- Mappings:
Namespace Name Mixin selector named icebergPillarRoofNoise
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;icebergPillarRoofNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
intermediary field_35499
Lnet/minecraft/class_6724;field_35499:Lnet/minecraft/class_5216;
official r
Leeh;r:Lesz;
-
icebergSurfaceNoise
- Mappings:
Namespace Name Mixin selector named icebergSurfaceNoise
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;icebergSurfaceNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
intermediary field_35500
Lnet/minecraft/class_6724;field_35500:Lnet/minecraft/class_5216;
official s
Leeh;s:Lesz;
-
randomDeriver
- Mappings:
Namespace Name Mixin selector named randomDeriver
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;randomDeriver:Lnet/minecraft/util/math/random/RandomSplitter;
intermediary field_35292
Lnet/minecraft/class_6724;field_35292:Lnet/minecraft/class_6574;
official t
Leeh;t:Leec;
-
surfaceNoise
- Mappings:
Namespace Name Mixin selector named surfaceNoise
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;surfaceNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
intermediary field_35293
Lnet/minecraft/class_6724;field_35293:Lnet/minecraft/class_5216;
official u
Leeh;u:Lesz;
-
surfaceSecondaryNoise
- Mappings:
Namespace Name Mixin selector named surfaceSecondaryNoise
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;surfaceSecondaryNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
intermediary field_35680
Lnet/minecraft/class_6724;field_35680:Lnet/minecraft/class_5216;
official v
Leeh;v:Lesz;
-
-
Constructor Details
-
SurfaceBuilder
public SurfaceBuilder(NoiseConfig noiseConfig, BlockState defaultState, int seaLevel, RandomSplitter randomDeriver) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;<init>(Lnet/minecraft/world/gen/noise/NoiseConfig;Lnet/minecraft/block/BlockState;ILnet/minecraft/util/math/random/RandomSplitter;)V
intermediary <init>
Lnet/minecraft/class_6724;<init>(Lnet/minecraft/class_7138;Lnet/minecraft/class_2680;ILnet/minecraft/class_6574;)V
official <init>
Leeh;<init>(Leed;Ldxu;ILeec;)V
-
-
Method Details
-
buildSurface
public void buildSurface(NoiseConfig noiseConfig, BiomeAccess biomeAccess, Registry<Biome> biomeRegistry, boolean useLegacyRandom, HeightContext heightContext, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, MaterialRules.MaterialRule materialRule) - Mappings:
Namespace Name Mixin selector named buildSurface
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;buildSurface(Lnet/minecraft/world/gen/noise/NoiseConfig;Lnet/minecraft/world/biome/source/BiomeAccess;Lnet/minecraft/registry/Registry;ZLnet/minecraft/world/gen/HeightContext;Lnet/minecraft/world/chunk/Chunk;Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler;Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRule;)V
intermediary method_39106
Lnet/minecraft/class_6724;method_39106(Lnet/minecraft/class_7138;Lnet/minecraft/class_4543;Lnet/minecraft/class_2378;ZLnet/minecraft/class_5868;Lnet/minecraft/class_2791;Lnet/minecraft/class_6568;Lnet/minecraft/class_6686$class_6708;)V
official a
Leeh;a(Leed;Ldil;Lkd;ZLeem;Ldzp;Ledt;Leeg$o;)V
-
sampleRunDepth
protected int sampleRunDepth(int blockX, int blockZ) - Mappings:
Namespace Name Mixin selector named sampleRunDepth
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;sampleRunDepth(II)I
intermediary method_39552
Lnet/minecraft/class_6724;method_39552(II)I
official a
Leeh;a(II)I
-
sampleSecondaryDepth
protected double sampleSecondaryDepth(int blockX, int blockZ) - Mappings:
Namespace Name Mixin selector named sampleSecondaryDepth
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;sampleSecondaryDepth(II)D
intermediary method_39555
Lnet/minecraft/class_6724;method_39555(II)D
official b
Leeh;b(II)D
-
isDefaultBlock
- Mappings:
Namespace Name Mixin selector named isDefaultBlock
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;isDefaultBlock(Lnet/minecraft/block/BlockState;)Z
intermediary method_39333
Lnet/minecraft/class_6724;method_39333(Lnet/minecraft/class_2680;)Z
official a
Leeh;a(Ldxu;)Z
-
getSeaLevel
public int getSeaLevel()- Mappings:
Namespace Name Mixin selector named getSeaLevel
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;getSeaLevel()I
intermediary method_61805
Lnet/minecraft/class_6724;method_61805()I
official a
Leeh;a()I
-
applyMaterialRule
@Deprecated public Optional<BlockState> applyMaterialRule(MaterialRules.MaterialRule rule, CarverContext context, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, BlockPos pos, boolean hasFluid) Deprecated.- Mappings:
Namespace Name Mixin selector named applyMaterialRule
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;applyMaterialRule(Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRule;Lnet/minecraft/world/gen/carver/CarverContext;Ljava/util/function/Function;Lnet/minecraft/world/chunk/Chunk;Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler;Lnet/minecraft/util/math/BlockPos;Z)Ljava/util/Optional;
intermediary method_39110
Lnet/minecraft/class_6724;method_39110(Lnet/minecraft/class_6686$class_6708;Lnet/minecraft/class_5873;Ljava/util/function/Function;Lnet/minecraft/class_2791;Lnet/minecraft/class_6568;Lnet/minecraft/class_2338;Z)Ljava/util/Optional;
official a
Leeh;a(Leeg$o;Lefq;Ljava/util/function/Function;Ldzp;Ledt;Ljh;Z)Ljava/util/Optional;
-
placeBadlandsPillar
private void placeBadlandsPillar(BlockColumn column, int x, int z, int surfaceY, HeightLimitView chunk) - Mappings:
Namespace Name Mixin selector named placeBadlandsPillar
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;placeBadlandsPillar(Lnet/minecraft/world/gen/chunk/BlockColumn;IIILnet/minecraft/world/HeightLimitView;)V
intermediary method_39102
Lnet/minecraft/class_6724;method_39102(Lnet/minecraft/class_6557;IIILnet/minecraft/class_5539;)V
official a
Leeh;a(Ldzm;IIILdhj;)V
-
placeIceberg
private void placeIceberg(int minY, Biome biome, BlockColumn column, BlockPos.Mutable mutablePos, int x, int z, int surfaceY) - Mappings:
Namespace Name Mixin selector named placeIceberg
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;placeIceberg(ILnet/minecraft/world/biome/Biome;Lnet/minecraft/world/gen/chunk/BlockColumn;Lnet/minecraft/util/math/BlockPos$Mutable;III)V
intermediary method_39104
Lnet/minecraft/class_6724;method_39104(ILnet/minecraft/class_1959;Lnet/minecraft/class_6557;Lnet/minecraft/class_2338$class_2339;III)V
official a
Leeh;a(ILdij;Ldzm;Ljh$a;III)V
-
createTerracottaBands
- Mappings:
Namespace Name Mixin selector named createTerracottaBands
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;createTerracottaBands(Lnet/minecraft/util/math/random/Random;)[Lnet/minecraft/block/BlockState;
intermediary method_39108
Lnet/minecraft/class_6724;method_39108(Lnet/minecraft/class_5819;)[Lnet/minecraft/class_2680;
official a
Leeh;a(Lbam;)[Ldxu;
-
addTerracottaBands
private static void addTerracottaBands(Random random, BlockState[] terracottaBands, int minBandSize, BlockState state) - Mappings:
Namespace Name Mixin selector named addTerracottaBands
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;addTerracottaBands(Lnet/minecraft/util/math/random/Random;[Lnet/minecraft/block/BlockState;ILnet/minecraft/block/BlockState;)V
intermediary method_39109
Lnet/minecraft/class_6724;method_39109(Lnet/minecraft/class_5819;[Lnet/minecraft/class_2680;ILnet/minecraft/class_2680;)V
official a
Leeh;a(Lbam;[Ldxu;ILdxu;)V
-
getTerracottaBlock
- Mappings:
Namespace Name Mixin selector named getTerracottaBlock
Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;getTerracottaBlock(III)Lnet/minecraft/block/BlockState;
intermediary method_39103
Lnet/minecraft/class_6724;method_39103(III)Lnet/minecraft/class_2680;
official a
Leeh;a(III)Ldxu;
-