Class MossyCobblestoneBlock

java.lang.Object
net.minecraft.src.Block
btw.block.blocks.MossyCobblestoneBlock

public class MossyCobblestoneBlock extends Block
  • Constructor Details

    • MossyCobblestoneBlock

      public MossyCobblestoneBlock(int iBlockID)
  • Method Details

    • getHarvestToolLevel

      public int getHarvestToolLevel(IBlockAccess blockAccess, int i, int j, int k)
      Overrides:
      getHarvestToolLevel in class Block
    • dropComponentItemsOnBadBreak

      public boolean dropComponentItemsOnBadBreak(World world, int i, int j, int k, int iMetadata, float fChanceOfDrop)
      Description copied from class: Block
      Called by explosions and improper tool use. Should return true if the block processes its own drops through this method, false otherwise Note that the block may no longer be at the specified position when this is called
      Overrides:
      dropComponentItemsOnBadBreak in class Block
    • damageDropped

      public int damageDropped(int metadata)
      Description copied from class: Block
      Determines the damage on the item the block drops. Used in cloth and wood.
      Overrides:
      damageDropped in class Block
    • getStepSoundInternal

      protected StepSound getStepSoundInternal(World world, int meta)
      Overrides:
      getStepSoundInternal in class Block
    • getStrata

      public int getStrata(IBlockAccess blockAccess, int i, int j, int k)
    • getStrata

      public int getStrata(int iMetadata)
    • getSubBlocks

      public void getSubBlocks(int iBlockID, CreativeTabs creativeTabs, List list)
      Description copied from class: Block
      returns a list of blocks with the same ID, but different meta (eg: wood returns 4 blocks)
      Overrides:
      getSubBlocks in class Block
    • getDamageValue

      public int getDamageValue(World world, int x, int y, int z)
      Description copied from class: Block
      Get the block's damage value (for use with pick block).
      Overrides:
      getDamageValue in class Block
    • registerIcons

      public void registerIcons(IconRegister register)
      Description copied from class: Block
      When this method is called, your block should register all the icons it needs with the given IconRegister. This is the only chance you get to register icons.
      Overrides:
      registerIcons in class Block
    • getIcon

      public Icon getIcon(int iSide, int iMetadata)
      Description copied from class: Block
      From the specified side and block metadata retrieves the blocks texture. Args: side, metadata
      Overrides:
      getIcon in class Block