net.minecraft.world.level.block

public class StairBlock

extends Block implements SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

dmv
net.minecraft.world.level.block.StairBlock
net.minecraft.class_2510
net.minecraft.block.StairsBlock
net.minecraft.src.C_1920_
net.minecraft.world.level.block.BlockStairs

Field summary

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

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()
m_304657_()
private static VoxelShape[]
a(ewm arg0, ewm arg1, ewm arg2, ewm arg3, ewm 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)
m_56933_(C_3072_ p_56934_, C_3072_ p_56935_, C_3072_ p_56936_, C_3072_ p_56937_, C_3072_ p_56938_)
private static VoxelShape
a(int arg0, ewm arg1, ewm arg2, ewm arg3, ewm arg4, ewm 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)
m_56864_(int p_56865_, C_3072_ p_56866_, C_3072_ p_56867_, C_3072_ p_56868_, C_3072_ p_56869_, C_3072_ p_56870_)
protected boolean
f_(dse arg0)
useShapeForLightOcclusion(BlockState arg0)
method_9526(class_2680 arg0)
hasSidedTransparency(BlockState arg0)
m_7923_(C_2064_ arg0)
protected VoxelShape
a(dse arg0, dbg arg1, iz arg2, evy 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)
m_5940_(C_2064_ p_56957_, C_1559_ p_56958_, C_4675_ p_56959_, C_3051_ arg3)
private int
n(dse arg0)
getShapeIndex(BlockState arg0)
method_10673(class_2680 arg0)
getShapeIndexIndex(BlockState state)
m_56982_(C_2064_ arg0)
public float
e()
getExplosionResistance()
method_9520()
getBlastResistance()
m_7325_()
public BlockState
a(cyc arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
protected BlockState
a(dse arg0, je arg1, dse arg2, dcb arg3, iz arg4, iz arg5)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, LevelAccessor arg3, BlockPos arg4, BlockPos arg5)
method_9559(class_2680 arg0, class_2350 arg1, class_2680 arg2, class_1936 arg3, class_2338 arg4, class_2338 arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
m_7417_(C_2064_ p_56926_, C_4687_ p_56927_, C_2064_ p_56928_, C_1598_ p_56929_, C_4675_ p_56930_, C_4675_ arg5)
private static StairsShape
i(dse arg0, dbg arg1, iz 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)
m_56976_(C_2064_ p_56977_, C_1559_ p_56978_, C_4675_ p_56979_)
private static boolean
c(dse arg0, dbg arg1, iz arg2, je 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)
m_56970_(C_2064_ p_56971_, C_1559_ p_56972_, C_4675_ p_56973_, C_4687_ p_56974_)
public static boolean
m(dse arg0)
isStairs(BlockState arg0)
method_10676(class_2680 arg0)
isStairs(BlockState state)
m_56980_(C_2064_ p_56981_)
protected BlockState
a(dse arg0, dlo arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
m_6843_(C_2064_ p_56923_, C_1886_ arg1)
protected BlockState
a(dse arg0, djy arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
m_6943_(C_2064_ p_56920_, C_1838_ arg1)
protected void
a(dsf$a<dfb, dse> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
protected FluidState
b_(dse arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
protected boolean
a(dse arg0, eom arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
m_7357_(C_2064_ p_56894_, C_2754_ arg1)