Class MineshaftStructure
java.lang.Object
net.minecraft.world.level.levelgen.structure.Structure
net.minecraft.world.level.levelgen.structure.structures.MineshaftStructure
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.structure.Structure
Structure.GenerationContext, Structure.GenerationStub, Structure.StructureSettings
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<MineshaftStructure>
private final MineshaftStructure.Type
Fields inherited from class net.minecraft.world.level.levelgen.structure.Structure
DIRECT_CODEC
-
Constructor Summary
ConstructorDescriptionMineshaftStructure
(Structure.StructureSettings p_227961_, MineshaftStructure.Type p_227962_) -
Method Summary
Modifier and TypeMethodDescriptionfindGenerationPoint
(Structure.GenerationContext p_227964_) private int
generatePiecesAndAdjust
(StructurePiecesBuilder p_227966_, Structure.GenerationContext p_227967_) type()
Methods inherited from class net.minecraft.world.level.levelgen.structure.Structure
adjustBoundingBox, afterPlace, biomes, findValidGenerationPoint, generate, getLowestY, getLowestY, getLowestYIn5by5BoxOffset7Blocks, getModifiedStructureSettings, modifiableStructureInfo, onTopOfChunkCenter, settingsCodec, simpleCodec, spawnOverrides, step, terrainAdaptation
-
Field Details
-
CODEC
-
type
-
-
Constructor Details
-
MineshaftStructure
-
-
Method Details
-
findGenerationPoint
public Optional<Structure.GenerationStub> findGenerationPoint(Structure.GenerationContext p_227964_) - Specified by:
findGenerationPoint
in classStructure
-
generatePiecesAndAdjust
private int generatePiecesAndAdjust(StructurePiecesBuilder p_227966_, Structure.GenerationContext p_227967_) -
type
-