Class BlockOre

java.lang.Object
net.minecraft.src.Block
net.minecraft.src.BlockOre
Direct Known Subclasses:
NetherQuartzOreBlock, OreBlock

public class BlockOre extends Block
  • Constructor Details

    • BlockOre

      public BlockOre(int par1)
  • Method Details

    • 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
    • quantityDropped

      public int quantityDropped(Random par1Random)
      Returns the quantity of items to drop on block destruction.
      Overrides:
      quantityDropped 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
    • 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
    • damageDropped

      public int damageDropped(int par1)
      Determines the damage on the item the block drops. Used in cloth and wood.
      Overrides:
      damageDropped in class Block