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
(CompoundTag p_192041_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(StructurePieceSerializationContext p_192051_, CompoundTag p_192052_) 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_) void
postProcess
(WorldGenLevel p_192043_, StructureFeatureManager p_192044_, ChunkGenerator p_192045_, Random p_192046_, BoundingBox p_192047_, ChunkPos p_192048_, BlockPos p_192049_) 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
createBoundingBox, createChest, createChest, createDispenser, createTag, fillColumnDown, findCollisionPiece, 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
protected void addAdditionalSaveData(StructurePieceSerializationContext p_192051_, CompoundTag p_192052_) - 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 void postProcess(WorldGenLevel p_192043_, StructureFeatureManager p_192044_, ChunkGenerator p_192045_, Random p_192046_, BoundingBox p_192047_, ChunkPos p_192048_, BlockPos p_192049_) - 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_)
-