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> Fields 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, 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 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
-