package JAKJ . RedstoneInMotion ;

public abstract class BlockItem extends net . minecraft . item . ItemBlock
{
	public BlockItem ( int Id )
	{
		super ( Id ) ;

		setHasSubtypes ( true ) ;
	}

	@Override
	public int getMetadata ( int Damage )
	{
		return ( Damage & 0xF ) ;
	}

	public static int GetBlockType ( net . minecraft . item . ItemStack Item )
	{
		return ( Item . itemDamage & 0xF ) ;
	}

	public void AddTooltip ( net . minecraft . item . ItemStack Item , java . util . List TooltipLines )
	{
	}

	@Override
	public void addInformation ( net . minecraft . item . ItemStack Item , net . minecraft . entity . player . EntityPlayer Player , java . util . List TooltipLines , boolean AdvancedTooltipsActive )
	{
		AddTooltip ( Item , TooltipLines ) ;
	}
}
