001 package net.minecraft.block; 002 003 import java.util.Random; 004 005 public class BlockObsidian extends BlockStone 006 { 007 public BlockObsidian(int par1, int par2) 008 { 009 super(par1, par2); 010 } 011 012 /** 013 * Returns the quantity of items to drop on block destruction. 014 */ 015 public int quantityDropped(Random par1Random) 016 { 017 return 1; 018 } 019 020 /** 021 * Returns the ID of the items to drop on destruction. 022 */ 023 public int idDropped(int par1, Random par2Random, int par3) 024 { 025 return Block.obsidian.blockID; 026 } 027 }