net.minecraft.block

public class StairsBlock

extends Block implements Waterloggable

All mapped superinterfaces:

ItemConvertible, Waterloggable, FluidDrainable, FluidFillable

cbn
net.minecraft.world.level.block.StairBlock
net.minecraft.class_2510
net.minecraft.block.StairsBlock
net.minecraft.unmapped.C_cympqakq
net.minecraft.block.StairsBlock
net.minecraft.block.StairsBlock

Field summary

Modifier and TypeField
public static final DirectionProperty
a
FACING
field_11571
FACING
f_depvmvwy
field_176309_a
FACING
public static final EnumProperty<BlockHalf>
b
HALF
field_11572
HALF
f_jryfvpgt
field_176308_b
HALF
public static final EnumProperty<StairShape>
c
SHAPE
field_11565
SHAPE
f_pqodobau
field_176310_M
SHAPE
public static final BooleanProperty
d
WATERLOGGED
field_11573
WATERLOGGED
f_dwucfilj
field_204513_t
WATERLOGGED
protected static final VoxelShape
e
TOP_AABB
field_11562
TOP_SHAPE
f_rxwebqbf
field_185712_d
AABB_SLAB_TOP
protected static final VoxelShape
f
BOTTOM_AABB
field_11576
BOTTOM_SHAPE
f_jkwdwsmq
field_185719_G
AABB_SLAB_BOTTOM
protected static final VoxelShape
g
OCTET_NNN
field_11561
BOTTOM_NORTH_WEST_CORNER_SHAPE
f_dkgdwdyb
field_196512_A
NWD_CORNER
protected static final VoxelShape
h
OCTET_NNP
field_11578
BOTTOM_SOUTH_WEST_CORNER_SHAPE
f_grfaflgo
field_196513_B
SWD_CORNER
protected static final VoxelShape
i
OCTET_NPN
field_11568
TOP_NORTH_WEST_CORNER_SHAPE
f_chywqnis
field_196514_C
NWU_CORNER
protected static final VoxelShape
j
OCTET_NPP
field_11563
TOP_SOUTH_WEST_CORNER_SHAPE
f_oesjnega
field_196515_D
SWU_CORNER
protected static final VoxelShape
k
OCTET_PNN
field_11575
BOTTOM_NORTH_EAST_CORNER_SHAPE
f_arqovgby
field_196516_E
NED_CORNER
protected static final VoxelShape
o
OCTET_PNP
field_11569
BOTTOM_SOUTH_EAST_CORNER_SHAPE
f_uyxpxyfk
field_196517_F
SED_CORNER
protected static final VoxelShape
p
OCTET_PPN
field_11577
TOP_NORTH_EAST_CORNER_SHAPE
f_fzeajwvu
field_196518_G
NEU_CORNER
protected static final VoxelShape
q
OCTET_PPP
field_11567
TOP_SOUTH_EAST_CORNER_SHAPE
f_ostrqope
field_196519_H
SEU_CORNER
protected static final VoxelShape[]
r
TOP_SHAPES
field_11566
TOP_SHAPES
f_jlltoshf
field_196520_I
SLAB_TOP_SHAPES
protected static final VoxelShape[]
s
BOTTOM_SHAPES
field_11564
BOTTOM_SHAPES
f_tvxtogpo
field_196521_J
SLAB_BOTTOM_SHAPES
private static final int[]
t
SHAPE_BY_STATE
field_11570
SHAPE_INDICES
f_yslzirqp
field_196522_K
field_196522_K
private final Block
u
base
field_11579
baseBlock
f_xnbljgrj
field_150149_b
modelBlock
private final BlockState
v
baseState
field_11574
baseBlockState
f_ewdzprbz
field_150151_M
modelState

Constructor summary

ModifierConstructor
protected (BlockState baseBlockState, AbstractBlock$Settings settings)

Method summary

