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
(HolderSet<Biome> p_256015_, Map<MobCategory, StructureSpawnOverride> p_256297_, GenerationStep.Decoration p_255729_, TerrainAdjustment p_255865_) private static Structure.StructureSettings
Structures.structure
(HolderSet<Biome> p_255731_, GenerationStep.Decoration p_256551_, TerrainAdjustment p_256463_) private static Structure.StructureSettings
Structures.structure
(HolderSet<Biome> p_256501_, TerrainAdjustment p_255704_) -
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.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)