public int damageDropped(IBlockState state)
{
return state.getValue(TYPE).ordinal();
}
@Override
<BUG>public ItemStack getPickBlock(IBlockState state, RayTraceResult target, World world, BlockPos pos, EntityPlayer player)
{
return new ItemStack(NetherExBlocks.SLAB_VANILLA, 1, damageDropped(state));
}
@Override</BUG>
public Comparable<?> getTypeForItem(ItemStack stack)

public int damageDropped(IBlockState state)
{
return state.getValue(TYPE).ordinal();
}
@Override
