Package net.minecraft.world.gen.chunk
Class ChunkGeneratorSettings
java.lang.Object
net.minecraft.world.gen.chunk.ChunkGeneratorSettings
- Mappings:
Namespace Name official cth
intermediary net/minecraft/class_5284
named net/minecraft/world/gen/chunk/ChunkGeneratorSettings
-
Field Summary
Modifier and TypeFieldDescriptionstatic final RegistryKey<ChunkGeneratorSettings>
private final boolean
static final RegistryKey<ChunkGeneratorSettings>
static final com.mojang.serialization.Codec<ChunkGeneratorSettings>
private final BlockState
private final BlockState
static final RegistryKey<ChunkGeneratorSettings>
static final RegistryKey<ChunkGeneratorSettings>
private final GenerationShapeConfig
static final RegistryKey<ChunkGeneratorSettings>
private final boolean
static final RegistryKey<ChunkGeneratorSettings>
private final boolean
private final boolean
private final boolean
static final RegistryKey<ChunkGeneratorSettings>
private final ChunkRandom.RandomProvider
static final com.mojang.serialization.Codec<Supplier<ChunkGeneratorSettings>>
private final int
private final StructuresConfig
private final MaterialRules.MaterialRule
-
Constructor Summary
ModifierConstructorDescriptionprivate
ChunkGeneratorSettings
(StructuresConfig structuresConfig, GenerationShapeConfig generationShapeConfig, BlockState defaultBlock, BlockState defaultFluid, MaterialRules.MaterialRule surfaceRule, int bedrockCeilingY, boolean mobGenerationDisabled, boolean aquifers, boolean noiseCaves, boolean oreVeins, boolean noodleCaves, boolean useLegacyRandom) -
Method Summary
Modifier and TypeMethodDescriptionprivate static ChunkGeneratorSettings
private static ChunkGeneratorSettings
private static ChunkGeneratorSettings
private static ChunkGeneratorSettings
createRandom
(long seed) private static ChunkGeneratorSettings
createSurfaceSettings
(boolean amplified, boolean largeBiomes) boolean
equals
(RegistryKey<ChunkGeneratorSettings> registryKey) static ChunkGeneratorSettings
int
boolean
boolean
boolean
boolean
protected boolean
Deprecated.private static void
register
(RegistryKey<ChunkGeneratorSettings> registryKey, ChunkGeneratorSettings settings) boolean
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lcth;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
Lcth;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
Lcth;c:Lyg;
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;
-
LARGE_BIOMES
- Mappings:
Namespace Name Mixin selector official d
Lcth;d:Lyg;
intermediary field_35051
Lnet/minecraft/class_5284;field_35051:Lnet/minecraft/class_5321;
named LARGE_BIOMES
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;LARGE_BIOMES:Lnet/minecraft/util/registry/RegistryKey;
-
AMPLIFIED
- Mappings:
Namespace Name Mixin selector official e
Lcth;e:Lyg;
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 f
Lcth;f:Lyg;
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 g
Lcth;g:Lyg;
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 h
Lcth;h:Lyg;
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 i
Lcth;i:Lyg;
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;
-
randomProvider
- Mappings:
Namespace Name Mixin selector official j
Lcth;j:Lcua$a;
intermediary field_35130
Lnet/minecraft/class_5284;field_35130:Lnet/minecraft/class_2919$class_6675;
named randomProvider
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;randomProvider:Lnet/minecraft/world/gen/random/ChunkRandom$RandomProvider;
-
structuresConfig
- Mappings:
Namespace Name Mixin selector official k
Lcth;k:Lctt;
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 l
Lcth;l:Lctk;
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 m
Lcth;m:Lcoc;
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 n
Lcth;n:Lcoc;
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;
-
surfaceRule
- Mappings:
Namespace Name Mixin selector official o
Lcth;o:Lctu$o;
intermediary field_35184
Lnet/minecraft/class_5284;field_35184:Lnet/minecraft/class_6686$class_6708;
named surfaceRule
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;surfaceRule:Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRule;
-
seaLevel
private final int seaLevel- Mappings:
Namespace Name Mixin selector official p
Lcth;p: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 q
Lcth;q: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 r
Lcth;r: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 s
Lcth;s:Z
intermediary field_28847
Lnet/minecraft/class_5284;field_28847:Z
named noiseCaves
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;noiseCaves:Z
-
oreVeins
private final boolean oreVeins- Mappings:
Namespace Name Mixin selector official t
Lcth;t:Z
intermediary field_33587
Lnet/minecraft/class_5284;field_33587:Z
named oreVeins
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;oreVeins:Z
-
noodleCaves
private final boolean noodleCaves- Mappings:
Namespace Name Mixin selector official u
Lcth;u:Z
intermediary field_33651
Lnet/minecraft/class_5284;field_33651:Z
named noodleCaves
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;noodleCaves:Z
-
-
Constructor Details
-
ChunkGeneratorSettings
private ChunkGeneratorSettings(StructuresConfig structuresConfig, GenerationShapeConfig generationShapeConfig, BlockState defaultBlock, BlockState defaultFluid, MaterialRules.MaterialRule surfaceRule, int bedrockCeilingY, boolean mobGenerationDisabled, boolean aquifers, boolean noiseCaves, boolean oreVeins, boolean noodleCaves, boolean useLegacyRandom) - Mappings:
Namespace Name Mixin selector official <init>
Lcth;<init>(Lctt;Lctk;Lcoc;Lcoc;Lctu$o;IZZZZZZ)V
intermediary <init>
Lnet/minecraft/class_5284;<init>(Lnet/minecraft/class_5311;Lnet/minecraft/class_5309;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;Lnet/minecraft/class_6686$class_6708;IZZZZZZ)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;Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRule;IZZZZZZ)V
-
-
Method Details
-
getStructuresConfig
- Mappings:
Namespace Name Mixin selector official a
Lcth;a()Lctt;
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
Lcth;b()Lctk;
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
Lcth;c()Lcoc;
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
Lcth;d()Lcoc;
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;
-
getSurfaceRule
- Mappings:
Namespace Name Mixin selector official e
Lcth;e()Lctu$o;
intermediary method_39042
Lnet/minecraft/class_5284;method_39042()Lnet/minecraft/class_6686$class_6708;
named getSurfaceRule
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;getSurfaceRule()Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRule;
-
getSeaLevel
public int getSeaLevel()- Mappings:
Namespace Name Mixin selector official f
Lcth;f()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 g
Lcth;g()Z
intermediary method_28562
Lnet/minecraft/class_5284;method_28562()Z
named isMobGenerationDisabled
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;isMobGenerationDisabled()Z
-
hasAquifers
public boolean hasAquifers()- Mappings:
Namespace Name Mixin selector official h
Lcth;h()Z
intermediary method_33757
Lnet/minecraft/class_5284;method_33757()Z
named hasAquifers
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;hasAquifers()Z
-
hasNoiseCaves
public boolean hasNoiseCaves()- Mappings:
Namespace Name Mixin selector official i
Lcth;i()Z
intermediary method_33758
Lnet/minecraft/class_5284;method_33758()Z
named hasNoiseCaves
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;hasNoiseCaves()Z
-
hasOreVeins
public boolean hasOreVeins()- Mappings:
Namespace Name Mixin selector official j
Lcth;j()Z
intermediary method_36396
Lnet/minecraft/class_5284;method_36396()Z
named hasOreVeins
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;hasOreVeins()Z
-
hasNoodleCaves
public boolean hasNoodleCaves()- Mappings:
Namespace Name Mixin selector official k
Lcth;k()Z
intermediary method_36468
Lnet/minecraft/class_5284;method_36468()Z
named hasNoodleCaves
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;hasNoodleCaves()Z
-
usesLegacyRandom
public boolean usesLegacyRandom()- Mappings:
Namespace Name Mixin selector official l
Lcth;l()Z
intermediary method_38998
Lnet/minecraft/class_5284;method_38998()Z
named usesLegacyRandom
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;usesLegacyRandom()Z
-
createRandom
- Mappings:
Namespace Name Mixin selector official a
Lcth;a(J)Lctq;
intermediary method_38997
Lnet/minecraft/class_5284;method_38997(J)Lnet/minecraft/class_5819;
named createRandom
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;createRandom(J)Lnet/minecraft/world/gen/random/AbstractRandom;
-
getRandomProvider
- Mappings:
Namespace Name Mixin selector official m
Lcth;m()Lcua$a;
intermediary method_38999
Lnet/minecraft/class_5284;method_38999()Lnet/minecraft/class_2919$class_6675;
named getRandomProvider
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;getRandomProvider()Lnet/minecraft/world/gen/random/ChunkRandom$RandomProvider;
-
equals
- Mappings:
Namespace Name Mixin selector official a
Lcth;a(Lyg;)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 void register(RegistryKey<ChunkGeneratorSettings> registryKey, ChunkGeneratorSettings settings) - Mappings:
Namespace Name Mixin selector official a
Lcth;a(Lyg;Lcth;)V
intermediary method_30644
Lnet/minecraft/class_5284;method_30644(Lnet/minecraft/class_5321;Lnet/minecraft/class_5284;)V
named register
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;register(Lnet/minecraft/util/registry/RegistryKey;Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;)V
-
getInstance
- Mappings:
Namespace Name Mixin selector official n
Lcth;n()Lcth;
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;
-
createEndSettings
- Mappings:
Namespace Name Mixin selector official o
Lcth;o()Lcth;
intermediary method_30642
Lnet/minecraft/class_5284;method_30642()Lnet/minecraft/class_5284;
named createEndSettings
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;createEndSettings()Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;
-
createNetherSettings
- Mappings:
Namespace Name Mixin selector official p
Lcth;p()Lcth;
intermediary method_30641
Lnet/minecraft/class_5284;method_30641()Lnet/minecraft/class_5284;
named createNetherSettings
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;createNetherSettings()Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;
-
createSurfaceSettings
- Mappings:
Namespace Name Mixin selector official a
Lcth;a(ZZ)Lcth;
intermediary method_30643
Lnet/minecraft/class_5284;method_30643(ZZ)Lnet/minecraft/class_5284;
named createSurfaceSettings
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;createSurfaceSettings(ZZ)Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;
-
createCavesSettings
- Mappings:
Namespace Name Mixin selector official q
Lcth;q()Lcth;
intermediary method_39901
Lnet/minecraft/class_5284;method_39901()Lnet/minecraft/class_5284;
named createCavesSettings
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;createCavesSettings()Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;
-
createFloatingIslandsSettings
- Mappings:
Namespace Name Mixin selector official r
Lcth;r()Lcth;
intermediary method_39902
Lnet/minecraft/class_5284;method_39902()Lnet/minecraft/class_5284;
named createFloatingIslandsSettings
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;createFloatingIslandsSettings()Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;
-