mirror of
https://github.com/GTNewHorizons/Tainted-Magic.git
synced 2026-11-21 20:42:22 +00:00
Cleanup
This commit is contained in:
1 parent
cbb61ebcbe
commit
82de9e1aa0
74 files changed
+3485
-3415
No files matched your search
@@ -12,54 +12,54 @@ import taintedmagic.common.TaintedMagic;
|
||||
|
||||
public class BlockWarpwoodLog extends BlockRotatedPillar
|
||||
{
|
||||
private IIcon side;
|
||||
private IIcon top;
|
||||
private IIcon side;
|
||||
private IIcon top;
|
||||
|
||||
public BlockWarpwoodLog ()
|
||||
{
|
||||
super(Material.wood);
|
||||
this.setCreativeTab(TaintedMagic.tabTaintedMagic);
|
||||
this.setHardness(2.5F);
|
||||
this.setStepSound(soundTypeWood);
|
||||
this.setBlockName("BlockWarpwoodLog");
|
||||
}
|
||||
public BlockWarpwoodLog ()
|
||||
{
|
||||
super(Material.wood);
|
||||
this.setCreativeTab(TaintedMagic.tabTaintedMagic);
|
||||
this.setHardness(2.5F);
|
||||
this.setStepSound(soundTypeWood);
|
||||
this.setBlockName("BlockWarpwoodLog");
|
||||
}
|
||||
|
||||
@SideOnly (Side.CLIENT)
|
||||
protected IIcon getTopIcon (int i)
|
||||
{
|
||||
return this.top;
|
||||
}
|
||||
@SideOnly (Side.CLIENT)
|
||||
protected IIcon getTopIcon (int i)
|
||||
{
|
||||
return this.top;
|
||||
}
|
||||
|
||||
@SideOnly (Side.CLIENT)
|
||||
protected IIcon getSideIcon (int i)
|
||||
{
|
||||
return this.side;
|
||||
}
|
||||
@SideOnly (Side.CLIENT)
|
||||
protected IIcon getSideIcon (int i)
|
||||
{
|
||||
return this.side;
|
||||
}
|
||||
|
||||
@SideOnly (Side.CLIENT)
|
||||
public void registerBlockIcons (IIconRegister ir)
|
||||
{
|
||||
this.side = ir.registerIcon("taintedmagic:BlockWarpwoodLog_side");
|
||||
this.top = ir.registerIcon("taintedmagic:BlockWarpwoodLog_top");
|
||||
}
|
||||
@SideOnly (Side.CLIENT)
|
||||
public void registerBlockIcons (IIconRegister ir)
|
||||
{
|
||||
this.side = ir.registerIcon("taintedmagic:BlockWarpwoodLog_side");
|
||||
this.top = ir.registerIcon("taintedmagic:BlockWarpwoodLog_top");
|
||||
}
|
||||
|
||||
public boolean canSustainLeaves (IBlockAccess w, int x, int y, int z)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
public boolean canSustainLeaves (IBlockAccess world, int x, int y, int z)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public boolean isWood (IBlockAccess w, int x, int y, int z)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
public boolean isWood (IBlockAccess world, int x, int y, int z)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public int getFlammability (IBlockAccess w, int x, int y, int z, ForgeDirection face)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
public int getFlammability (IBlockAccess world, int x, int y, int z, ForgeDirection face)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
public int getFireSpreadSpeed (IBlockAccess w, int x, int y, int z, ForgeDirection face)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
public int getFireSpreadSpeed (IBlockAccess world, int x, int y, int z, ForgeDirection face)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user