Class MineshaftPieces.Stairs
- 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.Stairs
-
- Enclosing class:
- MineshaftPieces
public static class MineshaftPieces.Stairs extends MineshaftPieces.Piece
-
-
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
Constructors Constructor Description Stairs(int p_i50449_1_, MutableBoundingBox p_i50449_2_, Direction p_i50449_3_, MineshaftStructure.Type p_i50449_4_)
Stairs(TemplateManager p_i50450_1_, CompoundNBT p_i50450_2_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChildren(StructurePiece p_74861_1_, java.util.List<StructurePiece> p_74861_2_, java.util.Random p_74861_3_)
static MutableBoundingBox
findStairs(java.util.List<StructurePiece> p_175812_0_, java.util.Random p_175812_1_, int p_175812_2_, int p_175812_3_, int p_175812_4_, Direction p_175812_5_)
boolean
postProcess(ISeedReader p_230383_1_, StructureManager p_230383_2_, ChunkGenerator p_230383_3_, java.util.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
addAdditionalSaveData, 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
-
-
-
-
Constructor Detail
-
Stairs
public Stairs(int p_i50449_1_, MutableBoundingBox p_i50449_2_, Direction p_i50449_3_, MineshaftStructure.Type p_i50449_4_)
-
Stairs
public Stairs(TemplateManager p_i50450_1_, CompoundNBT p_i50450_2_)
-
-
Method Detail
-
findStairs
public static MutableBoundingBox findStairs(java.util.List<StructurePiece> p_175812_0_, java.util.Random p_175812_1_, int p_175812_2_, int p_175812_3_, int p_175812_4_, Direction p_175812_5_)
-
addChildren
public void addChildren(StructurePiece p_74861_1_, java.util.List<StructurePiece> p_74861_2_, java.util.Random p_74861_3_)
- Overrides:
addChildren
in classStructurePiece
-
postProcess
public boolean postProcess(ISeedReader p_230383_1_, StructureManager p_230383_2_, ChunkGenerator p_230383_3_, java.util.Random p_230383_4_, MutableBoundingBox p_230383_5_, ChunkPos p_230383_6_, BlockPos p_230383_7_)
- Specified by:
postProcess
in classStructurePiece
-
-