This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public void drawGuiAtXYZ(InventoryPacket p){ | |
| FontRenderer fontrenderer = mc.fontRenderer; | |
| RenderManager renderManager = RenderManager.instance; | |
| String inventoryString = p.inventoryTitle; | |
| float f1 = 0.016666668F * 1.6F; | |
| GL11.glPushMatrix(); | |
| GL11.glTranslatef((float)p.x + 0.5F, (float)p.y + 1.5F, (float)p.z + 0.5F); | |
| GL11.glNormal3f(0.0F, 1.0F, 0.0F); | |
| GL11.glRotatef(-renderManager.playerViewY, 0.0F, 1.0F, 0.0F); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public void drawGuiAtXYZ(InventoryPacket p){ | |
| FontRenderer fontrenderer = mc.fontRenderer; | |
| RenderManager renderManager = RenderManager.instance; | |
| String inventoryString = p.inventoryTitle; | |
| GL11.glPushMatrix(); | |
| GL11.glTranslatef((float)p.x + 0.5F, (float)p.y + 1.5F, (float)p.z + 0.5F); | |
| GL11.glNormal3f(0.0F, 1.0F, 0.0F); | |
| GL11.glRotatef(-renderManager.playerViewY, 0.0F, 1.0F, 0.0F); | |
| GL11.glRotatef(renderManager.playerViewX, 1.0F, 0.0F, 0.0F); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static CreativeTabs creativeTab = new CreativeTabs(Reference.MOD_ID) { | |
| public ItemStack getIconItemStack() { | |
| return new ItemStack(ModItems.atomicCatalyst, 1, 0); | |
| } | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static void putValues(String values) { | |
| if(values.lastIndexOf(",") != values.length())values += ","; | |
| int tempStringLength = 0; | |
| for (int i = 0; i < getTotalEntries(values); i++) { | |
| String temp = values.substring(tempStringLength, values.indexOf(splitChar, tempStringLength)); | |
| if (temp.matches("\\d*:\\d*")) { | |
| blackList.add(Integer.parseInt(temp.substring(0, temp.indexOf(sepChar)))); | |
| blackList.add(Integer.parseInt(temp.substring(temp.indexOf(sepChar) + 1, temp.length()))); | |
| tempStringLength += (temp.length() + 1); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.io.File; | |
| public class Move{ | |
| public static void main(String[] args){ | |
| File commonDir = new File("G:\\Minecraft\\source\\Elemental-Sciences-2\\es_common"); | |
| File resourceDir = new File("G:\\Minecraft\\source\\Elemental-Sciences-2\\resources"); | |
| File commonDirTarget = new File("G:\\Minecraft\\forge\\src\\main\\java"); | |
| File resourceDirTarget = new File("G:\\Minecraft\\forge\\src\\main\\resource"); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set "javaDir=G:\Minecraft\source\Elemental-Sciences-2\es_common" | |
| set "resourcesDir=G:\Minecraft\source\Elemental-Sciences-2\resources" | |
| set "javaTarDir=G:\Minecraft\forge\src\main\java" | |
| set "resourcesTarDir=G:\Minecraft\forge\src\main\resources" | |
| PATH = %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\ | |
| xcopy /E /Y %javaDir% %javaTarDir% | |
| xcopy /E /Y %resourcesDir% %resourcesTarDir% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| GL11.glPushMatrix(); | |
| GL11.glTranslatef((float) p.x + 0.5F, (float) p.y + 1.5F, (float) p.z + 0.5F); | |
| GL11.glColor4f(0.25F, 0.25F, 0.25F, 0.5F); | |
| GL11.glBegin(GL11.GL_QUADS); | |
| GL11.glVertex3f(0.0F, 0.0F, 0.0F); | |
| GL11.glVertex3f(1.0F, 0.0F, 0.0F); | |
| GL11.glVertex3f(0.0F, 1.0F, 0.0F); | |
| GL11.glVertex3f(1.0F, 1.0F, 0.0F); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| GL11.glPushMatrix(); | |
| GL11.glTranslatef((float) p.x + 0.5F, (float) p.y + 1.5F, (float) p.z + 0.5F); | |
| GL11.glColor4f(0.25F, 0.25F, 0.25F, 0.5F); | |
| GL11.glBegin(GL11.GL_QUADS); | |
| GL11.glVertex3f(0.0F, 0.0F, 0.0F); | |
| GL11.glVertex3f(0.0F, 1.0F, 0.0F); | |
| GL11.glVertex3f(1.0F, 1.0F, 0.0F); | |
| GL11.glVertex3f(1.0F, 0.0F, 0.0F); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package me.jezzadabomb.es2.client.tickers; | |
| import static org.lwjgl.opengl.GL11.*; | |
| import java.util.ArrayList; | |
| import java.util.EnumSet; | |
| import me.jezzadabomb.es2.common.core.ESLogger; | |
| import me.jezzadabomb.es2.common.hud.StoredQueues; | |
| import me.jezzadabomb.es2.common.packets.InventoryPacket; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| glPushMatrix(); | |
| glTranslatef((float) p.x + 0.5F, (float) p.y + 1.5F, (float) p.z + 0.5F); | |
| glColor4f(0.25F, 0.25F, 0.25F, 0.5F); | |
| glBegin(GL_QUADS); | |
| glVertex3f(0.0F, 0.0F, 0.0F); | |
| glVertex3f(0.0F, 100.0F, 0.0F); | |
| glVertex3f(100.0F, 100.0F, 0.0F); | |
| glVertex3f(100.0F, 0.0F, 0.0F); |