public int getMetaFromState(IBlockState state)
{
return state.getValue(TYPE).getMeta();
}
@Override
<BUG>public IBlockState getActualState(IBlockState state, IBlockAccess worldIn, BlockPos pos)
{
state = super.getActualState(state, worldIn, pos);
TileEntity te = worldIn.getTileEntity(pos);
if (te instanceof TileEntityEnergyBridge)
{
state = state.withProperty(ACTIVE, ((TileEntityEnergyBridge) te).getIsActive());
}</BUG>
return state;

public int getMetaFromState(IBlockState state)
{
return state.getValue(TYPE).getMeta();
