Fixed Assembler Alpha Pass Rendering.

This commit is contained in:
AlgorithmX2 2014-07-11 20:27:01 -05:00
parent b3b2cf6f89
commit 6f957a57f3

View file

@ -4,7 +4,6 @@ import java.util.EnumSet;
import net.minecraft.block.material.Material;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;
import net.minecraftforge.common.util.ForgeDirection;
import appeng.block.AEBaseBlock;
@ -37,6 +36,12 @@ public class BlockMolecularAssembler extends AEBaseBlock
return pass == 0 || pass == 1;
}
@Override
public int getRenderBlockPass()
{
return 1;
}
@Override
@SideOnly(Side.CLIENT)
public Class<? extends BaseBlockRender> getRenderer()
@ -44,12 +49,6 @@ public class BlockMolecularAssembler extends AEBaseBlock
return RenderBlockAssembler.class;
}
@Override
public boolean shouldSideBeRendered(IBlockAccess w, int x, int y, int z, int side)
{
return super.shouldSideBeRendered( w, x, y, z, side );
}
@Override
public boolean onActivated(World w, int x, int y, int z, EntityPlayer p, int side, float hitX, float hitY, float hitZ)
{