net.minecraft.block
Class BlockFurnace

java.lang.Object
  extended by net.minecraft.block.Block
      extended by net.minecraft.block.BlockContainer
          extended by net.minecraft.block.BlockFurnace

public class BlockFurnace
extends BlockContainer


Field Summary
 
Fields inherited from class net.minecraft.block.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
 
Method Summary
 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
 TileEntity createNewTileEntity(World par1World)
          Returns a new instance of a block's tile entity class.
 int getBlockTexture(IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5)
           
 int getBlockTextureFromSide(int par1)
          Returns the block texture based on the side being looked at.
 int idDropped(int par1, Random par2Random, int par3)
          Returns the ID of the items to drop on destruction.
 boolean onBlockActivated(World par1World, int par2, int par3, int par4, EntityPlayer par5EntityPlayer, int par6, float par7, float par8, float par9)
          Called upon block activation (right click on the block.)
 void onBlockAdded(World par1World, int par2, int par3, int par4)
          Called whenever the block is added into the world.
 void onBlockPlacedBy(World par1World, int par2, int par3, int par4, EntityLiving par5EntityLiving)
          Called when the block is placed in the world.
 void randomDisplayTick(World par1World, int par2, int par3, int par4, Random par5Random)
           
static void updateFurnaceBlockState(boolean par0, World par1World, int par2, int par3, int par4)
          Update which block ID the furnace is using depending on whether or not it is burning
 
Methods inherited from class net.minecraft.block.BlockContainer
createNewTileEntity, onBlockEventReceived
 
Methods inherited from class net.minecraft.block.Block
addBlockDestroyEffects, addBlockHitEffects, addCollidingBlockToList, addCreativeItems, beginLeavesDecay, canBeReplacedByLeaves, canBlockStay, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDragonDestroy, canDropFromExplosion, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, 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, getBlockTextureFromSideAndMetadata, getCollisionBoundingBoxFromPool, getCreativeTabToDisplayOn, getDamageValue, getEnableStats, getExplosionResistance, getExplosionResistance, getFireSpreadSpeed, getFlammability, getLightOpacity, getLightValue, getMixedBrightnessForBlock, getMobilityFlag, getPickBlock, getPlayerRelativeBlockHardness, getRenderBlockPass, getRenderColor, getRenderType, getSelectedBoundingBoxFromPool, getSubBlocks, getTextureFile, getTickRandomly, harvestBlock, hasTileEntity, hasTileEntity, idPicked, isAirBlock, isBeaconBase, isBed, isBedFoot, isBlockBurning, isBlockFoliage, isBlockNormalCube, isBlockReplaceable, isBlockSolid, isBlockSolidOnSide, isCollidable, isFertile, isFireSource, isFlammable, isGenMineableReplaceable, isLadder, isLeaves, isNormalCube, isOpaqueCube, isProvidingStrongPower, isProvidingWeakPower, isWood, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockHarvested, onBlockPlaced, onEntityCollidedWithBlock, onEntityWalking, onFallenUpon, onNeighborBlockChange, onPostBlockPlaced, onSetBlockIDWithMetaData, quantityDropped, quantityDropped, quantityDroppedWithBonus, removeBlockByPlayer, renderAsNormalBlock, setBedOccupied, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockName, setBlockUnbreakable, setBurnProperties, setCreativeTab, setHardness, setLightOpacity, setLightValue, setRequiresSelfNotify, setResistance, setStepSound, setTextureFile, setTickRandomly, shouldSideBeRendered, tickRate, translateBlockName, updateTick, velocityToAddToEntity
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

idDropped

public int idDropped(int par1,
                     Random par2Random,
                     int par3)
Returns the ID of the items to drop on destruction.

Overrides:
idDropped in class Block

onBlockAdded

public void onBlockAdded(World par1World,
                         int par2,
                         int par3,
                         int par4)
Called whenever the block is added into the world. Args: world, x, y, z

Overrides:
onBlockAdded in class BlockContainer

getBlockTexture

public int getBlockTexture(IBlockAccess par1IBlockAccess,
                           int par2,
                           int par3,
                           int par4,
                           int par5)
Overrides:
getBlockTexture in class Block

randomDisplayTick

public void randomDisplayTick(World par1World,
                              int par2,
                              int par3,
                              int par4,
                              Random par5Random)
Overrides:
randomDisplayTick in class Block

getBlockTextureFromSide

public int getBlockTextureFromSide(int par1)
Returns the block texture based on the side being looked at. Args: side

Overrides:
getBlockTextureFromSide in class Block

onBlockActivated

public boolean onBlockActivated(World par1World,
                                int par2,
                                int par3,
                                int par4,
                                EntityPlayer par5EntityPlayer,
                                int par6,
                                float par7,
                                float par8,
                                float par9)
Called upon block activation (right click on the block.)

Overrides:
onBlockActivated in class Block

updateFurnaceBlockState

public static void updateFurnaceBlockState(boolean par0,
                                           World par1World,
                                           int par2,
                                           int par3,
                                           int par4)
Update which block ID the furnace is using depending on whether or not it is burning


createNewTileEntity

public TileEntity createNewTileEntity(World par1World)
Returns a new instance of a block's tile entity class. Called on placing the block.

Specified by:
createNewTileEntity in class BlockContainer

onBlockPlacedBy

public void onBlockPlacedBy(World par1World,
                            int par2,
                            int par3,
                            int par4,
                            EntityLiving par5EntityLiving)
Called when the block is placed in the world.

Overrides:
onBlockPlacedBy in class Block

breakBlock

public 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

Overrides:
breakBlock in class BlockContainer