001 package net.minecraft.src; 002 003 import java.util.Random; 004 005 public class BlockGravel extends BlockSand 006 { 007 public BlockGravel(int par1, int par2) 008 { 009 super(par1, par2); 010 } 011 012 /** 013 * Returns the ID of the items to drop on destruction. 014 */ 015 public int idDropped(int par1, Random par2Random, int par3) 016 { 017 return par2Random.nextInt(10 - par3 * 3) == 0 ? Item.flint.shiftedIndex : this.blockID; 018 } 019 }