Class MineShaftPieces.MineShaftRoom
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.MineShaftPieces.MineShaftPiece
net.minecraft.world.level.levelgen.structure.MineShaftPieces.MineShaftRoom
- Enclosing class:
- MineShaftPieces
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
StructurePiece.BlockSelector
-
Field Summary
Fields inherited from class net.minecraft.world.level.levelgen.structure.MineShaftPieces.MineShaftPiece
type
Fields inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
Constructor Summary
ConstructorDescriptionMineShaftRoom(int p_71486_, Random p_71487_, int p_71488_, int p_71489_, MineshaftFeature.Type p_71490_)
MineShaftRoom(ServerLevel p_162595_, CompoundTag p_162596_)
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData(ServerLevel p_162598_, CompoundTag p_162599_)
void
addChildren(StructurePiece p_162601_, StructurePieceAccessor p_162602_, Random p_162603_)
void
move(int p_71495_, int p_71496_, int p_71497_)
boolean
postProcess(WorldGenLevel p_71499_, StructureFeatureManager p_71500_, ChunkGenerator p_71501_, Random p_71502_, BoundingBox p_71503_, ChunkPos p_71504_, BlockPos p_71505_)
Methods inherited from class net.minecraft.world.level.levelgen.structure.MineShaftPieces.MineShaftPiece
canBeReplaced, edgesLiquid, isSupportingBox, setPlanksBlock
Methods inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
createChest, createChest, createDispenser, createTag, fillColumnDown, generateAirBox, generateBox, generateBox, generateBox, generateBox, generateMaybeBox, generateUpperHalfSphere, getBlock, getBoundingBox, getGenDepth, getLocatorPosition, getMirror, getNoiseEffect, getOrientation, getRandomHorizontalDirection, getRotation, getType, getWorldPos, getWorldX, getWorldY, getWorldZ, isCloseToChunk, isInterior, isReplaceableByStructures, makeBoundingBox, maybeGenerateBlock, placeBlock, reorient, setOrientation
-
Field Details
-
childEntranceBoxes
-
-
Constructor Details
-
MineShaftRoom
public MineShaftRoom(int p_71486_, Random p_71487_, int p_71488_, int p_71489_, MineshaftFeature.Type p_71490_) -
MineShaftRoom
-
-
Method Details
-
addChildren
public void addChildren(StructurePiece p_162601_, StructurePieceAccessor p_162602_, Random p_162603_)- Overrides:
addChildren
in classStructurePiece
-
postProcess
public boolean postProcess(WorldGenLevel p_71499_, StructureFeatureManager p_71500_, ChunkGenerator p_71501_, Random p_71502_, BoundingBox p_71503_, ChunkPos p_71504_, BlockPos p_71505_)- Specified by:
postProcess
in classStructurePiece
-
move
public void move(int p_71495_, int p_71496_, int p_71497_)- Overrides:
move
in classStructurePiece
-
addAdditionalSaveData
- Overrides:
addAdditionalSaveData
in classMineShaftPieces.MineShaftPiece
-