2013-04-16 06:43:45 +00:00
|
|
|
package com.bopteam.biomesop.blocks;
|
|
|
|
|
|
|
|
import com.bopteam.biomesop.mod_BiomesOPlenty;
|
2013-03-28 19:03:53 +00:00
|
|
|
|
|
|
|
import net.minecraft.block.Block;
|
|
|
|
import net.minecraft.block.material.Material;
|
2013-03-30 17:14:03 +00:00
|
|
|
import net.minecraft.client.renderer.texture.IconRegister;
|
2013-03-28 19:03:53 +00:00
|
|
|
|
2013-04-13 15:07:23 +00:00
|
|
|
@Deprecated
|
2013-03-28 19:03:53 +00:00
|
|
|
public class BlockHolyPlank extends Block
|
|
|
|
{
|
|
|
|
/** The type of tree this block came from. */
|
|
|
|
public static final String[] woodType = new String[] {"holy"};
|
|
|
|
|
|
|
|
public BlockHolyPlank(int par1)
|
|
|
|
{
|
2013-03-30 17:14:03 +00:00
|
|
|
super(par1, Material.wood);
|
2013-03-28 19:03:53 +00:00
|
|
|
this.setBurnProperties(this.blockID, 5, 20);
|
|
|
|
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
|
|
|
}
|
2013-03-30 17:14:03 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public void registerIcons(IconRegister par1IconRegister)
|
|
|
|
{
|
|
|
|
this.blockIcon = par1IconRegister.registerIcon("BiomesOPlenty:holyplank");
|
|
|
|
}
|
2013-03-28 19:03:53 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Determines the damage on the item the block drops. Used in cloth and wood.
|
|
|
|
*/
|
|
|
|
public int damageDropped(int par1)
|
|
|
|
{
|
|
|
|
return par1;
|
|
|
|
}
|
|
|
|
}
|