Class MineShaftPieces.MineShaftCrossing
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.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.MineShaftPieces.MineShaftPiece
type
Fields inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
Constructor Summary
ConstructorDescriptionMineShaftCrossing(int p_71430_, BoundingBox p_71431_, Direction p_71432_, MineshaftFeature.Type p_71433_)
MineShaftCrossing(ServerLevel p_162554_, CompoundTag p_162555_)
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData(ServerLevel p_162557_, CompoundTag p_162558_)
void
addChildren(StructurePiece p_162560_, StructurePieceAccessor p_162561_, Random p_162562_)
static BoundingBox
findCrossing(StructurePieceAccessor p_162564_, Random p_162565_, int p_162566_, int p_162567_, int p_162568_, Direction p_162569_)
private void
placeSupportPillar(WorldGenLevel p_71446_, BoundingBox p_71447_, int p_71448_, int p_71449_, int p_71450_, int p_71451_)
boolean
postProcess(WorldGenLevel p_71438_, StructureFeatureManager p_71439_, ChunkGenerator p_71440_, Random p_71441_, BoundingBox p_71442_, ChunkPos p_71443_, BlockPos p_71444_)
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, move, placeBlock, reorient, setOrientation
-
Field Details
-
direction
-
isTwoFloored
private final boolean isTwoFloored
-
-
Constructor Details
-
MineShaftCrossing
-
MineShaftCrossing
public MineShaftCrossing(int p_71430_, BoundingBox p_71431_, @Nullable Direction p_71432_, MineshaftFeature.Type p_71433_)
-
-
Method Details
-
addAdditionalSaveData
- Overrides:
addAdditionalSaveData
in classMineShaftPieces.MineShaftPiece
-
findCrossing
@Nullable public static BoundingBox findCrossing(StructurePieceAccessor p_162564_, Random p_162565_, int p_162566_, int p_162567_, int p_162568_, Direction p_162569_) -
addChildren
public void addChildren(StructurePiece p_162560_, StructurePieceAccessor p_162561_, Random p_162562_)- Overrides:
addChildren
in classStructurePiece
-
postProcess
public boolean postProcess(WorldGenLevel p_71438_, StructureFeatureManager p_71439_, ChunkGenerator p_71440_, Random p_71441_, BoundingBox p_71442_, ChunkPos p_71443_, BlockPos p_71444_)- Specified by:
postProcess
in classStructurePiece
-
placeSupportPillar
private void placeSupportPillar(WorldGenLevel p_71446_, BoundingBox p_71447_, int p_71448_, int p_71449_, int p_71450_, int p_71451_)
-