public class BlockPistonExtension extends Block
anvil, beacon, bed, bedrock, blockClay, blockDiamond, blockEmerald, blockGold, blockID, blockIndexInTexture, blockLapis, blockMaterial, blockParticleGravity, blocksList, blockSnow, blockSteel, bookShelf, brewingStand, brick, cactus, cake, canBlockGrass, carrot, cauldron, chest, cloth, cobblestone, cobblestoneMossy, cobblestoneWall, cocoaPlant, commandBlock, crops, deadBush, dirt, dispenser, doorSteel, doorWood, dragonEgg, enchantmentTable, enderChest, endPortal, endPortalFrame, fence, fenceGate, fenceIron, fire, flowerPot, glass, glowStone, grass, gravel, ice, isDefaultTexture, jukebox, ladder, lavaMoving, lavaStill, leaves, lever, lightOpacity, lightValue, lockedChest, melon, melonStem, mobSpawner, mushroomBrown, mushroomCapBrown, mushroomCapRed, mushroomRed, music, mycelium, netherBrick, netherFence, netherrack, netherStalk, obsidian, opaqueCubeLookup, oreCoal, oreDiamond, oreEmerald, oreGold, oreIron, oreLapis, oreRedstone, oreRedstoneGlowing, pistonBase, pistonExtension, pistonMoving, pistonStickyBase, planks, plantRed, plantYellow, portal, potato, pressurePlatePlanks, pressurePlateStone, pumpkin, pumpkinLantern, pumpkinStem, rail, railDetector, railPowered, redstoneLampActive, redstoneLampIdle, redstoneRepeaterActive, redstoneRepeaterIdle, redstoneWire, reed, requiresSelfNotify, sand, sandStone, sapling, signPost, signWall, silverfish, skull, slipperiness, slowSand, snow, soundAnvilFootstep, soundClothFootstep, soundGlassFootstep, soundGrassFootstep, soundGravelFootstep, soundLadderFootstep, soundMetalFootstep, soundPowderFootstep, soundSandFootstep, soundSnowFootstep, soundStoneFootstep, soundWoodFootstep, sponge, stairCompactCobblestone, stairCompactPlanks, stairsBrick, stairsNetherBrick, stairsSandStone, stairsStoneBrickSmooth, stairsWoodBirch, stairsWoodJungle, stairsWoodSpruce, stepSound, stone, stoneBrick, stoneButton, stoneDoubleSlab, stoneOvenActive, stoneOvenIdle, stoneSingleSlab, tallGrass, thinGlass, tilledField, tnt, torchRedstoneActive, torchRedstoneIdle, torchWood, trapdoor, tripWire, tripWireSource, useNeighborBrightness, vine, waterlily, waterMoving, waterStill, web, whiteStone, wood, woodDoubleSlab, woodenButton, woodSingleSlab, workbench| Constructor and Description | 
|---|
BlockPistonExtension(int par1,
                                        int par2)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addCollidingBlockToList(World par1World,
                                              int par2,
                                              int par3,
                                              int par4,
                                              AxisAlignedBB par5AxisAlignedBB,
                                              List par6List,
                                              Entity par7Entity)
if the specified block is in the given AABB, add its collision bounding box to the given list 
 | 
void | 
breakBlock(World par1World,
                    int par2,
                    int par3,
                    int par4,
                    int par5,
                    int par6)
ejects contained items into the world, and notifies neighbours of an update, as appropriate 
 | 
boolean | 
canPlaceBlockAt(World par1World,
                              int par2,
                              int par3,
                              int par4)
Checks to see if its valid to put this block at the specified coordinates. 
 | 
boolean | 
canPlaceBlockOnSide(World par1World,
                                      int par2,
                                      int par3,
                                      int par4,
                                      int par5)
checks to see if you can place this block can be placed on that side of a block: BlockLever overrides 
 | 
void | 
clearHeadTexture()  | 
int | 
getBlockTextureFromSideAndMetadata(int par1,
                                                                    int par2)
From the specified side and block metadata retrieves the blocks texture. 
 | 
static int | 
getDirectionMeta(int par0)  | 
int | 
getRenderType()
The type of render function that is called for this block 
 | 
int | 
idPicked(World par1World,
                int par2,
                int par3,
                int par4)  | 
boolean | 
isOpaqueCube()
Is this block (a) opaque and (b) a full 1m cube?  This determines whether or not to render the shared face of two
 adjacent blocks and also whether the player can attach torches, redstone wire, etc to this block. 
 | 
void | 
onNeighborBlockChange(World par1World,
                                          int par2,
                                          int par3,
                                          int par4,
                                          int par5)
Lets the block know when one of its neighbor changes. 
 | 
