public static class MineshaftPieces.Stairs extends MineshaftPieces.Piece
StructurePiece.BlockSelector
mineShaftType
boundingBox, CAVE_AIR, componentType
Constructor and 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_) |
Modifier and Type | Method and Description |
---|---|
void |
buildComponent(StructurePiece componentIn,
java.util.List<StructurePiece> listIn,
java.util.Random rand) |
boolean |
create(IWorld worldIn,
ChunkGenerator<?> chunkGeneratorIn,
java.util.Random randomIn,
MutableBoundingBox mutableBoundingBoxIn,
ChunkPos chunkPosIn) |
static MutableBoundingBox |
findStairs(java.util.List<StructurePiece> listIn,
java.util.Random rand,
int x,
int y,
int z,
Direction facing) |
getFenceBlock, getPlanksBlock, isSupportingBox, readAdditional
correctFacing, createDispenser, fillWithAir, fillWithBlocks, fillWithRandomizedBlocks, findIntersecting, func_214810_a, generateChest, generateChest, generateMaybeBox, getBlockStateFromPos, getBoundingBox, getComponentType, getCoordBaseMode, getRotation, getSkyBrightness, getStructurePieceType, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, offset, randomlyPlaceBlock, randomlyRareFillWithBlocks, replaceAirAndLiquidDownwards, setBlockState, setCoordBaseMode, write
public Stairs(int p_i50449_1_, MutableBoundingBox p_i50449_2_, Direction p_i50449_3_, MineshaftStructure.Type p_i50449_4_)
public Stairs(TemplateManager p_i50450_1_, CompoundNBT p_i50450_2_)
public static MutableBoundingBox findStairs(java.util.List<StructurePiece> listIn, java.util.Random rand, int x, int y, int z, Direction facing)
public void buildComponent(StructurePiece componentIn, java.util.List<StructurePiece> listIn, java.util.Random rand)
buildComponent
in class StructurePiece
public boolean create(IWorld worldIn, ChunkGenerator<?> chunkGeneratorIn, java.util.Random randomIn, MutableBoundingBox mutableBoundingBoxIn, ChunkPos chunkPosIn)
create
in class StructurePiece