diff options
| author | Technus <daniel112092@gmail.com> | 2017-05-16 00:11:14 +0200 |
|---|---|---|
| committer | Technus <daniel112092@gmail.com> | 2017-05-16 00:11:14 +0200 |
| commit | b9f5966099138faf64d968d5f2b5da6bd80f9668 (patch) | |
| tree | 140330cd0790922f23665de9e07e8aa4adeeab6d /src/main | |
| parent | a4df98236750c828c26b8711b3b3ee7e5c04df42 (diff) | |
| download | GT5-Unofficial-b9f5966099138faf64d968d5f2b5da6bd80f9668.tar.gz GT5-Unofficial-b9f5966099138faf64d968d5f2b5da6bd80f9668.tar.bz2 GT5-Unofficial-b9f5966099138faf64d968d5f2b5da6bd80f9668.zip | |
Minor changes
Diffstat (limited to 'src/main')
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 c326250de2..7dec243bc7 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 @@ -10,4 +10,10 @@ antimatter weaponry starter manual book? design reader station - singleblock -quantum dislocator - to move GT tiles?
\ No newline at end of file +quantum dislocator - to move GT tiles? + +usefull for things like i am not really there blocks +BlockFakeLight.java + +for turrets: +floodlight
\ No newline at end of file |
