public class StairsBlock extends Block implements IWaterLoggable
Block.OffsetType, Block.Properties, Block.RenderSideCacheKey| Modifier and Type | Field and Description |
|---|---|
protected static VoxelShape |
AABB_SLAB_BOTTOM |
protected static VoxelShape |
AABB_SLAB_TOP |
static DirectionProperty |
FACING |
static EnumProperty<Half> |
HALF |
protected static VoxelShape |
NED_CORNER |
protected static VoxelShape |
NEU_CORNER |
protected static VoxelShape |
NWD_CORNER |
protected static VoxelShape |
NWU_CORNER |
protected static VoxelShape |
SED_CORNER |
protected static VoxelShape |
SEU_CORNER |
static EnumProperty<StairsShape> |
SHAPE |
protected static VoxelShape[] |
SLAB_BOTTOM_SHAPES |
protected static VoxelShape[] |
SLAB_TOP_SHAPES |
protected static VoxelShape |
SWD_CORNER |
protected static VoxelShape |
SWU_CORNER |
static BooleanProperty |
WATERLOGGED |
BLOCK_STATE_IDS, blockHardness, blockResistance, blocksMovement, lightValue, LOGGER, material, materialColor, RANDOM, soundType, stateContainer, ticksRandomlydelegate| Modifier | Constructor and Description |
|---|---|
protected |
StairsBlock(BlockState state,
Block.Properties properties)
Deprecated.
|
|
StairsBlock(java.util.function.Supplier<BlockState> state,
Block.Properties properties) |
addInformation, asItem, canDropFromExplosion, canEntitySpawn, cannotAttach, canProvidePower, canSpawnInBlock, canSustainPlant, causesSuffocation, doesSideFillSquare, dropXpOnBlockBreak, eventReceived, fillItemGroup, fillWithRain, func_220055_a, func_220064_c, func_220080_a, getBlockFromItem, getBlockHardness, getCollisionShape, getComparatorInputOverride, getContainer, getDefaultState, getDrops, getDrops, getDrops, getHarvestLevel, getHarvestTool, getItem, getLightValue, getLootTable, getMaterial, getMaterialColor, getNameTextComponent, getOffset, getOffsetType, getOpacity, getPackedLightmapCoords, getPlayerRelativeBlockHardness, getPositionRandom, getPushReaction, getRaytraceShape, getRenderShape, getRenderType, getSlipperiness, getSlipperiness, getSoundType, getStateById, getStateContainer, getStateId, getStrongPower, getTags, getTranslationKey, getValidBlockForPosition, getWeakPower, harvestBlock, hasComparatorInputOverride, hasCustomBreakingProgress, hasSolidSide, hasTileEntity, isAir, isDirt, isIn, isNormalCube, isOpaque, isOpaqueCube, isReplaceable, isRock, isSideInvisible, isSolid, isValidPosition, isVariableOpacity, makeCuboidShape, needsPostProcessing, neighborChanged, nudgeEntitiesWithNewState, onBlockHarvested, onBlockPlacedBy, onEntityCollision, onFallenUpon, onLanded, onProjectileCollision, propagatesSkylightDown, randomTick, replaceBlock, setDefaultState, shouldSideBeRendered, spawnAdditionalDrops, spawnAsEntity, spawnDrops, spawnDrops, spawnDrops, spawnDrops, ticksRandomly, toString, updateDiagonalNeighbors, updateNeighborsgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanContainFluid, pickupFluid, receiveFluidaddDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, beginLeaveDecay, canBeConnectedTo, canBeReplacedByLeaves, canBeReplacedByLogs, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canRenderInLayer, catchFire, collisionExtendsVertically, createTileEntity, doesSideBlockRendering, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getPickBlock, getRayTraceResult, getSoundType, getStateAtViewpoint, getStateForPlacement, getValidRotations, getWeakChanges, hasTileEntity, isAir, isBeaconBase, isBed, isBedFoot, isBurning, isFertile, isFireSource, isFlammable, isFoliage, isLadder, isPortalFrame, isReplaceableOreGen, isStickyBlock, isToolEffective, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, recolorBlock, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPowerpublic static final DirectionProperty FACING
public static final EnumProperty<Half> HALF
public static final EnumProperty<StairsShape> SHAPE
public static final BooleanProperty WATERLOGGED
protected static final VoxelShape AABB_SLAB_TOP
protected static final VoxelShape AABB_SLAB_BOTTOM
protected static final VoxelShape NWD_CORNER
protected static final VoxelShape SWD_CORNER
protected static final VoxelShape NWU_CORNER
protected static final VoxelShape SWU_CORNER
protected static final VoxelShape NED_CORNER
protected static final VoxelShape SED_CORNER
protected static final VoxelShape NEU_CORNER
protected static final VoxelShape SEU_CORNER
protected static final VoxelShape[] SLAB_TOP_SHAPES
protected static final VoxelShape[] SLAB_BOTTOM_SHAPES
@Deprecated protected StairsBlock(BlockState state, Block.Properties properties)
public StairsBlock(java.util.function.Supplier<BlockState> state, Block.Properties properties)
public boolean func_220074_n(BlockState state)
func_220074_n in class Blockpublic VoxelShape getShape(BlockState state, IBlockReader worldIn, BlockPos pos, ISelectionContext context)
public void animateTick(BlockState stateIn, World worldIn, BlockPos pos, java.util.Random rand)
animateTick in class Blockpublic void onBlockClicked(BlockState state, World worldIn, BlockPos pos, PlayerEntity player)
onBlockClicked in class Blockpublic void onPlayerDestroy(IWorld worldIn, BlockPos pos, BlockState state)
onPlayerDestroy in class Blockpublic float getExplosionResistance()
getExplosionResistance in class Blockpublic BlockRenderLayer getRenderLayer()
getRenderLayer in class Blockpublic int tickRate(IWorldReader worldIn)
public void onBlockAdded(BlockState state, World worldIn, BlockPos pos, BlockState oldState, boolean isMoving)
onBlockAdded in class Blockpublic void onReplaced(BlockState state, World worldIn, BlockPos pos, BlockState newState, boolean isMoving)
onReplaced in class Blockpublic void onEntityWalk(World worldIn, BlockPos pos, Entity entityIn)
onEntityWalk in class Blockpublic void tick(BlockState state, World worldIn, BlockPos pos, java.util.Random random)
public boolean onBlockActivated(BlockState state, World worldIn, BlockPos pos, PlayerEntity player, Hand handIn, BlockRayTraceResult hit)
onBlockActivated in class Blockpublic void onExplosionDestroy(World worldIn, BlockPos pos, Explosion explosionIn)
onExplosionDestroy in class Blockpublic BlockState getStateForPlacement(BlockItemUseContext context)
getStateForPlacement in class Blockpublic BlockState updatePostPlacement(BlockState stateIn, Direction facing, BlockState facingState, IWorld worldIn, BlockPos currentPos, BlockPos facingPos)
updatePostPlacement in class Blockpublic static boolean isBlockStairs(BlockState state)
public BlockState rotate(BlockState state, Rotation rot)
public BlockState mirror(BlockState state, Mirror mirrorIn)
protected void fillStateContainer(StateContainer.Builder<Block,BlockState> builder)
fillStateContainer in class Blockpublic IFluidState getFluidState(BlockState state)
getFluidState in class Blockpublic boolean allowsMovement(BlockState state, IBlockReader worldIn, BlockPos pos, PathType type)
allowsMovement in class Block