Package net.minecraft.world.gen.chunk
Record Class ChunkGeneratorSettings
java.lang.Object
java.lang.Record
net.minecraft.world.gen.chunk.ChunkGeneratorSettings
- Record Components:
generationShapeConfig
-defaultBlock
-defaultFluid
-noiseRouter
-surfaceRule
-spawnTarget
-seaLevel
-mobGenerationDisabled
-aquifers
-oreVeins
-usesLegacyRandom
-
public record ChunkGeneratorSettings(GenerationShapeConfig generationShapeConfig, BlockState defaultBlock, BlockState defaultFluid, NoiseRouter noiseRouter, MaterialRules.MaterialRule surfaceRule, List<MultiNoiseUtil.NoiseHypercube> spawnTarget, int seaLevel, boolean mobGenerationDisabled, boolean aquifers, boolean oreVeins, boolean usesLegacyRandom)
extends Record
- Mappings:
Namespace Name official czz
intermediary net/minecraft/class_5284
named net/minecraft/world/gen/chunk/ChunkGeneratorSettings
official j
intermediary comp_474
named generationShapeConfig
official k
intermediary comp_475
named defaultBlock
official l
intermediary comp_476
named defaultFluid
official m
intermediary comp_477
named noiseRouter
official n
intermediary comp_478
named surfaceRule
official o
intermediary comp_538
named spawnTarget
official p
intermediary comp_479
named seaLevel
official q
intermediary comp_480
named mobGenerationDisabled
official r
intermediary comp_481
named aquifers
official s
intermediary comp_482
named oreVeins
official t
intermediary comp_483
named usesLegacyRandom
-
Field Summary
Modifier and TypeFieldDescriptionstatic final RegistryKey<ChunkGeneratorSettings>
private final boolean
The field for theaquifers
record component.static final RegistryKey<ChunkGeneratorSettings>
static final com.mojang.serialization.Codec<ChunkGeneratorSettings>
private final BlockState
The field for thedefaultBlock
record component.private final BlockState
The field for thedefaultFluid
record component.static final RegistryKey<ChunkGeneratorSettings>
static final RegistryKey<ChunkGeneratorSettings>
private final GenerationShapeConfig
The field for thegenerationShapeConfig
record component.static final RegistryKey<ChunkGeneratorSettings>
private final boolean
The field for themobGenerationDisabled
record component.static final RegistryKey<ChunkGeneratorSettings>
private final NoiseRouter
The field for thenoiseRouter
record component.private final boolean
The field for theoreVeins
record component.static final RegistryKey<ChunkGeneratorSettings>
static final com.mojang.serialization.Codec<RegistryEntry<ChunkGeneratorSettings>>
private final int
The field for theseaLevel
record component.private final List<MultiNoiseUtil.NoiseHypercube>
The field for thespawnTarget
record component.private final MaterialRules.MaterialRule
The field for thesurfaceRule
record component.private final boolean
The field for theusesLegacyRandom
record component. -
Constructor Summary
ConstructorDescriptionChunkGeneratorSettings
(GenerationShapeConfig generationShapeConfig, BlockState blockState, BlockState blockState2, NoiseRouter noiseRouter, MaterialRules.MaterialRule surfaceRule, List<MultiNoiseUtil.NoiseHypercube> list, int int2, boolean bool, boolean bool2, boolean bool3, boolean bool4) -
Method Summary
Modifier and TypeMethodDescriptionboolean
aquifers()
Returns the value of theaquifers
record component.private static ChunkGeneratorSettings
private static ChunkGeneratorSettings
private static ChunkGeneratorSettings
static ChunkGeneratorSettings
private static ChunkGeneratorSettings
private static ChunkGeneratorSettings
createSurfaceSettings
(boolean amplified, boolean largeBiomes) Returns the value of thedefaultBlock
record component.Returns the value of thedefaultFluid
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of thegenerationShapeConfig
record component.boolean
final int
hashCode()
Returns a hash code value for this object.static RegistryEntry<ChunkGeneratorSettings>
initAndGetDefault
(Registry<ChunkGeneratorSettings> registry) boolean
Deprecated.Returns the value of thenoiseRouter
record component.boolean
oreVeins()
Returns the value of theoreVeins
record component.private static RegistryEntry<ChunkGeneratorSettings>
register
(Registry<ChunkGeneratorSettings> registry, RegistryKey<ChunkGeneratorSettings> key, ChunkGeneratorSettings chunkGeneratorSettings) int
seaLevel()
Returns the value of theseaLevel
record component.Returns the value of thespawnTarget
record component.Returns the value of thesurfaceRule
record component.final String
toString()
Returns a string representation of this record class.boolean
Returns the value of theusesLegacyRandom
record component.
-
Field Details
-
generationShapeConfig
The field for thegenerationShapeConfig
record component. -
defaultBlock
The field for thedefaultBlock
record component. -
defaultFluid
The field for thedefaultFluid
record component. -
noiseRouter
The field for thenoiseRouter
record component. -
surfaceRule
The field for thesurfaceRule
record component. -
spawnTarget
The field for thespawnTarget
record component. -
seaLevel
private final int seaLevelThe field for theseaLevel
record component. -
mobGenerationDisabled
private final boolean mobGenerationDisabledThe field for themobGenerationDisabled
record component. -
aquifers
private final boolean aquifersThe field for theaquifers
record component. -
oreVeins
private final boolean oreVeinsThe field for theoreVeins
record component. -
usesLegacyRandom
private final boolean usesLegacyRandomThe field for theusesLegacyRandom
record component. -
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lczz;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
public static final com.mojang.serialization.Codec<RegistryEntry<ChunkGeneratorSettings>> REGISTRY_CODEC- Mappings:
Namespace Name Mixin selector official b
Lczz;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
Lczz;c:Laai;
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
Lczz;d:Laai;
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
Lczz;e:Laai;
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
Lczz;f:Laai;
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
Lczz;g:Laai;
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
Lczz;h:Laai;
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
Lczz;i:Laai;
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;
-
-
Constructor Details
-
ChunkGeneratorSettings
public ChunkGeneratorSettings(GenerationShapeConfig generationShapeConfig, BlockState blockState, BlockState blockState2, NoiseRouter noiseRouter, MaterialRules.MaterialRule surfaceRule, List<MultiNoiseUtil.NoiseHypercube> list, int int2, boolean bool, boolean bool2, boolean bool3, boolean bool4) - Mappings:
Namespace Name Mixin selector official <init>
Lczz;<init>(Ldac;Lcur;Lcur;Ldaa;Ldal$o;Ljava/util/List;IZZZZ)V
intermediary <init>
Lnet/minecraft/class_5284;<init>(Lnet/minecraft/class_5309;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;Lnet/minecraft/class_6953;Lnet/minecraft/class_6686$class_6708;Ljava/util/List;IZZZZ)V
named <init>
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;<init>(Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/gen/noise/NoiseRouter;Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRule;Ljava/util/List;IZZZZ)V
-
-
Method Details
-
mobGenerationDisabled
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 a
Lczz;a()Z
intermediary comp_480
Lnet/minecraft/class_5284;comp_480()Z
named mobGenerationDisabled
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;mobGenerationDisabled()Z
-
hasAquifers
public boolean hasAquifers()- Mappings:
Namespace Name Mixin selector official b
Lczz;b()Z
intermediary method_33757
Lnet/minecraft/class_5284;method_33757()Z
named hasAquifers
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;hasAquifers()Z
-
oreVeins
public boolean oreVeins()Returns the value of theoreVeins
record component.- Returns:
- the value of the
oreVeins
record component
-
getRandomProvider
- Mappings:
Namespace Name Mixin selector official d
Lczz;d()Ldar$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/util/math/random/ChunkRandom$RandomProvider;
-
register
private static RegistryEntry<ChunkGeneratorSettings> register(Registry<ChunkGeneratorSettings> registry, RegistryKey<ChunkGeneratorSettings> key, ChunkGeneratorSettings chunkGeneratorSettings) - Mappings:
Namespace Name Mixin selector official a
Lczz;a(Lhm;Laai;Lczz;)Lhc;
intermediary method_30644
Lnet/minecraft/class_5284;method_30644(Lnet/minecraft/class_2378;Lnet/minecraft/class_5321;Lnet/minecraft/class_5284;)Lnet/minecraft/class_6880;
named register
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;register(Lnet/minecraft/util/registry/Registry;Lnet/minecraft/util/registry/RegistryKey;Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;)Lnet/minecraft/util/registry/RegistryEntry;
-
initAndGetDefault
public static RegistryEntry<ChunkGeneratorSettings> initAndGetDefault(Registry<ChunkGeneratorSettings> registry) - Mappings:
Namespace Name Mixin selector official a
Lczz;a(Lhm;)Lhc;
intermediary method_31111
Lnet/minecraft/class_5284;method_31111(Lnet/minecraft/class_2378;)Lnet/minecraft/class_6880;
named initAndGetDefault
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;initAndGetDefault(Lnet/minecraft/util/registry/Registry;)Lnet/minecraft/util/registry/RegistryEntry;
-
createEndSettings
- Mappings:
Namespace Name Mixin selector official o
Lczz;o()Lczz;
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
Lczz;p()Lczz;
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
Lczz;a(ZZ)Lczz;
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
Lczz;q()Lczz;
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
Lczz;r()Lczz;
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;
-
createMissingSettings
- Mappings:
Namespace Name Mixin selector official e
Lczz;e()Lczz;
intermediary method_44323
Lnet/minecraft/class_5284;method_44323()Lnet/minecraft/class_5284;
named createMissingSettings
Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;createMissingSettings()Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
generationShapeConfig
Returns the value of thegenerationShapeConfig
record component.- Returns:
- the value of the
generationShapeConfig
record component
-
defaultBlock
Returns the value of thedefaultBlock
record component.- Returns:
- the value of the
defaultBlock
record component
-
defaultFluid
Returns the value of thedefaultFluid
record component.- Returns:
- the value of the
defaultFluid
record component
-
noiseRouter
Returns the value of thenoiseRouter
record component.- Returns:
- the value of the
noiseRouter
record component
-
surfaceRule
Returns the value of thesurfaceRule
record component.- Returns:
- the value of the
surfaceRule
record component
-
spawnTarget
Returns the value of thespawnTarget
record component.- Returns:
- the value of the
spawnTarget
record component
-
seaLevel
public int seaLevel()Returns the value of theseaLevel
record component.- Returns:
- the value of the
seaLevel
record component
-
aquifers
public boolean aquifers()Returns the value of theaquifers
record component.- Returns:
- the value of the
aquifers
record component
-
usesLegacyRandom
public boolean usesLegacyRandom()Returns the value of theusesLegacyRandom
record component.- Returns:
- the value of the
usesLegacyRandom
record component
-