Package net.minecraft.world.gen.settings
Class DimensionStructuresSettings
- java.lang.Object
-
- net.minecraft.world.gen.settings.DimensionStructuresSettings
-
public class DimensionStructuresSettings extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<DimensionStructuresSettings>
CODEC
static StructureSpreadSettings
DEFAULT_STRONGHOLD
static com.google.common.collect.ImmutableMap<Structure<?>,StructureSeparationSettings>
DEFAULTS
private StructureSpreadSettings
stronghold
private java.util.Map<Structure<?>,StructureSeparationSettings>
structureConfig
-
Constructor Summary
Constructors Constructor Description DimensionStructuresSettings(boolean p_i231913_1_)
DimensionStructuresSettings(java.util.Optional<StructureSpreadSettings> p_i231912_1_, java.util.Map<Structure<?>,StructureSeparationSettings> p_i231912_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StructureSeparationSettings
getConfig(Structure<?> p_236197_1_)
StructureSpreadSettings
stronghold()
java.util.Map<Structure<?>,StructureSeparationSettings>
structureConfig()
-
-
-
Field Detail
-
CODEC
public static final com.mojang.serialization.Codec<DimensionStructuresSettings> CODEC
-
DEFAULTS
public static final com.google.common.collect.ImmutableMap<Structure<?>,StructureSeparationSettings> DEFAULTS
-
DEFAULT_STRONGHOLD
public static final StructureSpreadSettings DEFAULT_STRONGHOLD
-
structureConfig
private final java.util.Map<Structure<?>,StructureSeparationSettings> structureConfig
-
stronghold
@Nullable private final StructureSpreadSettings stronghold
-
-
Constructor Detail
-
DimensionStructuresSettings
public DimensionStructuresSettings(java.util.Optional<StructureSpreadSettings> p_i231912_1_, java.util.Map<Structure<?>,StructureSeparationSettings> p_i231912_2_)
-
DimensionStructuresSettings
public DimensionStructuresSettings(boolean p_i231913_1_)
-
-
Method Detail
-
structureConfig
public java.util.Map<Structure<?>,StructureSeparationSettings> structureConfig()
-
getConfig
@Nullable public StructureSeparationSettings getConfig(Structure<?> p_236197_1_)
-
stronghold
@Nullable public StructureSpreadSettings stronghold()
-
-