Class BlockClay

java.lang.Object
net.minecraft.src.Block
net.minecraft.src.BlockClay

public class BlockClay extends Block
  • Constructor Details

    • BlockClay

      public BlockClay(int blockID)
  • 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
    • dropBlockAsItemWithChance

      public void dropBlockAsItemWithChance(World world, int i, int j, int k, int iMetaData, float fChance, int iFortuneModifier)
      Description copied from class: Block
      Drops the block items with a specified chance of dropping the specified items
      Overrides:
      dropBlockAsItemWithChance in class Block
    • dropComponentItemsOnBadBreak

      public boolean dropComponentItemsOnBadBreak(World world, int i, int j, int k, int iMetadata, float fChance)
      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
    • quantityDroppedWithBonus

      public int quantityDroppedWithBonus(int par1, Random par2Random)
      Description copied from class: Block
      Returns the usual quantity dropped by the block plus a bonus of 1 to 'i' (inclusive).
      Overrides:
      quantityDroppedWithBonus in class Block
    • canTransmitRotationVerticallyOnTurntable

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

      public boolean canBePistonShoveled(World world, int i, int j, int k)
      Overrides:
      canBePistonShoveled in class Block