aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/github/technus/tectech/thing/block/QuantumGlassRender.java5
-rw-r--r--src/main/java/com/github/technus/tectech/thing/casing/GT_Block_CasingsTT.java3
-rw-r--r--src/main/java/com/github/technus/tectech/thing/casing/GT_Item_CasingsTT.java3
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/other todo8
4 files changed, 13 insertions, 6 deletions
diff --git a/src/main/java/com/github/technus/tectech/thing/block/QuantumGlassRender.java b/src/main/java/com/github/technus/tectech/thing/block/QuantumGlassRender.java
index e6da9a499e..27cbfb925f 100644
--- a/src/main/java/com/github/technus/tectech/thing/block/QuantumGlassRender.java
+++ b/src/main/java/com/github/technus/tectech/thing/block/QuantumGlassRender.java
@@ -21,7 +21,7 @@ public final class QuantumGlassRender implements ISimpleBlockRenderingHandler {
public void renderInventoryBlock(Block block, int metadata, int modelId, RenderBlocks renderer) {
GL11.glTranslatef(-0.5F, -0.5F, -0.5F);
Tessellator tessellator = Tessellator.instance;
-
+ GL11.glPushMatrix();
//Get icons from custom register (useful for renderers and fluids)
IIcon side = QuantumGlassBlock.stuff;
tessellator.startDrawingQuads();
@@ -49,6 +49,7 @@ public final class QuantumGlassRender implements ISimpleBlockRenderingHandler {
renderer.renderFaceYPos(block, 0.0D, 0.0D, 0.0D, side);
tessellator.draw();
GL11.glTranslatef(0.5F, 0.5F, 0.5F);
+ GL11.glPopMatrix();
}
@Override
@@ -58,6 +59,7 @@ public final class QuantumGlassRender implements ISimpleBlockRenderingHandler {
renderer.renderStandardBlock(block, x, y, z);
Tessellator tes = Tessellator.instance;
+ GL11.glPushMatrix();
tes.setNormal(0F, 1F, 0F);
tes.setBrightness(15728880);
tes.setColorOpaque_F(0F, 1F, 1F);
@@ -106,6 +108,7 @@ public final class QuantumGlassRender implements ISimpleBlockRenderingHandler {
tes.addVertexWithUV(x + 1, y + 0.001, z + 1, side.getMaxU(), side.getMinV());
tes.addVertexWithUV(x + 1, y + 0.001, z, side.getMaxU(), side.getMaxV());
}
+ GL11.glPopMatrix();
GL11.glEnable(GL11.GL_CULL_FACE);
return true;
}
diff --git a/src/main/java/com/github/technus/tectech/thing/casing/GT_Block_CasingsTT.java b/src/main/java/com/github/technus/tectech/thing/casing/GT_Block_CasingsTT.java
index 0938a85eee..f42cf5d10d 100644
--- a/src/main/java/com/github/technus/tectech/thing/casing/GT_Block_CasingsTT.java
+++ b/src/main/java/com/github/technus/tectech/thing/casing/GT_Block_CasingsTT.java
@@ -20,8 +20,7 @@ import java.util.List;
/**
* Created by danie_000 on 03.10.2016.
*/
-public class GT_Block_CasingsTT
- extends GT_Block_Casings_Abstract {
+public class GT_Block_CasingsTT extends GT_Block_Casings_Abstract {
private static IIcon eM0, eM1, eM1s, eM2, eM2s, eM3, eM3s, eM4, eM5, eM6, eM7, eM7s, eM8, eM9, eM10, eM11, eM12, eM13, eM14;
private static IIcon debug[] = new IIcon[6];
diff --git a/src/main/java/com/github/technus/tectech/thing/casing/GT_Item_CasingsTT.java b/src/main/java/com/github/technus/tectech/thing/casing/GT_Item_CasingsTT.java
index 605dcd87e3..e58ea74530 100644
--- a/src/main/java/com/github/technus/tectech/thing/casing/GT_Item_CasingsTT.java
+++ b/src/main/java/com/github/technus/tectech/thing/casing/GT_Item_CasingsTT.java
@@ -13,8 +13,7 @@ import static com.github.technus.tectech.CommonValues.tecMark;
/**
* Created by danie_000 on 03.10.2016.
*/
-public class GT_Item_CasingsTT
- extends GT_Item_Casings_Abstract {
+public class GT_Item_CasingsTT extends GT_Item_Casings_Abstract {
public GT_Item_CasingsTT(Block par1) {
super(par1);
}
diff --git a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/other todo b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/other todo
index 529886c6b4..6590591492 100644
--- a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/other todo
+++ b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/other todo
@@ -14,4 +14,10 @@ quantum dislocator - to move GT tiles?
GT infusion altar
-Fucking regular multiblock container for EM... - hightier - with selection of what u want
+Fucking regular multiblock container for EM... - hightier - with selection of what u want
+
+usefull for things like i am not really there blocks
+BlockFakeLight.java
+
+for turrets:
+floodlight