Class MineshaftPieces.MineShaftRoom
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.structures.MineshaftPieces.MineShaftPiece
net.minecraft.world.level.levelgen.structure.structures.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.structures.MineshaftPieces.MineShaftPiece
type
Fields inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
Constructor Summary
ConstructorDescriptionMineShaftRoom
(int p_227902_, RandomSource p_227903_, int p_227904_, int p_227905_, MineshaftStructure.Type p_227906_) MineShaftRoom
(CompoundTag p_227908_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(StructurePieceSerializationContext p_227926_, CompoundTag p_227927_) void
addChildren
(StructurePiece p_227922_, StructurePieceAccessor p_227923_, RandomSource p_227924_) void
move
(int p_227910_, int p_227911_, int p_227912_) void
postProcess
(WorldGenLevel p_227914_, StructureManager p_227915_, ChunkGenerator p_227916_, RandomSource p_227917_, BoundingBox p_227918_, ChunkPos p_227919_, BlockPos p_227920_) Methods inherited from class net.minecraft.world.level.levelgen.structure.structures.MineshaftPieces.MineShaftPiece
canBeReplaced, isInInvalidLocation, isSupportingBox, setPlanksBlock
Methods inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
createBoundingBox, createChest, createChest, createDispenser, createTag, fillColumnDown, findCollisionPiece, generateAirBox, generateBox, generateBox, generateBox, generateBox, generateMaybeBox, generateUpperHalfSphere, getBlock, getBoundingBox, getGenDepth, getLocatorPosition, getMirror, getOrientation, getRandomHorizontalDirection, getRotation, getType, getWorldPos, getWorldX, getWorldY, getWorldZ, isCloseToChunk, isInterior, isReplaceableByStructures, makeBoundingBox, maybeGenerateBlock, placeBlock, reorient, setGenDepth, setOrientation
-
Field Details
-
childEntranceBoxes
-
-
Constructor Details
-
MineShaftRoom
public MineShaftRoom(int p_227902_, RandomSource p_227903_, int p_227904_, int p_227905_, MineshaftStructure.Type p_227906_) -
MineShaftRoom
-
-
Method Details
-
addChildren
public void addChildren(StructurePiece p_227922_, StructurePieceAccessor p_227923_, RandomSource p_227924_) - Overrides:
addChildren
in classStructurePiece
-
postProcess
public void postProcess(WorldGenLevel p_227914_, StructureManager p_227915_, ChunkGenerator p_227916_, RandomSource p_227917_, BoundingBox p_227918_, ChunkPos p_227919_, BlockPos p_227920_) - Specified by:
postProcess
in classStructurePiece
-
move
public void move(int p_227910_, int p_227911_, int p_227912_) - Overrides:
move
in classStructurePiece
-
addAdditionalSaveData
protected void addAdditionalSaveData(StructurePieceSerializationContext p_227926_, CompoundTag p_227927_) - Overrides:
addAdditionalSaveData
in classMineshaftPieces.MineShaftPiece
-