001 package net.minecraft.block; 002 003 import java.util.Random; 004 import net.minecraft.item.Item; 005 006 public class BlockGravel extends BlockSand 007 { 008 public BlockGravel(int par1, int par2) 009 { 010 super(par1, par2); 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 if (par3 > 3) 019 { 020 par3 = 3; 021 } 022 023 return par2Random.nextInt(10 - par3 * 3) == 0 ? Item.flint.itemID : this.blockID; 024 } 025 }