36 lines
855 B
Java
36 lines
855 B
Java
|
package tdwp_ftw.biomesop.blocks;
|
||
|
|
||
|
import java.util.Random;
|
||
|
|
||
|
import tdwp_ftw.biomesop.mod_BiomesOPlenty;
|
||
|
|
||
|
import net.minecraft.block.Block;
|
||
|
import net.minecraft.block.material.Material;
|
||
|
import net.minecraft.creativetab.CreativeTabs;
|
||
|
import net.minecraft.world.IBlockAccess;
|
||
|
|
||
|
public class BlockHolyStone extends Block
|
||
|
{
|
||
|
public BlockHolyStone(int par1, int par2)
|
||
|
{
|
||
|
super(par1, par2, Material.rock);
|
||
|
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Returns the ID of the items to drop on destruction.
|
||
|
*/
|
||
|
public int idDropped(int par1, Random par2Random, int par3)
|
||
|
{
|
||
|
return mod_BiomesOPlenty.holyStone.blockID;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Returns the quantity of items to drop on block destruction.
|
||
|
*/
|
||
|
public int quantityDropped(Random par1Random)
|
||
|
{
|
||
|
return 1;
|
||
|
}
|
||
|
}
|