eddef226e0
it.
42 lines
1,021 B
Java
42 lines
1,021 B
Java
package biomesoplenty.blocks;
|
|
|
|
import java.util.Random;
|
|
|
|
import biomesoplenty.BiomesOPlenty;
|
|
import biomesoplenty.configuration.BOPBlocks;
|
|
|
|
import net.minecraft.block.Block;
|
|
import net.minecraft.block.material.Material;
|
|
import net.minecraft.client.renderer.texture.IconRegister;
|
|
|
|
@Deprecated
|
|
public class BlockBambooThatching extends Block
|
|
{
|
|
public BlockBambooThatching(int par1)
|
|
{
|
|
super(par1, Material.wood);
|
|
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
|
}
|
|
|
|
@Override
|
|
public void registerIcons(IconRegister par1IconRegister)
|
|
{
|
|
this.blockIcon = par1IconRegister.registerIcon("BiomesOPlenty:bamboothatching");
|
|
}
|
|
|
|
/**
|
|
* Returns the ID of the items to drop on destruction.
|
|
*/
|
|
public int idDropped(int par1, Random par2Random, int par3)
|
|
{
|
|
return BOPBlocks.bambooThatching.blockID;
|
|
}
|
|
|
|
/**
|
|
* Returns the quantity of items to drop on block destruction.
|
|
*/
|
|
public int quantityDropped(Random par1Random)
|
|
{
|
|
return 1;
|
|
}
|
|
}
|