Uses of Enum Class
net.minecraft.world.level.levelgen.structure.TerrainAdjustment
Package
Description
-
Uses of TerrainAdjustment in net.minecraft.data.worldgen
Modifier and TypeMethodDescriptionprivate static Structure.StructureSettings
Structures.structure
(TagKey<Biome> p_236546_, Map<MobCategory, StructureSpawnOverride> p_236547_, GenerationStep.Decoration p_236548_, TerrainAdjustment p_236549_) private static Structure.StructureSettings
Structures.structure
(TagKey<Biome> p_236539_, GenerationStep.Decoration p_236540_, TerrainAdjustment p_236541_) private static Structure.StructureSettings
Structures.structure
(TagKey<Biome> p_236543_, TerrainAdjustment p_236544_) -
Uses of TerrainAdjustment in net.minecraft.world.level.levelgen
Modifier and TypeFieldDescriptionprivate final TerrainAdjustment
Beardifier.Rigid.terrainAdjustment
The field for theterrainAdjustment
record component.Modifier and TypeMethodDescriptionBeardifier.Rigid.terrainAdjustment()
Returns the value of theterrainAdjustment
record component.ModifierConstructorDescriptionRigid
(BoundingBox box, TerrainAdjustment terrainAdjustment, int groundLevelDelta) Creates an instance of aRigid
record class. -
Uses of TerrainAdjustment in net.minecraft.world.level.levelgen.structure
Modifier and TypeFieldDescriptionprivate final TerrainAdjustment
Structure.StructureSettings.terrainAdaptation
The field for theterrainAdaptation
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<TerrainAdjustment>
TerrainAdjustment.CODEC
Modifier and TypeMethodDescriptionStructure.StructureSettings.terrainAdaptation()
Returns the value of theterrainAdaptation
record component.Structure.terrainAdaptation()
static TerrainAdjustment
Returns the enum constant of this class with the specified name.static TerrainAdjustment[]
TerrainAdjustment.values()
Returns an array containing the constants of this enum class, in the order they are declared.ModifierConstructorDescriptionStructureSettings
(HolderSet<Biome> biomes, Map<MobCategory, StructureSpawnOverride> spawnOverrides, GenerationStep.Decoration step, TerrainAdjustment terrainAdaptation) Creates an instance of aStructureSettings
record class. -
Uses of TerrainAdjustment in net.minecraftforge.common.world
Modifier and TypeFieldDescriptionprivate TerrainAdjustment
StructureSettingsBuilder.terrainAdaptation
Modifier and TypeMethodDescriptionStructureSettingsBuilder.getTerrainAdaptation()
Gets the way the structure adapts to the terrain during generation.PieceBeardifierModifier.getTerrainAdjustment()
Modifier and TypeMethodDescriptionvoid
StructureSettingsBuilder.setTerrainAdaptation
(TerrainAdjustment terrainAdaptation) Sets the way the structure adapts to the terrain during generation.ModifierConstructorDescriptionprivate
StructureSettingsBuilder
(HolderSet<Biome> biomes, Map<MobCategory, StructureSpawnOverride> spawnOverrides, GenerationStep.Decoration step, TerrainAdjustment terrainAdaptation)