Package net.minecraft.world.block
Class StairsBlock
- java.lang.Object
-
- net.minecraft.world.block.Block
-
- net.minecraft.world.block.StairsBlock
-
public class StairsBlock extends Block
-
-
Field Summary
-
Fields inherited from class net.minecraft.world.block.Block
bed, bedrock, blockClay, blockConstructorCalled, blockDiamond, blockGold, blockHardness, blockID, blockIndexInTexture, blockLapis, blockMaterial, blockParticleGravity, blockResistance, blocksList, blockSnow, blockSteel, bookShelf, brewingStand, brick, button, cactus, cake, canBlockGrass, cauldron, chest, cloth, cobblestone, cobblestoneMossy, crops, deadBush, dirt, dispenser, doorSteel, doorWood, dragonEgg, enableStats, enchantmentTable, endPortal, endPortalFrame, fence, fenceGate, fenceIron, fire, glass, glowStone, grass, gravel, ice, isBlockContainer, jukebox, ladder, lavaMoving, lavaStill, leaves, lever, lightOpacity, lightValue, lockedChest, maxX, maxY, maxZ, melon, melonStem, minX, minY, minZ, mobSpawner, mushroomBrown, mushroomCapBrown, mushroomCapRed, mushroomRed, music, mycelium, needsRandomTick, netherBrick, netherFence, netherrack, netherStalk, obsidian, opaqueCubeLookup, oreCoal, oreDiamond, oreGold, oreIron, oreLapis, oreRedstone, oreRedstoneGlowing, pistonBase, pistonExtension, pistonMoving, pistonStickyBase, planks, plantRed, plantYellow, portal, pressurePlatePlanks, pressurePlateStone, pumpkin, pumpkinLantern, pumpkinStem, rail, railDetector, railPowered, redstoneLampActive, redstoneLampIdle, redstoneRepeaterActive, redstoneRepeaterIdle, redstoneWire, reed, requiresSelfNotify, sand, sandStone, sapling, signPost, signWall, silverfish, slipperiness, slowSand, snow, soundClothFootstep, soundGlassFootstep, soundGrassFootstep, soundGravelFootstep, soundMetalFootstep, soundPowderFootstep, soundSandFootstep, soundStoneFootstep, soundWoodFootstep, sponge, stairCompactCobblestone, stairCompactPlanks, stairDouble, stairsBrick, stairSingle, stairsNetherBrick, stairsStoneBrickSmooth, stepSound, stone, stoneBrick, stoneOvenActive, stoneOvenIdle, tallGrass, thinGlass, tilledField, tnt, torchRedstoneActive, torchRedstoneIdle, torchWood, trapdoor, useNeighborBrightness, vine, waterlily, waterMoving, waterStill, web, whiteStone, wood, workbench
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
StairsBlock(int var1, Block var2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
blockActivated(World var1, int var2, int var3, int var4, Player var5)
boolean
canCollideCheck(int var1, boolean var2)
boolean
canPlaceBlockAt(World var1, int var2, int var3, int var4)
@net.minecraft.modding.api.Side.Client float
getBlockBrightness(IBlockAccess var1, int var2, int var3, int var4)
int
getBlockTextureFromSide(int var1)
int
getBlockTextureFromSideAndMetadata(int var1, int var2)
void
getCollidingBoundingBoxes(World var1, int var2, int var3, int var4, AxisAlignedBB var5, java.util.ArrayList var6)
AxisAlignedBB
getCollisionBoundingBoxFromPool(World var1, int var2, int var3, int var4)
float
getExplosionResistance(Entity var1)
@net.minecraft.modding.api.Side.Client int
getMixedBrightnessForBlock(IBlockAccess var1, int var2, int var3, int var4)
@net.minecraft.modding.api.Side.Client int
getRenderBlockPass()
int
getRenderType()
@Client AxisAlignedBB
getSelectedBoundingBoxFromPool(World var1, int var2, int var3, int var4)
boolean
isCollidable()
boolean
isOpaqueCube()
void
onBlockAdded(World var1, int var2, int var3, int var4)
void
onBlockClicked(World var1, int var2, int var3, int var4, Player var5)
void
onBlockDestroyedByExplosion(World var1, int var2, int var3, int var4)
void
onBlockDestroyedByPlayer(World var1, int var2, int var3, int var4, int var5)
void
onBlockPlaced(World var1, int var2, int var3, int var4, int var5)
void
onBlockPlacedBy(World var1, int var2, int var3, int var4, LivingEntity var5)
void
onBlockRemoval(World var1, int var2, int var3, int var4)
void
onEntityWalking(World var1, int var2, int var3, int var4, Entity var5)
void
randomDisplayTick(World var1, int var2, int var3, int var4, java.util.Random var5)
boolean
renderAsNormalBlock()
void
setBlockBoundsBasedOnState(IBlockAccess var1, int var2, int var3, int var4)
@net.minecraft.modding.api.Side.Client boolean
shouldSideBeRendered(IBlockAccess var1, int var2, int var3, int var4, int var5)
int
tickRate()
void
updateTick(World var1, int var2, int var3, int var4, java.util.Random var5)
void
velocityToAddToEntity(World var1, int var2, int var3, int var4, Entity var5, Vec3D var6)
-
Methods inherited from class net.minecraft.world.block.Block
blockStrength, canBlockStay, canPlaceBlockOnSide, canProvidePower, collisionRayTrace, colorMultiplier, createStackedBlock, damageDropped, disableStats, dropBlockAsItem, dropBlockAsItem_do, dropBlockAsItemWithChance, func_50074_q, getAmbientOcclusionLightValue, getBlockColor, getBlockName, getBlocksMovement, getBlockTexture, getEnableStats, getHardness, getMetadataInfo, getMobilityFlag, getRenderColor, getSubBlocks, getTickRandomly, harvestBlock, hasTileEntity, idDropped, initializeBlock, isBlockSolid, isIndirectlyPoweringTo, isNormalCube, isPoweringTo, onEntityCollidedWithBlock, onFallenUpon, onNeighborBlockChange, postRegister, powerBlock, quantityDropped, quantityDroppedWithBonus, registerVanilla, setBlockBounds, setBlockBoundsForItemRender, setBlockName, setBlockUnbreakable, setHardness, setLightOpacity, setLightValue, setRequiresSelfNotify, setResistance, setStepSound, setTickRandomly, toString, translateBlockName
-
-
-
-
Constructor Detail
-
StairsBlock
protected StairsBlock(int var1, Block var2)
-
-
Method Detail
-
setBlockBoundsBasedOnState
public void setBlockBoundsBasedOnState(IBlockAccess var1, int var2, int var3, int var4)
- Overrides:
setBlockBoundsBasedOnState
in classBlock
-
getCollisionBoundingBoxFromPool
public AxisAlignedBB getCollisionBoundingBoxFromPool(World var1, int var2, int var3, int var4)
- Overrides:
getCollisionBoundingBoxFromPool
in classBlock
-
isOpaqueCube
public boolean isOpaqueCube()
- Overrides:
isOpaqueCube
in classBlock
-
renderAsNormalBlock
public boolean renderAsNormalBlock()
- Overrides:
renderAsNormalBlock
in classBlock
-
getRenderType
public int getRenderType()
- Overrides:
getRenderType
in classBlock
-
shouldSideBeRendered
@Client public @net.minecraft.modding.api.Side.Client boolean shouldSideBeRendered(IBlockAccess var1, int var2, int var3, int var4, int var5)
- Overrides:
shouldSideBeRendered
in classBlock
-
getCollidingBoundingBoxes
public void getCollidingBoundingBoxes(World var1, int var2, int var3, int var4, AxisAlignedBB var5, java.util.ArrayList var6)
- Overrides:
getCollidingBoundingBoxes
in classBlock
-
randomDisplayTick
@Client public void randomDisplayTick(World var1, int var2, int var3, int var4, java.util.Random var5)
- Overrides:
randomDisplayTick
in classBlock
-
onBlockClicked
public void onBlockClicked(World var1, int var2, int var3, int var4, Player var5)
- Overrides:
onBlockClicked
in classBlock
-
onBlockDestroyedByPlayer
public void onBlockDestroyedByPlayer(World var1, int var2, int var3, int var4, int var5)
- Overrides:
onBlockDestroyedByPlayer
in classBlock
-
getMixedBrightnessForBlock
@Client public @net.minecraft.modding.api.Side.Client int getMixedBrightnessForBlock(IBlockAccess var1, int var2, int var3, int var4)
- Overrides:
getMixedBrightnessForBlock
in classBlock
-
getBlockBrightness
@Client public @net.minecraft.modding.api.Side.Client float getBlockBrightness(IBlockAccess var1, int var2, int var3, int var4)
- Overrides:
getBlockBrightness
in classBlock
-
getExplosionResistance
public float getExplosionResistance(Entity var1)
- Overrides:
getExplosionResistance
in classBlock
-
getRenderBlockPass
@Client public @net.minecraft.modding.api.Side.Client int getRenderBlockPass()
- Overrides:
getRenderBlockPass
in classBlock
-
getBlockTextureFromSideAndMetadata
public int getBlockTextureFromSideAndMetadata(int var1, int var2)
- Overrides:
getBlockTextureFromSideAndMetadata
in classBlock
-
getBlockTextureFromSide
public int getBlockTextureFromSide(int var1)
- Overrides:
getBlockTextureFromSide
in classBlock
-
getSelectedBoundingBoxFromPool
@Client public @Client AxisAlignedBB getSelectedBoundingBoxFromPool(World var1, int var2, int var3, int var4)
- Overrides:
getSelectedBoundingBoxFromPool
in classBlock
-
velocityToAddToEntity
public void velocityToAddToEntity(World var1, int var2, int var3, int var4, Entity var5, Vec3D var6)
- Overrides:
velocityToAddToEntity
in classBlock
-
isCollidable
public boolean isCollidable()
- Overrides:
isCollidable
in classBlock
-
canCollideCheck
public boolean canCollideCheck(int var1, boolean var2)
- Overrides:
canCollideCheck
in classBlock
-
canPlaceBlockAt
public boolean canPlaceBlockAt(World var1, int var2, int var3, int var4)
- Overrides:
canPlaceBlockAt
in classBlock
-
onBlockAdded
public void onBlockAdded(World var1, int var2, int var3, int var4)
- Overrides:
onBlockAdded
in classBlock
-
onBlockRemoval
public void onBlockRemoval(World var1, int var2, int var3, int var4)
- Overrides:
onBlockRemoval
in classBlock
-
onEntityWalking
public void onEntityWalking(World var1, int var2, int var3, int var4, Entity var5)
- Overrides:
onEntityWalking
in classBlock
-
updateTick
public void updateTick(World var1, int var2, int var3, int var4, java.util.Random var5)
- Overrides:
updateTick
in classBlock
-
blockActivated
public boolean blockActivated(World var1, int var2, int var3, int var4, Player var5)
- Overrides:
blockActivated
in classBlock
-
onBlockDestroyedByExplosion
public void onBlockDestroyedByExplosion(World var1, int var2, int var3, int var4)
- Overrides:
onBlockDestroyedByExplosion
in classBlock
-
onBlockPlacedBy
public void onBlockPlacedBy(World var1, int var2, int var3, int var4, LivingEntity var5)
- Overrides:
onBlockPlacedBy
in classBlock
-
onBlockPlaced
public void onBlockPlaced(World var1, int var2, int var3, int var4, int var5)
- Overrides:
onBlockPlaced
in classBlock
-
-