You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
478 B
Java
20 lines
478 B
Java
package net.minecraft.block;
|
|
|
|
import java.util.Random;
|
|
import net.minecraft.init.Items;
|
|
import net.minecraft.item.Item;
|
|
|
|
public class BlockGravel extends BlockFalling
|
|
{
|
|
private static final String __OBFID = "CL_00000252";
|
|
|
|
public Item getItemDropped(int meta, Random random, int fortune)
|
|
{
|
|
if (fortune > 3)
|
|
{
|
|
fortune = 3;
|
|
}
|
|
|
|
return random.nextInt(10 - fortune * 3) == 0 ? Items.flint : Item.getItemFromBlock(this);
|
|
}
|
|
} |