39 lines
1 KiB
Java
39 lines
1 KiB
Java
package appeng.block.crafting;
|
|
|
|
import java.util.EnumSet;
|
|
|
|
import net.minecraft.block.material.Material;
|
|
import net.minecraft.world.IBlockAccess;
|
|
import appeng.block.AEBaseBlock;
|
|
import appeng.client.render.BaseBlockRender;
|
|
import appeng.client.render.blocks.RenderQuartzGlass;
|
|
import appeng.core.features.AEFeature;
|
|
import appeng.tile.crafting.TileMolecularAssembler;
|
|
import cpw.mods.fml.relauncher.Side;
|
|
import cpw.mods.fml.relauncher.SideOnly;
|
|
|
|
public class BlockMolecularAssembler extends AEBaseBlock
|
|
{
|
|
|
|
public BlockMolecularAssembler() {
|
|
super( BlockMolecularAssembler.class, Material.iron );
|
|
setfeature( EnumSet.of( AEFeature.Crafting ) );
|
|
setTileEntiy( TileMolecularAssembler.class );
|
|
isOpaque = false;
|
|
lightOpacity = 1;
|
|
}
|
|
|
|
@Override
|
|
@SideOnly(Side.CLIENT)
|
|
public Class<? extends BaseBlockRender> getRenderer()
|
|
{
|
|
return RenderQuartzGlass.class;
|
|
}
|
|
|
|
@Override
|
|
public boolean shouldSideBeRendered(IBlockAccess w, int x, int y, int z, int side)
|
|
{
|
|
return super.shouldSideBeRendered( w, x, y, z, side );
|
|
}
|
|
|
|
}
|