public static class MineshaftPieces.Stairs extends StructurePiece
StructurePiece.BlockSelector
Modifier and Type | Field and Description |
---|---|
protected MineshaftStructure.Type |
mineShaftType |
boundingBox, CAVE_AIR, componentType
Constructor and Description |
---|
Stairs() |
Stairs(int p_i47136_1_,
java.util.Random p_i47136_2_,
MutableBoundingBox p_i47136_3_,
EnumFacing p_i47136_4_,
MineshaftStructure.Type p_i47136_5_) |
Modifier and Type | Method and Description |
---|---|
boolean |
addComponentParts(IWorld worldIn,
java.util.Random randomIn,
MutableBoundingBox structureBoundingBoxIn,
ChunkPos p_74875_4_) |
void |
buildComponent(StructurePiece componentIn,
java.util.List<StructurePiece> listIn,
java.util.Random rand) |
static MutableBoundingBox |
findStairs(java.util.List<StructurePiece> listIn,
java.util.Random rand,
int x,
int y,
int z,
EnumFacing facing) |
protected IBlockState |
getFenceBlock() |
protected IBlockState |
getPlanksBlock() |
protected boolean |
isSupportingBox(IBlockReader p_189918_1_,
MutableBoundingBox p_189918_2_,
int p_189918_3_,
int p_189918_4_,
int p_189918_5_,
int p_189918_6_) |
protected void |
readStructureFromNBT(NBTTagCompound tagCompound,
TemplateManager p_143011_2_) |
protected void |
writeStructureToNBT(NBTTagCompound tagCompound) |
clearCurrentPositionBlocksUpwards, createDispenser, createStructureBaseNBT, fillWithAir, fillWithBlocks, fillWithRandomizedBlocks, findIntersecting, func_197528_a, generateChest, generateChest, generateDoor, generateMaybeBox, getBlockStateFromPos, getBoundingBox, getComponentType, getCoordBaseMode, getSkyBrightness, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, offset, randomlyPlaceBlock, randomlyRareFillWithBlocks, readStructureBaseNBT, replaceAirAndLiquidDownwards, setBlockState, setCoordBaseMode
protected MineshaftStructure.Type mineShaftType
public Stairs()
public Stairs(int p_i47136_1_, java.util.Random p_i47136_2_, MutableBoundingBox p_i47136_3_, EnumFacing p_i47136_4_, MineshaftStructure.Type p_i47136_5_)
public static MutableBoundingBox findStairs(java.util.List<StructurePiece> listIn, java.util.Random rand, int x, int y, int z, EnumFacing facing)
public void buildComponent(StructurePiece componentIn, java.util.List<StructurePiece> listIn, java.util.Random rand)
buildComponent
in class StructurePiece
public boolean addComponentParts(IWorld worldIn, java.util.Random randomIn, MutableBoundingBox structureBoundingBoxIn, ChunkPos p_74875_4_)
addComponentParts
in class StructurePiece
protected void writeStructureToNBT(NBTTagCompound tagCompound)
writeStructureToNBT
in class StructurePiece
protected void readStructureFromNBT(NBTTagCompound tagCompound, TemplateManager p_143011_2_)
readStructureFromNBT
in class StructurePiece
protected IBlockState getPlanksBlock()
protected IBlockState getFenceBlock()
protected boolean isSupportingBox(IBlockReader p_189918_1_, MutableBoundingBox p_189918_2_, int p_189918_3_, int p_189918_4_, int p_189918_5_, int p_189918_6_)