Modifier and TypeMethod
private static VoxelShape[]
a(dfg arg0, dfg arg1, dfg arg2, dfg arg3, dfg 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_twktnerw(C_zscvhwbd arg0, C_zscvhwbd arg1, C_zscvhwbd arg2, C_zscvhwbd arg3, C_zscvhwbd arg4)
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, dfg arg1, dfg arg2, dfg arg3, dfg arg4, dfg 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_kkyurjpn(int arg0, C_zscvhwbd arg1, C_zscvhwbd arg2, C_zscvhwbd arg3, C_zscvhwbd arg4, C_zscvhwbd arg5)
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
c_(cfj arg0)
useShapeForLightOcclusion(BlockState arg0)
method_9526(class_2680 arg0)
hasSidedTransparency(BlockState arg0)
m_mfmohedo(C_txtbiemp arg0)
func_220074_n(BlockState arg0)
isTransparent(BlockState arg0)
public VoxelShape
b(cfj arg0, bpg arg1, fu arg2, der 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_fqngyjtr(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_pbfjvesm arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
getShape(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
private int
l(cfj arg0)
getShapeIndex(BlockState arg0)
method_10673(class_2680 arg0)
getShapeIndexIndex(BlockState state)
m_zgwdngsy(C_txtbiemp arg0)
func_196511_x(BlockState arg0)
func_196511_x(BlockState state)
public void
a(cfj arg0, bqb arg1, fu arg2, bec arg3)
attack(BlockState arg0, Level arg1, BlockPos arg2, Player arg3)
method_9606(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3)
onBlockBreakStart(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3)
m_ktunuucb(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_jzrpycqo arg3)
func_196270_a(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3)
onBlockClicked(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3)
public void
a(bqc arg0, fu arg1, cfj arg2)
destroy(LevelAccessor arg0, BlockPos arg1, BlockState arg2)
method_9585(class_1936 arg0, class_2338 arg1, class_2680 arg2)
onBroken(WorldAccess arg0, BlockPos arg1, BlockState arg2)
m_pwlljkia(C_vdvbsyle arg0, C_hynzadkk arg1, C_txtbiemp arg2)
func_176206_d(IWorld arg0, BlockPos arg1, BlockState arg2)
onPlayerDestroy(IWorld arg0, BlockPos arg1, BlockState arg2)
public float
f()
getExplosionResistance()
method_9520()
getBlastResistance()
m_gzevdpnp()
func_149638_a()
getExplosionResistance()
public void
b(cfj arg0, bqb arg1, fu arg2, cfj 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)
onBlockAdded(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
m_cojbgxjy(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3, boolean arg4)
func_220082_b(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
onBlockAdded(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
public void
a(cfj arg0, bqb arg1, fu arg2, cfj 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)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
m_rhbsxbgh(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp 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(bqb arg0, fu arg1, aom arg2)
stepOn(Level arg0, BlockPos arg1, Entity arg2)
method_9591(class_1937 arg0, class_2338 arg1, class_1297 arg2)
onSteppedOn(World arg0, BlockPos arg1, Entity arg2)
m_aqcetwet(C_cdctfzbn arg0, C_hynzadkk arg1, C_astfners arg2)
func_176199_a(World arg0, BlockPos arg1, Entity arg2)
onEntityWalk(World arg0, BlockPos arg1, Entity arg2)
public boolean
a_(cfj arg0)
isRandomlyTicking(BlockState arg0)
method_9542(class_2680 arg0)
hasRandomTicks(BlockState arg0)
m_lluiwoji(C_txtbiemp arg0)
func_149653_t(BlockState arg0)
ticksRandomly(BlockState arg0)
public void
b(cfj arg0, zd arg1, fu arg2, Random arg3)
randomTick(BlockState arg0, ServerLevel arg1, BlockPos arg2, Random arg3)
method_9514(class_2680 arg0, class_3218 arg1, class_2338 arg2, Random arg3)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
m_sdymngiw(C_txtbiemp arg0, C_bdwnwhiu arg1, C_hynzadkk arg2, Random arg3)
func_225542_b_(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
public void
a(cfj arg0, zd arg1, fu arg2, Random arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, Random arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, Random arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
m_bneobcwj(C_txtbiemp arg0, C_bdwnwhiu arg1, C_hynzadkk arg2, Random arg3)
func_225534_a_(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
tick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
public ActionResult
a(cfj arg0, bqb arg1, fu arg2, bec arg3, anf arg4, deh 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)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
m_rocdemyx(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_jzrpycqo arg3, C_laxmzoqs arg4, C_jdakttms arg5)
func_225533_a_(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockRayTraceResult arg5)
onBlockActivated(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockRayTraceResult arg5)
public void
a(bqb arg0, fu arg1, bpt arg2)
wasExploded(Level arg0, BlockPos arg1, Explosion arg2)
method_9586(class_1937 arg0, class_2338 arg1, class_1927 arg2)
onDestroyedByExplosion(World arg0, BlockPos arg1, Explosion arg2)
m_hxjiobgn(C_cdctfzbn arg0, C_hynzadkk arg1, C_aahhrzpf arg2)
func_180652_a(World arg0, BlockPos arg1, Explosion arg2)
onExplosionDestroy(World arg0, BlockPos arg1, Explosion arg2)
public BlockState
a(bin arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_iwedynhy(C_aiootljq arg0)
func_196258_a(BlockItemUseContext arg0)
getStateForPlacement(BlockItemUseContext arg0)
public BlockState
a(cfj arg0, fz arg1, cfj arg2, bqc arg3, fu arg4, fu 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_yvunqpeq(C_txtbiemp arg0, C_xpuuihxf arg1, C_txtbiemp arg2, C_vdvbsyle arg3, C_hynzadkk arg4, C_hynzadkk 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
g(cfj arg0, bpg arg1, fu 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_wegfelin(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2)
func_208064_n(BlockState arg0, IBlockReader arg1, BlockPos arg2)
getShapeProperty(BlockState state, IBlockReader worldIn, BlockPos pos)
private static boolean
e(cfj arg0, bpg arg1, fu arg2, fz arg3)
canTakeShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_10678(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
method_10678(BlockState state, BlockView world, BlockPos pos, Direction dir)
m_zwdjchjk(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_xpuuihxf arg3)
func_185704_d(BlockState arg0, IBlockReader arg1, BlockPos arg2, Direction arg3)
isDifferentStairs(BlockState state, IBlockReader worldIn, BlockPos pos, Direction face)
public static boolean
h(cfj arg0)
isStairs(BlockState arg0)
method_10676(class_2680 arg0)
isStairs(BlockState state)
m_xemnqeux(C_txtbiemp arg0)
func_185709_i(BlockState arg0)
isBlockStairs(BlockState state)
public BlockState
a(cfj arg0, cap arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
m_umbsjste(C_txtbiemp arg0, C_mboglirk arg1)
func_185499_a(BlockState arg0, Rotation arg1)
rotate(BlockState arg0, Rotation arg1)
public BlockState
a(cfj arg0, bzj arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
m_ssvaouey(C_txtbiemp arg0, C_qomzaqud arg1)
func_185471_a(BlockState arg0, Mirror arg1)
mirror(BlockState arg0, Mirror arg1)
protected void
a(cfk$a<bvr, cfj> 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_yujtcnah(C_ezfeikaq$C_mfnsmxhw<C_mmxmpdoq, C_txtbiemp> arg0)
func_206840_a(StateContainer$Builder<Block, BlockState> arg0)
fillStateContainer(StateContainer$Builder<Block, BlockState> arg0)
public FluidState
d(cfj arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
m_nlstkjhl(C_txtbiemp arg0)
func_204507_t(BlockState arg0)
getFluidState(BlockState arg0)
public boolean
a(cfj arg0, bpg arg1, fu arg2, czg arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
canPathfindThrough(BlockState arg0, BlockView arg1, BlockPos arg2, NavigationType arg3)
m_rwctfady(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_kjwlgpfr arg3)
func_196266_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, PathType arg3)
allowsMovement(BlockState arg0, IBlockReader arg1, BlockPos arg2, PathType arg3)
public void
a(cfj arg0, bqb arg1, fu arg2, Random arg3)
animateTick(BlockState arg0, Level arg1, BlockPos 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)
m_qdvbqnpt(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, Random arg3)
func_180655_c(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
animateTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)