2013-04-16 08:19:59 +00:00
|
|
|
package biomesoplenty.blocks;
|
2013-03-28 19:03:53 +00:00
|
|
|
|
|
|
|
import java.util.Random;
|
|
|
|
|
2013-04-19 09:35:26 +00:00
|
|
|
import biomesoplenty.BiomesOPlenty;
|
2013-04-16 08:19:59 +00:00
|
|
|
import biomesoplenty.configuration.BOPBlocks;
|
2013-04-16 06:43:45 +00:00
|
|
|
|
2013-03-28 19:03:53 +00:00
|
|
|
import net.minecraft.block.Block;
|
|
|
|
import net.minecraft.block.material.Material;
|
2013-03-30 10:54:53 +00:00
|
|
|
import net.minecraft.client.renderer.texture.IconRegister;
|
2013-03-28 19:03:53 +00:00
|
|
|
|
2013-04-18 19:29:40 +00:00
|
|
|
@Deprecated
|
2013-03-28 19:03:53 +00:00
|
|
|
public class BlockBambooThatching extends Block
|
|
|
|
{
|
2013-03-30 10:54:53 +00:00
|
|
|
public BlockBambooThatching(int par1)
|
2013-03-28 19:03:53 +00:00
|
|
|
{
|
2013-03-30 10:54:53 +00:00
|
|
|
super(par1, Material.wood);
|
2013-04-19 09:35:26 +00:00
|
|
|
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
2013-03-28 19:03:53 +00:00
|
|
|
}
|
2013-03-30 10:54:53 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public void registerIcons(IconRegister par1IconRegister)
|
|
|
|
{
|
|
|
|
this.blockIcon = par1IconRegister.registerIcon("BiomesOPlenty:bamboothatching");
|
|
|
|
}
|
2013-03-28 19:03:53 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Returns the ID of the items to drop on destruction.
|
|
|
|
*/
|
|
|
|
public int idDropped(int par1, Random par2Random, int par3)
|
|
|
|
{
|
2013-04-05 03:41:51 +00:00
|
|
|
return BOPBlocks.bambooThatching.blockID;
|
2013-03-28 19:03:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Returns the quantity of items to drop on block destruction.
|
|
|
|
*/
|
|
|
|
public int quantityDropped(Random par1Random)
|
|
|
|
{
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
}
|