类 ChunkGeneratorSettings
- java.lang.Object
-
- net.minecraft.world.gen.chunk.ChunkGeneratorSettings
-
public final class ChunkGeneratorSettings extends Object
- Mappings:
Namespace Name official cotintermediary net/minecraft/class_5284named net/minecraft/world/gen/chunk/ChunkGeneratorSettings
-
-
字段概要
字段 修饰符和类型 字段 说明 static RegistryKey<ChunkGeneratorSettings>AMPLIFIEDprivate booleanaquifersprivate intbedrockCeilingYprivate intbedrockFloorYstatic RegistryKey<ChunkGeneratorSettings>CAVESstatic com.mojang.serialization.Codec<ChunkGeneratorSettings>CODECprivate booleandeepslateprivate BlockStatedefaultBlockprivate BlockStatedefaultFluidstatic RegistryKey<ChunkGeneratorSettings>ENDprivate intfield_33412static RegistryKey<ChunkGeneratorSettings>FLOATING_ISLANDSprivate GenerationShapeConfiggenerationShapeConfigprivate static ChunkGeneratorSettingsINSTANCEprivate booleanmobGenerationDisabledstatic RegistryKey<ChunkGeneratorSettings>NETHERprivate booleannoiseCavesstatic RegistryKey<ChunkGeneratorSettings>OVERWORLDstatic com.mojang.serialization.Codec<Supplier<ChunkGeneratorSettings>>REGISTRY_CODECprivate intseaLevelprivate StructuresConfigstructuresConfig
-
构造器概要
构造器 限定符 构造器 说明 privateChunkGeneratorSettings(StructuresConfig structuresConfig, GenerationShapeConfig generationShapeConfig, BlockState defaultBlock, BlockState defaultFluid, int bedrockCeilingY, int bedrockFloorY, int seaLevel, int int2, boolean bool, boolean bool2, boolean bool3, boolean bool4)
-
方法概要
-
-
-
字段详细资料
-
CODEC
public static final com.mojang.serialization.Codec<ChunkGeneratorSettings> CODEC
- Mappings:
Namespace Name Mixin selector official aLcot;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
public static final com.mojang.serialization.Codec<Supplier<ChunkGeneratorSettings>> REGISTRY_CODEC
- Mappings:
Namespace Name Mixin selector official bLcot;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
public static final RegistryKey<ChunkGeneratorSettings> OVERWORLD
- Mappings:
Namespace Name Mixin selector official cLcot;c:Lwo;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;
-
AMPLIFIED
public static final RegistryKey<ChunkGeneratorSettings> AMPLIFIED
- Mappings:
Namespace Name Mixin selector official dLcot;d:Lwo;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
public static final RegistryKey<ChunkGeneratorSettings> NETHER
- Mappings:
Namespace Name Mixin selector official eLcot;e:Lwo;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
public static final RegistryKey<ChunkGeneratorSettings> END
- Mappings:
Namespace Name Mixin selector official fLcot;f:Lwo;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
public static final RegistryKey<ChunkGeneratorSettings> CAVES
- Mappings:
Namespace Name Mixin selector official gLcot;g:Lwo;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
public static final RegistryKey<ChunkGeneratorSettings> FLOATING_ISLANDS
- Mappings:
Namespace Name Mixin selector official hLcot;h:Lwo;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
private static final ChunkGeneratorSettings INSTANCE
- Mappings:
Namespace Name Mixin selector official uLcot;u:Lcot;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;
-
structuresConfig
private final StructuresConfig structuresConfig
- Mappings:
Namespace Name Mixin selector official iLcot;i:Lcpd;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
private final GenerationShapeConfig generationShapeConfig
- Mappings:
Namespace Name Mixin selector official jLcot;j:Lcox;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
private final BlockState defaultBlock
- Mappings:
Namespace Name Mixin selector official kLcot;k:Lcjr;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
private final BlockState defaultFluid
- Mappings:
Namespace Name Mixin selector official lLcot;l:Lcjr;intermediary field_24515Lnet/minecraft/class_5284;field_24515:Lnet/minecraft/class_2680;named defaultFluidLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;defaultFluid:Lnet/minecraft/block/BlockState;
-
bedrockCeilingY
private final int bedrockCeilingY
- Mappings:
Namespace Name Mixin selector official mLcot;m:Iintermediary field_24783Lnet/minecraft/class_5284;field_24783:Inamed bedrockCeilingYLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;bedrockCeilingY:I
-
bedrockFloorY
private final int bedrockFloorY
- Mappings:
Namespace Name Mixin selector official nLcot;n:Iintermediary field_24784Lnet/minecraft/class_5284;field_24784:Inamed bedrockFloorYLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;bedrockFloorY:I
-
seaLevel
private final int seaLevel
- Mappings:
Namespace Name Mixin selector official oLcot;o:Iintermediary field_24785Lnet/minecraft/class_5284;field_24785:Inamed seaLevelLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;seaLevel:I
-
field_33412
private final int field_33412
- Mappings:
Namespace Name Mixin selector official pLcot;p:Iintermediary field_33412Lnet/minecraft/class_5284;field_33412:Inamed field_33412Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;field_33412:I
-
mobGenerationDisabled
private final boolean mobGenerationDisabled
- Mappings:
Namespace Name Mixin selector official qLcot;q: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 rLcot;r: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 sLcot;s:Zintermediary field_28847Lnet/minecraft/class_5284;field_28847:Znamed noiseCavesLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;noiseCaves:Z
-
deepslate
private final boolean deepslate
- Mappings:
Namespace Name Mixin selector official tLcot;t:Zintermediary field_28914Lnet/minecraft/class_5284;field_28914:Znamed deepslateLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;deepslate:Z
-
-
构造器详细资料
-
ChunkGeneratorSettings
private ChunkGeneratorSettings(StructuresConfig structuresConfig, GenerationShapeConfig generationShapeConfig, BlockState defaultBlock, BlockState defaultFluid, int bedrockCeilingY, int bedrockFloorY, int seaLevel, int int2, boolean bool, boolean bool2, boolean bool3, boolean bool4)
- Mappings:
Namespace Name Mixin selector official <init>Lcot;<init>(Lcpd;Lcox;Lcjr;Lcjr;IIIIZZZZ)Vintermediary <init>Lnet/minecraft/class_5284;<init>(Lnet/minecraft/class_5311;Lnet/minecraft/class_5309;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;IIIIZZZZ)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;IIIIZZZZ)V
-
-
方法详细资料
-
getStructuresConfig
public StructuresConfig getStructuresConfig()
- Mappings:
Namespace Name Mixin selector official aLcot;a()Lcpd;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
public GenerationShapeConfig getGenerationShapeConfig()
- Mappings:
Namespace Name Mixin selector official bLcot;b()Lcox;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
public BlockState getDefaultBlock()
- Mappings:
Namespace Name Mixin selector official cLcot;c()Lcjr;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
public BlockState getDefaultFluid()
- Mappings:
Namespace Name Mixin selector official dLcot;d()Lcjr;intermediary method_28006Lnet/minecraft/class_5284;method_28006()Lnet/minecraft/class_2680;named getDefaultFluidLnet/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 eLcot;e()Iintermediary method_16400Lnet/minecraft/class_5284;method_16400()Inamed getBedrockCeilingYLnet/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 fLcot;f()Iintermediary method_16401Lnet/minecraft/class_5284;method_16401()Inamed getBedrockFloorYLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;getBedrockFloorY()I
-
getSeaLevel
public int getSeaLevel()
- Mappings:
Namespace Name Mixin selector official gLcot;g()Iintermediary method_28561Lnet/minecraft/class_5284;method_28561()Inamed getSeaLevelLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;getSeaLevel()I
-
method_36212
public int method_36212()
- Mappings:
Namespace Name Mixin selector official hLcot;h()Iintermediary method_36212Lnet/minecraft/class_5284;method_36212()Inamed method_36212Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;method_36212()I
-
isMobGenerationDisabled
@Deprecated protected boolean isMobGenerationDisabled()
已过时。Whether entities will be generated during chunk population.It does not control whether spawns will occur during gameplay.
- Mappings:
Namespace Name Mixin selector official iLcot;i()Zintermediary method_28562Lnet/minecraft/class_5284;method_28562()Znamed isMobGenerationDisabledLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;isMobGenerationDisabled()Z
-
hasAquifers
protected boolean hasAquifers()
- Mappings:
Namespace Name Mixin selector official jLcot;j()Zintermediary method_33757Lnet/minecraft/class_5284;method_33757()Znamed hasAquifersLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;hasAquifers()Z
-
hasNoiseCaves
protected boolean hasNoiseCaves()
- Mappings:
Namespace Name Mixin selector official kLcot;k()Zintermediary method_33758Lnet/minecraft/class_5284;method_33758()Znamed hasNoiseCavesLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;hasNoiseCaves()Z
-
hasDeepslate
protected boolean hasDeepslate()
- Mappings:
Namespace Name Mixin selector official lLcot;l()Zintermediary method_33839Lnet/minecraft/class_5284;method_33839()Znamed hasDeepslateLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;hasDeepslate()Z
-
equals
public boolean equals(RegistryKey<ChunkGeneratorSettings> registryKey)
- Mappings:
Namespace Name Mixin selector official aLcot;a(Lwo;)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 aLcot;a(Lwo;Lcot;)Lcot;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
public static ChunkGeneratorSettings getInstance()
- Mappings:
Namespace Name Mixin selector official mLcot;m()Lcot;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, boolean bool3)
- Mappings:
Namespace Name Mixin selector official aLcot;a(Lcpd;Lcjr;Lcjr;ZZZ)Lcot;intermediary method_30642Lnet/minecraft/class_5284;method_30642(Lnet/minecraft/class_5311;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;ZZZ)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;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 aLcot;a(Lcpd;Lcjr;Lcjr;Z)Lcot;intermediary method_30641Lnet/minecraft/class_5284;method_30641(Lnet/minecraft/class_5311;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;Z)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;Z)Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;
-
createSurfaceSettings
private static ChunkGeneratorSettings createSurfaceSettings(StructuresConfig structuresConfig, boolean amplified)
- Mappings:
Namespace Name Mixin selector official aLcot;a(Lcpd;Z)Lcot;intermediary method_30643Lnet/minecraft/class_5284;method_30643(Lnet/minecraft/class_5311;Z)Lnet/minecraft/class_5284;named createSurfaceSettingsLnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;createSurfaceSettings(Lnet/minecraft/world/gen/chunk/StructuresConfig;Z)Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;
-
-