public class BlockStairs extends Block
| Modifier and Type | Class and Description |
|---|---|
static class |
BlockStairs.EnumHalf |
static class |
BlockStairs.EnumShape |
Block.EnumOffsetTypeIForgeRegistryEntry.Impl<T extends IForgeRegistryEntry<T>>BLOCK_STATE_IDS, blockHardness, blockMapColor, blockMaterial, blockParticleGravity, blockResistance, blockSoundType, blockState, capturedDrops, captureDrops, enableStats, FULL_BLOCK_AABB, fullBlock, harvesters, isBlockContainer, lightOpacity, lightValue, needsRandomTick, NULL_AABB, RANDOM, REGISTRY, slipperiness, translucent, useNeighborBrightnessdelegate| Modifier | Constructor and Description |
|---|---|
protected |
BlockStairs(IBlockState modelState) |
addCollisionBoxToList, addDestroyEffects, addHitEffects, addInformation, addLandingEffects, beginLeavesDecay, canBeReplacedByLeaves, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canRenderInLayer, canReplace, canSilkHarvest, canSilkHarvest, canSpawnInBlock, canSustainLeaves, canSustainPlant, captureDrops, createStackedBlock, createTileEntity, damageDropped, disableStats, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, eventReceived, fillWithRain, getAmbientOcclusionLightValue, getBedDirection, getBedSpawnPosition, getBlockById, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockState, getBoundingBox, getCollisionBoundingBox, getComparatorInputOverride, getCreativeTabToDisplayOn, getDefaultState, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getItemDropped, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMaterial, getMobilityFlag, getOffsetType, getPickBlock, getPlayerRelativeBlockHardness, getRenderType, getSoundType, getStateById, getStateId, getStrongPower, getSubBlocks, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, getWeakPower, harvestBlock, hasComparatorInputOverride, hasTileEntity, hasTileEntity, isAABBInsideMaterial, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBlockSolid, isBurning, isEntityInsideMaterial, isEqualTo, isFertile, isFireSource, isFlammable, isFoliage, isFullBlock, isLadder, isLeaves, isNormalCube, isNormalCube, isPassable, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isTranslucent, isVisuallyOpaque, isWood, neighborChanged, onBlockExploded, onBlockHarvested, onBlockPlacedBy, onEntityCollidedWithBlock, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomTick, rayTrace, recolorBlock, registerBlocks, removedByPlayer, requiresUpdates, rotateBlock, setBedOccupied, setBlockUnbreakable, setCreativeTab, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setSoundType, setTickRandomly, setUnlocalizedName, shouldCheckWeakPower, shouldSideBeRendered, spawnAsEntity, toStringgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNamepublic static final PropertyDirection FACING
public static final PropertyEnum<BlockStairs.EnumHalf> HALF
public static final PropertyEnum<BlockStairs.EnumShape> SHAPE
protected static final AxisAlignedBB AABB_SLAB_TOP
protected static final AxisAlignedBB AABB_QTR_TOP_WEST
protected static final AxisAlignedBB AABB_QTR_TOP_EAST
protected static final AxisAlignedBB AABB_QTR_TOP_NORTH
protected static final AxisAlignedBB AABB_QTR_TOP_SOUTH
protected static final AxisAlignedBB AABB_OCT_TOP_NW
protected static final AxisAlignedBB AABB_OCT_TOP_NE
protected static final AxisAlignedBB AABB_OCT_TOP_SW
protected static final AxisAlignedBB AABB_OCT_TOP_SE
protected static final AxisAlignedBB AABB_SLAB_BOTTOM
protected static final AxisAlignedBB AABB_QTR_BOT_WEST
protected static final AxisAlignedBB AABB_QTR_BOT_EAST
protected static final AxisAlignedBB AABB_QTR_BOT_NORTH
protected static final AxisAlignedBB AABB_QTR_BOT_SOUTH
protected static final AxisAlignedBB AABB_OCT_BOT_NW
protected static final AxisAlignedBB AABB_OCT_BOT_NE
protected static final AxisAlignedBB AABB_OCT_BOT_SW
protected static final AxisAlignedBB AABB_OCT_BOT_SE
protected BlockStairs(IBlockState modelState)
public void addCollisionBoxToList(IBlockState state, World worldIn, BlockPos pos, AxisAlignedBB entityBox, java.util.List<AxisAlignedBB> collidingBoxes, @Nullable Entity entityIn)
addCollisionBoxToList in class Blockpublic boolean isOpaqueCube(IBlockState state)
isOpaqueCube in class Blockpublic boolean isFullCube(IBlockState state)
isFullCube in class Blockpublic void randomDisplayTick(IBlockState stateIn, World worldIn, BlockPos pos, java.util.Random rand)
randomDisplayTick in class Blockpublic void onBlockClicked(World worldIn, BlockPos pos, EntityPlayer playerIn)
onBlockClicked in class Blockpublic void onBlockDestroyedByPlayer(World worldIn, BlockPos pos, IBlockState state)
onBlockDestroyedByPlayer in class Blockpublic int getPackedLightmapCoords(IBlockState state, IBlockAccess source, BlockPos pos)
getPackedLightmapCoords in class Blockpublic float getExplosionResistance(Entity exploder)
getExplosionResistance in class Blockpublic Vec3d modifyAcceleration(World worldIn, BlockPos pos, Entity entityIn, Vec3d motion)
modifyAcceleration in class Blockpublic BlockRenderLayer getBlockLayer()
getBlockLayer in class Blockpublic AxisAlignedBB getSelectedBoundingBox(IBlockState state, World worldIn, BlockPos pos)
getSelectedBoundingBox in class Blockpublic boolean isCollidable()
isCollidable in class Blockpublic boolean canCollideCheck(IBlockState state, boolean hitIfLiquid)
canCollideCheck in class Blockpublic boolean canPlaceBlockAt(World worldIn, BlockPos pos)
canPlaceBlockAt in class Blockpublic void onBlockAdded(World worldIn, BlockPos pos, IBlockState state)
onBlockAdded in class Blockpublic void breakBlock(World worldIn, BlockPos pos, IBlockState state)
breakBlock in class Blockpublic void onEntityWalk(World worldIn, BlockPos pos, Entity entityIn)
onEntityWalk in class Blockpublic void updateTick(World worldIn, BlockPos pos, IBlockState state, java.util.Random rand)
updateTick in class Blockpublic boolean onBlockActivated(World worldIn, BlockPos pos, IBlockState state, EntityPlayer playerIn, EnumHand hand, @Nullable ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ)
onBlockActivated in class Blockpublic void onBlockDestroyedByExplosion(World worldIn, BlockPos pos, Explosion explosionIn)
onBlockDestroyedByExplosion in class Blockpublic boolean isFullyOpaque(IBlockState state)
isFullyOpaque in class Blockpublic MapColor getMapColor(IBlockState state)
getMapColor in class Blockpublic IBlockState onBlockPlaced(World worldIn, BlockPos pos, EnumFacing facing, float hitX, float hitY, float hitZ, int meta, EntityLivingBase placer)
onBlockPlaced in class Block@Nullable public RayTraceResult collisionRayTrace(IBlockState blockState, World worldIn, BlockPos pos, Vec3d start, Vec3d end)
collisionRayTrace in class Blockpublic IBlockState getStateFromMeta(int meta)
getStateFromMeta in class Blockpublic int getMetaFromState(IBlockState state)
getMetaFromState in class Blockpublic IBlockState getActualState(IBlockState state, IBlockAccess worldIn, BlockPos pos)
getActualState in class Blockpublic static boolean isBlockStairs(IBlockState state)
public IBlockState withRotation(IBlockState state, Rotation rot)
withRotation in class Blockpublic IBlockState withMirror(IBlockState state, Mirror mirrorIn)
withMirror in class Blockprotected BlockStateContainer createBlockState()
createBlockState in class Blockpublic boolean doesSideBlockRendering(IBlockState state, IBlockAccess world, BlockPos pos, EnumFacing face)
BlockdoesSideBlockRendering in class Blockstate - The current block stateworld - The current worldpos - Block position in worldface - The side to check