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 Structure
Structure.GenerationContext, Structure.GenerationStub, Structure.StructureSettings -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<WoodlandMansionStructure> private static final intFields inherited from class Structure
DIRECT_CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterPlace(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, PiecesContainer pieces) private voidgeneratePieces(StructurePiecesBuilder builder, Structure.GenerationContext context, BlockPos startPos, Rotation rotation) type()Methods inherited from class Structure
adjustBoundingBox, biomes, findValidGenerationPoint, generate, getLowestY, getLowestY, getLowestYIn5by5Box, getMeanFirstOccupiedHeight, getModifiedStructureSettings, modifiableStructureInfo, onTopOfChunkCenter, onTopOfChunkCenterWithoutBiomeCheck, settingsCodec, simpleCodec, spawnOverrides, step, terrainAdaptation
-
Field Details
-
CODEC
-
START_OFFSET_IN_CHUNK
private static final int START_OFFSET_IN_CHUNK- See Also:
-
-
Constructor Details
-
WoodlandMansionStructure
-
-
Method Details
-
findGenerationPoint
- Specified by:
findGenerationPointin classStructure
-
generatePieces
private void generatePieces(StructurePiecesBuilder builder, Structure.GenerationContext context, BlockPos startPos, Rotation rotation) -
afterPlace
public void afterPlace(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, PiecesContainer pieces) - Overrides:
afterPlacein classStructure
-
type
-