net.minecraft.block
Class BlockRedstoneOre

java.lang.Object
  extended by net.minecraft.block.Block
      extended by net.minecraft.block.BlockRedstoneOre

public class BlockRedstoneOre
extends Block


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
 
Constructor Summary
BlockRedstoneOre(int par1, int par2, boolean par3)
           
 
Method Summary
 void dropBlockAsItemWithChance(World par1World, int par2, int par3, int par4, int par5, float par6, int par7)
          Drops the block items with a specified chance of dropping the specified items
 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 onBlockClicked(World par1World, int par2, int par3, int par4, EntityPlayer par5EntityPlayer)
          Called when the block is clicked by a player.
 void onEntityWalking(World par1World, int par2, int par3, int par4, Entity par5Entity)
          Called whenever an entity is walking on top of this block.
 int quantityDropped(Random par1Random)
          Returns the quantity of items to drop on block destruction.
 int quantityDroppedWithBonus(int par1, Random par2Random)
          Returns the usual quantity dropped by the block plus a bonus of 1 to 'i' (inclusive).
 void randomDisplayTick(World par1World, int par2, int par3, int par4, Random par5Random)
           
 int tickRate()
          How many world ticks before ticking
 void updateTick(World par1World, int par2, int par3, int par4, Random par5Random)
          Ticks the block if it's been scheduled
 
Methods inherited from class net.minecraft.block.Block
addBlockDestroyEffects, addBlockHitEffects, addCollidingBlockToList, addCreativeItems, beginLeavesDecay, breakBlock, canBeReplacedByLeaves, canBlockStay, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDragonDestroy, canDropFromExplosion, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInPass, canSilkHarvest, canSustainLeaves, canSustainPlant, collisionRayTrace, colorMultiplier, createTileEntity, damageDropped, dropBlockAsItem, fillWithRain, func_82505_u_, func_82506_l, getAmbientOcclusionLightValue, getBedDirection, getBedSpawnPosition, getBlockBoundsMaxX, getBlockBoundsMaxY, getBlockBoundsMaxZ, getBlockBoundsMinX, getBlockBoundsMinY, getBlockBoundsMinZ, getBlockBrightness, getBlockColor, getBlockDropped, getBlockHardness, getBlockName, getBlocksMovement, getBlockTexture, getBlockTextureFromSide, 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, onBlockAdded, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockEventReceived, onBlockHarvested, onBlockPlaced, onBlockPlacedBy, onEntityCollidedWithBlock, onFallenUpon, onNeighborBlockChange, onPostBlockPlaced, onSetBlockIDWithMetaData, quantityDropped, removeBlockByPlayer, renderAsNormalBlock, setBedOccupied, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockName, setBlockUnbreakable, setBurnProperties, setCreativeTab, setHardness, setLightOpacity, setLightValue, setRequiresSelfNotify, setResistance, setStepSound, setTextureFile, setTickRandomly, shouldSideBeRendered, translateBlockName, velocityToAddToEntity
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockRedstoneOre

public BlockRedstoneOre(int par1,
                        int par2,
                        boolean par3)
Method Detail

tickRate

public int tickRate()
How many world ticks before ticking

Overrides:
tickRate in class Block

onBlockClicked

public void onBlockClicked(World par1World,
                           int par2,
                           int par3,
                           int par4,
                           EntityPlayer par5EntityPlayer)
Called when the block is clicked by a player. Args: x, y, z, entityPlayer

Overrides:
onBlockClicked in class Block

onEntityWalking

public void onEntityWalking(World par1World,
                            int par2,
                            int par3,
                            int par4,
                            Entity par5Entity)
Called whenever an entity is walking on top of this block. Args: world, x, y, z, entity

Overrides:
onEntityWalking 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

updateTick

public void updateTick(World par1World,
                       int par2,
                       int par3,
                       int par4,
                       Random par5Random)
Ticks the block if it's been scheduled

Overrides:
updateTick in class Block

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

quantityDroppedWithBonus

public int quantityDroppedWithBonus(int par1,
                                    Random par2Random)
Returns the usual quantity dropped by the block plus a bonus of 1 to 'i' (inclusive).

Overrides:
quantityDroppedWithBonus in class Block

quantityDropped

public int quantityDropped(Random par1Random)
Returns the quantity of items to drop on block destruction.

Overrides:
quantityDropped in class Block

dropBlockAsItemWithChance

public void dropBlockAsItemWithChance(World par1World,
                                      int par2,
                                      int par3,
                                      int par4,
                                      int par5,
                                      float par6,
                                      int par7)
Drops the block items with a specified chance of dropping the specified items

Overrides:
dropBlockAsItemWithChance in class Block

randomDisplayTick

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