net.minecraft.world.level.block

public class StairBlock

extends Block implements SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

drm
net.minecraft.world.level.block.StairBlock
net.minecraft.class_2510
net.minecraft.block.StairsBlock
net.minecraft.world.level.block.BlockStairs

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<StairBlock>
a
CODEC
field_46460
CODEC
public static final EnumProperty<Direction>
b
FACING
field_11571
FACING
public static final EnumProperty<Half>
c
HALF
field_11572
HALF
public static final EnumProperty<StairsShape>
d
SHAPE
field_11565
SHAPE
public static final BooleanProperty
e
WATERLOGGED
field_11573
WATERLOGGED
protected static final VoxelShape
f
TOP_AABB
field_11562
TOP_SHAPE
protected static final VoxelShape
g
BOTTOM_AABB
field_11576
BOTTOM_SHAPE
protected static final VoxelShape
h
OCTET_NNN
field_11561
BOTTOM_NORTH_WEST_CORNER_SHAPE
protected static final VoxelShape
i
OCTET_NNP
field_11578
BOTTOM_SOUTH_WEST_CORNER_SHAPE
protected static final VoxelShape
j
OCTET_NPN
field_11568
TOP_NORTH_WEST_CORNER_SHAPE
protected static final VoxelShape
k
OCTET_NPP
field_11563
TOP_SOUTH_WEST_CORNER_SHAPE
protected static final VoxelShape
l
OCTET_PNN
field_11575
BOTTOM_NORTH_EAST_CORNER_SHAPE
protected static final VoxelShape
m
OCTET_PNP
field_11569
BOTTOM_SOUTH_EAST_CORNER_SHAPE
protected static final VoxelShape
n
OCTET_PPN
field_11577
TOP_NORTH_EAST_CORNER_SHAPE
protected static final VoxelShape
o
OCTET_PPP
field_11567
TOP_SOUTH_EAST_CORNER_SHAPE
protected static final VoxelShape[]
G
TOP_SHAPES
field_11566
TOP_SHAPES
protected static final VoxelShape[]
H
BOTTOM_SHAPES
field_11564
BOTTOM_SHAPES
private static final int[]
J
SHAPE_BY_STATE
field_11570
SHAPE_INDICES
private final Block
K
base
field_11579
baseBlock
protected final BlockState
I
baseState
field_11574
baseBlockState

Constructor summary

ModifierConstructor
protected (BlockState baseBlockState, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<? extends StairBlock>
a()
codec()
method_53969()
getCodec()
private static VoxelShape[]
a(fbv arg0, fbv arg1, fbv arg2, fbv arg3, fbv arg4)
makeShapes(VoxelShape arg0, VoxelShape arg1, VoxelShape arg2, VoxelShape arg3, VoxelShape arg4)
method_10672(class_265 arg0, class_265 arg1, class_265 arg2, class_265 arg3, class_265 arg4)
composeShapes(VoxelShape base, VoxelShape northWest, VoxelShape northEast, VoxelShape southWest, VoxelShape southEast)
private static VoxelShape
a(int arg0, fbv arg1, fbv arg2, fbv arg3, fbv arg4, fbv arg5)
makeStairShape(int arg0, VoxelShape arg1, VoxelShape arg2, VoxelShape arg3, VoxelShape arg4, VoxelShape arg5)
method_10671(int arg0, class_265 arg1, class_265 arg2, class_265 arg3, class_265 arg4, class_265 arg5)
composeShape(int i, VoxelShape base, VoxelShape northWest, VoxelShape northEast, VoxelShape southWest, VoxelShape southEast)
protected boolean
g_(dwy arg0)
useShapeForLightOcclusion(BlockState arg0)
method_9526(class_2680 arg0)
hasSidedTransparency(BlockState arg0)
protected VoxelShape
a(dwy arg0, dfo arg1, ji arg2, fbg arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
private int
q(dwy arg0)
getShapeIndex(BlockState arg0)
method_10673(class_2680 arg0)
getShapeIndexIndex(BlockState state)
public float
e()
getExplosionResistance()
method_9520()
getBlastResistance()
public BlockState
a(dah arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected BlockState
a(dwy arg0, dgm arg1, dgy arg2, ji arg3, jn arg4, ji arg5, dwy arg6, azh arg7)
updateShape(BlockState arg0, LevelReader arg1, ScheduledTickAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomSource arg7)
method_9559(class_2680 arg0, class_4538 arg1, class_10225 arg2, class_2338 arg3, class_2350 arg4, class_2338 arg5, class_2680 arg6, class_5819 arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, ScheduledTickView arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, Random arg7)
private static StairsShape
e(dwy arg0, dfo arg1, ji arg2)
getStairsShape(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_10675(class_2680 arg0, class_1922 arg1, class_2338 arg2)
getStairShape(BlockState state, BlockView world, BlockPos pos)
private static boolean
c(dwy arg0, dfo arg1, ji arg2, jn arg3)
canTakeShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_10678(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
isDifferentOrientation(BlockState state, BlockView world, BlockPos pos, Direction dir)
public static boolean
o(dwy arg0)
isStairs(BlockState arg0)
method_10676(class_2680 arg0)
isStairs(BlockState state)
protected BlockState
a(dwy arg0, dqf arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
protected BlockState
a(dwy arg0, dom arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
protected void
a(dwz$a<djn, dwy> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
protected FluidState
b_(dwy arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
protected boolean
a(dwy arg0, etp arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)