Class MineshaftStructure
java.lang.Object
net.minecraft.world.level.levelgen.structure.Structure
net.minecraft.world.level.levelgen.structure.structures.MineshaftStructure
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class Structure
Structure.GenerationContext, Structure.GenerationStub, Structure.StructureSettings -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<MineshaftStructure> private final MineshaftStructure.TypeFields inherited from class Structure
DIRECT_CODEC -
Constructor Summary
ConstructorsConstructorDescriptionMineshaftStructure(Structure.StructureSettings settings, MineshaftStructure.Type type) -
Method Summary
Modifier and TypeMethodDescriptionprivate intgeneratePiecesAndAdjust(StructurePiecesBuilder builder, Structure.GenerationContext context) type()Methods inherited from class Structure
adjustBoundingBox, afterPlace, biomes, findValidGenerationPoint, generate, getLowestY, getLowestY, getLowestYIn5by5BoxOffset7Blocks, getMeanFirstOccupiedHeight, getModifiedStructureSettings, modifiableStructureInfo, onTopOfChunkCenter, settingsCodec, simpleCodec, spawnOverrides, step, terrainAdaptation
-
Field Details
-
CODEC
-
type
-
-
Constructor Details
-
MineshaftStructure
-
-
Method Details
-
findGenerationPoint
- Specified by:
findGenerationPointin classStructure
-
generatePiecesAndAdjust
private int generatePiecesAndAdjust(StructurePiecesBuilder builder, Structure.GenerationContext context) -
type
-