Fixed Assembler Alpha Pass Rendering.
This commit is contained in:
parent
b3b2cf6f89
commit
6f957a57f3
1 changed files with 6 additions and 7 deletions
|
@ -4,7 +4,6 @@ import java.util.EnumSet;
|
||||||
|
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
import net.minecraft.entity.player.EntityPlayer;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
import net.minecraft.world.IBlockAccess;
|
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
import net.minecraftforge.common.util.ForgeDirection;
|
import net.minecraftforge.common.util.ForgeDirection;
|
||||||
import appeng.block.AEBaseBlock;
|
import appeng.block.AEBaseBlock;
|
||||||
|
@ -37,6 +36,12 @@ public class BlockMolecularAssembler extends AEBaseBlock
|
||||||
return pass == 0 || pass == 1;
|
return pass == 0 || pass == 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getRenderBlockPass()
|
||||||
|
{
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public Class<? extends BaseBlockRender> getRenderer()
|
public Class<? extends BaseBlockRender> getRenderer()
|
||||||
|
@ -44,12 +49,6 @@ public class BlockMolecularAssembler extends AEBaseBlock
|
||||||
return RenderBlockAssembler.class;
|
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
|
@Override
|
||||||
public boolean onActivated(World w, int x, int y, int z, EntityPlayer p, int side, float hitX, float hitY, float hitZ)
|
public boolean onActivated(World w, int x, int y, int z, EntityPlayer p, int side, float hitX, float hitY, float hitZ)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue