package xjon.jum.blocks;
import java.util.Random;
import net.minecraft.block.SoundType;
import xjon.jum.init.UselessItems;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.block.state.IBlockState;
import net.minecraft.item.Item;
public class UselessOre extends Block {
public UselessOre(Material materialIn) {
super(materialIn);
this.setHarvestLevel("pickaxe", 3);
this.setHardness(9.0F);
this.setSoundType(SoundType.STONE);
}
@Override
public Item getItemDropped(IBlockState state, Random rnd, int fortune)
{
return UselessItems.useless_material;
}
@Override
public int quantityDropped(Random rnd)
{
return 1 + rnd.nextInt(2);
}
}