Class WoodlandMansionStructure
java.lang.Object
net.minecraft.world.level.levelgen.structure.Structure
net.minecraft.world.level.levelgen.structure.structures.WoodlandMansionStructure
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.structure.Structure
Structure.GenerationContext, Structure.GenerationStub, Structure.StructureSettings -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<WoodlandMansionStructure> Fields inherited from class net.minecraft.world.level.levelgen.structure.Structure
DIRECT_CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterPlace(WorldGenLevel level, StructureManager structureManager, ChunkGenerator chunkGenerator, RandomSource random, BoundingBox boundingBox, ChunkPos chunkPos, PiecesContainer pieces) private voidgeneratePieces(StructurePiecesBuilder builder, Structure.GenerationContext context, BlockPos pos, Rotation rotation) type()Methods inherited from class net.minecraft.world.level.levelgen.structure.Structure
adjustBoundingBox, biomes, findValidGenerationPoint, generate, getLowestY, getLowestY, getLowestYIn5by5BoxOffset7Blocks, getMeanFirstOccupiedHeight, getModifiedStructureSettings, modifiableStructureInfo, onTopOfChunkCenter, settingsCodec, simpleCodec, spawnOverrides, step, terrainAdaptation
-
Field Details
-
CODEC
-
-
Constructor Details
-
WoodlandMansionStructure
-
-
Method Details
-
findGenerationPoint
- Specified by:
findGenerationPointin classStructure
-
generatePieces
private void generatePieces(StructurePiecesBuilder builder, Structure.GenerationContext context, BlockPos pos, Rotation rotation) -
afterPlace
public void afterPlace(WorldGenLevel level, StructureManager structureManager, ChunkGenerator chunkGenerator, RandomSource random, BoundingBox boundingBox, ChunkPos chunkPos, PiecesContainer pieces) - Overrides:
afterPlacein classStructure
-
type
-