net.minecraft.block

public class StairsBlock

extends Block implements Bucketable, LiquidContainer

All mapped superinterfaces:

ItemLike, Bucketable, LiquidContainer

bhx
net.minecraft.class_188
net.minecraft.block.StairsBlock
net.minecraft.block.BlockStairs
net.minecraft.block.BlockStairs

Field summary

Modifier and TypeField
public static final DirectionProperty
a
field_9675
FACING
field_176309_a
FACING
public static final EnumProperty<StairHalf>
b
field_18503
HALF
field_176308_b
HALF
public static final EnumProperty<StairShape>
c
field_18504
SHAPE
field_176310_M
SHAPE
public static final BooleanProperty
o
field_18505
WATERLOGGED
field_204513_t
WATERLOGGED
protected static final VoxelShape
p
field_18506
TOP_BASE_SHAPE
field_185712_d
AABB_SLAB_TOP
protected static final VoxelShape
q
field_18507
BOTTOM_BASE_SHAPE
field_185719_G
AABB_SLAB_BOTTOM
protected static final VoxelShape
r
field_18508
TOP_NORTH_WEST_SHAPE
field_196512_A
NWD_CORNER
protected static final VoxelShape
s
field_18509
TOP_SOUTH_WEST_SHAPE
field_196513_B
SWD_CORNER
protected static final VoxelShape
t
field_18510
BOTTOM_NORTH_WEST_SHAPE
field_196514_C
NWU_CORNER
protected static final VoxelShape
u
field_18511
BOTTOM_SOUTH_WEST_SHAPE
field_196515_D
SWU_CORNER
protected static final VoxelShape
v
field_18512
TOP_NORTH_EAST_SHAPE
field_196516_E
NED_CORNER
protected static final VoxelShape
w
field_18513
TOP_SOUTH_EAST_SHAPE
field_196517_F
SED_CORNER
protected static final VoxelShape
x
field_18514
BOTTOM_NORTH_EAST_SHAPE
field_196518_G
NEU_CORNER
protected static final VoxelShape
y
field_18515
BOTTOM_SOUTH_EAST_SHAPE
field_196519_H
SEU_CORNER
protected static final VoxelShape[]
z
field_18516
TOP_SHAPES
field_196520_I
SLAB_TOP_SHAPES
protected static final VoxelShape[]
A
field_18501
BOTTOM_SHAPES
field_196521_J
SLAB_BOTTOM_SHAPES
private static final int[]
B
field_18502
SHAPE_INDICES
field_196522_K
field_196522_K
private final Block
C
field_324
baseBlock
field_150149_b
modelBlock
private final BlockState
D
field_9674
baseState
field_150151_M
modelState

Constructor summary

ModifierConstructor
protected (BlockState baseState, Block$Properties properties)

Method summary

