net.minecraft.block

public class StairsBlock

extends Block

aqy
net.minecraft.class_188
net.minecraft.block.StairsBlock
net.minecraft.block.BlockStairs

Field summary

Modifier and TypeField
public static final DirectionProperty
a
field_9675
FACING
FACING
public static final EnumProperty<StairsBlock$Half>
b
field_9676
HALF
HALF
public static final EnumProperty<StairsBlock$Shape>
c
field_9673
SHAPE
SHAPE
protected static final Box
d
field_12791
TOP_BASE_SHAPE
AABB_SLAB_TOP
protected static final Box
e
field_12792
BOTTOM_WEST_SHAPE
AABB_QTR_TOP_WEST
protected static final Box
f
field_12793
BOTTOM_EAST_SHAPE
AABB_QTR_TOP_EAST
protected static final Box
g
field_12794
BOTTOM_NORTH_SHAPE
AABB_QTR_TOP_NORTH
protected static final Box
B
field_12777
BOTTOM_SOUTH_SHAPE
AABB_QTR_TOP_SOUTH
protected static final Box
C
field_12778
BOTTOM_NORTH_WEST_SHAPE
AABB_OCT_TOP_NW
protected static final Box
D
field_12779
BOTTOM_NORTH_EAST_SHAPE
AABB_OCT_TOP_NE
protected static final Box
E
field_12780
BOTTOM_SOUTH_WEST_SHAPE
AABB_OCT_TOP_SW
protected static final Box
F
field_12781
BOTTOM_SOUTH_EAST_SHAPE
AABB_OCT_TOP_SE
protected static final Box
G
field_12782
BOTTOM_BASE_SHAPE
AABB_SLAB_BOTTOM
protected static final Box
H
field_12783
TOP_WEST_SHAPE
AABB_QTR_BOT_WEST
protected static final Box
I
field_12784
TOP_EAST_SHAPE
AABB_QTR_BOT_EAST
protected static final Box
J
field_12785
TOP_NORTH_SHAPE
AABB_QTR_BOT_NORTH
protected static final Box
K
field_12786
TOP_SOUTH_SHAPE
AABB_QTR_BOT_SOUTH
protected static final Box
L
field_12787
TOP_NORTH_WEST_SHAPE
AABB_OCT_BOT_NW
protected static final Box
M
field_12788
TOP_NORTH_EAST_SHAPE
AABB_OCT_BOT_NE
protected static final Box
N
field_12789
TOP_SOUTH_WEST_SHAPE
AABB_OCT_BOT_SW
protected static final Box
O
field_12790
TOP_SOUTH_EAST_SHAPE
AABB_OCT_BOT_SE
private final Block
P
field_324
baseBlock
modelBlock
private final BlockState
Q
field_9674
baseState
modelState

Constructor summary

ModifierConstructor
protected (BlockState baseState)

Method summary

