net.minecraft.world.level.block

public class StairBlock

extends Block implements SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

cxh
net.minecraft.world.level.block.StairBlock
net.minecraft.class_2510
net.minecraft.unmapped.C_cympqakq
net.minecraft.block.StairsBlock
net.minecraft.block.StairsBlock
net.minecraft.src.C_1920_
net.minecraft.world.level.block.BlockStairs

Field summary

Modifier and TypeField
public static final DirectionProperty
a
FACING
field_11571
f_depvmvwy
FACING
FACING
f_56841_
public static final EnumProperty<Half>
b
HALF
field_11572
f_jryfvpgt
HALF
HALF
f_56842_
public static final EnumProperty<StairsShape>
c
SHAPE
field_11565
f_pqodobau
SHAPE
SHAPE
f_56843_
public static final BooleanProperty
d
WATERLOGGED
field_11573
f_dwucfilj
WATERLOGGED
WATERLOGGED
f_56844_
protected static final VoxelShape
e
TOP_AABB
field_11562
f_rxwebqbf
TOP_SHAPE
TOP_SHAPE
f_56845_
protected static final VoxelShape
f
BOTTOM_AABB
field_11576
f_jkwdwsmq
BOTTOM_SHAPE
BOTTOM_SHAPE
f_56846_
protected static final VoxelShape
g
OCTET_NNN
field_11561
f_dkgdwdyb
BOTTOM_NORTH_WEST_CORNER_SHAPE
BOTTOM_NORTH_WEST_CORNER_SHAPE
f_56847_
protected static final VoxelShape
h
OCTET_NNP
field_11578
f_grfaflgo
BOTTOM_SOUTH_WEST_CORNER_SHAPE
BOTTOM_SOUTH_WEST_CORNER_SHAPE
f_56848_
protected static final VoxelShape
i
OCTET_NPN
field_11568
f_chywqnis
TOP_NORTH_WEST_CORNER_SHAPE
TOP_NORTH_WEST_CORNER_SHAPE
f_56849_
protected static final VoxelShape
j
OCTET_NPP
field_11563
f_oesjnega
TOP_SOUTH_WEST_CORNER_SHAPE
TOP_SOUTH_WEST_CORNER_SHAPE
f_56850_
protected static final VoxelShape
k
OCTET_PNN
field_11575
f_arqovgby
BOTTOM_NORTH_EAST_CORNER_SHAPE
BOTTOM_NORTH_EAST_CORNER_SHAPE
f_56851_
protected static final VoxelShape
l
OCTET_PNP
field_11569
f_uyxpxyfk
BOTTOM_SOUTH_EAST_CORNER_SHAPE
BOTTOM_SOUTH_EAST_CORNER_SHAPE
f_56852_
protected static final VoxelShape
m
OCTET_PPN
field_11577
f_fzeajwvu
TOP_NORTH_EAST_CORNER_SHAPE
TOP_NORTH_EAST_CORNER_SHAPE
f_56853_
protected static final VoxelShape
n
OCTET_PPP
field_11567
f_ostrqope
TOP_SOUTH_EAST_CORNER_SHAPE
TOP_SOUTH_EAST_CORNER_SHAPE
f_56854_
protected static final VoxelShape[]
D
TOP_SHAPES
field_11566
f_jlltoshf
TOP_SHAPES
TOP_SHAPES
f_56855_
protected static final VoxelShape[]
E
BOTTOM_SHAPES
field_11564
f_tvxtogpo
BOTTOM_SHAPES
BOTTOM_SHAPES
f_56856_
private static final int[]
F
SHAPE_BY_STATE
field_11570
f_yslzirqp
SHAPE_INDICES
SHAPE_INDICES
f_56857_
private final Block
G
base
field_11579
f_xnbljgrj
baseBlock
baseBlock
f_56858_
private final BlockState
H
baseState
field_11574
f_ewdzprbz
baseBlockState
baseBlockState
f_56859_

Constructor summary

