Class MineshaftPieces.Cross
java.lang.Object
net.minecraft.world.gen.feature.structure.StructurePiece
net.minecraft.world.gen.feature.structure.MineshaftPieces.Piece
net.minecraft.world.gen.feature.structure.MineshaftPieces.Cross
- Enclosing class:
- MineshaftPieces
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.gen.feature.structure.StructurePiece
StructurePiece.BlockSelector
-
Field Summary
Fields inherited from class net.minecraft.world.gen.feature.structure.MineshaftPieces.Piece
type
Fields inherited from class net.minecraft.world.gen.feature.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
Constructor Summary
ConstructorDescriptionCross
(int p_i50455_1_, MutableBoundingBox p_i50455_2_, Direction p_i50455_3_, MineshaftStructure.Type p_i50455_4_) Cross
(TemplateManager p_i50454_1_, CompoundNBT p_i50454_2_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(CompoundNBT p_143011_1_) void
addChildren
(StructurePiece p_74861_1_, List<StructurePiece> p_74861_2_, Random p_74861_3_) static MutableBoundingBox
findCrossing
(List<StructurePiece> p_175813_0_, Random p_175813_1_, int p_175813_2_, int p_175813_3_, int p_175813_4_, Direction p_175813_5_) private void
placeSupportPillar
(ISeedReader p_189923_1_, MutableBoundingBox p_189923_2_, int p_189923_3_, int p_189923_4_, int p_189923_5_, int p_189923_6_) boolean
postProcess
(ISeedReader p_230383_1_, StructureManager p_230383_2_, ChunkGenerator p_230383_3_, Random p_230383_4_, MutableBoundingBox p_230383_5_, ChunkPos p_230383_6_, BlockPos p_230383_7_) Methods inherited from class net.minecraft.world.gen.feature.structure.MineshaftPieces.Piece
getFenceBlock, getPlanksBlock, isSupportingBox
Methods inherited from class net.minecraft.world.gen.feature.structure.StructurePiece
createChest, createChest, createDispenser, createTag, edgesLiquid, fillColumnDown, findCollisionPiece, generateAirBox, generateBox, generateBox, generateMaybeBox, generateUpperHalfSphere, getBlock, getBoundingBox, getGenDepth, getOrientation, getRotation, getType, getWorldX, getWorldY, getWorldZ, isCloseToChunk, isInterior, maybeGenerateBlock, move, placeBlock, reorient, setOrientation
-
Field Details
-
direction
-
isTwoFloored
private final boolean isTwoFloored
-
-
Constructor Details
-
Cross
-
Cross
public Cross(int p_i50455_1_, MutableBoundingBox p_i50455_2_, @Nullable Direction p_i50455_3_, MineshaftStructure.Type p_i50455_4_)
-
-
Method Details
-
addAdditionalSaveData
- Overrides:
addAdditionalSaveData
in classMineshaftPieces.Piece
-
findCrossing
public static MutableBoundingBox findCrossing(List<StructurePiece> p_175813_0_, Random p_175813_1_, int p_175813_2_, int p_175813_3_, int p_175813_4_, Direction p_175813_5_) -
addChildren
public void addChildren(StructurePiece p_74861_1_, List<StructurePiece> p_74861_2_, Random p_74861_3_) - Overrides:
addChildren
in classStructurePiece
-
postProcess
public boolean postProcess(ISeedReader p_230383_1_, StructureManager p_230383_2_, ChunkGenerator p_230383_3_, Random p_230383_4_, MutableBoundingBox p_230383_5_, ChunkPos p_230383_6_, BlockPos p_230383_7_) - Specified by:
postProcess
in classStructurePiece
-
placeSupportPillar
private void placeSupportPillar(ISeedReader p_189923_1_, MutableBoundingBox p_189923_2_, int p_189923_3_, int p_189923_4_, int p_189923_5_, int p_189923_6_)
-