Uses of Enum Class
net.minecraft.world.level.levelgen.structure.TerrainAdjustment
Package
Description
-
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.private TerrainAdjustment
Structure.StructureSettings.Builder.terrainAdaption
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.Modifier and TypeMethodDescriptionStructure.StructureSettings.Builder.terrainAdapation
(TerrainAdjustment p_352176_) 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.neoforged.neoforge.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)