net.minecraft.world.level.block

public class StairBlock

extends Block implements SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

dvs
net.minecraft.world.level.block.StairBlock
net.minecraft.class_2510
net.minecraft.block.StairsBlock
net.minecraft.src.C_1920_

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<StairBlock>
a
CODEC
field_46460
CODEC
f_303622_
public static final EnumProperty<Direction>
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_
private static final VoxelShape
g
SHAPE_OUTER
field_55801
OUTER_SHAPE
f_379604_
private static final VoxelShape
h
SHAPE_STRAIGHT
field_55802
STRAIGHT_SHAPE
f_381163_
private static final VoxelShape
i
SHAPE_INNER
field_55803
INNER_SHAPE
f_380569_
private static final Map<Direction, VoxelShape>
D
SHAPE_BOTTOM_OUTER
field_55795
OUTER_BOTTOM_SHAPES
f_379563_
private static final Map<Direction, VoxelShape>
R
SHAPE_BOTTOM_STRAIGHT
field_55796
STRAIGHT_BOTTOM_SHAPES
f_380420_
private static final Map<Direction, VoxelShape>
S
SHAPE_BOTTOM_INNER
field_55797
INNER_BOTTOM_SHAPES
f_379406_
private static final Map<Direction, VoxelShape>
T
SHAPE_TOP_OUTER
field_55798
OUTER_TOP_SHAPES
f_381689_
private static final Map<Direction, VoxelShape>
U
SHAPE_TOP_STRAIGHT
field_55799
STRAIGHT_TOP_SHAPES
f_380455_
private static final Map<Direction, VoxelShape>
V
SHAPE_TOP_INNER
field_55800
INNER_TOP_SHAPES
f_381933_
private final Block
W
base
field_11579
baseBlock
f_56858_
protected final BlockState
f
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_()
protected boolean
g_(ebq arg0)
useShapeForLightOcclusion(BlockState arg0)
method_9526(class_2680 arg0)
hasSidedTransparency(BlockState arg0)
m_7923_(C_2064_ arg0)
protected VoxelShape
a(ebq arg0, djn arg1, iw arg2, fgh 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)
public float
e()
getExplosionResistance()
method_9520()
getBlastResistance()
m_7325_()
public BlockState
a(ded arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
protected BlockState
a(ebq arg0, dkm arg1, dky arg2, iw arg3, jc arg4, iw arg5, ebq arg6, bai 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)
m_7417_(C_2064_ p_369543_, C_1599_ p_369679_, C_346056_ p_56929_, C_4675_ p_56926_, C_4687_ p_56930_, C_4675_ p_56927_, C_2064_ p_367682_, C_212974_ arg7)
private static StairsShape
e(ebq arg0, djn arg1, iw 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(ebq arg0, djn arg1, iw arg2, jc 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
o(ebq arg0)
isStairs(BlockState arg0)
method_10676(class_2680 arg0)
isStairs(BlockState state)
m_56980_(C_2064_ p_56981_)
protected BlockState
a(ebq arg0, dui 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(ebq arg0, dsr 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(ebr$a<dno, ebq> 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_(ebq arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
protected boolean
a(ebq arg0, eyp 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)