Typo FlipableIcon
This commit is contained in:
@@ -2,6 +2,7 @@ package appeng.parts.networking;
|
||||
|
||||
import java.util.EnumSet;
|
||||
|
||||
import appeng.client.texture.FlippableIcon;
|
||||
import net.minecraft.client.renderer.RenderBlocks;
|
||||
import net.minecraft.client.renderer.Tessellator;
|
||||
import net.minecraft.item.ItemStack;
|
||||
@@ -22,7 +23,6 @@ import appeng.api.parts.IPartRenderHelper;
|
||||
import appeng.api.util.AECableType;
|
||||
import appeng.api.util.AEColor;
|
||||
import appeng.block.AEBaseBlock;
|
||||
import appeng.client.texture.FlipableIcon;
|
||||
import appeng.client.texture.OffsetIcon;
|
||||
import appeng.client.texture.TaughtIcon;
|
||||
import appeng.util.Platform;
|
||||
@@ -213,7 +213,7 @@ public class PartCableSmart extends PartCable
|
||||
if ( of == ForgeDirection.EAST || of == ForgeDirection.WEST )
|
||||
{
|
||||
AEBaseBlock blk = (AEBaseBlock) rh.getBlock();
|
||||
FlipableIcon ico = blk.getRendererInstance().getTexture( ForgeDirection.EAST );
|
||||
FlippableIcon ico = blk.getRendererInstance().getTexture( ForgeDirection.EAST );
|
||||
ico.setFlip( false, true );
|
||||
}
|
||||
|
||||
@@ -298,7 +298,7 @@ public class PartCableSmart extends PartCable
|
||||
renderer.uvRotateNorth = 0;
|
||||
|
||||
AEBaseBlock blk = (AEBaseBlock) rh.getBlock();
|
||||
FlipableIcon ico = blk.getRendererInstance().getTexture( ForgeDirection.EAST );
|
||||
FlippableIcon ico = blk.getRendererInstance().getTexture( ForgeDirection.EAST );
|
||||
ico.setFlip( false, true );
|
||||
|
||||
renderer.setRenderBounds( 0, 5 / 16.0, 5 / 16.0, 16 / 16.0, 11 / 16.0, 11 / 16.0 );
|
||||
@@ -306,11 +306,11 @@ public class PartCableSmart extends PartCable
|
||||
|
||||
Tessellator.instance.setBrightness( 15 << 20 | 15 << 4 );
|
||||
|
||||
FlipableIcon fpA = new FlipableIcon( defa );
|
||||
FlipableIcon fpB = new FlipableIcon( defb );
|
||||
FlippableIcon fpA = new FlippableIcon( defa );
|
||||
FlippableIcon fpB = new FlippableIcon( defb );
|
||||
|
||||
fpA = new FlipableIcon( defa );
|
||||
fpB = new FlipableIcon( defb );
|
||||
fpA = new FlippableIcon( defa );
|
||||
fpB = new FlippableIcon( defb );
|
||||
|
||||
fpA.setFlip( true, false );
|
||||
fpB.setFlip( true, false );
|
||||
|
||||
Reference in New Issue
Block a user