net.minecraft.block

public class StairsBlock

extends Block implements WaterLoggable

All mapped superinterfaces:

ItemLike, WaterLoggable, Bucketable, LiquidContainer

bru
net.minecraft.class_2510
net.minecraft.block.StairsBlock
net.minecraft.block.StairsBlock
net.minecraft.block.StairsBlock

Field summary

Modifier and TypeField
public static final DirectionProperty
a
field_11571
FACING
field_176309_a
field_176309_a
public static final EnumProperty<StairHalf>
b
field_11572
HALF
field_176308_b
field_176308_b
public static final EnumProperty<StairShape>
c
field_11565
SHAPE
field_176310_M
field_176310_M
public static final BooleanProperty
d
field_11573
WATERLOGGED
field_204513_t
field_204513_t
protected static final VoxelShape
e
field_11562
TOP_BASE_SHAPE
field_185712_d
field_185712_d
protected static final VoxelShape
f
field_11576
BOTTOM_BASE_SHAPE
field_185719_G
field_185719_G
protected static final VoxelShape
g
field_11561
TOP_NORTH_WEST_SHAPE
field_196512_A
field_196512_A
protected static final VoxelShape
h
field_11578
TOP_SOUTH_WEST_SHAPE
field_196513_B
field_196513_B
protected static final VoxelShape
i
field_11568
BOTTOM_NORTH_WEST_SHAPE
field_196514_C
field_196514_C
protected static final VoxelShape
j
field_11563
BOTTOM_SOUTH_WEST_SHAPE
field_196515_D
field_196515_D
protected static final VoxelShape
k
field_11575
TOP_NORTH_EAST_SHAPE
field_196516_E
field_196516_E
protected static final VoxelShape
w
field_11569
TOP_SOUTH_EAST_SHAPE
field_196517_F
field_196517_F
protected static final VoxelShape
x
field_11577
BOTTOM_NORTH_EAST_SHAPE
field_196518_G
field_196518_G
protected static final VoxelShape
y
field_11567
BOTTOM_SOUTH_EAST_SHAPE
field_196519_H
field_196519_H
protected static final VoxelShape[]
z
field_11566
TOP_SHAPES
field_196520_I
field_196520_I
protected static final VoxelShape[]
A
field_11564
BOTTOM_SHAPES
field_196521_J
field_196521_J
private static final int[]
B
field_11570
SHAPE_INDICES
field_196522_K
field_196522_K
private final Block
C
field_11579
baseBlock
field_150149_b
field_150149_b
private final BlockState
D
field_11574
baseState
field_150151_M
field_150151_M

Constructor summary

ModifierConstructor
protected (BlockState baseState, Block$Properties properties)

Method summary