int | 
quantityDropped(Random par1Random)
Returns the quantity of items to drop on block destruction. 
 | 
boolean | 
renderAsNormalBlock()
If this block doesn't render as an ordinary block it will return False (examples: signs, buttons, stairs, etc) 
 | 
void | 
setBlockBoundsBasedOnState(IBlockAccess par1IBlockAccess,
                                                    int par2,
                                                    int par3,
                                                    int par4)
Updates the blocks bounds based on its current state. 
 | 
void | 
setHeadTexture(int par1)  | 
addBlockDestroyEffects, addBlockHitEffects, addCreativeItems, beginLeavesDecay, canBeReplacedByLeaves, canBlockStay, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDragonDestroy, canDropFromExplosion, canHarvestBlock, canPlaceTorchOnTop, canProvidePower, canRenderInPass, canSilkHarvest, canSustainLeaves, canSustainPlant, collisionRayTrace, colorMultiplier, createTileEntity, damageDropped, dropBlockAsItem, dropBlockAsItemWithChance, fillWithRain, func_82505_u_, func_82506_l, getAmbientOcclusionLightValue, getBedDirection, getBedSpawnPosition, getBlockBoundsMaxX, getBlockBoundsMaxY, getBlockBoundsMaxZ, getBlockBoundsMinX, getBlockBoundsMinY, getBlockBoundsMinZ, getBlockBrightness, getBlockColor, getBlockDropped, getBlockHardness, getBlockName, getBlocksMovement, getBlockTexture, getBlockTextureFromSide, getCollisionBoundingBoxFromPool, getCreativeTabToDisplayOn, getDamageValue, getEnableStats, getExplosionResistance, getExplosionResistance, getFireSpreadSpeed, getFlammability, getLightOpacity, getLightValue, getMixedBrightnessForBlock, getMobilityFlag, getPickBlock, getPlayerRelativeBlockHardness, getRenderBlockPass, getRenderColor, getSelectedBoundingBoxFromPool, getSubBlocks, getTextureFile, getTickRandomly, harvestBlock, hasTileEntity, hasTileEntity, idDropped, isAirBlock, isBeaconBase, isBed, isBedFoot, isBlockBurning, isBlockFoliage, isBlockNormalCube, isBlockReplaceable, isBlockSolid, isBlockSolidOnSide, isCollidable, isFertile, isFireSource, isFlammable, isGenMineableReplaceable, isLadder, isLeaves, isNormalCube, isProvidingStrongPower, isProvidingWeakPower, isWood, onBlockActivated, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockEventReceived, onBlockHarvested, onBlockPlaced, onBlockPlacedBy, onEntityCollidedWithBlock, onEntityWalking, onFallenUpon, onPlantGrow, onPostBlockPlaced, onSetBlockIDWithMetaData, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, removeBlockByPlayer, setBedOccupied, setBlockBounds, setBlockBoundsForItemRender, setBlockName, setBlockUnbreakable, setBurnProperties, setCreativeTab, setHardness, setLightOpacity, setLightValue, setRequiresSelfNotify, setResistance, setStepSound, setTextureFile, setTickRandomly, shouldSideBeRendered, tickRate, translateBlockName, updateTick, velocityToAddToEntitypublic BlockPistonExtension(int par1, int par2)
public void setHeadTexture(int par1)
public void clearHeadTexture()
public void breakBlock(World par1World, int par2, int par3, int par4, int par5, int par6)
breakBlock in class Blockpublic int getBlockTextureFromSideAndMetadata(int par1, int par2)
getBlockTextureFromSideAndMetadata in class Blockpublic int getRenderType()
getRenderType in class Blockpublic boolean isOpaqueCube()
isOpaqueCube in class Blockpublic boolean renderAsNormalBlock()
renderAsNormalBlock in class Blockpublic boolean canPlaceBlockAt(World par1World, int par2, int par3, int par4)
canPlaceBlockAt in class Blockpublic boolean canPlaceBlockOnSide(World par1World, int par2, int par3, int par4, int par5)
canPlaceBlockOnSide in class Blockpublic int quantityDropped(Random par1Random)
quantityDropped in class Blockpublic void addCollidingBlockToList(World par1World, int par2, int par3, int par4, AxisAlignedBB par5AxisAlignedBB, List par6List, Entity par7Entity)
addCollidingBlockToList in class Blockpublic void setBlockBoundsBasedOnState(IBlockAccess par1IBlockAccess, int par2, int par3, int par4)
setBlockBoundsBasedOnState in class Blockpublic void onNeighborBlockChange(World par1World, int par2, int par3, int par4, int par5)
onNeighborBlockChange in class Blockpublic static int getDirectionMeta(int par0)