Class WoodCindersBlock


public class WoodCindersBlock extends FallingBlock
  • Constructor Details

    • WoodCindersBlock

      public WoodCindersBlock(int iBlockID)
  • Method Details

    • idDropped

      public int idDropped(int iMetadata, Random rand, int iFortuneModifier)
      Description copied from class: Block
      Returns the ID of the items to drop on destruction.
      Overrides:
      idDropped in class Block
    • onFinishedFalling

      public boolean onFinishedFalling(EntityFallingSand entity, float fFallDistance)
      Description copied from class: Block
      returns true if the block still exists
      Overrides:
      onFinishedFalling in class Block
    • updateTick

      public void updateTick(World world, int i, int j, int k, Random rand)
      Description copied from class: Block
      Ticks the block if it's been scheduled // +++START EDIT+++ FCNOTE: Called on server only // ---END EDIT---
      Overrides:
      updateTick in class FallingBlock
    • randomUpdateTick

      public void randomUpdateTick(World world, int i, int j, int k, Random rand)
      Description copied from class: Block
      Called on server only
      Overrides:
      randomUpdateTick in class Block
    • canConvertBlock

      public boolean canConvertBlock(ItemStack stack, World world, int i, int j, int k)
      Overrides:
      canConvertBlock in class Block
    • convertBlock

      public boolean convertBlock(ItemStack stack, World world, int i, int j, int k, int iFromSide)
      Description copied from class: Block
      Returns false if the block has not been replaced with another, and should be removed
      Overrides:
      convertBlock in class Block
    • getHarvestToolLevel

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

      public boolean getDoesStumpRemoverWorkOnBlock(IBlockAccess blockAccess, int i, int j, int k)
      Overrides:
      getDoesStumpRemoverWorkOnBlock in class Block
    • getIsStump

      public boolean getIsStump(IBlockAccess blockAccess, int i, int j, int k)
    • getIsStump

      public boolean getIsStump(int iMetadata)
    • setIsStump

      public int setIsStump(int iMetadata, boolean bStump)