Typo useSimpliedRendering
This commit is contained in:
parent
3df08b0366
commit
7117fe44b3
17 changed files with 17 additions and 17 deletions
|
@ -149,7 +149,7 @@ public class BusRenderHelper implements IPartRenderHelper
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ISimplifiedBundle useSimpliedRendering(int x, int y, int z, IBoxProvider p, ISimplifiedBundle sim)
|
public ISimplifiedBundle useSimplifiedRendering(int x, int y, int z, IBoxProvider p, ISimplifiedBundle sim)
|
||||||
{
|
{
|
||||||
RenderBlocksWorkaround rbw = BusRenderer.instance.renderer;
|
RenderBlocksWorkaround rbw = BusRenderer.instance.renderer;
|
||||||
|
|
||||||
|
|
|
@ -182,7 +182,7 @@ public class RenderBlockAssembler extends BaseBlockRender implements IBoxProvide
|
||||||
|
|
||||||
preRenderInWorld( block, world, x, y, z, renderer );
|
preRenderInWorld( block, world, x, y, z, renderer );
|
||||||
|
|
||||||
tma.lightCache = BusRenderHelper.instance.useSimpliedRendering( x, y, z, this, tma.lightCache );
|
tma.lightCache = BusRenderHelper.instance.useSimplifiedRendering( x, y, z, this, tma.lightCache );
|
||||||
|
|
||||||
BusRenderer.instance.renderer.isFacade = true;
|
BusRenderer.instance.renderer.isFacade = true;
|
||||||
IOrientable te = getOrientable( block, world, x, y, z );
|
IOrientable te = getOrientable( block, world, x, y, z );
|
||||||
|
|
|
@ -72,7 +72,7 @@ public class RenderBlockCraftingCPU extends BaseBlockRender
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
ct.lightCache = i.useSimpliedRendering( x, y, z, null, ct.lightCache );
|
ct.lightCache = i.useSimplifiedRendering( x, y, z, null, ct.lightCache );
|
||||||
}
|
}
|
||||||
catch (Throwable t)
|
catch (Throwable t)
|
||||||
{
|
{
|
||||||
|
|
|
@ -98,7 +98,7 @@ public class PartAnnihilationPlane extends PartBasicState implements IGridTickab
|
||||||
|
|
||||||
boolean isActive = (clientFlags & (POWERED_FLAG | CHANNEL_FLAG)) == (POWERED_FLAG | CHANNEL_FLAG);
|
boolean isActive = (clientFlags & (POWERED_FLAG | CHANNEL_FLAG)) == (POWERED_FLAG | CHANNEL_FLAG);
|
||||||
|
|
||||||
renderCache = rh.useSimpliedRendering( x, y, z, this, renderCache );
|
renderCache = rh.useSimplifiedRendering( x, y, z, this, renderCache );
|
||||||
rh.setTexture( CableBusTextures.PartPlaneSides.getIcon(), CableBusTextures.PartPlaneSides.getIcon(),
|
rh.setTexture( CableBusTextures.PartPlaneSides.getIcon(), CableBusTextures.PartPlaneSides.getIcon(),
|
||||||
CableBusTextures.PartTransitionPlaneBack.getIcon(), isActive ? CableBusTextures.BlockAnnihilationPlaneOn.getIcon() : is.getIconIndex(),
|
CableBusTextures.PartTransitionPlaneBack.getIcon(), isActive ? CableBusTextures.BlockAnnihilationPlaneOn.getIcon() : is.getIconIndex(),
|
||||||
CableBusTextures.PartPlaneSides.getIcon(), CableBusTextures.PartPlaneSides.getIcon() );
|
CableBusTextures.PartPlaneSides.getIcon(), CableBusTextures.PartPlaneSides.getIcon() );
|
||||||
|
|
|
@ -108,7 +108,7 @@ public class PartExportBus extends PartSharedItemBus implements IGridTickable, I
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public void renderStatic(int x, int y, int z, IPartRenderHelper rh, RenderBlocks renderer)
|
public void renderStatic(int x, int y, int z, IPartRenderHelper rh, RenderBlocks renderer)
|
||||||
{
|
{
|
||||||
renderCache = rh.useSimpliedRendering( x, y, z, this, renderCache );
|
renderCache = rh.useSimplifiedRendering( x, y, z, this, renderCache );
|
||||||
rh.setTexture( CableBusTextures.PartExportSides.getIcon(), CableBusTextures.PartExportSides.getIcon(), CableBusTextures.PartMonitorBack.getIcon(),
|
rh.setTexture( CableBusTextures.PartExportSides.getIcon(), CableBusTextures.PartExportSides.getIcon(), CableBusTextures.PartMonitorBack.getIcon(),
|
||||||
is.getIconIndex(), CableBusTextures.PartExportSides.getIcon(), CableBusTextures.PartExportSides.getIcon() );
|
is.getIconIndex(), CableBusTextures.PartExportSides.getIcon(), CableBusTextures.PartExportSides.getIcon() );
|
||||||
|
|
||||||
|
|
|
@ -171,7 +171,7 @@ public class PartFormationPlane extends PartUpgradeable implements ICellContaine
|
||||||
|
|
||||||
boolean isActive = (clientFlags & (POWERED_FLAG | CHANNEL_FLAG)) == (POWERED_FLAG | CHANNEL_FLAG);
|
boolean isActive = (clientFlags & (POWERED_FLAG | CHANNEL_FLAG)) == (POWERED_FLAG | CHANNEL_FLAG);
|
||||||
|
|
||||||
renderCache = rh.useSimpliedRendering( x, y, z, this, renderCache );
|
renderCache = rh.useSimplifiedRendering( x, y, z, this, renderCache );
|
||||||
rh.setTexture( CableBusTextures.PartPlaneSides.getIcon(), CableBusTextures.PartPlaneSides.getIcon(),
|
rh.setTexture( CableBusTextures.PartPlaneSides.getIcon(), CableBusTextures.PartPlaneSides.getIcon(),
|
||||||
CableBusTextures.PartTransitionPlaneBack.getIcon(), isActive ? CableBusTextures.BlockFormPlaneOn.getIcon() : is.getIconIndex(),
|
CableBusTextures.PartTransitionPlaneBack.getIcon(), isActive ? CableBusTextures.BlockFormPlaneOn.getIcon() : is.getIconIndex(),
|
||||||
CableBusTextures.PartPlaneSides.getIcon(), CableBusTextures.PartPlaneSides.getIcon() );
|
CableBusTextures.PartPlaneSides.getIcon(), CableBusTextures.PartPlaneSides.getIcon() );
|
||||||
|
|
|
@ -102,7 +102,7 @@ public class PartImportBus extends PartSharedItemBus implements IGridTickable, I
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public void renderStatic(int x, int y, int z, IPartRenderHelper rh, RenderBlocks renderer)
|
public void renderStatic(int x, int y, int z, IPartRenderHelper rh, RenderBlocks renderer)
|
||||||
{
|
{
|
||||||
renderCache = rh.useSimpliedRendering( x, y, z, this, renderCache );
|
renderCache = rh.useSimplifiedRendering( x, y, z, this, renderCache );
|
||||||
rh.setTexture( CableBusTextures.PartImportSides.getIcon(), CableBusTextures.PartImportSides.getIcon(), CableBusTextures.PartMonitorBack.getIcon(),
|
rh.setTexture( CableBusTextures.PartImportSides.getIcon(), CableBusTextures.PartImportSides.getIcon(), CableBusTextures.PartMonitorBack.getIcon(),
|
||||||
is.getIconIndex(), CableBusTextures.PartImportSides.getIcon(), CableBusTextures.PartImportSides.getIcon() );
|
is.getIconIndex(), CableBusTextures.PartImportSides.getIcon(), CableBusTextures.PartImportSides.getIcon() );
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ public class PartCableAnchor implements IPart
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public void renderStatic(int x, int y, int z, IPartRenderHelper rh, RenderBlocks renderer)
|
public void renderStatic(int x, int y, int z, IPartRenderHelper rh, RenderBlocks renderer)
|
||||||
{
|
{
|
||||||
renderCache = rh.useSimpliedRendering( x, y, z, this, renderCache );
|
renderCache = rh.useSimplifiedRendering( x, y, z, this, renderCache );
|
||||||
IIcon myIcon = is.getIconIndex();
|
IIcon myIcon = is.getIconIndex();
|
||||||
rh.setTexture( myIcon );
|
rh.setTexture( myIcon );
|
||||||
if ( host != null && host.getFacadeContainer().getFacade( mySide ) != null )
|
if ( host != null && host.getFacadeContainer().getFacade( mySide ) != null )
|
||||||
|
|
|
@ -128,7 +128,7 @@ public class PartInterface extends PartBasicState implements IGridTickable, ISeg
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public void renderStatic(int x, int y, int z, IPartRenderHelper rh, RenderBlocks renderer)
|
public void renderStatic(int x, int y, int z, IPartRenderHelper rh, RenderBlocks renderer)
|
||||||
{
|
{
|
||||||
renderCache = rh.useSimpliedRendering( x, y, z, this, renderCache );
|
renderCache = rh.useSimplifiedRendering( x, y, z, this, renderCache );
|
||||||
rh.setTexture( CableBusTextures.PartMonitorSides.getIcon(), CableBusTextures.PartMonitorSides.getIcon(), CableBusTextures.PartMonitorBack.getIcon(),
|
rh.setTexture( CableBusTextures.PartMonitorSides.getIcon(), CableBusTextures.PartMonitorSides.getIcon(), CableBusTextures.PartMonitorBack.getIcon(),
|
||||||
is.getIconIndex(), CableBusTextures.PartMonitorSides.getIcon(), CableBusTextures.PartMonitorSides.getIcon() );
|
is.getIconIndex(), CableBusTextures.PartMonitorSides.getIcon(), CableBusTextures.PartMonitorSides.getIcon() );
|
||||||
|
|
||||||
|
|
|
@ -380,7 +380,7 @@ public class PartStorageBus extends PartUpgradeable implements IGridTickable, IC
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public void renderStatic(int x, int y, int z, IPartRenderHelper rh, RenderBlocks renderer)
|
public void renderStatic(int x, int y, int z, IPartRenderHelper rh, RenderBlocks renderer)
|
||||||
{
|
{
|
||||||
renderCache = rh.useSimpliedRendering( x, y, z, this, renderCache );
|
renderCache = rh.useSimplifiedRendering( x, y, z, this, renderCache );
|
||||||
rh.setTexture( CableBusTextures.PartStorageSides.getIcon(), CableBusTextures.PartStorageSides.getIcon(), CableBusTextures.PartStorageBack.getIcon(),
|
rh.setTexture( CableBusTextures.PartStorageSides.getIcon(), CableBusTextures.PartStorageSides.getIcon(), CableBusTextures.PartStorageBack.getIcon(),
|
||||||
is.getIconIndex(), CableBusTextures.PartStorageSides.getIcon(), CableBusTextures.PartStorageSides.getIcon() );
|
is.getIconIndex(), CableBusTextures.PartStorageSides.getIcon(), CableBusTextures.PartStorageSides.getIcon() );
|
||||||
|
|
||||||
|
|
|
@ -169,7 +169,7 @@ public class PartToggleBus extends PartBasicState
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public void renderStatic(int x, int y, int z, IPartRenderHelper rh, RenderBlocks renderer)
|
public void renderStatic(int x, int y, int z, IPartRenderHelper rh, RenderBlocks renderer)
|
||||||
{
|
{
|
||||||
renderCache = rh.useSimpliedRendering( x, y, z, this, renderCache );
|
renderCache = rh.useSimplifiedRendering( x, y, z, this, renderCache );
|
||||||
rh.setTexture( is.getIconIndex() );
|
rh.setTexture( is.getIconIndex() );
|
||||||
|
|
||||||
rh.setBounds( 6, 6, 14, 10, 10, 16 );
|
rh.setBounds( 6, 6, 14, 10, 10, 16 );
|
||||||
|
|
|
@ -847,7 +847,7 @@ public class PartCable extends AEBasePart implements IPartCable
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public void renderStatic(int x, int y, int z, IPartRenderHelper rh, RenderBlocks renderer)
|
public void renderStatic(int x, int y, int z, IPartRenderHelper rh, RenderBlocks renderer)
|
||||||
{
|
{
|
||||||
renderCache = rh.useSimpliedRendering( x, y, z, this, renderCache );
|
renderCache = rh.useSimplifiedRendering( x, y, z, this, renderCache );
|
||||||
boolean useCovered = false;
|
boolean useCovered = false;
|
||||||
boolean requireDetailed = false;
|
boolean requireDetailed = false;
|
||||||
|
|
||||||
|
|
|
@ -142,7 +142,7 @@ public class PartCableCovered extends PartCable
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public void renderStatic(int x, int y, int z, IPartRenderHelper rh, RenderBlocks renderer)
|
public void renderStatic(int x, int y, int z, IPartRenderHelper rh, RenderBlocks renderer)
|
||||||
{
|
{
|
||||||
renderCache = rh.useSimpliedRendering( x, y, z, this, renderCache );
|
renderCache = rh.useSimplifiedRendering( x, y, z, this, renderCache );
|
||||||
rh.setTexture( getTexture( getCableColor() ) );
|
rh.setTexture( getTexture( getCableColor() ) );
|
||||||
|
|
||||||
EnumSet<ForgeDirection> sides = connections.clone();
|
EnumSet<ForgeDirection> sides = connections.clone();
|
||||||
|
|
|
@ -160,7 +160,7 @@ public class PartCableSmart extends PartCable
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public void renderStatic(int x, int y, int z, IPartRenderHelper rh, RenderBlocks renderer)
|
public void renderStatic(int x, int y, int z, IPartRenderHelper rh, RenderBlocks renderer)
|
||||||
{
|
{
|
||||||
renderCache = rh.useSimpliedRendering( x, y, z, this, renderCache );
|
renderCache = rh.useSimplifiedRendering( x, y, z, this, renderCache );
|
||||||
rh.setTexture( getTexture( getCableColor() ) );
|
rh.setTexture( getTexture( getCableColor() ) );
|
||||||
|
|
||||||
EnumSet<ForgeDirection> sides = connections.clone();
|
EnumSet<ForgeDirection> sides = connections.clone();
|
||||||
|
|
|
@ -320,7 +320,7 @@ public class PartDenseCable extends PartCable
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public void renderStatic(int x, int y, int z, IPartRenderHelper rh, RenderBlocks renderer)
|
public void renderStatic(int x, int y, int z, IPartRenderHelper rh, RenderBlocks renderer)
|
||||||
{
|
{
|
||||||
renderCache = rh.useSimpliedRendering( x, y, z, this, renderCache );
|
renderCache = rh.useSimplifiedRendering( x, y, z, this, renderCache );
|
||||||
rh.setTexture( getTexture( getCableColor() ) );
|
rh.setTexture( getTexture( getCableColor() ) );
|
||||||
|
|
||||||
EnumSet<ForgeDirection> sides = connections.clone();
|
EnumSet<ForgeDirection> sides = connections.clone();
|
||||||
|
|
|
@ -319,7 +319,7 @@ public class PartP2PTunnel<T extends PartP2PTunnel> extends PartBasicState
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public void renderStatic(int x, int y, int z, IPartRenderHelper rh, RenderBlocks renderer)
|
public void renderStatic(int x, int y, int z, IPartRenderHelper rh, RenderBlocks renderer)
|
||||||
{
|
{
|
||||||
renderCache = rh.useSimpliedRendering( x, y, z, this, renderCache );
|
renderCache = rh.useSimplifiedRendering( x, y, z, this, renderCache );
|
||||||
rh.setTexture( getTypeTexture() );
|
rh.setTexture( getTypeTexture() );
|
||||||
|
|
||||||
rh.setBounds( 2, 2, 14, 14, 14, 16 );
|
rh.setBounds( 2, 2, 14, 14, 14, 16 );
|
||||||
|
|
|
@ -247,7 +247,7 @@ public class PartMonitor extends AEBasePart implements IPartMonitor, IPowerChann
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public void renderStatic(int x, int y, int z, IPartRenderHelper rh, RenderBlocks renderer)
|
public void renderStatic(int x, int y, int z, IPartRenderHelper rh, RenderBlocks renderer)
|
||||||
{
|
{
|
||||||
renderCache = rh.useSimpliedRendering( x, y, z, this, renderCache );
|
renderCache = rh.useSimplifiedRendering( x, y, z, this, renderCache );
|
||||||
|
|
||||||
rh.setTexture( CableBusTextures.PartMonitorSides.getIcon(), CableBusTextures.PartMonitorSides.getIcon(), CableBusTextures.PartMonitorBack.getIcon(),
|
rh.setTexture( CableBusTextures.PartMonitorSides.getIcon(), CableBusTextures.PartMonitorSides.getIcon(), CableBusTextures.PartMonitorBack.getIcon(),
|
||||||
is.getIconIndex(), CableBusTextures.PartMonitorSides.getIcon(), CableBusTextures.PartMonitorSides.getIcon() );
|
is.getIconIndex(), CableBusTextures.PartMonitorSides.getIcon(), CableBusTextures.PartMonitorSides.getIcon() );
|
||||||
|
|
Loading…
Reference in a new issue