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(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 |
---|---|
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,
Direction facing) |
protected BlockState |
getFenceBlock() |
protected BlockState |
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 |
readAdditional(CompoundNBT tagCompound) |
createDispenser, fillWithAir, fillWithBlocks, fillWithRandomizedBlocks, findIntersecting, func_197528_a, func_214807_k, func_214810_a, generateChest, generateChest, generateMaybeBox, getBlockStateFromPos, getBoundingBox, getComponentType, getCoordBaseMode, getRotation, getSkyBrightness, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, offset, randomlyPlaceBlock, randomlyRareFillWithBlocks, replaceAirAndLiquidDownwards, setBlockState, setCoordBaseMode, write
protected MineshaftStructure.Type mineShaftType
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 addComponentParts(IWorld worldIn, java.util.Random randomIn, MutableBoundingBox structureBoundingBoxIn, ChunkPos p_74875_4_)
addComponentParts
in class StructurePiece
protected void readAdditional(CompoundNBT tagCompound)
readAdditional
in class StructurePiece
protected BlockState getPlanksBlock()
protected BlockState 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_)