Modifier and TypeMethod
private static VoxelShape[]
a(cew arg0, cew arg1, cew arg2, cew arg3, cew arg4)
method_16742(class_4100 arg0, class_4100 arg1, class_4100 arg2, class_4100 arg3, class_4100 arg4)
makeShapes(VoxelShape base, VoxelShape northWest, VoxelShape northEast, VoxelShape southWest, VoxelShape southEast)
func_199779_a(VoxelShape arg0, VoxelShape arg1, VoxelShape arg2, VoxelShape arg3, VoxelShape arg4)
makeShapes(VoxelShape slabShape, VoxelShape nwCorner, VoxelShape neCorner, VoxelShape swCorner, VoxelShape seCorner)
private static VoxelShape
a(int arg0, cew arg1, cew arg2, cew arg3, cew arg4, cew arg5)
method_16741(int arg0, class_4100 arg1, class_4100 arg2, class_4100 arg3, class_4100 arg4, class_4100 arg5)
makeShape(int index, VoxelShape base, VoxelShape northWest, VoxelShape northEast, VoxelShape southWest, VoxelShape southEast)
func_199781_a(int arg0, VoxelShape arg1, VoxelShape arg2, VoxelShape arg3, VoxelShape arg4, VoxelShape arg5)
combineShapes(int bitfield, VoxelShape slabShape, VoxelShape nwCorner, VoxelShape neCorner, VoxelShape swCorner, VoxelShape seCorner)
public int
j(blc arg0, axk arg1, el arg2)
method_16597(class_2232 arg0, class_1158 arg1, class_2552 arg2)
getOpacity(BlockState arg0, BlockView arg1, BlockPos arg2)
func_200011_d(IBlockState arg0, IBlockReader arg1, BlockPos arg2)
getOpacity(IBlockState arg0, IBlockReader arg1, BlockPos arg2)
public VoxelShape
a(blc arg0, axk arg1, el arg2)
method_11554(class_2232 arg0, class_1158 arg1, class_2552 arg2)
getShape(BlockState arg0, BlockView arg1, BlockPos arg2)
func_196244_b(IBlockState arg0, IBlockReader arg1, BlockPos arg2)
getShape(IBlockState arg0, IBlockReader arg1, BlockPos arg2)
private int
w(blc arg0)
method_16745(class_2232 arg0)
getShapeIndex(BlockState state)
func_196511_x(IBlockState arg0)
func_196511_x(IBlockState state)
public FaceShape
a(axk arg0, blc arg1, el arg2, eq arg3)
method_14307(class_1158 arg0, class_2232 arg1, class_2552 arg2, class_1354 arg3)
getFaceShape(BlockView arg0, BlockState arg1, BlockPos arg2, Direction arg3)
func_193383_a(IBlockReader arg0, IBlockState arg1, BlockPos arg2, EnumFacing arg3)
getBlockFaceShape(IBlockReader arg0, IBlockState arg1, BlockPos arg2, EnumFacing arg3)
public boolean
a(blc arg0)
method_11562(class_2232 arg0)
isCube(BlockState arg0)
func_149686_d(IBlockState arg0)
isFullCube(IBlockState arg0)
public void
a(blc arg0, axy arg1, el arg2, aog arg3)
method_420(class_2232 arg0, class_1150 arg1, class_2552 arg2, class_988 arg3)
startMining(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3)
func_196270_a(IBlockState arg0, World arg1, BlockPos arg2, EntityPlayer arg3)
onBlockClicked(IBlockState arg0, World arg1, BlockPos arg2, EntityPlayer arg3)
public void
b(axz arg0, el arg1, blc arg2)
method_8674(class_3598 arg0, class_2552 arg1, class_2232 arg2)
onBroken(WorldAccess arg0, BlockPos arg1, BlockState arg2)
func_176206_d(IWorld arg0, BlockPos arg1, IBlockState arg2)
onPlayerDestroy(IWorld arg0, BlockPos arg1, IBlockState arg2)
public float
k()
method_16598()
getBlastResistance()
func_149638_a()
getExplosionResistance()
public BlockLayer
c()
method_8687()
getRenderLayer()
func_180664_k()
getRenderLayer()
public int
a(ayc arg0)
method_16565(class_3599 arg0)
getTickRate(WorldView arg0)
func_149738_a(IWorldReaderBase arg0)
tickRate(IWorldReaderBase arg0)
public boolean
j()
method_469()
canRayTrace()
func_149703_v()
isCollidable()
public boolean
d(blc arg0)
method_400(class_2232 arg0)
canRayTrace(BlockState arg0)
func_200293_a(IBlockState arg0)
isCollidable(IBlockState arg0)
public void
a(blc arg0, axy arg1, el arg2, blc arg3)
method_8668(class_2232 arg0, class_1150 arg1, class_2552 arg2, class_2232 arg3)
onAdded(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3)
func_196259_b(IBlockState arg0, World arg1, BlockPos arg2, IBlockState arg3)
onBlockAdded(IBlockState arg0, World arg1, BlockPos arg2, IBlockState arg3)
public void
a(blc arg0, axy arg1, el arg2, blc arg3, boolean arg4)
method_8659(class_2232 arg0, class_1150 arg1, class_2552 arg2, class_2232 arg3, boolean arg4)
onRemoved(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
func_196243_a(IBlockState arg0, World arg1, BlockPos arg2, IBlockState arg3, boolean arg4)
onReplaced(IBlockState arg0, World arg1, BlockPos arg2, IBlockState arg3, boolean arg4)
public void
a(axy arg0, el arg1, aer arg2)
method_437(class_1150 arg0, class_2552 arg1, class_864 arg2)
onSteppedOn(World arg0, BlockPos arg1, Entity arg2)
func_176199_a(World arg0, BlockPos arg1, Entity arg2)
onEntityWalk(World arg0, BlockPos arg1, Entity arg2)
public void
a(blc arg0, axy arg1, el arg2, Random arg3)
method_8661(class_2232 arg0, class_1150 arg1, class_2552 arg2, Random arg3)
tick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
func_196267_b(IBlockState arg0, World arg1, BlockPos arg2, Random arg3)
tick(IBlockState arg0, World arg1, BlockPos arg2, Random arg3)
public boolean
a(blc arg0, axy arg1, el arg2, aog arg3, adk arg4, eq arg5, float arg6, float arg7, float arg8)
method_421(class_2232 arg0, class_1150 arg1, class_2552 arg2, class_988 arg3, class_2961 arg4, class_1354 arg5, float arg6, float arg7, float arg8)
use(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, InteractionHand arg4, Direction arg5, float arg6, float arg7, float arg8)
func_196250_a(IBlockState arg0, World arg1, BlockPos arg2, EntityPlayer arg3, EnumHand arg4, EnumFacing arg5, float arg6, float arg7, float arg8)
onBlockActivated(IBlockState arg0, World arg1, BlockPos arg2, EntityPlayer arg3, EnumHand arg4, EnumFacing arg5, float arg6, float arg7, float arg8)
public void
a(axy arg0, el arg1, axr arg2)
method_8639(class_1150 arg0, class_2552 arg1, class_1147 arg2)
onExploded(World arg0, BlockPos arg1, Explosion arg2)
func_180652_a(World arg0, BlockPos arg1, Explosion arg2)
onExplosionDestroy(World arg0, BlockPos arg1, Explosion arg2)
public boolean
r(blc arg0)
method_11568(class_2232 arg0)
isFullBlock(BlockState arg0)
func_185481_k(IBlockState arg0)
isTopSolid(IBlockState arg0)
public BlockState
a(ark arg0)
method_16563(class_3544 arg0)
getPlacementState(BlockPlaceContext arg0)
func_196258_a(BlockItemUseContext arg0)
getStateForPlacement(BlockItemUseContext arg0)
public BlockState
a(blc arg0, eq arg1, blc arg2, axz arg3, el arg4, el arg5)
method_16575(class_2232 arg0, class_1354 arg1, class_2232 arg2, class_3598 arg3, class_2552 arg4, class_2552 arg5)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
func_196271_a(IBlockState arg0, EnumFacing arg1, IBlockState arg2, IWorld arg3, BlockPos arg4, BlockPos arg5)
updatePostPlacement(IBlockState arg0, EnumFacing arg1, IBlockState arg2, IWorld arg3, BlockPos arg4, BlockPos arg5)
private static StairShape
m(blc arg0, axk arg1, el arg2)
method_11631(class_2232 arg0, class_1158 arg1, class_2552 arg2)
getStairShape(BlockState state, BlockView world, BlockPos pos)
func_208064_n(IBlockState arg0, IBlockReader arg1, BlockPos arg2)
getShapeProperty(IBlockState state, IBlockReader worldIn, BlockPos pos)
private static boolean
d(blc arg0, axk arg1, el arg2, eq arg3)
method_11632(class_2232 arg0, class_1158 arg1, class_2552 arg2, class_1354 arg3)
isStairSameHalfSameFacing(BlockState state, BlockView world, BlockPos pos, Direction facing)
func_185704_d(IBlockState arg0, IBlockReader arg1, BlockPos arg2, EnumFacing arg3)
isDifferentStairs(IBlockState state, IBlockReader worldIn, BlockPos pos, EnumFacing face)
public static boolean
k(blc arg0)
method_11633(class_2232 arg0)
isStair(BlockState state)
func_185709_i(IBlockState arg0)
isBlockStairs(IBlockState state)
public BlockState
a(blc arg0, bhb arg1)
method_11556(class_2232 arg0, class_2734 arg1)
rotate(BlockState arg0, BlockRotation arg1)
func_185499_a(IBlockState arg0, Rotation arg1)
rotate(IBlockState arg0, Rotation arg1)
public BlockState
a(blc arg0, bfz arg1)
method_11555(class_2232 arg0, class_2727 arg1)
mirror(BlockState arg0, BlockMirror arg1)
func_185471_a(IBlockState arg0, Mirror arg1)
mirror(IBlockState arg0, Mirror arg1)
protected void
a(ble$a<bcs, blc> arg0)
method_16576(class_2233$class_3757<class_197, class_2232> arg0)
buildStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
func_206840_a(StateContainer$Builder<Block, IBlockState> arg0)
fillStateContainer(StateContainer$Builder<Block, IBlockState> arg0)
public Fluid
a(axz arg0, el arg1, blc arg2)
method_16631(class_3598 arg0, class_2552 arg1, class_2232 arg2)
takeLiquid(WorldAccess arg0, BlockPos arg1, BlockState arg2)
func_204508_a(IWorld arg0, BlockPos arg1, IBlockState arg2)
pickupFluid(IWorld arg0, BlockPos arg1, IBlockState arg2)
public FluidState
h(blc arg0)
method_16594(class_2232 arg0)
getFluidState(BlockState arg0)
func_204507_t(IBlockState arg0)
getFluidState(IBlockState arg0)
public boolean
a(axk arg0, el arg1, blc arg2, byv arg3)
method_16700(class_1158 arg0, class_2552 arg1, class_2232 arg2, class_4023 arg3)
canPlaceLiquid(BlockView arg0, BlockPos arg1, BlockState arg2, Fluid arg3)
func_204510_a(IBlockReader arg0, BlockPos arg1, IBlockState arg2, Fluid arg3)
canContainFluid(IBlockReader arg0, BlockPos arg1, IBlockState arg2, Fluid arg3)
public boolean
a(axz arg0, el arg1, blc arg2, byw arg3)
method_16701(class_3598 arg0, class_2552 arg1, class_2232 arg2, class_4024 arg3)
placeLiquid(WorldAccess arg0, BlockPos arg1, BlockState arg2, FluidState arg3)
func_204509_a(IWorld arg0, BlockPos arg1, IBlockState arg2, IFluidState arg3)
receiveFluid(IWorld arg0, BlockPos arg1, IBlockState arg2, IFluidState arg3)
public boolean
a(blc arg0, axk arg1, el arg2, cbf arg3)
method_8663(class_2232 arg0, class_1158 arg1, class_2552 arg2, class_4064 arg3)
canWalkThrough(BlockState arg0, BlockView arg1, BlockPos arg2, EntityNavigationType arg3)
func_196266_a(IBlockState arg0, IBlockReader arg1, BlockPos arg2, PathType arg3)
allowsMovement(IBlockState arg0, IBlockReader arg1, BlockPos arg2, PathType arg3)
public void
c(blc arg0, axy arg1, el arg2, Random arg3)
method_8669(class_2232 arg0, class_1150 arg1, class_2552 arg2, Random arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
func_180655_c(IBlockState arg0, World arg1, BlockPos arg2, Random arg3)
animateTick(IBlockState arg0, World arg1, BlockPos arg2, Random arg3)
public int
a(blc arg0, aye arg1, el arg2)
method_11564(class_2232 arg0, class_3600 arg1, class_2552 arg2)
getLightColor(BlockState arg0, BlockLightView arg1, BlockPos arg2)
func_185484_c(IBlockState arg0, IWorldReader arg1, BlockPos arg2)
getPackedLightmapCoords(IBlockState arg0, IWorldReader arg1, BlockPos arg2)