Package net.minecraft.world.gen.chunk
Class ChunkGeneratorSettings
java.lang.Object
net.minecraft.world.gen.chunk.ChunkGeneratorSettings
- Mappings:
Namespace Name official cszintermediary net/minecraft/class_5284named net/minecraft/world/gen/chunk/ChunkGeneratorSettings
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RegistryKey<ChunkGeneratorSettings>private final booleanstatic final RegistryKey<ChunkGeneratorSettings>static final com.mojang.serialization.Codec<ChunkGeneratorSettings>private final BlockStateprivate final BlockStatestatic final RegistryKey<ChunkGeneratorSettings>static final RegistryKey<ChunkGeneratorSettings>private final GenerationShapeConfig(package private) static final ChunkGeneratorSettingsstatic final RegistryKey<ChunkGeneratorSettings>private final booleanstatic final RegistryKey<ChunkGeneratorSettings>private final booleanprivate final booleanprivate final booleanstatic final RegistryKey<ChunkGeneratorSettings>private final ChunkRandom.RandomProviderstatic final com.mojang.serialization.Codec<Supplier<ChunkGeneratorSettings>>private final intprivate final StructuresConfigprivate final MaterialRules.MaterialRule -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateChunkGeneratorSettings(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 ChunkGeneratorSettingscreateIslandSettings(StructuresConfig structuresConfig, BlockState defaultBlock, BlockState defaultFluid, boolean bool, boolean bool2) createRandom(long seed) private static ChunkGeneratorSettingscreateSurfaceSettings(StructuresConfig structuresConfig, boolean amplified, boolean bool) private static ChunkGeneratorSettingscreateUndergroundSettings(StructuresConfig structuresConfig, BlockState defaultBlock, BlockState defaultFluid) booleanequals(RegistryKey<ChunkGeneratorSettings> registryKey) static ChunkGeneratorSettingsintbooleanbooleanbooleanbooleanprotected booleanDeprecated.private static ChunkGeneratorSettingsregister(RegistryKey<ChunkGeneratorSettings> registryKey, ChunkGeneratorSettings settings) boolean
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official aLcsz;a:Lcom/mojang/serialization/Codec;intermediary field_24780Lnet/minecraft/class_5284;field_24780:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;CODEC:Lcom/mojang/serialization/Codec;
-
REGISTRY_CODEC
- Mappings:
Namespace Name Mixin selector official bLcsz;b:Lcom/mojang/serialization/Codec;intermediary field_24781Lnet/minecraft/class_5284;field_24781:Lcom/mojang/serialization/Codec;named REGISTRY_CODECLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;REGISTRY_CODEC:Lcom/mojang/serialization/Codec;
-
OVERWORLD
- Mappings:
Namespace Name Mixin selector official cLcsz;c:Lya;intermediary field_26355Lnet/minecraft/class_5284;field_26355:Lnet/minecraft/class_5321;named OVERWORLDLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;OVERWORLD:Lnet/minecraft/util/registry/RegistryKey;
-
LARGE_BIOMES
- Mappings:
Namespace Name Mixin selector official dLcsz;d:Lya;intermediary field_35051Lnet/minecraft/class_5284;field_35051:Lnet/minecraft/class_5321;named LARGE_BIOMESLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;LARGE_BIOMES:Lnet/minecraft/util/registry/RegistryKey;
-
AMPLIFIED
- Mappings:
Namespace Name Mixin selector official eLcsz;e:Lya;intermediary field_26356Lnet/minecraft/class_5284;field_26356:Lnet/minecraft/class_5321;named AMPLIFIEDLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;AMPLIFIED:Lnet/minecraft/util/registry/RegistryKey;
-
NETHER
- Mappings:
Namespace Name Mixin selector official fLcsz;f:Lya;intermediary field_26357Lnet/minecraft/class_5284;field_26357:Lnet/minecraft/class_5321;named NETHERLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;NETHER:Lnet/minecraft/util/registry/RegistryKey;
-
END
- Mappings:
Namespace Name Mixin selector official gLcsz;g:Lya;intermediary field_26358Lnet/minecraft/class_5284;field_26358:Lnet/minecraft/class_5321;named ENDLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;END:Lnet/minecraft/util/registry/RegistryKey;
-
CAVES
- Mappings:
Namespace Name Mixin selector official hLcsz;h:Lya;intermediary field_26359Lnet/minecraft/class_5284;field_26359:Lnet/minecraft/class_5321;named CAVESLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;CAVES:Lnet/minecraft/util/registry/RegistryKey;
-
FLOATING_ISLANDS
- Mappings:
Namespace Name Mixin selector official iLcsz;i:Lya;intermediary field_26360Lnet/minecraft/class_5284;field_26360:Lnet/minecraft/class_5321;named FLOATING_ISLANDSLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;FLOATING_ISLANDS:Lnet/minecraft/util/registry/RegistryKey;
-
INSTANCE
- Mappings:
Namespace Name Mixin selector official jLcsz;j:Lcsz;intermediary field_26707Lnet/minecraft/class_5284;field_26707:Lnet/minecraft/class_5284;named INSTANCELnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;INSTANCE:Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;
-
randomProvider
- Mappings:
Namespace Name Mixin selector official kLcsz;k:Lcts$a;intermediary field_35130Lnet/minecraft/class_5284;field_35130:Lnet/minecraft/class_2919$class_6675;named randomProviderLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;randomProvider:Lnet/minecraft/world/gen/random/ChunkRandom$RandomProvider;
-
structuresConfig
- Mappings:
Namespace Name Mixin selector official lLcsz;l:Lctl;intermediary field_24516Lnet/minecraft/class_5284;field_24516:Lnet/minecraft/class_5311;named structuresConfigLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;structuresConfig:Lnet/minecraft/world/gen/chunk/StructuresConfig;
-
generationShapeConfig
- Mappings:
Namespace Name Mixin selector official mLcsz;m:Lctc;intermediary field_24782Lnet/minecraft/class_5284;field_24782:Lnet/minecraft/class_5309;named generationShapeConfigLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;generationShapeConfig:Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;
-
defaultBlock
- Mappings:
Namespace Name Mixin selector official nLcsz;n:Lcnv;intermediary field_24514Lnet/minecraft/class_5284;field_24514:Lnet/minecraft/class_2680;named defaultBlockLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;defaultBlock:Lnet/minecraft/block/BlockState;
-
defaultFluid
- Mappings:
Namespace Name Mixin selector official oLcsz;o:Lcnv;intermediary field_24515Lnet/minecraft/class_5284;field_24515:Lnet/minecraft/class_2680;named defaultFluidLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;defaultFluid:Lnet/minecraft/block/BlockState;
-
surfaceRule
- Mappings:
Namespace Name Mixin selector official pLcsz;p:Lctm$o;intermediary field_35184Lnet/minecraft/class_5284;field_35184:Lnet/minecraft/class_6686$class_6708;named surfaceRuleLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;surfaceRule:Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRule;
-
seaLevel
private final int seaLevel- Mappings:
Namespace Name Mixin selector official qLcsz;q:Iintermediary field_24785Lnet/minecraft/class_5284;field_24785:Inamed seaLevelLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;seaLevel:I
-
mobGenerationDisabled
private final boolean mobGenerationDisabled- Mappings:
Namespace Name Mixin selector official rLcsz;r:Zintermediary field_24786Lnet/minecraft/class_5284;field_24786:Znamed mobGenerationDisabledLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;mobGenerationDisabled:Z
-
aquifers
private final boolean aquifers- Mappings:
Namespace Name Mixin selector official sLcsz;s:Zintermediary field_28846Lnet/minecraft/class_5284;field_28846:Znamed aquifersLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;aquifers:Z
-
noiseCaves
private final boolean noiseCaves- Mappings:
Namespace Name Mixin selector official tLcsz;t:Zintermediary field_28847Lnet/minecraft/class_5284;field_28847:Znamed noiseCavesLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;noiseCaves:Z
-
oreVeins
private final boolean oreVeins- Mappings:
Namespace Name Mixin selector official uLcsz;u:Zintermediary field_33587Lnet/minecraft/class_5284;field_33587:Znamed oreVeinsLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;oreVeins:Z
-
noodleCaves
private final boolean noodleCaves- Mappings:
Namespace Name Mixin selector official vLcsz;v:Zintermediary field_33651Lnet/minecraft/class_5284;field_33651:Znamed noodleCavesLnet/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>Lcsz;<init>(Lctl;Lctc;Lcnv;Lcnv;Lctm$o;IZZZZZZ)Vintermediary <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)Vnamed <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 aLcsz;a()Lctl;intermediary method_28007Lnet/minecraft/class_5284;method_28007()Lnet/minecraft/class_5311;named getStructuresConfigLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;getStructuresConfig()Lnet/minecraft/world/gen/chunk/StructuresConfig;
-
getGenerationShapeConfig
- Mappings:
Namespace Name Mixin selector official bLcsz;b()Lctc;intermediary method_28559Lnet/minecraft/class_5284;method_28559()Lnet/minecraft/class_5309;named getGenerationShapeConfigLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;getGenerationShapeConfig()Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;
-
getDefaultBlock
- Mappings:
Namespace Name Mixin selector official cLcsz;c()Lcnv;intermediary method_28005Lnet/minecraft/class_5284;method_28005()Lnet/minecraft/class_2680;named getDefaultBlockLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;getDefaultBlock()Lnet/minecraft/block/BlockState;
-
getDefaultFluid
- Mappings:
Namespace Name Mixin selector official dLcsz;d()Lcnv;intermediary method_28006Lnet/minecraft/class_5284;method_28006()Lnet/minecraft/class_2680;named getDefaultFluidLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;getDefaultFluid()Lnet/minecraft/block/BlockState;
-
getSurfaceRule
- Mappings:
Namespace Name Mixin selector official eLcsz;e()Lctm$o;intermediary method_39042Lnet/minecraft/class_5284;method_39042()Lnet/minecraft/class_6686$class_6708;named getSurfaceRuleLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;getSurfaceRule()Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRule;
-
getSeaLevel
public int getSeaLevel()- Mappings:
Namespace Name Mixin selector official fLcsz;f()Iintermediary method_28561Lnet/minecraft/class_5284;method_28561()Inamed getSeaLevelLnet/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 gLcsz;g()Zintermediary method_28562Lnet/minecraft/class_5284;method_28562()Znamed isMobGenerationDisabledLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;isMobGenerationDisabled()Z
-
hasAquifers
public boolean hasAquifers()- Mappings:
Namespace Name Mixin selector official hLcsz;h()Zintermediary method_33757Lnet/minecraft/class_5284;method_33757()Znamed hasAquifersLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;hasAquifers()Z
-
hasNoiseCaves
public boolean hasNoiseCaves()- Mappings:
Namespace Name Mixin selector official iLcsz;i()Zintermediary method_33758Lnet/minecraft/class_5284;method_33758()Znamed hasNoiseCavesLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;hasNoiseCaves()Z
-
hasOreVeins
public boolean hasOreVeins()- Mappings:
Namespace Name Mixin selector official jLcsz;j()Zintermediary method_36396Lnet/minecraft/class_5284;method_36396()Znamed hasOreVeinsLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;hasOreVeins()Z
-
hasNoodleCaves
public boolean hasNoodleCaves()- Mappings:
Namespace Name Mixin selector official kLcsz;k()Zintermediary method_36468Lnet/minecraft/class_5284;method_36468()Znamed hasNoodleCavesLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;hasNoodleCaves()Z
-
usesLegacyRandom
public boolean usesLegacyRandom()- Mappings:
Namespace Name Mixin selector official lLcsz;l()Zintermediary method_38998Lnet/minecraft/class_5284;method_38998()Znamed usesLegacyRandomLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;usesLegacyRandom()Z
-
createRandom
- Mappings:
Namespace Name Mixin selector official aLcsz;a(J)Lcti;intermediary method_38997Lnet/minecraft/class_5284;method_38997(J)Lnet/minecraft/class_5819;named createRandomLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;createRandom(J)Lnet/minecraft/world/gen/random/AbstractRandom;
-
getRandomProvider
- Mappings:
Namespace Name Mixin selector official mLcsz;m()Lcts$a;intermediary method_38999Lnet/minecraft/class_5284;method_38999()Lnet/minecraft/class_2919$class_6675;named getRandomProviderLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;getRandomProvider()Lnet/minecraft/world/gen/random/ChunkRandom$RandomProvider;
-
equals
- Mappings:
Namespace Name Mixin selector official aLcsz;a(Lya;)Zintermediary method_28555Lnet/minecraft/class_5284;method_28555(Lnet/minecraft/class_5321;)Znamed equalsLnet/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 aLcsz;a(Lya;Lcsz;)Lcsz;intermediary method_30644Lnet/minecraft/class_5284;method_30644(Lnet/minecraft/class_5321;Lnet/minecraft/class_5284;)Lnet/minecraft/class_5284;named registerLnet/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 nLcsz;n()Lcsz;intermediary method_31111Lnet/minecraft/class_5284;method_31111()Lnet/minecraft/class_5284;named getInstanceLnet/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) - Mappings:
Namespace Name Mixin selector official aLcsz;a(Lctl;Lcnv;Lcnv;ZZ)Lcsz;intermediary method_30642Lnet/minecraft/class_5284;method_30642(Lnet/minecraft/class_5311;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;ZZ)Lnet/minecraft/class_5284;named createIslandSettingsLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;createIslandSettings(Lnet/minecraft/world/gen/chunk/StructuresConfig;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;ZZ)Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;
-
createUndergroundSettings
private static ChunkGeneratorSettings createUndergroundSettings(StructuresConfig structuresConfig, BlockState defaultBlock, BlockState defaultFluid) - Mappings:
Namespace Name Mixin selector official aLcsz;a(Lctl;Lcnv;Lcnv;)Lcsz;intermediary method_30641Lnet/minecraft/class_5284;method_30641(Lnet/minecraft/class_5311;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;)Lnet/minecraft/class_5284;named createUndergroundSettingsLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;createUndergroundSettings(Lnet/minecraft/world/gen/chunk/StructuresConfig;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;)Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;
-
createSurfaceSettings
private static ChunkGeneratorSettings createSurfaceSettings(StructuresConfig structuresConfig, boolean amplified, boolean bool) - Mappings:
Namespace Name Mixin selector official aLcsz;a(Lctl;ZZ)Lcsz;intermediary method_30643Lnet/minecraft/class_5284;method_30643(Lnet/minecraft/class_5311;ZZ)Lnet/minecraft/class_5284;named createSurfaceSettingsLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;createSurfaceSettings(Lnet/minecraft/world/gen/chunk/StructuresConfig;ZZ)Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;
-