package com.Da_Technomancer.crossroads.blocks.heat;

import com.Da_Technomancer.crossroads.items.ModItems;
import com.Da_Technomancer.crossroads.tileentities.heat.HeatExchangerTileEntity;

import net.minecraft.block.BlockContainer;
import net.minecraft.block.material.Material;
import net.minecraft.block.state.IBlockState;
import net.minecraft.item.ItemBlock;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.EnumBlockRenderType;
import net.minecraft.world.World;
import net.minecraftforge.fml.common.registry.GameRegistry;

public class HeatExchanger extends BlockContainer{

	private boolean insulat;

	public HeatExchanger(boolean insul){
		super(Material.IRON);
		insulat = insul;
		String name = insul ? "insulatedHeatExchanger" : "heatExchanger";
		setUnlocalizedName(name);
		setRegistryName(name);
		GameRegistry.register(this);
		GameRegistry.register(new ItemBlock(this).setRegistryName(name));
		this.setCreativeTab(ModItems.tabCrossroads);
		this.setHardness(3);
	}

	@Override
	public TileEntity createNewTileEntity(World worldIn, int meta){
		return new HeatExchangerTileEntity(insulat);
	}

	@Override
	public EnumBlockRenderType getRenderType(IBlockState state){
		return EnumBlockRenderType.MODEL;
	}

}

@@ -1232,12 +1232,97 @@
 ODEL;%0A%09%7D
+%0A%09%0A%09@Override%0A%09public boolean isOpaqueCube(IBlockState state)%7B%0A    %09%09return false;%0A%09%7D
 %0A%0A%7D%0A

fix opaqueness