Class NoiseGeneratorSettings
java.lang.Object
net.minecraft.world.level.levelgen.NoiseGeneratorSettings
-
Field Summary
Modifier and TypeFieldDescriptionstatic ResourceKey<NoiseGeneratorSettings>
private boolean
private int
private int
private static NoiseGeneratorSettings
static ResourceKey<NoiseGeneratorSettings>
static com.mojang.serialization.Codec<Supplier<NoiseGeneratorSettings>>
private boolean
private BlockState
private BlockState
static com.mojang.serialization.Codec<NoiseGeneratorSettings>
private boolean
static ResourceKey<NoiseGeneratorSettings>
static ResourceKey<NoiseGeneratorSettings>
private int
static ResourceKey<NoiseGeneratorSettings>
private boolean
private NoiseSettings
private boolean
private boolean
static ResourceKey<NoiseGeneratorSettings>
private int
private StructureSettings
-
Constructor Summary
ConstructorDescriptionNoiseGeneratorSettings(StructureSettings p_158539_, NoiseSettings p_158540_, BlockState p_158541_, BlockState p_158542_, int p_158543_, int p_158544_, int p_158545_, int p_158546_, boolean p_158547_, boolean p_158548_, boolean p_158549_, boolean p_158550_, boolean p_158551_, boolean p_158552_)
-
Method Summary
Modifier and TypeMethodDescriptionstatic NoiseGeneratorSettings
boolean
Deprecated.static NoiseGeneratorSettings
endLikePreset(StructureSettings p_158558_, BlockState p_158559_, BlockState p_158560_, boolean p_158561_, boolean p_158562_)
int
int
int
boolean
boolean
boolean
boolean
boolean
static NoiseGeneratorSettings
netherLikePreset(StructureSettings p_158554_, BlockState p_158555_, BlockState p_158556_)
static NoiseGeneratorSettings
overworld(StructureSettings p_158564_, boolean p_158565_)
static NoiseGeneratorSettings
register(ResourceKey<NoiseGeneratorSettings> p_64479_, NoiseGeneratorSettings p_64480_)
int
seaLevel()
boolean
stable(ResourceKey<NoiseGeneratorSettings> p_64477_)
-
Field Details
-
DIRECT_CODEC
-
CODEC
-
structureSettings
-
noiseSettings
-
defaultBlock
-
defaultFluid
-
bedrockRoofPosition
private final int bedrockRoofPosition -
bedrockFloorPosition
private final int bedrockFloorPosition -
seaLevel
private final int seaLevel -
minSurfaceLevel
private final int minSurfaceLevel -
disableMobGeneration
private final boolean disableMobGeneration -
aquifersEnabled
private final boolean aquifersEnabled -
noiseCavesEnabled
private final boolean noiseCavesEnabled -
deepslateEnabled
private final boolean deepslateEnabled -
oreVeinsEnabled
private final boolean oreVeinsEnabled -
noodleCavesEnabled
private final boolean noodleCavesEnabled -
OVERWORLD
-
AMPLIFIED
-
NETHER
-
END
-
CAVES
-
FLOATING_ISLANDS
-
BUILTIN_OVERWORLD
-
-
Constructor Details
-
NoiseGeneratorSettings
public NoiseGeneratorSettings(StructureSettings p_158539_, NoiseSettings p_158540_, BlockState p_158541_, BlockState p_158542_, int p_158543_, int p_158544_, int p_158545_, int p_158546_, boolean p_158547_, boolean p_158548_, boolean p_158549_, boolean p_158550_, boolean p_158551_, boolean p_158552_)
-
-
Method Details
-
structureSettings
-
noiseSettings
-
getDefaultBlock
-
getDefaultFluid
-
getBedrockRoofPosition
public int getBedrockRoofPosition() -
getBedrockFloorPosition
public int getBedrockFloorPosition() -
seaLevel
public int seaLevel() -
getMinSurfaceLevel
public int getMinSurfaceLevel() -
disableMobGeneration
Deprecated. -
isAquifersEnabled
public boolean isAquifersEnabled() -
isNoiseCavesEnabled
public boolean isNoiseCavesEnabled() -
isDeepslateEnabled
public boolean isDeepslateEnabled() -
isOreVeinsEnabled
public boolean isOreVeinsEnabled() -
isNoodleCavesEnabled
public boolean isNoodleCavesEnabled() -
stable
-
register
public static NoiseGeneratorSettings register(ResourceKey<NoiseGeneratorSettings> p_64479_, NoiseGeneratorSettings p_64480_) -
bootstrap
-
endLikePreset
public static NoiseGeneratorSettings endLikePreset(StructureSettings p_158558_, BlockState p_158559_, BlockState p_158560_, boolean p_158561_, boolean p_158562_) -
netherLikePreset
public static NoiseGeneratorSettings netherLikePreset(StructureSettings p_158554_, BlockState p_158555_, BlockState p_158556_) -
overworld
-