From c4345bacaecdeed6cab7530e248974a3582f1c01 Mon Sep 17 00:00:00 2001 From: Stuart Pomeroy Date: Sat, 26 Mar 2016 16:01:06 +0000 Subject: [PATCH 1/2] Fix a fuck up. --- build.gradle | 2 -- .../client/render/parts/RenderCablePart.java | 18 +++++------------- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/build.gradle b/build.gradle index 7780a4b67..06fe37a5e 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,3 @@ -import scala.tools.nsc.io.Jar - buildscript { repositories { mavenCentral() diff --git a/src/main/java/techreborn/client/render/parts/RenderCablePart.java b/src/main/java/techreborn/client/render/parts/RenderCablePart.java index 981670fac..20ab978ae 100644 --- a/src/main/java/techreborn/client/render/parts/RenderCablePart.java +++ b/src/main/java/techreborn/client/render/parts/RenderCablePart.java @@ -31,14 +31,6 @@ public class RenderCablePart implements IBakedModel public void addCubeToList(Vecs3dCube cube, ArrayList list, BlockPartFace face, ModelRotation modelRotation, TextureAtlasSprite cubeTexture) { - System.out.print(" Max X:" + cube.getMaxX()); - System.out.print(" Min X:" + cube.getMinX()); - - System.out.print(" Max Y:" + cube.getMaxY()); - System.out.print(" Min Y:" + cube.getMinY()); - - System.out.print(" Max Z:" + cube.getMaxZ()); - System.out.print(" Min Z:" + cube.getMinZ()); BlockFaceUV uv = new BlockFaceUV(new float[] { (float) cube.getMinX(), (float) cube.getMinY(), (float) cube.getMaxX(), (float) cube.getMaxY() }, 0); face = new BlockPartFace(null, 0, "", uv); @@ -52,7 +44,7 @@ public class RenderCablePart implements IBakedModel EnumFacing.UP, modelRotation, null, true, true));// up list.add(faceBakery.makeBakedQuad( new Vector3f((float) cube.getMinX(), (float) cube.getMinY(), (float) cube.getMinZ()), - new Vector3f((float) cube.getMaxX(), (float) cube.getMaxY(), (float) cube.getMinZ()), face, cubeTexture, + new Vector3f((float) cube.getMaxX(), (float) cube.getMaxY(), (float) cube.getMaxZ()), face, cubeTexture, EnumFacing.NORTH, modelRotation, null, true, true));// north list.add(faceBakery.makeBakedQuad( new Vector3f((float) cube.getMinX(), (float) cube.getMinY(), (float) cube.getMaxZ()), @@ -97,13 +89,13 @@ public class RenderCablePart implements IBakedModel } if (state.getValue(CableMultipart.NORTH)) { - addCubeToList(new Vecs3dCube(thickness, thickness, lastThickness, lastThickness, lastThickness, 16.0), - list, face, ModelRotation.X0_Y0, texture); + addCubeToList(new Vecs3dCube(thickness, thickness, 0.0, lastThickness, lastThickness, thickness), list, + face, ModelRotation.X0_Y0, texture); } if (state.getValue(CableMultipart.SOUTH)) { - addCubeToList(new Vecs3dCube(thickness, thickness, 0.0, lastThickness , lastThickness, thickness), list, - face, ModelRotation.X0_Y0, texture); + addCubeToList(new Vecs3dCube(thickness, thickness, lastThickness, lastThickness, lastThickness, 16.0), + list, face, ModelRotation.X0_Y0, texture); } if (state.getValue(CableMultipart.EAST)) { From ba2ad6aa4e921f39439114851b12f3b5aae75f0e Mon Sep 17 00:00:00 2001 From: Stuart Pomeroy Date: Sat, 26 Mar 2016 16:03:23 +0000 Subject: [PATCH 2/2] FIX IT AGAIN! --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 06fe37a5e..b6fb7da65 100644 --- a/build.gradle +++ b/build.gradle @@ -51,7 +51,7 @@ if (ENV.BUILD_NUMBER) { } minecraft { - version = "1.9-12.16.0.1784-1.9" + version = "1.9-12.16.0.1811-1.9" mappings = "snapshot_20160316" replace "@MODVERSION@", project.version // makeObfSourceJar = false