ModifierConstructor
protected (BlockState baseBlockState, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
private static VoxelShape[]
a(efb arg0, efb arg1, efb arg2, efb arg3, efb 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)
m_twktnerw(C_zscvhwbd arg0, C_zscvhwbd arg1, C_zscvhwbd arg2, C_zscvhwbd arg3, C_zscvhwbd arg4)
composeShapes(VoxelShape base, VoxelShape northWest, VoxelShape northEast, VoxelShape southWest, VoxelShape southEast)
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, efb arg1, efb arg2, efb arg3, efb arg4, efb 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)
m_kkyurjpn(int arg0, C_zscvhwbd arg1, C_zscvhwbd arg2, C_zscvhwbd arg3, C_zscvhwbd arg4, C_zscvhwbd arg5)
composeShape(int i, VoxelShape base, VoxelShape northWest, VoxelShape northEast, VoxelShape southWest, VoxelShape southEast)
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_)
public boolean
g_(dcb arg0)
useShapeForLightOcclusion(BlockState arg0)
method_9526(class_2680 arg0)
m_mfmohedo(C_txtbiemp arg0)
hasSidedTransparency(BlockState arg0)
hasSidedTransparency(BlockState arg0)
m_7923_(C_2064_ arg0)
public VoxelShape
a(dcb arg0, cls arg1, gu arg2, een arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
m_fqngyjtr(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_pbfjvesm arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext 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(dcb arg0)
getShapeIndex(BlockState arg0)
method_10673(class_2680 arg0)
m_zgwdngsy(C_txtbiemp arg0)
getShapeIndexIndex(BlockState state)
getShapeIndexIndex(BlockState state)
m_56982_(C_2064_ arg0)
public void
a(dcb arg0, cmm arg1, gu arg2, apf arg3)
animateTick(BlockState arg0, Level arg1, BlockPos arg2, RandomSource arg3)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_5819 arg3)
m_qdvbqnpt(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_rlomrsco arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, RandomGenerator arg3)
m_214162_(C_2064_ p_222519_, C_1596_ p_222520_, C_4675_ p_222521_, C_212974_ arg3)
public void
a(dcb arg0, cmm arg1, gu arg2, byo arg3)
attack(BlockState arg0, Level arg1, BlockPos arg2, Player arg3)
method_9606(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3)
m_ktunuucb(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_jzrpycqo arg3)
onBlockBreakStart(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3)
onBlockBreakStart(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3)
m_6256_(C_2064_ p_56897_, C_1596_ p_56898_, C_4675_ p_56899_, C_1141_ arg3)
public void
a(cmn arg0, gu arg1, dcb arg2)
destroy(LevelAccessor arg0, BlockPos arg1, BlockState arg2)
method_9585(class_1936 arg0, class_2338 arg1, class_2680 arg2)
m_pwlljkia(C_vdvbsyle arg0, C_hynzadkk arg1, C_txtbiemp arg2)
onBroken(WorldAccess arg0, BlockPos arg1, BlockState arg2)
onBroken(WorldAccess arg0, BlockPos arg1, BlockState arg2)
m_6786_(C_1598_ p_56883_, C_4675_ p_56884_, C_2064_ arg2)
public float
d()
getExplosionResistance()
method_9520()
m_gzevdpnp()
getBlastResistance()
getBlastResistance()
m_7325_()
public void
b(dcb arg0, cmm arg1, gu arg2, dcb arg3, boolean arg4)
onPlace(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
method_9615(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
m_cojbgxjy(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3, boolean arg4)
onBlockAdded(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
onBlockAdded(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
m_6807_(C_2064_ p_56962_, C_1596_ p_56963_, C_4675_ p_56964_, C_2064_ p_56965_, boolean arg4)
public void
a(dcb arg0, cmm arg1, gu arg2, dcb arg3, boolean arg4)
onRemove(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
method_9536(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
m_rhbsxbgh(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
m_6810_(C_2064_ p_56909_, C_1596_ p_56910_, C_4675_ p_56911_, C_2064_ p_56912_, boolean arg4)
public void
a(cmm arg0, gu arg1, dcb arg2, bfj arg3)
stepOn(Level arg0, BlockPos arg1, BlockState arg2, Entity arg3)
method_9591(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1297 arg3)
m_aqcetwet(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_astfners arg3)
onSteppedOn(World arg0, BlockPos arg1, BlockState arg2, Entity arg3)
onSteppedOn(World arg0, BlockPos arg1, BlockState arg2, Entity arg3)
m_141947_(C_1596_ p_154721_, C_4675_ p_154722_, C_2064_ p_154723_, C_507_ arg3)
public boolean
e_(dcb arg0)
isRandomlyTicking(BlockState arg0)
method_9542(class_2680 arg0)
m_lluiwoji(C_txtbiemp arg0)
hasRandomTicks(BlockState arg0)
hasRandomTicks(BlockState arg0)
m_6724_(C_2064_ arg0)
public void
b(dcb arg0, aif arg1, gu arg2, apf arg3)
randomTick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9514(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
m_sdymngiw(C_txtbiemp arg0, C_bdwnwhiu arg1, C_hynzadkk arg2, C_rlomrsco arg3)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, RandomGenerator arg3)
m_213898_(C_2064_ p_222524_, C_12_ p_222525_, C_4675_ p_222526_, C_212974_ arg3)
public void
a(dcb arg0, aif arg1, gu arg2, apf arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
m_bneobcwj(C_txtbiemp arg0, C_bdwnwhiu arg1, C_hynzadkk arg2, C_rlomrsco arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, RandomGenerator arg3)
m_213897_(C_2064_ p_222514_, C_12_ p_222515_, C_4675_ p_222516_, C_212974_ arg3)
public InteractionResult
a(dcb arg0, cmm arg1, gu arg2, byo arg3, bdw arg4, eee arg5)
use(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, InteractionHand arg4, BlockHitResult arg5)
method_9534(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_3965 arg5)
m_rocdemyx(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_jzrpycqo arg3, C_laxmzoqs arg4, C_jdakttms arg5)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
m_6227_(C_2064_ p_56902_, C_1596_ p_56903_, C_4675_ p_56904_, C_1141_ p_56905_, C_470_ p_56906_, C_3041_ arg5)
public void
a(cmm arg0, gu arg1, cme arg2)
wasExploded(Level arg0, BlockPos arg1, Explosion arg2)
method_9586(class_1937 arg0, class_2338 arg1, class_1927 arg2)
m_hxjiobgn(C_cdctfzbn arg0, C_hynzadkk arg1, C_aahhrzpf arg2)
onDestroyedByExplosion(World arg0, BlockPos arg1, Explosion arg2)
onDestroyedByExplosion(World arg0, BlockPos arg1, Explosion arg2)
m_7592_(C_1596_ p_56879_, C_4675_ p_56880_, C_1578_ arg2)
public BlockState
a(cih arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
m_iwedynhy(C_aiootljq arg0)
getPlacementState(ItemPlacementContext arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
public BlockState
a(dcb arg0, ha arg1, dcb arg2, cmn arg3, gu arg4, gu 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)
m_yvunqpeq(C_txtbiemp arg0, C_xpuuihxf arg1, C_txtbiemp arg2, C_vdvbsyle arg3, C_hynzadkk arg4, C_hynzadkk arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos 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(dcb arg0, cls arg1, gu arg2)
getStairsShape(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_10675(class_2680 arg0, class_1922 arg1, class_2338 arg2)
m_wegfelin(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2)
getStairShape(BlockState state, BlockView world, BlockPos pos)
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(dcb arg0, cls arg1, gu arg2, ha arg3)
canTakeShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_10678(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
m_zwdjchjk(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_xpuuihxf arg3)
isDifferentOrientation(BlockState state, BlockView world, BlockPos pos, Direction dir)
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
h(dcb arg0)
isStairs(BlockState arg0)
method_10676(class_2680 arg0)
m_xemnqeux(C_txtbiemp arg0)
isStairs(BlockState state)
isStairs(BlockState state)
m_56980_(C_2064_ p_56981_)
public BlockState
a(dcb arg0, cvz arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
m_umbsjste(C_txtbiemp arg0, C_mboglirk arg1)
rotate(BlockState arg0, BlockRotation arg1)
rotate(BlockState arg0, BlockRotation arg1)
m_6843_(C_2064_ p_56923_, C_1886_ arg1)
public BlockState
a(dcb arg0, cui arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
m_ssvaouey(C_txtbiemp arg0, C_qomzaqud arg1)
mirror(BlockState arg0, BlockMirror arg1)
mirror(BlockState arg0, BlockMirror arg1)
m_6943_(C_2064_ p_56920_, C_1838_ arg1)
protected void
a(dcc$a<cpn, dcb> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
m_yujtcnah(C_ezfeikaq$C_mfnsmxhw<C_mmxmpdoq, C_txtbiemp> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
public FluidState
c_(dcb arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
m_nlstkjhl(C_txtbiemp arg0)
getFluidState(BlockState arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
public boolean
a(dcb arg0, cls arg1, gu arg2, dxu arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
m_rwctfady(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_kjwlgpfr arg3)
canPathfindThrough(BlockState arg0, BlockView arg1, BlockPos arg2, NavigationType arg3)
canPathfindThrough(BlockState arg0, BlockView arg1, BlockPos arg2, NavigationType arg3)
m_7357_(C_2064_ p_56892_, C_1559_ p_56893_, C_4675_ p_56894_, C_2754_ arg3)