Modifier and TypeMethod
public void
a(atl arg0, ajs arg1, co arg2, bdt arg3, List<bdt> arg4, sn arg5, boolean arg6)
method_11553(class_2232 arg0, class_1150 arg1, class_2552 arg2, class_231 arg3, List<class_231> arg4, class_864 arg5, boolean arg6)
addCollisions(BlockState arg0, World arg1, BlockPos arg2, Box arg3, List<Box> arg4, Entity arg5, boolean arg6)
addCollisionBoxToList(IBlockState arg0, World arg1, BlockPos arg2, AxisAlignedBB arg3, List<AxisAlignedBB> arg4, Entity arg5, boolean arg6)
private static List<Box>
z(atl arg0)
method_11634(class_2232 arg0)
getCollisionShapes(BlockState state)
getCollisionBoxList(IBlockState bstate)
private static Box
A(atl arg0)
method_11635(class_2232 arg0)
getCollisionShapeForInnerStep(BlockState state)
getCollQuarterBlock(IBlockState bstate)
private static Box
B(atl arg0)
method_11636(class_2232 arg0)
getCollisionShapeForOuterStep(BlockState state)
getCollEighthBlock(IBlockState bstate)
public boolean
b(atl arg0)
method_11560(class_2232 arg0)
isSolidRender(BlockState arg0)
isOpaqueCube(IBlockState arg0)
public boolean
c(atl arg0)
method_11562(class_2232 arg0)
isCube(BlockState arg0)
isFullCube(IBlockState arg0)
public void
a(ajs arg0, co arg1, aay arg2)
method_420(class_1150 arg0, class_2552 arg1, class_988 arg2)
startMining(World arg0, BlockPos arg1, PlayerEntity arg2)
onBlockClicked(World arg0, BlockPos arg1, EntityPlayer arg2)
public void
d(ajs arg0, co arg1, atl arg2)
method_8674(class_1150 arg0, class_2552 arg1, class_2232 arg2)
onBroken(World arg0, BlockPos arg1, BlockState arg2)
onBlockDestroyedByPlayer(World arg0, BlockPos arg1, IBlockState arg2)
public float
a(sn arg0)
method_404(class_864 arg0)
getBlastResistance(Entity arg0)
getExplosionResistance(Entity arg0)
public int
a(ajs arg0)
method_4789(class_1150 arg0)
getTickRate(World arg0)
tickRate(World arg0)
public Vec3d
a(ajs arg0, co arg1, sn arg2, bdw arg3)
method_8648(class_1150 arg0, class_2552 arg1, class_864 arg2, class_236 arg3)
applyMaterialDrag(World arg0, BlockPos arg1, Entity arg2, Vec3d arg3)
modifyAcceleration(World arg0, BlockPos arg1, Entity arg2, Vec3d arg3)
public boolean
m()
method_469()
canRayTrace()
isCollidable()
public boolean
a(atl arg0, boolean arg1)
method_400(class_2232 arg0, boolean arg1)
canRayTrace(BlockState arg0, boolean arg1)
canCollideCheck(IBlockState arg0, boolean arg1)
public boolean
a(ajs arg0, co arg1)
method_8673(class_1150 arg0, class_2552 arg1)
canBePlaced(World arg0, BlockPos arg1)
canPlaceBlockAt(World arg0, BlockPos arg1)
public void
c(ajs arg0, co arg1, atl arg2)
method_8668(class_1150 arg0, class_2552 arg1, class_2232 arg2)
onAdded(World arg0, BlockPos arg1, BlockState arg2)
onBlockAdded(World arg0, BlockPos arg1, IBlockState arg2)
public void
b(ajs arg0, co arg1, atl arg2)
method_8659(class_1150 arg0, class_2552 arg1, class_2232 arg2)
onRemoved(World arg0, BlockPos arg1, BlockState arg2)
breakBlock(World arg0, BlockPos arg1, IBlockState arg2)
public void
a(ajs arg0, co arg1, sn arg2)
method_437(class_1150 arg0, class_2552 arg1, class_864 arg2)
onSteppedOn(World arg0, BlockPos arg1, Entity arg2)
onEntityWalk(World arg0, BlockPos arg1, Entity arg2)
public void
b(ajs arg0, co arg1, atl arg2, Random arg3)
method_8661(class_1150 arg0, class_2552 arg1, class_2232 arg2, Random arg3)
tick(World arg0, BlockPos arg1, BlockState arg2, Random arg3)
updateTick(World arg0, BlockPos arg1, IBlockState arg2, Random arg3)
public boolean
a(ajs arg0, co arg1, atl arg2, aay arg3, ri arg4, cv arg5, float arg6, float arg7, float arg8)
method_421(class_1150 arg0, class_2552 arg1, class_2232 arg2, class_988 arg3, class_2961 arg4, class_1354 arg5, float arg6, float arg7, float arg8)
use(World arg0, BlockPos arg1, BlockState arg2, PlayerEntity arg3, InteractionHand arg4, Direction arg5, float arg6, float arg7, float arg8)
onBlockActivated(World arg0, BlockPos arg1, IBlockState arg2, EntityPlayer arg3, EnumHand arg4, EnumFacing arg5, float arg6, float arg7, float arg8)
public void
a(ajs arg0, co arg1, ajn arg2)
method_8639(class_1150 arg0, class_2552 arg1, class_1147 arg2)
onExploded(World arg0, BlockPos arg1, Explosion arg2)
onBlockDestroyedByExplosion(World arg0, BlockPos arg1, Explosion arg2)
public boolean
k(atl arg0)
method_11568(class_2232 arg0)
isFullBlock(BlockState arg0)
isTopSolid(IBlockState arg0)
public MapColor
r(atl arg0)
method_8680(class_2232 arg0)
getMapColor(BlockState arg0)
getMapColor(IBlockState arg0)
public BlockState
a(ajs arg0, co arg1, cv arg2, float arg3, float arg4, float arg5, int arg6, sw arg7)
method_8645(class_1150 arg0, class_2552 arg1, class_1354 arg2, float arg3, float arg4, float arg5, int arg6, class_1699 arg7)
getPlacementState(World arg0, BlockPos arg1, Direction arg2, float arg3, float arg4, float arg5, int arg6, LivingEntity arg7)
getStateForPlacement(World arg0, BlockPos arg1, EnumFacing arg2, float arg3, float arg4, float arg5, int arg6, EntityLivingBase arg7)
public HitResult
a(atl arg0, ajs arg1, co arg2, bdw arg3, bdw arg4)
method_414(class_2232 arg0, class_1150 arg1, class_2552 arg2, class_236 arg3, class_236 arg4)
rayTrace(BlockState arg0, World arg1, BlockPos arg2, Vec3d arg3, Vec3d arg4)
collisionRayTrace(IBlockState arg0, World arg1, BlockPos arg2, Vec3d arg3, Vec3d arg4)
public BlockState
a(int arg0)
method_8635(int arg0)
getStateFromMetadata(int arg0)
getStateFromMeta(int arg0)
public int
e(atl arg0)
method_8671(class_2232 arg0)
getMetadataFromState(BlockState arg0)
getMetaFromState(IBlockState arg0)
public BlockState
c(atl arg0, ajw arg1, co arg2)
method_8656(class_2232 arg0, class_1158 arg1, class_2552 arg2)
resolveVirtualProperties(BlockState arg0, WorldView arg1, BlockPos arg2)
getActualState(IBlockState arg0, IBlockAccess arg1, BlockPos arg2)
private static StairsBlock$Shape
f(atl arg0, ajw arg1, co arg2)
method_11631(class_2232 arg0, class_1158 arg1, class_2552 arg2)
getStairShape(BlockState state, WorldView world, BlockPos pos)
getStairsShape(IBlockState arg0, IBlockAccess arg1, BlockPos arg2)
private static boolean
d(atl arg0, ajw arg1, co arg2, cv arg3)
method_11632(class_2232 arg0, class_1158 arg1, class_2552 arg2, class_1354 arg3)
isStairSameHalfSameFacing(BlockState state, WorldView world, BlockPos pos, Direction dir)
isDifferentStairs(IBlockState arg0, IBlockAccess arg1, BlockPos arg2, EnumFacing arg3)
public static boolean
i(atl arg0)
method_11633(class_2232 arg0)
isStair(BlockState state)
isBlockStairs(IBlockState state)
public BlockState
a(atl arg0, aqi arg1)
method_11556(class_2232 arg0, class_2734 arg1)
rotate(BlockState arg0, BlockRotation arg1)
withRotation(IBlockState arg0, Rotation arg1)
public BlockState
a(atl arg0, aou arg1)
method_11555(class_2232 arg0, class_2727 arg1)
mirror(BlockState arg0, BlockMirror arg1)
withMirror(IBlockState arg0, Mirror arg1)
protected StateDefinition
b()
method_8676()
createStateDefinition()
createBlockState()
public void
a(atl arg0, ajs arg1, co arg2, Random arg3)
method_8669(class_2232 arg0, class_1150 arg1, class_2552 arg2, Random arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
randomDisplayTick(IBlockState arg0, World arg1, BlockPos arg2, Random arg3)
public int
d(atl arg0, ajw arg1, co arg2)
method_11564(class_2232 arg0, class_1158 arg1, class_2552 arg2)
getLightColor(BlockState arg0, WorldView arg1, BlockPos arg2)
getPackedLightmapCoords(IBlockState arg0, IBlockAccess arg1, BlockPos arg2)
public BlockLayer
f()
method_8687()
getRenderLayer()
getBlockLayer()
public Box
b(atl arg0, ajs arg1, co arg2)
method_11563(class_2232 arg0, class_1150 arg1, class_2552 arg2)
getOutlineShape(BlockState arg0, World arg1, BlockPos arg2)
getSelectedBoundingBox(IBlockState arg0, World arg1, BlockPos arg2)