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