Modifier and TypeMethod
private static VoxelShape[]
a(csp arg0, csp arg1, csp arg2, csp arg3, csp arg4)
method_10672(class_265 arg0, class_265 arg1, class_265 arg2, class_265 arg3, class_265 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, csp arg1, csp arg2, csp arg3, csp arg4, csp arg5)
method_10671(int arg0, class_265 arg1, class_265 arg2, class_265 arg3, class_265 arg4, class_265 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 boolean
n(bvj arg0)
method_9526(class_2680 arg0)
isCube(BlockState arg0)
func_220074_n(BlockState arg0)
func_220074_n(BlockState arg0)
public VoxelShape
a(bvj arg0, bgr arg1, ev arg2, csa arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getShape(BlockState arg0, BlockView arg1, BlockPos arg2, CollisionContext arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
private int
q(bvj arg0)
method_10673(class_2680 arg0)
getShapeIndex(BlockState state)
func_196511_x(BlockState arg0)
func_196511_x(BlockState state)
public void
a(bvj arg0, bhh arg1, ev arg2, avx arg3)
method_9606(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3)
startMining(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3)
func_196270_a(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3)
onBlockClicked(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3)
public void
a(bhi arg0, ev arg1, bvj arg2)
method_9585(class_1936 arg0, class_2338 arg1, class_2680 arg2)
onBroken(WorldAccess arg0, BlockPos arg1, BlockState arg2)
func_176206_d(IWorld arg0, BlockPos arg1, BlockState arg2)
onPlayerDestroy(IWorld arg0, BlockPos arg1, BlockState arg2)
public float
j()
method_9520()
getBlastResistance()
func_149638_a()
getExplosionResistance()
public BlockLayer
c()
method_9551()
getRenderLayer()
func_180664_k()
getRenderLayer()
public int
a(bhk arg0)
method_9563(class_1941 arg0)
getTickRate(WorldView arg0)
func_149738_a(IWorldReader arg0)
tickRate(IWorldReader arg0)
public void
b(bvj arg0, bhh arg1, ev arg2, bvj arg3, boolean arg4)
method_9615(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
onAdded(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
func_220082_b(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
func_220082_b(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
public void
a(bvj arg0, bhh arg1, ev arg2, bvj arg3, boolean arg4)
method_9536(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
onRemoved(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
func_196243_a(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
onReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
public void
a(bhh arg0, ev arg1, aif arg2)
method_9591(class_1937 arg0, class_2338 arg1, class_1297 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
b(bvj arg0, bhh arg1, ev arg2, Random arg3)
method_9588(class_2680 arg0, class_1937 arg1, class_2338 arg2, Random arg3)
tick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
func_196267_b(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
tick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
public boolean
a(bvj arg0, bhh arg1, ev arg2, avx arg3, agz arg4, crr arg5)
method_9534(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_3965 arg5)
use(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, InteractionHand arg4, BlockHitResult arg5)
func_220051_a(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockRayTraceResult arg5)
func_220051_a(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockRayTraceResult arg5)
public void
a(bhh arg0, ev arg1, bha arg2)
method_9586(class_1937 arg0, class_2338 arg1, class_1927 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 BlockState
a(bae arg0)
method_9605(class_1750 arg0)
getPlacementState(BlockPlaceContext arg0)
func_196258_a(BlockItemUseContext arg0)
getStateForPlacement(BlockItemUseContext arg0)
public BlockState
a(bvj arg0, fa arg1, bvj arg2, bhi arg3, ev arg4, ev arg5)
method_9559(class_2680 arg0, class_2350 arg1, class_2680 arg2, class_1936 arg3, class_2338 arg4, class_2338 arg5)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
func_196271_a(BlockState arg0, Direction arg1, BlockState arg2, IWorld arg3, BlockPos arg4, BlockPos arg5)
updatePostPlacement(BlockState arg0, Direction arg1, BlockState arg2, IWorld arg3, BlockPos arg4, BlockPos arg5)
private static StairShape
m(bvj arg0, bgr arg1, ev arg2)
method_10675(class_2680 arg0, class_1922 arg1, class_2338 arg2)
getStairShape(BlockState state, BlockView world, BlockPos pos)
func_208064_n(BlockState arg0, IBlockReader arg1, BlockPos arg2)
getShapeProperty(BlockState state, IBlockReader worldIn, BlockPos pos)
private static boolean
e(bvj arg0, bgr arg1, ev arg2, fa arg3)
method_10678(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
isStairSameHalfSameFacing(BlockState state, BlockView world, BlockPos pos, Direction facing)
func_185704_d(BlockState arg0, IBlockReader arg1, BlockPos arg2, Direction arg3)
isDifferentStairs(BlockState state, IBlockReader worldIn, BlockPos pos, Direction face)
public static boolean
j(bvj arg0)
method_10676(class_2680 arg0)
isStair(BlockState state)
func_185709_i(BlockState arg0)
isBlockStairs(BlockState state)
public BlockState
a(bvj arg0, bqw arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
func_185499_a(BlockState arg0, Rotation arg1)
rotate(BlockState arg0, Rotation arg1)
public BlockState
a(bvj arg0, bpw arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
func_185471_a(BlockState arg0, Mirror arg1)
mirror(BlockState arg0, Mirror arg1)
protected void
a(bvk$a<bml, bvj> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
buildStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
func_206840_a(StateContainer$Builder<Block, BlockState> arg0)
fillStateContainer(StateContainer$Builder<Block, BlockState> arg0)
public FluidState
g(bvj arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
func_204507_t(BlockState arg0)
getFluidState(BlockState arg0)
public boolean
a(bvj arg0, bgr arg1, ev arg2, cnh arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
canWalkThrough(BlockState arg0, BlockView arg1, BlockPos arg2, EntityNavigationType arg3)
func_196266_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, PathType arg3)
allowsMovement(BlockState arg0, IBlockReader arg1, BlockPos arg2, PathType arg3)
public void
a(bvj arg0, bhh arg1, ev arg2, Random arg3)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, Random arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
func_180655_c(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
animateTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)