public class BlockButton extends Block
bedrock, blockBed, blockClay, blockConstructorCalled, blockDiamond, blockGold, blockHardness, blockID, blockIndexInTexture, blockLapis, blockMaterial, blockParticleGravity, blockResistance, blocksList, blockSnow, blockSteel, bookShelf, brick, button, cactus, cake, canBlockGrass, chest, cloth, cobblestone, cobblestoneMossy, crops, deadBush, dirt, dispenser, doorSteel, doorWood, enableStats, fence, field_28032_t, fire, glass, glowStone, grass, gravel, ice, isBlockContainer, jukebox, ladder, lavaMoving, lavaStill, leaves, lever, lightOpacity, lightValue, lockedChest, maxX, maxY, maxZ, minX, minY, minZ, mobSpawner, mushroomBrown, mushroomRed, musicBlock, netherrack, obsidian, opaqueCubeLookup, oreCoal, oreDiamond, oreGold, oreIron, oreLapis, oreRedstone, oreRedstoneGlowing, pistonBase, pistonExtension, pistonMoving, pistonStickyBase, planks, plantRed, plantYellow, portal, pressurePlatePlanks, pressurePlateStone, pumpkin, pumpkinLantern, rail, railDetector, railPowered, redstoneRepeaterActive, redstoneRepeaterIdle, redstoneWire, reed, sand, sandStone, sapling, signPost, signWall, slipperiness, slowSand, snow, soundClothFootstep, soundGlassFootstep, soundGrassFootstep, soundGravelFootstep, soundMetalFootstep, soundPowderFootstep, soundSandFootstep, soundStoneFootstep, soundWoodFootstep, sponge, stairCompactCobblestone, stairCompactPlanks, stairDouble, stairSingle, stepSound, stone, stoneOvenActive, stoneOvenIdle, tallGrass, tickOnLoad, tilledField, tnt, torchRedstoneActive, torchRedstoneIdle, torchWood, trapdoor, waterMoving, waterStill, web, wood, workbench| Modifier | Constructor and Description |
|---|---|
protected |
BlockButton(int i,
int j) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
blockActivated(World world,
int i,
int j,
int k,
EntityPlayer entityplayer) |
boolean |
canPlaceBlockAt(World world,
int i,
int j,
int k) |
boolean |
canPlaceBlockOnSide(World world,
int i,
int j,
int k,
int l) |
boolean |
canProvidePower() |
AxisAlignedBB |
getCollisionBoundingBoxFromPool(World world,
int i,
int j,
int k) |
boolean |
isIndirectlyPoweringTo(World world,
int i,
int j,
int k,
int l) |
boolean |
isOpaqueCube() |
boolean |
isPoweringTo(IBlockAccess iblockaccess,
int i,
int j,
int k,
int l) |
void |
onBlockClicked(World world,
int i,
int j,
int k,
EntityPlayer entityplayer) |
void |
onBlockPlaced(World world,
int i,
int j,
int k,
int l) |
void |
onBlockRemoval(World world,
int i,
int j,
int k) |
void |
onNeighborBlockChange(World world,
int i,
int j,
int k,
int l) |
boolean |
renderAsNormalBlock() |
void |
setBlockBoundsBasedOnState(IBlockAccess iblockaccess,
int i,
int j,
int k) |
void |
setBlockBoundsForItemRender() |
int |
tickRate() |
void |
updateTick(World world,
int i,
int j,
int k,
java.util.Random random) |
blockStrength, canBlockStay, canCollideCheck, collisionRayTrace, colorMultiplier, damageDropped, disableNeighborNotifyOnMetadataChange, disableStats, dropBlockAsItem_do, dropBlockAsItem, dropBlockAsItemWithChance, getBlockBrightness, getBlockName, getBlockTexture, getBlockTextureFromSide, getBlockTextureFromSideAndMetadata, getCollidingBoundingBoxes, getEnableStats, getExplosionResistance, getHardness, getIsBlockSolid, getMobilityFlag, getRenderBlockPass, getRenderColor, getRenderType, getSelectedBoundingBoxFromPool, harvestBlock, idDropped, initializeBlock, isCollidable, onBlockAdded, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockPlacedBy, onEntityCollidedWithBlock, onEntityWalking, playBlock, quantityDropped, randomDisplayTick, setBlockBounds, setBlockName, setBlockUnbreakable, setHardness, setLightOpacity, setLightValue, setResistance, setStepSound, setTickOnLoad, shouldSideBeRendered, translateBlockName, velocityToAddToEntitypublic AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int i, int j, int k)
getCollisionBoundingBoxFromPool in class Blockpublic boolean isOpaqueCube()
isOpaqueCube in class Blockpublic boolean renderAsNormalBlock()
renderAsNormalBlock in class Blockpublic boolean canPlaceBlockOnSide(World world, int i, int j, int k, int l)
canPlaceBlockOnSide in class Blockpublic boolean canPlaceBlockAt(World world, int i, int j, int k)
canPlaceBlockAt in class Blockpublic void onBlockPlaced(World world, int i, int j, int k, int l)
onBlockPlaced in class Blockpublic void onNeighborBlockChange(World world, int i, int j, int k, int l)
onNeighborBlockChange in class Blockpublic void setBlockBoundsBasedOnState(IBlockAccess iblockaccess, int i, int j, int k)
setBlockBoundsBasedOnState in class Blockpublic void onBlockClicked(World world, int i, int j, int k, EntityPlayer entityplayer)
onBlockClicked in class Blockpublic boolean blockActivated(World world, int i, int j, int k, EntityPlayer entityplayer)
blockActivated in class Blockpublic void onBlockRemoval(World world, int i, int j, int k)
onBlockRemoval in class Blockpublic boolean isPoweringTo(IBlockAccess iblockaccess, int i, int j, int k, int l)
isPoweringTo in class Blockpublic boolean isIndirectlyPoweringTo(World world, int i, int j, int k, int l)
isIndirectlyPoweringTo in class Blockpublic boolean canProvidePower()
canProvidePower in class Blockpublic void updateTick(World world, int i, int j, int k, java.util.Random random)
updateTick in class Blockpublic void setBlockBoundsForItemRender()
setBlockBoundsForItemRender in class Block