Class MineshaftPieces.MineShaftCrossing
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.MineShaftCrossing
- 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
ConstructorDescriptionMineShaftCrossing
(int p_227829_, BoundingBox p_227830_, Direction p_227831_, MineshaftStructure.Type p_227832_) MineShaftCrossing
(CompoundTag p_227834_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(StructurePieceSerializationContext p_227862_, CompoundTag p_227863_) void
addChildren
(StructurePiece p_227851_, StructurePieceAccessor p_227852_, RandomSource p_227853_) static BoundingBox
findCrossing
(StructurePieceAccessor p_227855_, RandomSource p_227856_, int p_227857_, int p_227858_, int p_227859_, Direction p_227860_) private void
placeSupportPillar
(WorldGenLevel p_227844_, BoundingBox p_227845_, int p_227846_, int p_227847_, int p_227848_, int p_227849_) void
postProcess
(WorldGenLevel p_227836_, StructureManager p_227837_, ChunkGenerator p_227838_, RandomSource p_227839_, BoundingBox p_227840_, ChunkPos p_227841_, BlockPos p_227842_) 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, move, placeBlock, reorient, setGenDepth, setOrientation
-
Field Details
-
direction
-
isTwoFloored
private final boolean isTwoFloored
-
-
Constructor Details
-
MineShaftCrossing
-
MineShaftCrossing
public MineShaftCrossing(int p_227829_, BoundingBox p_227830_, @Nullable Direction p_227831_, MineshaftStructure.Type p_227832_)
-
-
Method Details
-
addAdditionalSaveData
protected void addAdditionalSaveData(StructurePieceSerializationContext p_227862_, CompoundTag p_227863_) - Overrides:
addAdditionalSaveData
in classMineshaftPieces.MineShaftPiece
-
findCrossing
@Nullable public static BoundingBox findCrossing(StructurePieceAccessor p_227855_, RandomSource p_227856_, int p_227857_, int p_227858_, int p_227859_, Direction p_227860_) -
addChildren
public void addChildren(StructurePiece p_227851_, StructurePieceAccessor p_227852_, RandomSource p_227853_) - Overrides:
addChildren
in classStructurePiece
-
postProcess
public void postProcess(WorldGenLevel p_227836_, StructureManager p_227837_, ChunkGenerator p_227838_, RandomSource p_227839_, BoundingBox p_227840_, ChunkPos p_227841_, BlockPos p_227842_) - Specified by:
postProcess
in classStructurePiece
-
placeSupportPillar
private void placeSupportPillar(WorldGenLevel p_227844_, BoundingBox p_227845_, int p_227846_, int p_227847_, int p_227848_, int p_227849_)
-