public class FlatGenerationSettings extends GenerationSettings
Modifier and Type | Field and Description |
---|---|
private boolean |
allAir |
private Biome |
biomeToUse |
private static ConfiguredFeature<?,?> |
DESERT_PYRAMID |
private static ConfiguredFeature<?,?> |
END_CITY |
static java.util.Map<ConfiguredFeature<?,?>,IFeatureConfig> |
FEATURE_CONFIGS |
static java.util.Map<ConfiguredFeature<?,?>,GenerationStage.Decoration> |
FEATURE_STAGES |
private int |
field_202246_E |
private java.util.List<FlatLayerInfo> |
flatLayers |
private static ConfiguredFeature<?,?> |
FORTRESS |
private static ConfiguredFeature<?,?> |
IGLOO |
private static ConfiguredFeature<?,?> |
JUNGLE_TEMPLE |
private static ConfiguredFeature<?,?> |
LAKE_LAVA |
private static ConfiguredFeature<?,?> |
LAKE_WATER |
private static org.apache.logging.log4j.Logger |
LOGGER |
private static ConfiguredFeature<?,?> |
MINESHAFT |
private static ConfiguredFeature<?,?> |
OCEAN_MONUMENT |
private static ConfiguredFeature<?,?> |
OCEAN_RUIN |
private static ConfiguredFeature<?,?> |
PILLAGER_OUTPOST |
private static ConfiguredFeature<?,?> |
SHIPWRECK |
private BlockState[] |
states |
private static ConfiguredFeature<?,?> |
STRONGHOLD |
static java.util.Map<java.lang.String,ConfiguredFeature<?,?>[]> |
STRUCTURES |
private static ConfiguredFeature<?,?> |
SWAMP_HUT |
private static ConfiguredFeature<?,?> |
VILLAGE |
private static ConfiguredFeature<?,?> |
WOODLAND_MANSION |
private java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> |
worldFeatures |
biomeFeatureDistance, defaultBlock, defaultFluid, endCityDistance, endCitySeparation, field_214979_i, field_214980_j, field_214981_k, field_214984_n, field_214985_o, mansionDistance, mansionSeparation, oceanMonumentSeparation, oceanMonumentSpacing, strongholdCount, strongholdDistance, strongholdSpread, villageDistance, villageSeparation
Constructor and Description |
---|
FlatGenerationSettings() |
Modifier and Type | Method and Description |
---|---|
private void |
addStructure(java.lang.String structureIn) |
static FlatGenerationSettings |
createFlatGenerator(com.mojang.datafixers.Dynamic<?> settings) |
static FlatGenerationSettings |
createFlatGeneratorFromString(java.lang.String flatGeneratorSettings) |
private static FlatLayerInfo |
deserializeLayer(java.lang.String p_197526_0_,
int p_197526_1_) |
private static java.util.List<FlatLayerInfo> |
deserializeLayers(java.lang.String p_197527_0_) |
<T> com.mojang.datafixers.Dynamic<T> |
func_210834_a(com.mojang.datafixers.types.DynamicOps<T> p_210834_1_) |
void |
func_214990_a(int p_214990_1_) |
Biome |
getBiome() |
static Block |
getBlock(java.lang.String p_212683_0_) |
static FlatGenerationSettings |
getDefaultFlatGenerator() |
java.util.List<FlatLayerInfo> |
getFlatLayers() |
BlockState[] |
getStates() |
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> |
getWorldFeatures() |
boolean |
isAllAir() |
void |
setBiome(Biome biome) |
private void |
setStructureOption(java.lang.String structureIn,
java.lang.String key,
java.lang.String value) |
java.lang.String |
toString() |
void |
updateLayers() |
getBedrockFloorHeight, getBedrockRoofHeight, getBiomeFeatureDistance, getBiomeFeatureSeparation, getDefaultBlock, getDefaultFluid, getEndCityDistance, getEndCitySeparation, getMansionDistance, getMansionSeparation, getOceanMonumentSeparation, getOceanMonumentSpacing, getOceanRuinDistance, getOceanRuinSeparation, getShipwreckDistance, getShipwreckSeparation, getStrongholdCount, getStrongholdDistance, getStrongholdSpread, getVillageDistance, getVillageSeparation, setDefaultBlock, setDefaultFluid
private static final org.apache.logging.log4j.Logger LOGGER
private static final ConfiguredFeature<?,?> MINESHAFT
private static final ConfiguredFeature<?,?> VILLAGE
private static final ConfiguredFeature<?,?> STRONGHOLD
private static final ConfiguredFeature<?,?> SWAMP_HUT
private static final ConfiguredFeature<?,?> DESERT_PYRAMID
private static final ConfiguredFeature<?,?> JUNGLE_TEMPLE
private static final ConfiguredFeature<?,?> IGLOO
private static final ConfiguredFeature<?,?> SHIPWRECK
private static final ConfiguredFeature<?,?> OCEAN_MONUMENT
private static final ConfiguredFeature<?,?> LAKE_WATER
private static final ConfiguredFeature<?,?> LAKE_LAVA
private static final ConfiguredFeature<?,?> END_CITY
private static final ConfiguredFeature<?,?> WOODLAND_MANSION
private static final ConfiguredFeature<?,?> FORTRESS
private static final ConfiguredFeature<?,?> OCEAN_RUIN
private static final ConfiguredFeature<?,?> PILLAGER_OUTPOST
public static final java.util.Map<ConfiguredFeature<?,?>,GenerationStage.Decoration> FEATURE_STAGES
public static final java.util.Map<java.lang.String,ConfiguredFeature<?,?>[]> STRUCTURES
public static final java.util.Map<ConfiguredFeature<?,?>,IFeatureConfig> FEATURE_CONFIGS
private final java.util.List<FlatLayerInfo> flatLayers
private final java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> worldFeatures
private Biome biomeToUse
private final BlockState[] states
private boolean allAir
private int field_202246_E
@Nullable public static Block getBlock(java.lang.String p_212683_0_)
public Biome getBiome()
public void setBiome(Biome biome)
public java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getWorldFeatures()
public java.util.List<FlatLayerInfo> getFlatLayers()
public void updateLayers()
public java.lang.String toString()
toString
in class java.lang.Object
@Nullable private static FlatLayerInfo deserializeLayer(java.lang.String p_197526_0_, int p_197526_1_)
private static java.util.List<FlatLayerInfo> deserializeLayers(java.lang.String p_197527_0_)
public <T> com.mojang.datafixers.Dynamic<T> func_210834_a(com.mojang.datafixers.types.DynamicOps<T> p_210834_1_)
public static FlatGenerationSettings createFlatGenerator(com.mojang.datafixers.Dynamic<?> settings)
public static FlatGenerationSettings createFlatGeneratorFromString(java.lang.String flatGeneratorSettings)
private void addStructure(java.lang.String structureIn)
private void setStructureOption(java.lang.String structureIn, java.lang.String key, java.lang.String value)
public static FlatGenerationSettings getDefaultFlatGenerator()
public boolean isAllAir()
public BlockState[] getStates()
public void func_214990_a(int p_214990_1_)