Package net.minecraft.world.block
Class SlabBlock
- java.lang.Object
-
- net.minecraft.world.block.Block
-
- net.minecraft.world.block.SlabBlock
-
public class SlabBlock extends Block
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String[]
blockStepTypes
-
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 Constructor Description SlabBlock(int var1, boolean var2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ItemStack
createStackedBlock(int var1)
protected int
damageDropped(int var1)
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)
void
getSubBlocks(int var1, CreativeTab var2, java.util.List var3)
int
idDropped(int var1, java.util.Random var2, int var3)
boolean
isOpaqueCube()
void
onBlockPlaced(World var1, int var2, int var3, int var4, int var5)
int
quantityDropped(java.util.Random var1)
boolean
renderAsNormalBlock()
void
setBlockBoundsBasedOnState(IBlockAccess var1, int var2, int var3, int var4)
void
setBlockBoundsForItemRender()
@net.minecraft.modding.api.Side.Client boolean
shouldSideBeRendered(IBlockAccess var1, int var2, int var3, int var4, int var5)
-
Methods inherited from class net.minecraft.world.block.Block
blockActivated, blockStrength, canBlockStay, canCollideCheck, canPlaceBlockAt, canPlaceBlockOnSide, canProvidePower, collisionRayTrace, colorMultiplier, disableStats, dropBlockAsItem, dropBlockAsItem_do, dropBlockAsItemWithChance, func_50074_q, getAmbientOcclusionLightValue, getBlockBrightness, getBlockColor, getBlockName, getBlocksMovement, getBlockTexture, getCollisionBoundingBoxFromPool, getEnableStats, getExplosionResistance, getHardness, getMetadataInfo, getMixedBrightnessForBlock, getMobilityFlag, getRenderBlockPass, getRenderColor, getRenderType, getSelectedBoundingBoxFromPool, getTickRandomly, harvestBlock, hasTileEntity, initializeBlock, isBlockSolid, isCollidable, isIndirectlyPoweringTo, isNormalCube, isPoweringTo, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockPlacedBy, onBlockRemoval, onEntityCollidedWithBlock, onEntityWalking, onFallenUpon, onNeighborBlockChange, postRegister, powerBlock, quantityDroppedWithBonus, randomDisplayTick, registerVanilla, setBlockBounds, setBlockName, setBlockUnbreakable, setHardness, setLightOpacity, setLightValue, setRequiresSelfNotify, setResistance, setStepSound, setTickRandomly, tickRate, toString, translateBlockName, updateTick, velocityToAddToEntity
-
-
-
-
Method Detail
-
getSubBlocks
public void getSubBlocks(int var1, CreativeTab var2, java.util.List var3)
- Overrides:
getSubBlocks
in classBlock
-
setBlockBoundsBasedOnState
public void setBlockBoundsBasedOnState(IBlockAccess var1, int var2, int var3, int var4)
- Overrides:
setBlockBoundsBasedOnState
in classBlock
-
setBlockBoundsForItemRender
public void setBlockBoundsForItemRender()
- Overrides:
setBlockBoundsForItemRender
in classBlock
-
getCollidingBoundingBoxes
public void getCollidingBoundingBoxes(World var1, int var2, int var3, int var4, AxisAlignedBB var5, java.util.ArrayList var6)
- Overrides:
getCollidingBoundingBoxes
in classBlock
-
getBlockTextureFromSideAndMetadata
public int getBlockTextureFromSideAndMetadata(int var1, int var2)
- Overrides:
getBlockTextureFromSideAndMetadata
in classBlock
-
getBlockTextureFromSide
public int getBlockTextureFromSide(int var1)
- Overrides:
getBlockTextureFromSide
in classBlock
-
isOpaqueCube
public boolean isOpaqueCube()
- Overrides:
isOpaqueCube
in classBlock
-
onBlockPlaced
public void onBlockPlaced(World var1, int var2, int var3, int var4, int var5)
- Overrides:
onBlockPlaced
in classBlock
-
idDropped
public int idDropped(int var1, java.util.Random var2, int var3)
-
quantityDropped
public int quantityDropped(java.util.Random var1)
- Overrides:
quantityDropped
in classBlock
-
damageDropped
protected int damageDropped(int var1)
- Overrides:
damageDropped
in classBlock
-
renderAsNormalBlock
public boolean renderAsNormalBlock()
- Overrides:
renderAsNormalBlock
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
-
createStackedBlock
protected ItemStack createStackedBlock(int var1)
- Overrides:
createStackedBlock
in classBlock
-
-