Package net.minecraft.world.gen.chunk
Class ChunkGeneratorSettings
java.lang.Object
net.minecraft.world.gen.chunk.ChunkGeneratorSettings
public final class ChunkGeneratorSettings extends Object
- Mappings:
Namespace Name official cno
intermediary net/minecraft/class_5284
named net/minecraft/world/gen/chunk/ChunkGeneratorSettings
-
Field Summary
Fields Modifier and Type Field Description static RegistryKey<ChunkGeneratorSettings>
AMPLIFIED
private boolean
aquifers
private int
bedrockCeilingY
private int
bedrockFloorY
static RegistryKey<ChunkGeneratorSettings>
CAVES
static com.mojang.serialization.Codec<ChunkGeneratorSettings>
CODEC
private boolean
deepslate
private BlockState
defaultBlock
private BlockState
defaultFluid
static RegistryKey<ChunkGeneratorSettings>
END
static RegistryKey<ChunkGeneratorSettings>
FLOATING_ISLANDS
private GenerationShapeConfig
generationShapeConfig
private static ChunkGeneratorSettings
INSTANCE
private boolean
mobGenerationDisabled
static RegistryKey<ChunkGeneratorSettings>
NETHER
private boolean
noiseCaves
static RegistryKey<ChunkGeneratorSettings>
OVERWORLD
static com.mojang.serialization.Codec<Supplier<ChunkGeneratorSettings>>
REGISTRY_CODEC
private int
seaLevel
private StructuresConfig
structuresConfig
-
Constructor Summary
Constructors Modifier Constructor Description private
ChunkGeneratorSettings(StructuresConfig structuresConfig, GenerationShapeConfig generationShapeConfig, BlockState defaultBlock, BlockState defaultFluid, int bedrockCeilingY, int bedrockFloorY, int seaLevel, boolean mobGenerationDisabled, boolean aquifers, boolean noiseCaves, boolean bool)
-
Method Summary
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lcno;a:Lcom/mojang/serialization/Codec;
intermediary field_24780
Lnet/minecraft/class_5284;field_24780:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;CODEC:Lcom/mojang/serialization/Codec;
-
REGISTRY_CODEC
- Mappings:
Namespace Name Mixin selector official b
Lcno;b:Lcom/mojang/serialization/Codec;
intermediary field_24781
Lnet/minecraft/class_5284;field_24781:Lcom/mojang/serialization/Codec;
named REGISTRY_CODEC
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;REGISTRY_CODEC:Lcom/mojang/serialization/Codec;
-
OVERWORLD
- Mappings:
Namespace Name Mixin selector official c
Lcno;c:Lwk;
intermediary field_26355
Lnet/minecraft/class_5284;field_26355:Lnet/minecraft/class_5321;
named OVERWORLD
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;OVERWORLD:Lnet/minecraft/util/registry/RegistryKey;
-
AMPLIFIED
- Mappings:
Namespace Name Mixin selector official d
Lcno;d:Lwk;
intermediary field_26356
Lnet/minecraft/class_5284;field_26356:Lnet/minecraft/class_5321;
named AMPLIFIED
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;AMPLIFIED:Lnet/minecraft/util/registry/RegistryKey;
-
NETHER
- Mappings:
Namespace Name Mixin selector official e
Lcno;e:Lwk;
intermediary field_26357
Lnet/minecraft/class_5284;field_26357:Lnet/minecraft/class_5321;
named NETHER
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;NETHER:Lnet/minecraft/util/registry/RegistryKey;
-
END
- Mappings:
Namespace Name Mixin selector official f
Lcno;f:Lwk;
intermediary field_26358
Lnet/minecraft/class_5284;field_26358:Lnet/minecraft/class_5321;
named END
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;END:Lnet/minecraft/util/registry/RegistryKey;
-
CAVES
- Mappings:
Namespace Name Mixin selector official g
Lcno;g:Lwk;
intermediary field_26359
Lnet/minecraft/class_5284;field_26359:Lnet/minecraft/class_5321;
named CAVES
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;CAVES:Lnet/minecraft/util/registry/RegistryKey;
-
FLOATING_ISLANDS
- Mappings:
Namespace Name Mixin selector official h
Lcno;h:Lwk;
intermediary field_26360
Lnet/minecraft/class_5284;field_26360:Lnet/minecraft/class_5321;
named FLOATING_ISLANDS
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;FLOATING_ISLANDS:Lnet/minecraft/util/registry/RegistryKey;
-
INSTANCE
- Mappings:
Namespace Name Mixin selector official t
Lcno;t:Lcno;
intermediary field_26707
Lnet/minecraft/class_5284;field_26707:Lnet/minecraft/class_5284;
named INSTANCE
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;INSTANCE:Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;
-
structuresConfig
- Mappings:
Namespace Name Mixin selector official i
Lcno;i:Lcny;
intermediary field_24516
Lnet/minecraft/class_5284;field_24516:Lnet/minecraft/class_5311;
named structuresConfig
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;structuresConfig:Lnet/minecraft/world/gen/chunk/StructuresConfig;
-
generationShapeConfig
- Mappings:
Namespace Name Mixin selector official j
Lcno;j:Lcns;
intermediary field_24782
Lnet/minecraft/class_5284;field_24782:Lnet/minecraft/class_5309;
named generationShapeConfig
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;generationShapeConfig:Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;
-
defaultBlock
- Mappings:
Namespace Name Mixin selector official k
Lcno;k:Lcio;
intermediary field_24514
Lnet/minecraft/class_5284;field_24514:Lnet/minecraft/class_2680;
named defaultBlock
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;defaultBlock:Lnet/minecraft/block/BlockState;
-
defaultFluid
- Mappings:
Namespace Name Mixin selector official l
Lcno;l:Lcio;
intermediary field_24515
Lnet/minecraft/class_5284;field_24515:Lnet/minecraft/class_2680;
named defaultFluid
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;defaultFluid:Lnet/minecraft/block/BlockState;
-
bedrockCeilingY
private final int bedrockCeilingY- Mappings:
Namespace Name Mixin selector official m
Lcno;m:I
intermediary field_24783
Lnet/minecraft/class_5284;field_24783:I
named bedrockCeilingY
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;bedrockCeilingY:I
-
bedrockFloorY
private final int bedrockFloorY- Mappings:
Namespace Name Mixin selector official n
Lcno;n:I
intermediary field_24784
Lnet/minecraft/class_5284;field_24784:I
named bedrockFloorY
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;bedrockFloorY:I
-
seaLevel
private final int seaLevel- Mappings:
Namespace Name Mixin selector official o
Lcno;o:I
intermediary field_24785
Lnet/minecraft/class_5284;field_24785:I
named seaLevel
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;seaLevel:I
-
mobGenerationDisabled
private final boolean mobGenerationDisabled- Mappings:
Namespace Name Mixin selector official p
Lcno;p:Z
intermediary field_24786
Lnet/minecraft/class_5284;field_24786:Z
named mobGenerationDisabled
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;mobGenerationDisabled:Z
-
aquifers
private final boolean aquifers- Mappings:
Namespace Name Mixin selector official q
Lcno;q:Z
intermediary field_28846
Lnet/minecraft/class_5284;field_28846:Z
named aquifers
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;aquifers:Z
-
noiseCaves
private final boolean noiseCaves- Mappings:
Namespace Name Mixin selector official r
Lcno;r:Z
intermediary field_28847
Lnet/minecraft/class_5284;field_28847:Z
named noiseCaves
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;noiseCaves:Z
-
deepslate
private final boolean deepslate- Mappings:
Namespace Name Mixin selector official s
Lcno;s:Z
intermediary field_28914
Lnet/minecraft/class_5284;field_28914:Z
named deepslate
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;deepslate:Z
-
-
Constructor Details
-
ChunkGeneratorSettings
private ChunkGeneratorSettings(StructuresConfig structuresConfig, GenerationShapeConfig generationShapeConfig, BlockState defaultBlock, BlockState defaultFluid, int bedrockCeilingY, int bedrockFloorY, int seaLevel, boolean mobGenerationDisabled, boolean aquifers, boolean noiseCaves, boolean bool)- Mappings:
Namespace Name Mixin selector official <init>
Lcno;<init>(Lcny;Lcns;Lcio;Lcio;IIIZZZZ)V
intermediary <init>
Lnet/minecraft/class_5284;<init>(Lnet/minecraft/class_5311;Lnet/minecraft/class_5309;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;IIIZZZZ)V
named <init>
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;<init>(Lnet/minecraft/world/gen/chunk/StructuresConfig;Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;IIIZZZZ)V
-
-
Method Details
-
getStructuresConfig
- Mappings:
Namespace Name Mixin selector official a
Lcno;a()Lcny;
intermediary method_28007
Lnet/minecraft/class_5284;method_28007()Lnet/minecraft/class_5311;
named getStructuresConfig
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;getStructuresConfig()Lnet/minecraft/world/gen/chunk/StructuresConfig;
-
getGenerationShapeConfig
- Mappings:
Namespace Name Mixin selector official b
Lcno;b()Lcns;
intermediary method_28559
Lnet/minecraft/class_5284;method_28559()Lnet/minecraft/class_5309;
named getGenerationShapeConfig
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;getGenerationShapeConfig()Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;
-
getDefaultBlock
- Mappings:
Namespace Name Mixin selector official c
Lcno;c()Lcio;
intermediary method_28005
Lnet/minecraft/class_5284;method_28005()Lnet/minecraft/class_2680;
named getDefaultBlock
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;getDefaultBlock()Lnet/minecraft/block/BlockState;
-
getDefaultFluid
- Mappings:
Namespace Name Mixin selector official d
Lcno;d()Lcio;
intermediary method_28006
Lnet/minecraft/class_5284;method_28006()Lnet/minecraft/class_2680;
named getDefaultFluid
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;getDefaultFluid()Lnet/minecraft/block/BlockState;
-
getBedrockCeilingY
public int getBedrockCeilingY()Returns the Y level of the bedrock ceiling.If a number less than 1 is returned, the ceiling will not be generated.
- Mappings:
Namespace Name Mixin selector official e
Lcno;e()I
intermediary method_16400
Lnet/minecraft/class_5284;method_16400()I
named getBedrockCeilingY
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;getBedrockCeilingY()I
-
getBedrockFloorY
public int getBedrockFloorY()Returns the Y level of the bedrock floor.If a number greater than 255 is returned, the floor will not be generated.
- Mappings:
Namespace Name Mixin selector official f
Lcno;f()I
intermediary method_16401
Lnet/minecraft/class_5284;method_16401()I
named getBedrockFloorY
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;getBedrockFloorY()I
-
getSeaLevel
public int getSeaLevel()- Mappings:
Namespace Name Mixin selector official g
Lcno;g()I
intermediary method_28561
Lnet/minecraft/class_5284;method_28561()I
named getSeaLevel
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;getSeaLevel()I
-
isMobGenerationDisabled
Deprecated.Whether entities will be generated during chunk population.It does not control whether spawns will occur during gameplay.
- Mappings:
Namespace Name Mixin selector official h
Lcno;h()Z
intermediary method_28562
Lnet/minecraft/class_5284;method_28562()Z
named isMobGenerationDisabled
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;isMobGenerationDisabled()Z
-
hasAquifers
protected boolean hasAquifers()- Mappings:
Namespace Name Mixin selector official i
Lcno;i()Z
intermediary method_33757
Lnet/minecraft/class_5284;method_33757()Z
named hasAquifers
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;hasAquifers()Z
-
hasNoiseCaves
protected boolean hasNoiseCaves()- Mappings:
Namespace Name Mixin selector official j
Lcno;j()Z
intermediary method_33758
Lnet/minecraft/class_5284;method_33758()Z
named hasNoiseCaves
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;hasNoiseCaves()Z
-
hasDeepslate
protected boolean hasDeepslate()- Mappings:
Namespace Name Mixin selector official k
Lcno;k()Z
intermediary method_33839
Lnet/minecraft/class_5284;method_33839()Z
named hasDeepslate
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;hasDeepslate()Z
-
equals
- Mappings:
Namespace Name Mixin selector official a
Lcno;a(Lwk;)Z
intermediary method_28555
Lnet/minecraft/class_5284;method_28555(Lnet/minecraft/class_5321;)Z
named equals
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;equals(Lnet/minecraft/util/registry/RegistryKey;)Z
-
register
private static ChunkGeneratorSettings register(RegistryKey<ChunkGeneratorSettings> registryKey, ChunkGeneratorSettings settings)- Mappings:
Namespace Name Mixin selector official a
Lcno;a(Lwk;Lcno;)Lcno;
intermediary method_30644
Lnet/minecraft/class_5284;method_30644(Lnet/minecraft/class_5321;Lnet/minecraft/class_5284;)Lnet/minecraft/class_5284;
named register
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;register(Lnet/minecraft/util/registry/RegistryKey;Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;)Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;
-
getInstance
- Mappings:
Namespace Name Mixin selector official l
Lcno;l()Lcno;
intermediary method_31111
Lnet/minecraft/class_5284;method_31111()Lnet/minecraft/class_5284;
named getInstance
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;getInstance()Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;
-
createIslandSettings
private static ChunkGeneratorSettings createIslandSettings(StructuresConfig structuresConfig, BlockState defaultBlock, BlockState defaultFluid, boolean bool, boolean bool2, boolean bool3)- Mappings:
Namespace Name Mixin selector official a
Lcno;a(Lcny;Lcio;Lcio;ZZZ)Lcno;
intermediary method_30642
Lnet/minecraft/class_5284;method_30642(Lnet/minecraft/class_5311;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;ZZZ)Lnet/minecraft/class_5284;
named createIslandSettings
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;createIslandSettings(Lnet/minecraft/world/gen/chunk/StructuresConfig;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;ZZZ)Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;
-
createUndergroundSettings
private static ChunkGeneratorSettings createUndergroundSettings(StructuresConfig structuresConfig, BlockState defaultBlock, BlockState defaultFluid, boolean bool)- Mappings:
Namespace Name Mixin selector official a
Lcno;a(Lcny;Lcio;Lcio;Z)Lcno;
intermediary method_30641
Lnet/minecraft/class_5284;method_30641(Lnet/minecraft/class_5311;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;Z)Lnet/minecraft/class_5284;
named createUndergroundSettings
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;createUndergroundSettings(Lnet/minecraft/world/gen/chunk/StructuresConfig;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;Z)Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;
-
createSurfaceSettings
private static ChunkGeneratorSettings createSurfaceSettings(StructuresConfig structuresConfig, boolean amplified)- Mappings:
Namespace Name Mixin selector official a
Lcno;a(Lcny;Z)Lcno;
intermediary method_30643
Lnet/minecraft/class_5284;method_30643(Lnet/minecraft/class_5311;Z)Lnet/minecraft/class_5284;
named createSurfaceSettings
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;createSurfaceSettings(Lnet/minecraft/world/gen/chunk/StructuresConfig;Z)Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;
-