aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/goodgenerator/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/goodgenerator/client')
-rw-r--r--src/main/java/goodgenerator/client/GUI/GG_UITextures.java10
-rw-r--r--src/main/java/goodgenerator/client/render/BlockRenderHandler.java98
2 files changed, 54 insertions, 54 deletions
diff --git a/src/main/java/goodgenerator/client/GUI/GG_UITextures.java b/src/main/java/goodgenerator/client/GUI/GG_UITextures.java
index 97d4599562..2b9bc8df84 100644
--- a/src/main/java/goodgenerator/client/GUI/GG_UITextures.java
+++ b/src/main/java/goodgenerator/client/GUI/GG_UITextures.java
@@ -8,15 +8,15 @@ public class GG_UITextures {
public static final UITexture PICTURE_NAQUADAH_REACTOR = UITexture.fullImage(MODID, "gui/picture/naquadah_reactor");
public static final UITexture PICTURE_NEUTRON_ACTIVATOR = UITexture
- .fullImage(MODID, "gui/picture/neutron_activator");
+ .fullImage(MODID, "gui/picture/neutron_activator");
public static final UITexture PICTURE_EXTREME_HEAT_EXCHANGER = UITexture
- .fullImage(MODID, "gui/picture/extreme_heat_exchanger");
+ .fullImage(MODID, "gui/picture/extreme_heat_exchanger");
public static final UITexture PICTURE_COMPONENT_ASSLINE = UITexture
- .fullImage(MODID, "gui/picture/component_assline");
+ .fullImage(MODID, "gui/picture/component_assline");
public static final UITexture OVERLAY_BUTTON_LOCK_OFF = UITexture.fullImage(MODID, "gui/overlay_button/lock_off");
public static final UITexture OVERLAY_BUTTON_LOCK_ON = UITexture.fullImage(MODID, "gui/overlay_button/lock_on");
public static final UITexture OVERLAY_BUTTON_ASSEMBLER_MODE = UITexture
- .fullImage(MODID, "gui/overlay_button/assembler_mode");
+ .fullImage(MODID, "gui/overlay_button/assembler_mode");
public static final UITexture OVERLAY_BUTTON_PRECISE_MODE = UITexture
- .fullImage(MODID, "gui/overlay_button/precise_mode");
+ .fullImage(MODID, "gui/overlay_button/precise_mode");
}
diff --git a/src/main/java/goodgenerator/client/render/BlockRenderHandler.java b/src/main/java/goodgenerator/client/render/BlockRenderHandler.java
index 6357025002..01893339f5 100644
--- a/src/main/java/goodgenerator/client/render/BlockRenderHandler.java
+++ b/src/main/java/goodgenerator/client/render/BlockRenderHandler.java
@@ -58,7 +58,7 @@ public class BlockRenderHandler implements ISimpleBlockRenderingHandler {
@Override
public boolean renderWorldBlock(IBlockAccess aWorld, int aX, int aY, int aZ, Block aBlock, int aModelID,
- RenderBlocks aRenderer) {
+ RenderBlocks aRenderer) {
aRenderer.enableAO = Minecraft.isAmbientOcclusionEnabled() && GT_Mod.gregtechproxy.mRenderTileAmbientOcclusion;
aRenderer.useInventoryTint = false;
if (aBlock instanceof ITextureBlock) {
@@ -66,59 +66,59 @@ public class BlockRenderHandler implements ISimpleBlockRenderingHandler {
aRenderer.setRenderBoundsFromBlock(aBlock);
ITextureBlock tc = (ITextureBlock) aBlock;
renderNegativeYFacing(
- aWorld,
- aRenderer,
- aBlock,
- aX,
- aY,
- aZ,
- tc.getTexture(aBlock, DOWN, aWorld, aX, aY, aZ),
- true);
+ aWorld,
+ aRenderer,
+ aBlock,
+ aX,
+ aY,
+ aZ,
+ tc.getTexture(aBlock, DOWN, aWorld, aX, aY, aZ),
+ true);
renderPositiveYFacing(
- aWorld,
- aRenderer,
- aBlock,
- aX,
- aY,
- aZ,
- tc.getTexture(aBlock, UP, aWorld, aX, aY, aZ),
- true);
+ aWorld,
+ aRenderer,
+ aBlock,
+ aX,
+ aY,
+ aZ,
+ tc.getTexture(aBlock, UP, aWorld, aX, aY, aZ),
+ true);
renderNegativeZFacing(
- aWorld,
- aRenderer,
- aBlock,
- aX,
- aY,
- aZ,
- tc.getTexture(aBlock, NORTH, aWorld, aX, aY, aZ),
- true);
+ aWorld,
+ aRenderer,
+ aBlock,
+ aX,
+ aY,
+ aZ,
+ tc.getTexture(aBlock, NORTH, aWorld, aX, aY, aZ),
+ true);
renderPositiveZFacing(
- aWorld,
- aRenderer,
- aBlock,
- aX,
- aY,
- aZ,
- tc.getTexture(aBlock, SOUTH, aWorld, aX, aY, aZ),
- true);
+ aWorld,
+ aRenderer,
+ aBlock,
+ aX,
+ aY,
+ aZ,
+ tc.getTexture(aBlock, SOUTH, aWorld, aX, aY, aZ),
+ true);
renderNegativeXFacing(
- aWorld,
- aRenderer,
- aBlock,
- aX,
- aY,
- aZ,
- tc.getTexture(aBlock, WEST, aWorld, aX, aY, aZ),
- true);
+ aWorld,
+ aRenderer,
+ aBlock,
+ aX,
+ aY,
+ aZ,
+ tc.getTexture(aBlock, WEST, aWorld, aX, aY, aZ),
+ true);
renderPositiveXFacing(
- aWorld,
- aRenderer,
- aBlock,
- aX,
- aY,
- aZ,
- tc.getTexture(aBlock, EAST, aWorld, aX, aY, aZ),
- true);
+ aWorld,
+ aRenderer,
+ aBlock,
+ aX,
+ aY,
+ aZ,
+ tc.getTexture(aBlock, EAST, aWorld, aX, aY, aZ),
+ true);
}
return false;
}