• 0

    posted a message on How to force minecraft to use the ram I give it?
    Hi, I have my java arguments set at "-Xmx8G -Xms8G", but in the F3 menu it says
    Used memory: 4% (505MB) of 7851 MB
    Allocated memory: 100% (7851MB)

    But how do I force minecraft to use all the ram I give it, resulting in more fps?

    Note: I am not a troll and I have no idea if this is possible or not, any help is appreciated.
    Posted in: Java Edition Support
  • 0

    posted a message on Type the above users name with your eyes closed!
    enzozo

    yey ^_^
    Posted in: Forum Games
  • 0

    posted a message on Minecraft 1.7.9 crashes as soon as I open it [xubuntu]
    I downloaded minecraft on my new xubuntu os, I have java, and the launcher opened, but when I try to play mc it just crashes! Here is my crash report:
    http://pastebin.com/cjkT83R9

    Any help will be appreciated
    Posted in: Java Edition Support
  • 1

    posted a message on Super Ultra Hardcore (No extra plugins, banned items, very hard, only for mature players)

    IP: 50.47.74.133

    Hello,

    I saw a post by zezombye on imgur called Super Ultra Hardcore ( http://imgur.com/a/Addff ), or SUHC. In this world alot of items are banned (which you can see at spawn) and natural regeneration is off.

    There is also a death counter in the tab list, as well as above peoples heads. Luckily when you die, you simply respawn at spawn or your bed, instead of being banned.

    This is a purely vanilla server (you only have vanilla commands) and the only reason I am using bukkit is for worldguard and buycraft

    Donation Packages:

    1 - 256 Cobblestone for $2.00 Since cobblestone is very hard to get due to pickaxes being banned (you can only use tnt and creepers, etc)

    2 - Creeper Killer Sword for $2.00 Diamond sword with sharpness 5, unbreaking 3, and fire aspect 2. Named 'Creeper Killer Sword!'

    3 - 16 TNT for $1.00 Useful for getting cobblestone and precious ores

    4 - 24 Trees for $4.00 Since saplings are banned, trees are limited. So when you order this package I will plant 4 of each tree type around your house/base or where ever you want it (The jungle and dark oak trees will be enlarged)

    The server runs off of 2 gigs of ram and supports 25 players, and is run from my computer (Around a 90% uptime)

    I really hope you guys enjoy this as much as I do!

    IP again: 50.47.74.133

    Lastly, have fun!
    Posted in: PC Servers
  • 0

    posted a message on Cannot decompile.sh [Ubuntu 12.04]
    So pretty much when I click decompile.sh and run it in terminal it just appears then dissapears. I havent used mcp ever on this computer or on ubuntu at allEdit: threw a read in there and found out I just hadnt installed the jdk
    /Req lock
    Posted in: Modification Development
  • 0

    posted a message on Change speed?
    Quote from tyler1555

    if(speed) {
    FMLClientHandler.instance().getClient().thePlayer.addPotionEffect(new PotionEffect(Some.potion.id, Potion duration);
    } else {
    return;
    }

    This code will only run on the client though. You'll need to do some work with packets if you want it to work on the client and server.


    I'm not coding it in forge though :P
    Posted in: Modification Development
  • 0

    posted a message on That damn crash!
    Quote from Plecks

    It took some Google-fu (apparently MCP no longer puts out releases on their website), but it looks like MCP 9.03 is for Minecraft 1.7.2, while according to your crash report you're trying to install the mod to 1.7.4. I think what you're seeing is a mismatch in the obfuscation between the two versions. Something expected an 'ayt', but got an 'ayn' (which is shifted up 6 letters, which makes sense for an earlier version).

    Anyway, either install your mod to a 1.7.2 jar (best choice, probably) or figure out the remappings yourself for 1.7.2->1.7.4 (likely way more work than you want to do).

    Oh my god! Thank you so much
    Posted in: Modification Development
  • 0

    posted a message on That damn crash!
    Finished my *not a hacked client* mod and when I ran it in eclipse it ran fine. However, after recompiling mcp903 and reobfuscating, getting my 1 class, I put it in and installed it like a normal mod. But then *crash*
    ---- Minecraft Crash Report ----
    // My bad.
    Time: 2/10/14 7:31 PM
    Description: Initializing game
    java.lang.VerifyError: Bad type on operand stack
    Exception Details:
      Location:
        bah.a(Laym;IILbag;)V @94: invokestatic
      Reason:
        Type 'ayn' (current frame, stack[1]) is not assignable to 'ayt'
      Current Frame:
        bci: @94
        flags: { }
        locals: { 'bah', 'aym', integer, integer, 'bag', 'ayr', 'java/util/Collection', integer, top, 'java/util/Iterator', 'ayo', 'ayn' }
        stack: { 'java/lang/StringBuilder', 'ayn', 'java/lang/String' }
      Bytecode:
        0000000: 2bb6 02ad 3a05 1905 2bb6 02fe 3a06 1906
        0000010: b903 0101 0010 0fa3 01ae 1904 2bb6 0303
        0000020: b601 2a36 0719 06b9 0307 0100 3a09 1909
        0000030: b903 0c01 0099 0059 1909 b903 1001 00c0
        0000040: 02b9 3a0a 1905 190a b603 12b6 02a6 3a0b
        0000050: bb01 1b59 b701 1c19 0b19 0ab6 0312 b802
        0000060: abb6 0120 1303 14b6 0120 b203 16b6 02b7
        0000070: 190a b602 bbb6 0123 b601 273a 0815 0719
        0000080: 0419 08b6 012a b803 1b36 07a7 ffa3 1906
        0000090: b903 0101 0019 04b4 031d 6836 091c 056c
        00000a0: 1509 066c 6036 0a06 360b 1d15 0764 150b
        00000b0: 6436 0c03 360d 1906 b903 0701 003a 0e19
        00000c0: 0eb9 030c 0100 9900 ff19 0eb9 0310 0100
        00000d0: c002 b93a 0f84 0d01 1905 190f b603 12b6
        00000e0: 02a6 3a10 1910 190f b603 12b8 02ab 3a11
        00000f0: bb01 1b59 b701 1cb2 0316 b602 b712 32b6
        0000100: 0120 190f b602 bbb6 0123 b601 273a 1215
        0000110: 0a15 0d19 04b4 031d 6864 3613 1d15 0b64
        0000120: 0560 3614 150c 0564 1513 1514 1513 1904
        0000130: b403 1d60 1303 1eb8 0101 1904 1911 150c
        0000140: 1513 1302 9bb6 012d 5719 0419 1215 1419
        0000150: 0419 12b6 012a 6415 1313 029b b601 2d57
        0000160: 150d 1906 b903 0101 00a0 0059 2bb6 0303
        0000170: 3a15 150c 0564 1513 1904 b403 1d64 0464
        0000180: 1514 1513 0464 1303 1fb8 0101 150c 0564
        0000190: 1513 0464 1514 1513 1303 1eb8 0101 1904
        00001a0: 1915 150c 1507 056c 6019 0419 15b6 012a
        00001b0: 056c 6415 1319 04b4 031d 6413 029b b601
        00001c0: 2d57 a7fe fdb1						
      Stackmap Table:
        full_frame(@46,{Object[#2],Object[#633],Integer,Integer,Object[#124],Object[#625],Object[#768],Integer,Top,Object[#777]},{})
        chop_frame(@142,2)
        full_frame(@191,{Object[#2],Object[#633],Integer,Integer,Object[#124],Object[#625],Object[#768],Integer,Top,Integer,Integer,Integer,Integer,Integer,Object[#777]},{})
        same_frame_extended(@450)
        full_frame(@453,{Object[#2],Object[#633],Integer,Integer,Object[#124],Object[#625],Object[#768]},{})
    at azi.ad(SourceFile:442)
    at azi.f(SourceFile:696)
    at net.minecraft.client.main.Main.main(SourceFile:152)
    
    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------
    -- Head --
    Stacktrace:
    at azi.ad(SourceFile:442)
    -- Initialization --
    Details:
    Stacktrace:
    at azi.f(SourceFile:696)
    at net.minecraft.client.main.Main.main(SourceFile:152)
    -- System Details --
    Details:
    Minecraft Version: 1.7.4
    Operating System: Windows 8 (amd64) version 6.2
    Java Version: 1.7.0_51, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 11768209896 bytes (11223 MB) / 12348030976 bytes (11776 MB) up to 12348030976 bytes (11776 MB)
    JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx12G -Xms12G
    AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    Launched Version: J-KNOT
    LWJGL: 2.9.1
    OpenGL: Intel(R) HD Graphics 2500 GL version 4.0.0 - Build 10.18.10.3379, Intel
    GL Caps: Using GL 1.3 multitexturing.
    Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
    Anisotropic filtering is supported and maximum anisotropy is 16.
    Shaders are available because OpenGL 2.1 is supported.
    Is Modded: Very likely; Jar signature invalidated
    Type: Client (map_client.txt)
    Resource Packs: []
    Current Language: ~~ERROR~~ NullPointerException: null
    Profiler Position: N/A (disabled)
    Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
    Anisotropic Filtering: Off (1)

    Here is my source code for the class I edited:
    package net.minecraft.client.gui;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Random;
    import net.minecraft.block.BlockPortal;
    import net.minecraft.block.material.Material;
    import net.minecraft.client.Minecraft;
    import net.minecraft.client.entity.EntityClientPlayerMP;
    import net.minecraft.client.multiplayer.PlayerControllerMP;
    import net.minecraft.client.multiplayer.WorldClient;
    import net.minecraft.client.network.NetHandlerPlayClient;
    import net.minecraft.client.renderer.EntityRenderer;
    import net.minecraft.client.renderer.OpenGlHelper;
    import net.minecraft.client.renderer.RenderHelper;
    import net.minecraft.client.renderer.Tessellator;
    import net.minecraft.client.renderer.entity.RenderItem;
    import net.minecraft.client.renderer.texture.TextureManager;
    import net.minecraft.client.renderer.texture.TextureMap;
    import net.minecraft.client.resources.I18n;
    import net.minecraft.client.settings.GameSettings;
    import net.minecraft.client.settings.KeyBinding;
    import net.minecraft.client.shader.ShaderGroup;
    import net.minecraft.entity.Entity;
    import net.minecraft.entity.EntityLivingBase;
    import net.minecraft.entity.SharedMonsterAttributes;
    import net.minecraft.entity.ai.attributes.IAttributeInstance;
    import net.minecraft.entity.boss.BossStatus;
    import net.minecraft.entity.player.InventoryPlayer;
    import net.minecraft.entity.player.PlayerCapabilities;
    import net.minecraft.init.Blocks;
    import net.minecraft.item.Item;
    import net.minecraft.item.ItemStack;
    import net.minecraft.potion.Potion;
    import net.minecraft.profiler.Profiler;
    import net.minecraft.scoreboard.Score;
    import net.minecraft.scoreboard.ScoreObjective;
    import net.minecraft.scoreboard.ScorePlayerTeam;
    import net.minecraft.scoreboard.Scoreboard;
    import net.minecraft.util.AxisAlignedBB;
    import net.minecraft.util.Direction;
    import net.minecraft.util.EnumChatFormatting;
    import net.minecraft.util.FoodStats;
    import net.minecraft.util.IIcon;
    import net.minecraft.util.MathHelper;
    import net.minecraft.util.ResourceLocation;
    import net.minecraft.util.StringUtils;
    import net.minecraft.world.EnumSkyBlock;
    import net.minecraft.world.biome.BiomeGenBase;
    import net.minecraft.world.chunk.Chunk;
    import net.minecraft.world.storage.WorldInfo;
    import org.lwjgl.input.Keyboard;
    import org.lwjgl.opengl.GL11;
    // Referenced classes of package net.minecraft.client.gui:
    //		    Gui, GuiNewChat, ScaledResolution, GuiPlayerInfo,
    //		    FontRenderer
    public class GuiIngame extends Gui
    {
        public GuiIngame(Minecraft par1Minecraft)
        {
    	    recordPlaying = "";
    	    prevVignetteBrightness = 1.0F;
    	    keyState = new boolean[256];
    	    mc = par1Minecraft;
    	    persistantChatGUI = new GuiNewChat(par1Minecraft);
        }
        public void renderGameOverlay(float par1, boolean par2, int par3, int par4)
        {
    	    ScaledResolution var5 = new ScaledResolution(mc.gameSettings, mc.displayWidth, mc.displayHeight);
    	    int var6 = var5.getScaledWidth();
    	    int var7 = var5.getScaledHeight();
    	    FontRenderer var8 = mc.fontRenderer;
    	    mc.entityRenderer.setupOverlayRendering();
    	    GL11.glEnable(3042);
    	    if(Minecraft.isFancyGraphicsEnabled())
    		    renderVignette(mc.thePlayer.getBrightness(par1), var6, var7);
    	    else
    		    OpenGlHelper.glBlendFunc(770, 771, 1, 0);
    	    ItemStack var9 = mc.thePlayer.inventory.armorItemInSlot(3);
    	    if(mc.gameSettings.thirdPersonView == 0 && var9 != null && var9.getItem() == Item.getItemFromBlock(Blocks.pumpkin))
    		    renderPumpkinBlur(var6, var7);
    	    if(!mc.thePlayer.isPotionActive(Potion.confusion))
    	    {
    		    float var10 = mc.thePlayer.prevTimeInPortal + (mc.thePlayer.timeInPortal - mc.thePlayer.prevTimeInPortal) * par1;
    		    if(var10 > 0.0F)
    			    func_130015_b(var10, var6, var7);
    	    }
    	    int var11;
    	    if(!mc.playerController.enableEverythingIsScrewedUpMode())
    	    {
    		    GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
    		    mc.getTextureManager().bindTexture(widgetsTexPath);
    		    InventoryPlayer var31 = mc.thePlayer.inventory;
    		    zLevel = -90F;
    		    drawTexturedModalRect(var6 / 2 - 91, var7 - 22, 0, 0, 182, 22);
    		    drawTexturedModalRect((var6 / 2 - 91 - 1) + var31.currentItem * 20, var7 - 22 - 1, 0, 22, 24, 22);
    		    mc.getTextureManager().bindTexture(icons);
    		    GL11.glEnable(3042);
    		    OpenGlHelper.glBlendFunc(775, 769, 1, 0);
    		    drawTexturedModalRect(var6 / 2 - 7, var7 / 2 - 7, 0, 0, 16, 16);
    		    OpenGlHelper.glBlendFunc(770, 771, 1, 0);
    		    mc.mcProfiler.startSection("bossHealth");
    		    renderBossHealth();
    		    mc.mcProfiler.endSection();
    		    if(mc.playerController.shouldDrawHUD())
    			    func_110327_a(var6, var7);
    		    mc.mcProfiler.startSection("actionBar");
    		    GL11.glEnable(32826);
    		    RenderHelper.enableGUIStandardItemLighting();
    		    for(var11 = 0; var11 < 9; var11++)
    		    {
    			    int var12 = (var6 / 2 - 90) + var11 * 20 + 2;
    			    int var13 = var7 - 16 - 3;
    			    renderInventorySlot(var11, var12, var13, par1);
    		    }
    		    RenderHelper.disableStandardItemLighting();
    		    GL11.glDisable(32826);
    		    mc.mcProfiler.endSection();
    		    GL11.glDisable(3042);
    	    }
    	    int var32;
    	    if(mc.thePlayer.getSleepTimer() > 0)
    	    {
    		    mc.mcProfiler.startSection("sleep");
    		    GL11.glDisable(2929);
    		    GL11.glDisable(3008);
    		    var32 = mc.thePlayer.getSleepTimer();
    		    float var34 = (float)var32 / 100F;
    		    if(var34 > 1.0F)
    			    var34 = 1.0F - (float)(var32 - 100) / 10F;
    		    int var12 = (int)(220F * var34) << 24 | 0x101020;
    		    drawRect(0, 0, var6, var7, var12);
    		    GL11.glEnable(3008);
    		    GL11.glEnable(2929);
    		    mc.mcProfiler.endSection();
    	    }
    	    var32 = 0xffffff;
    	    GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
    	    var11 = var6 / 2 - 91;
    	    if(mc.thePlayer.isRidingHorse())
    	    {
    		    mc.mcProfiler.startSection("jumpBar");
    		    mc.getTextureManager().bindTexture(Gui.icons);
    		    float var33 = mc.thePlayer.getHorseJumpPower();
    		    short var37 = 182;
    		    int var14 = (int)(var33 * (float)(var37 + 1));
    		    int var15 = (var7 - 32) + 3;
    		    drawTexturedModalRect(var11, var15, 0, 84, var37, 5);
    		    if(var14 > 0)
    			    drawTexturedModalRect(var11, var15, 0, 89, var14, 5);
    		    mc.mcProfiler.endSection();
    	    } else
    	    if(mc.playerController.gameIsSurvivalOrAdventure())
    	    {
    		    mc.mcProfiler.startSection("expBar");
    		    mc.getTextureManager().bindTexture(Gui.icons);
    		    int var12 = mc.thePlayer.xpBarCap();
    		    if(var12 > 0)
    		    {
    			    short var37 = 182;
    			    int var14 = (int)(mc.thePlayer.experience * (float)(var37 + 1));
    			    int var15 = (var7 - 32) + 3;
    			    drawTexturedModalRect(var11, var15, 0, 64, var37, 5);
    			    if(var14 > 0)
    				    drawTexturedModalRect(var11, var15, 0, 69, var14, 5);
    		    }
    		    mc.mcProfiler.endSection();
    		    if(mc.thePlayer.experienceLevel > 0)
    		    {
    			    mc.mcProfiler.startSection("expLevel");
    			    boolean var35 = false;
    			    int var14 = var35 ? 0xffffff : 0x80ff20;
    			    String var42 = (new StringBuilder()).append("").append(mc.thePlayer.experienceLevel).toString();
    			    int var16 = (var6 - var8.getStringWidth(var42)) / 2;
    			    int var17 = var7 - 31 - 4;
    			    boolean var18 = false;
    			    var8.drawString(var42, var16 + 1, var17, 0);
    			    var8.drawString(var42, var16 - 1, var17, 0);
    			    var8.drawString(var42, var16, var17 + 1, 0);
    			    var8.drawString(var42, var16, var17 - 1, 0);
    			    var8.drawString(var42, var16, var17, var14);
    			    mc.mcProfiler.endSection();
    		    }
    	    }
    	    if(mc.gameSettings.heldItemTooltips)
    	    {
    		    mc.mcProfiler.startSection("toolHighlight");
    		    if(remainingHighlightTicks > 0 && highlightingItemStack != null)
    		    {
    			    String var36 = highlightingItemStack.getDisplayName();
    			    int var13 = (var6 - var8.getStringWidth(var36)) / 2;
    			    int var14 = var7 - 59;
    			    if(!mc.playerController.shouldDrawHUD())
    				    var14 += 14;
    			    int var15 = (int)(((float)remainingHighlightTicks * 256F) / 10F);
    			    if(var15 > 255)
    				    var15 = 255;
    			    if(var15 > 0)
    			    {
    				    GL11.glPushMatrix();
    				    GL11.glEnable(3042);
    				    OpenGlHelper.glBlendFunc(770, 771, 1, 0);
    				    var8.drawStringWithShadow(var36, var13, var14, 0xffffff + (var15 << 24));
    				    GL11.glDisable(3042);
    				    GL11.glPopMatrix();
    			    }
    		    }
    		    mc.mcProfiler.endSection();
    	    }
    	    if(mc.isDemo())
    	    {
    		    mc.mcProfiler.startSection("demo");
    		    String var36 = "";
    		    if(mc.theWorld.getTotalWorldTime() >= 0x1d6b4L)
    			    var36 = I18n.format("demo.demoExpired", new Object[0]);
    		    else
    			    var36 = I18n.format("demo.remainingTime", new Object[] {
    				    StringUtils.ticksToElapsedTime((int)(0x1d6b4L - mc.theWorld.getTotalWorldTime()))
    			    });
    		    int var13 = var8.getStringWidth(var36);
    		    var8.drawStringWithShadow(var36, var6 - var13 - 10, 5, 0xffffff);
    		    mc.mcProfiler.endSection();
    	    }
    	    if(mc.gameSettings.showDebugInfo)
    	    {
    		    mc.mcProfiler.startSection("debug");
    		    GL11.glPushMatrix();
    		    var8.drawStringWithShadow((new StringBuilder()).append("Minecraft 1.7.2 (").append(mc.debug).append(")").toString(), 2, 2, 0xffffff);
    		    var8.drawStringWithShadow(mc.debugInfoRenders(), 2, 12, 0xffffff);
    		    var8.drawStringWithShadow(mc.getEntityDebug(), 2, 22, 0xffffff);
    		    var8.drawStringWithShadow(mc.debugInfoEntities(), 2, 32, 0xffffff);
    		    var8.drawStringWithShadow(mc.getWorldProviderName(), 2, 42, 0xffffff);
    		    long var38 = Runtime.getRuntime().maxMemory();
    		    long var40 = Runtime.getRuntime().totalMemory();
    		    long var39 = Runtime.getRuntime().freeMemory();
    		    long var46 = var40 - var39;
    		    String var20 = (new StringBuilder()).append("Used memory: ").append((var46 * 100L) / var38).append("% (").append(var46 / 1024L / 1024L).append("MB) of ").append(var38 / 1024L / 1024L).append("MB").toString();
    		    int var21 = 0xe0e0e0;
    		    drawString(var8, var20, var6 - var8.getStringWidth(var20) - 2, 2, 0xe0e0e0);
    		    var20 = (new StringBuilder()).append("Allocated memory: ").append((var40 * 100L) / var38).append("% (").append(var40 / 1024L / 1024L).append("MB)").toString();
    		    drawString(var8, var20, var6 - var8.getStringWidth(var20) - 2, 12, 0xe0e0e0);
    		    int var22 = MathHelper.floor_double(mc.thePlayer.posX);
    		    int var23 = MathHelper.floor_double(mc.thePlayer.posY);
    		    int var24 = MathHelper.floor_double(mc.thePlayer.posZ);
    		    drawString(var8, String.format("x: %.5f (%d) // c: %d (%d)", new Object[] {
    			    Double.valueOf(mc.thePlayer.posX), Integer.valueOf(var22), Integer.valueOf(var22 >> 4), Integer.valueOf(var22 & 0xf)
    		    }), 2, 64, 0xe0e0e0);
    		    drawString(var8, String.format("y: %.3f (feet pos, %.3f eyes pos)", new Object[] {
    			    Double.valueOf(mc.thePlayer.boundingBox.minY), Double.valueOf(mc.thePlayer.posY)
    		    }), 2, 72, 0xe0e0e0);
    		    drawString(var8, String.format("z: %.5f (%d) // c: %d (%d)", new Object[] {
    			    Double.valueOf(mc.thePlayer.posZ), Integer.valueOf(var24), Integer.valueOf(var24 >> 4), Integer.valueOf(var24 & 0xf)
    		    }), 2, 80, 0xe0e0e0);
    		    int var25 = MathHelper.floor_double((double)((mc.thePlayer.rotationYaw * 4F) / 360F) + 0.5D) & 3;
    		    drawString(var8, (new StringBuilder()).append("f: ").append(var25).append(" (").append(Direction.directions[var25]).append(") / ").append(MathHelper.wrapAngleTo180_float(mc.thePlayer.rotationYaw)).toString(), 2, 88, 0xe0e0e0);
    		    if(mc.theWorld != null && mc.theWorld.blockExists(var22, var23, var24))
    		    {
    			    Chunk var26 = mc.theWorld.getChunkFromBlockCoords(var22, var24);
    			    drawString(var8, (new StringBuilder()).append("lc: ").append(var26.getTopFilledSegment() + 15).append(" b: ").append(var26.getBiomeGenForWorldCoords(var22 & 0xf, var24 & 0xf, mc.theWorld.getWorldChunkManager()).biomeName).append(" bl: ").append(var26.getSavedLightValue(EnumSkyBlock.Block, var22 & 0xf, var23, var24 & 0xf)).append(" sl: ").append(var26.getSavedLightValue(EnumSkyBlock.Sky, var22 & 0xf, var23, var24 & 0xf)).append(" rl: ").append(var26.getBlockLightValue(var22 & 0xf, var23, var24 & 0xf, 0)).toString(), 2, 96, 0xe0e0e0);
    		    }
    		    drawString(var8, String.format("ws: %.3f, fs: %.3f, g: %b, fl: %d", new Object[] {
    			    Float.valueOf(mc.thePlayer.capabilities.getWalkSpeed()), Float.valueOf(mc.thePlayer.capabilities.getFlySpeed()), Boolean.valueOf(mc.thePlayer.onGround), Integer.valueOf(mc.theWorld.getHeightValue(var22, var24))
    		    }), 2, 104, 0xe0e0e0);
    		    if(mc.entityRenderer != null && mc.entityRenderer.isShaderActive())
    			    drawString(var8, String.format("shader: %s", new Object[] {
    				    mc.entityRenderer.getShaderGroup().getShaderGroupName()
    			    }), 2, 112, 0xe0e0e0);
    		    GL11.glPopMatrix();
    		    mc.mcProfiler.endSection();
    	    } else
    	    {
    		    if(checkForKey(50))
    			    showMenu = !showMenu;
    		    if(checkForKey(33))
    			    Fly = !Fly;
    		    if(checkForKey(48))
    			    bright = !bright;
    		    if(checkForKey(36))
    			    speed = !speed;
    		    if(Fly)
    		    {
    			    mc.thePlayer.capabilities.allowFlying = true;
    			    mc.thePlayer.capabilities.isFlying = true;
    			    mc.thePlayer.capabilities.setFlySpeed(0.1F);
    		    } else
    		    {
    			    mc.thePlayer.capabilities.allowFlying = false;
    			    mc.thePlayer.capabilities.isFlying = false;
    		    }
    		    if(bright)
    			    mc.gameSettings.gammaSetting = 100F;
    		    else
    			    mc.gameSettings.gammaSetting = 1.0F;
    		    if(speed)
    			    mc.thePlayer.capabilities.setPlayerWalkSpeed(0.15F);
    		    else
    			    mc.thePlayer.capabilities.setPlayerWalkSpeed(0.1F);
    		    var8.drawStringWithShadow("\247fJ-KNOT", 2, 2, 0xff0000);
    		    if(showMenu)
    		    {
    			    if(Fly)
    				    var8.drawStringWithShadow("\247[[F] \247aFly", 2, 12, 0xff0000);
    			    else
    				    var8.drawStringWithShadow("\247[[F] \247cFly", 2, 12, 0xff0000);
    			    if(bright)
    				    var8.drawStringWithShadow("\247[[B] \247aFullbright", 2, 22, 0xff0000);
    			    else
    				    var8.drawStringWithShadow("\247[[B] \247cFullbright", 2, 22, 0xff0000);
    			    if(speed)
    				    var8.drawStringWithShadow("\247[[J] \247aSpeed", 2, 32, 0xff0000);
    			    else
    				    var8.drawStringWithShadow("\247[[J] \247cSpeed", 2, 32, 0xff0000);
    		    }
    	    }
    	    if(recordPlayingUpFor > 0)
    	    {
    		    mc.mcProfiler.startSection("overlayMessage");
    		    float var33 = (float)recordPlayingUpFor - par1;
    		    int var13 = (int)((var33 * 255F) / 20F);
    		    if(var13 > 255)
    			    var13 = 255;
    		    if(var13 > 8)
    		    {
    			    GL11.glPushMatrix();
    			    GL11.glTranslatef(var6 / 2, var7 - 68, 0.0F);
    			    GL11.glEnable(3042);
    			    OpenGlHelper.glBlendFunc(770, 771, 1, 0);
    			    int var14 = 0xffffff;
    			    if(recordIsPlaying)
    				    var14 = java.awt.Color.HSBtoRGB(var33 / 50F, 0.7F, 0.6F) & 0xffffff;
    			    var8.drawString(recordPlaying, -var8.getStringWidth(recordPlaying) / 2, -4, var14 + (var13 << 24 & 0xff000000));
    			    GL11.glDisable(3042);
    			    GL11.glPopMatrix();
    		    }
    		    mc.mcProfiler.endSection();
    	    }
    	    ScoreObjective var43 = mc.theWorld.getScoreboard().func_96539_a(1);
    	    if(var43 != null)
    		    func_96136_a(var43, var7, var6, var8);
    	    GL11.glEnable(3042);
    	    OpenGlHelper.glBlendFunc(770, 771, 1, 0);
    	    GL11.glDisable(3008);
    	    GL11.glPushMatrix();
    	    GL11.glTranslatef(0.0F, var7 - 48, 0.0F);
    	    mc.mcProfiler.startSection("chat");
    	    persistantChatGUI.func_146230_a(updateCounter);
    	    mc.mcProfiler.endSection();
    	    GL11.glPopMatrix();
    	    var43 = mc.theWorld.getScoreboard().func_96539_a(0);
    	    if(mc.gameSettings.keyBindPlayerList.getIsKeyPressed() && (!mc.isIntegratedServerRunning() || mc.thePlayer.sendQueue.playerInfoList.size() > 1 || var43 != null))
    	    {
    		    mc.mcProfiler.startSection("playerList");
    		    NetHandlerPlayClient var41 = mc.thePlayer.sendQueue;
    		    List var44 = var41.playerInfoList;
    		    int var15 = var41.currentServerMaxPlayers;
    		    int var16 = var15;
    		    int var17 = 1;
    		    for(; var16 > 20; var16 = ((var15 + var17) - 1) / var17)
    			    var17++;
    		    int var45 = 300 / var17;
    		    if(var45 > 150)
    			    var45 = 150;
    		    int var19 = (var6 - var17 * var45) / 2;
    		    byte var47 = 10;
    		    drawRect(var19 - 1, var47 - 1, var19 + var45 * var17, var47 + 9 * var16, 0x80000000);
    		    for(int var21 = 0; var21 < var15; var21++)
    		    {
    			    int var22 = var19 + (var21 % var17) * var45;
    			    int var23 = var47 + (var21 / var17) * 9;
    			    drawRect(var22, var23, (var22 + var45) - 1, var23 + 8, 0x20ffffff);
    			    GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
    			    GL11.glEnable(3008);
    			    if(var21 >= var44.size())
    				    continue;
    			    GuiPlayerInfo var49 = (GuiPlayerInfo)var44.get(var21);
    			    ScorePlayerTeam var48 = mc.theWorld.getScoreboard().getPlayersTeam(var49.name);
    			    String var52 = ScorePlayerTeam.formatPlayerName(var48, var49.name);
    			    var8.drawStringWithShadow(var52, var22, var23, 0xffffff);
    			    if(var43 != null)
    			    {
    				    int var27 = var22 + var8.getStringWidth(var52) + 5;
    				    int var28 = (var22 + var45) - 12 - 5;
    				    if(var28 - var27 > 5)
    				    {
    					    Score var29 = var43.getScoreboard().func_96529_a(var49.name, var43);
    					    String var30 = (new StringBuilder()).append(EnumChatFormatting.YELLOW).append("").append(var29.getScorePoints()).toString();
    					    var8.drawStringWithShadow(var30, var28 - var8.getStringWidth(var30), var23, 0xffffff);
    				    }
    			    }
    			    GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
    			    mc.getTextureManager().bindTexture(icons);
    			    byte var53 = 0;
    			    boolean var51 = false;
    			    byte var50;
    			    if(var49.responseTime < 0)
    				    var50 = 5;
    			    else
    			    if(var49.responseTime < 150)
    				    var50 = 0;
    			    else
    			    if(var49.responseTime < 300)
    				    var50 = 1;
    			    else
    			    if(var49.responseTime < 600)
    				    var50 = 2;
    			    else
    			    if(var49.responseTime < 1000)
    				    var50 = 3;
    			    else
    				    var50 = 4;
    			    zLevel += 100F;
    			    drawTexturedModalRect((var22 + var45) - 12, var23, 0 + var53 * 10, 176 + var50 * 8, 10, 8);
    			    zLevel -= 100F;
    		    }
    	    }
    	    GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
    	    GL11.glDisable(2896);
    	    GL11.glEnable(3008);
        }
        private void func_96136_a(ScoreObjective par1ScoreObjective, int par2, int par3, FontRenderer par4FontRenderer)
        {
    	    Scoreboard var5 = par1ScoreObjective.getScoreboard();
    	    Collection var6 = var5.func_96534_i(par1ScoreObjective);
    	    if(var6.size() <= 15)
    	    {
    		    int var7 = par4FontRenderer.getStringWidth(par1ScoreObjective.getDisplayName());
    		    for(Iterator var8 = var6.iterator(); var8.hasNext();)
    		    {
    			    Score var9 = (Score)var8.next();
    			    ScorePlayerTeam var10 = var5.getPlayersTeam(var9.getPlayerName());
    			    String var11 = (new StringBuilder()).append(ScorePlayerTeam.formatPlayerName(var10, var9.getPlayerName())).append(": ").append(EnumChatFormatting.RED).append(var9.getScorePoints()).toString();
    			    var7 = Math.max(var7, par4FontRenderer.getStringWidth(var11));
    		    }
    		    int var22 = var6.size() * par4FontRenderer.FONT_HEIGHT;
    		    int var23 = par2 / 2 + var22 / 3;
    		    byte var25 = 3;
    		    int var24 = par3 - var7 - var25;
    		    int var12 = 0;
    		    Iterator var13 = var6.iterator();
    		    do
    		    {
    			    if(!var13.hasNext())
    				    break;
    			    Score var14 = (Score)var13.next();
    			    var12++;
    			    ScorePlayerTeam var15 = var5.getPlayersTeam(var14.getPlayerName());
    			    String var16 = ScorePlayerTeam.formatPlayerName(var15, var14.getPlayerName());
    			    String var17 = (new StringBuilder()).append(EnumChatFormatting.RED).append("").append(var14.getScorePoints()).toString();
    			    int var19 = var23 - var12 * par4FontRenderer.FONT_HEIGHT;
    			    int var20 = (par3 - var25) + 2;
    			    drawRect(var24 - 2, var19, var20, var19 + par4FontRenderer.FONT_HEIGHT, 0x50000000);
    			    par4FontRenderer.drawString(var16, var24, var19, 0x20ffffff);
    			    par4FontRenderer.drawString(var17, var20 - par4FontRenderer.getStringWidth(var17), var19, 0x20ffffff);
    			    if(var12 == var6.size())
    			    {
    				    String var21 = par1ScoreObjective.getDisplayName();
    				    drawRect(var24 - 2, var19 - par4FontRenderer.FONT_HEIGHT - 1, var20, var19 - 1, 0x60000000);
    				    drawRect(var24 - 2, var19 - 1, var20, var19, 0x50000000);
    				    par4FontRenderer.drawString(var21, (var24 + var7 / 2) - par4FontRenderer.getStringWidth(var21) / 2, var19 - par4FontRenderer.FONT_HEIGHT, 0x20ffffff);
    			    }
    		    } while(true);
    	    }
        }
        private void func_110327_a(int par1, int par2)
        {
    	    boolean var3 = (mc.thePlayer.hurtResistantTime / 3) % 2 == 1;
    	    if(mc.thePlayer.hurtResistantTime < 10)
    		    var3 = false;
    	    int var4 = MathHelper.ceiling_float_int(mc.thePlayer.getHealth());
    	    int var5 = MathHelper.ceiling_float_int(mc.thePlayer.prevHealth);
    	    rand.setSeed(updateCounter * 0x4c627);
    	    boolean var6 = false;
    	    FoodStats var7 = mc.thePlayer.getFoodStats();
    	    int var8 = var7.getFoodLevel();
    	    int var9 = var7.getPrevFoodLevel();
    	    IAttributeInstance var10 = mc.thePlayer.getEntityAttribute(SharedMonsterAttributes.maxHealth);
    	    int var11 = par1 / 2 - 91;
    	    int var12 = par1 / 2 + 91;
    	    int var13 = par2 - 39;
    	    float var14 = (float)var10.getAttributeValue();
    	    float var15 = mc.thePlayer.getAbsorptionAmount();
    	    int var16 = MathHelper.ceiling_float_int((var14 + var15) / 2.0F / 10F);
    	    int var17 = Math.max(10 - (var16 - 2), 3);
    	    int var18 = var13 - (var16 - 1) * var17 - 10;
    	    float var19 = var15;
    	    int var20 = mc.thePlayer.getTotalArmorValue();
    	    int var21 = -1;
    	    if(mc.thePlayer.isPotionActive(Potion.regeneration))
    		    var21 = updateCounter % MathHelper.ceiling_float_int(var14 + 5F);
    	    mc.mcProfiler.startSection("armor");
    	    for(int var22 = 0; var22 < 10; var22++)
    	    {
    		    if(var20 <= 0)
    			    continue;
    		    int var23 = var11 + var22 * 8;
    		    if(var22 * 2 + 1 < var20)
    			    drawTexturedModalRect(var23, var18, 34, 9, 9, 9);
    		    if(var22 * 2 + 1 == var20)
    			    drawTexturedModalRect(var23, var18, 25, 9, 9, 9);
    		    if(var22 * 2 + 1 > var20)
    			    drawTexturedModalRect(var23, var18, 16, 9, 9, 9);
    	    }
    	    mc.mcProfiler.endStartSection("health");
    	    for(int var22 = MathHelper.ceiling_float_int((var14 + var15) / 2.0F) - 1; var22 >= 0; var22--)
    	    {
    		    int var23 = 16;
    		    if(mc.thePlayer.isPotionActive(Potion.poison))
    			    var23 += 36;
    		    else
    		    if(mc.thePlayer.isPotionActive(Potion.wither))
    			    var23 += 72;
    		    byte var24 = 0;
    		    if(var3)
    			    var24 = 1;
    		    int var25 = MathHelper.ceiling_float_int((float)(var22 + 1) / 10F) - 1;
    		    int var26 = var11 + (var22 % 10) * 8;
    		    int var27 = var13 - var25 * var17;
    		    if(var4 <= 4)
    			    var27 += rand.nextInt(2);
    		    if(var22 == var21)
    			    var27 -= 2;
    		    byte var28 = 0;
    		    if(mc.theWorld.getWorldInfo().isHardcoreModeEnabled())
    			    var28 = 5;
    		    drawTexturedModalRect(var26, var27, 16 + var24 * 9, 9 * var28, 9, 9);
    		    if(var3)
    		    {
    			    if(var22 * 2 + 1 < var5)
    				    drawTexturedModalRect(var26, var27, var23 + 54, 9 * var28, 9, 9);
    			    if(var22 * 2 + 1 == var5)
    				    drawTexturedModalRect(var26, var27, var23 + 63, 9 * var28, 9, 9);
    		    }
    		    if(var19 > 0.0F)
    		    {
    			    if(var19 == var15 && var15 % 2.0F == 1.0F)
    				    drawTexturedModalRect(var26, var27, var23 + 153, 9 * var28, 9, 9);
    			    else
    				    drawTexturedModalRect(var26, var27, var23 + 144, 9 * var28, 9, 9);
    			    var19 -= 2.0F;
    			    continue;
    		    }
    		    if(var22 * 2 + 1 < var4)
    			    drawTexturedModalRect(var26, var27, var23 + 36, 9 * var28, 9, 9);
    		    if(var22 * 2 + 1 == var4)
    			    drawTexturedModalRect(var26, var27, var23 + 45, 9 * var28, 9, 9);
    	    }
    	    Entity var34 = mc.thePlayer.ridingEntity;
    	    if(var34 == null)
    	    {
    		    mc.mcProfiler.endStartSection("food");
    		    for(int var23 = 0; var23 < 10; var23++)
    		    {
    			    int var35 = var13;
    			    int var25 = 16;
    			    byte var36 = 0;
    			    if(mc.thePlayer.isPotionActive(Potion.hunger))
    			    {
    				    var25 += 36;
    				    var36 = 13;
    			    }
    			    if(mc.thePlayer.getFoodStats().getSaturationLevel() <= 0.0F && updateCounter % (var8 * 3 + 1) == 0)
    				    var35 = var13 + (rand.nextInt(3) - 1);
    			    if(var6)
    				    var36 = 1;
    			    int var27 = var12 - var23 * 8 - 9;
    			    drawTexturedModalRect(var27, var35, 16 + var36 * 9, 27, 9, 9);
    			    if(var6)
    			    {
    				    if(var23 * 2 + 1 < var9)
    					    drawTexturedModalRect(var27, var35, var25 + 54, 27, 9, 9);
    				    if(var23 * 2 + 1 == var9)
    					    drawTexturedModalRect(var27, var35, var25 + 63, 27, 9, 9);
    			    }
    			    if(var23 * 2 + 1 < var8)
    				    drawTexturedModalRect(var27, var35, var25 + 36, 27, 9, 9);
    			    if(var23 * 2 + 1 == var8)
    				    drawTexturedModalRect(var27, var35, var25 + 45, 27, 9, 9);
    		    }
    	    } else
    	    if(var34 instanceof EntityLivingBase)
    	    {
    		    mc.mcProfiler.endStartSection("mountHealth");
    		    EntityLivingBase var38 = (EntityLivingBase)var34;
    		    int var35 = (int)Math.ceil(var38.getHealth());
    		    float var37 = var38.getMaxHealth();
    		    int var26 = (int)(var37 + 0.5F) / 2;
    		    if(var26 > 30)
    			    var26 = 30;
    		    int var27 = var13;
    		    for(int var39 = 0; var26 > 0; var39 += 20)
    		    {
    			    int var29 = Math.min(var26, 10);
    			    var26 -= var29;
    			    for(int var30 = 0; var30 < var29; var30++)
    			    {
    				    byte var31 = 52;
    				    byte var32 = 0;
    				    if(var6)
    					    var32 = 1;
    				    int var33 = var12 - var30 * 8 - 9;
    				    drawTexturedModalRect(var33, var27, var31 + var32 * 9, 9, 9, 9);
    				    if(var30 * 2 + 1 + var39 < var35)
    					    drawTexturedModalRect(var33, var27, var31 + 36, 9, 9, 9);
    				    if(var30 * 2 + 1 + var39 == var35)
    					    drawTexturedModalRect(var33, var27, var31 + 45, 9, 9, 9);
    			    }
    			    var27 -= 10;
    		    }
    	    }
    	    mc.mcProfiler.endStartSection("air");
    	    if(mc.thePlayer.isInsideOfMaterial(Material.water))
    	    {
    		    int var23 = mc.thePlayer.getAir();
    		    int var35 = MathHelper.ceiling_double_int(((double)(var23 - 2) * 10D) / 300D);
    		    int var25 = MathHelper.ceiling_double_int(((double)var23 * 10D) / 300D) - var35;
    		    for(int var26 = 0; var26 < var35 + var25; var26++)
    			    if(var26 < var35)
    				    drawTexturedModalRect(var12 - var26 * 8 - 9, var18, 16, 18, 9, 9);
    			    else
    				    drawTexturedModalRect(var12 - var26 * 8 - 9, var18, 25, 18, 9, 9);
    	    }
    	    mc.mcProfiler.endSection();
        }
        private void renderBossHealth()
        {
    	    if(BossStatus.bossName != null && BossStatus.statusBarTime > 0)
    	    {
    		    BossStatus.statusBarTime--;
    		    FontRenderer var1 = mc.fontRenderer;
    		    ScaledResolution var2 = new ScaledResolution(mc.gameSettings, mc.displayWidth, mc.displayHeight);
    		    int var3 = var2.getScaledWidth();
    		    short var4 = 182;
    		    int var5 = var3 / 2 - var4 / 2;
    		    int var6 = (int)(BossStatus.healthScale * (float)(var4 + 1));
    		    byte var7 = 12;
    		    drawTexturedModalRect(var5, var7, 0, 74, var4, 5);
    		    drawTexturedModalRect(var5, var7, 0, 74, var4, 5);
    		    if(var6 > 0)
    			    drawTexturedModalRect(var5, var7, 0, 79, var6, 5);
    		    String var8 = BossStatus.bossName;
    		    var1.drawStringWithShadow(var8, var3 / 2 - var1.getStringWidth(var8) / 2, var7 - 10, 0xffffff);
    		    GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
    		    mc.getTextureManager().bindTexture(icons);
    	    }
        }
        private void renderPumpkinBlur(int par1, int par2)
        {
    	    GL11.glDisable(2929);
    	    GL11.glDepthMask(false);
    	    OpenGlHelper.glBlendFunc(770, 771, 1, 0);
    	    GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
    	    GL11.glDisable(3008);
    	    mc.getTextureManager().bindTexture(pumpkinBlurTexPath);
    	    Tessellator var3 = Tessellator.instance;
    	    var3.startDrawingQuads();
    	    var3.addVertexWithUV(0.0D, par2, -90D, 0.0D, 1.0D);
    	    var3.addVertexWithUV(par1, par2, -90D, 1.0D, 1.0D);
    	    var3.addVertexWithUV(par1, 0.0D, -90D, 1.0D, 0.0D);
    	    var3.addVertexWithUV(0.0D, 0.0D, -90D, 0.0D, 0.0D);
    	    var3.draw();
    	    GL11.glDepthMask(true);
    	    GL11.glEnable(2929);
    	    GL11.glEnable(3008);
    	    GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
        }
        private void renderVignette(float par1, int par2, int par3)
        {
    	    par1 = 1.0F - par1;
    	    if(par1 < 0.0F)
    		    par1 = 0.0F;
    	    if(par1 > 1.0F)
    		    par1 = 1.0F;
    	    prevVignetteBrightness = (float)((double)prevVignetteBrightness + (double)(par1 - prevVignetteBrightness) * 0.01D);
    	    GL11.glDisable(2929);
    	    GL11.glDepthMask(false);
    	    OpenGlHelper.glBlendFunc(0, 769, 1, 0);
    	    GL11.glColor4f(prevVignetteBrightness, prevVignetteBrightness, prevVignetteBrightness, 1.0F);
    	    mc.getTextureManager().bindTexture(vignetteTexPath);
    	    Tessellator var4 = Tessellator.instance;
    	    var4.startDrawingQuads();
    	    var4.addVertexWithUV(0.0D, par3, -90D, 0.0D, 1.0D);
    	    var4.addVertexWithUV(par2, par3, -90D, 1.0D, 1.0D);
    	    var4.addVertexWithUV(par2, 0.0D, -90D, 1.0D, 0.0D);
    	    var4.addVertexWithUV(0.0D, 0.0D, -90D, 0.0D, 0.0D);
    	    var4.draw();
    	    GL11.glDepthMask(true);
    	    GL11.glEnable(2929);
    	    GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
    	    OpenGlHelper.glBlendFunc(770, 771, 1, 0);
        }
        private void func_130015_b(float par1, int par2, int par3)
        {
    	    if(par1 < 1.0F)
    	    {
    		    par1 *= par1;
    		    par1 *= par1;
    		    par1 = par1 * 0.8F + 0.2F;
    	    }
    	    GL11.glDisable(3008);
    	    GL11.glDisable(2929);
    	    GL11.glDepthMask(false);
    	    OpenGlHelper.glBlendFunc(770, 771, 1, 0);
    	    GL11.glColor4f(1.0F, 1.0F, 1.0F, par1);
    	    IIcon var4 = Blocks.portal.getBlockTextureFromSide(1);
    	    mc.getTextureManager().bindTexture(TextureMap.locationBlocksTexture);
    	    float var5 = var4.getMinU();
    	    float var6 = var4.getMinV();
    	    float var7 = var4.getMaxU();
    	    float var8 = var4.getMaxV();
    	    Tessellator var9 = Tessellator.instance;
    	    var9.startDrawingQuads();
    	    var9.addVertexWithUV(0.0D, par3, -90D, var5, var8);
    	    var9.addVertexWithUV(par2, par3, -90D, var7, var8);
    	    var9.addVertexWithUV(par2, 0.0D, -90D, var7, var6);
    	    var9.addVertexWithUV(0.0D, 0.0D, -90D, var5, var6);
    	    var9.draw();
    	    GL11.glDepthMask(true);
    	    GL11.glEnable(2929);
    	    GL11.glEnable(3008);
    	    GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
        }
        private void renderInventorySlot(int par1, int par2, int par3, float par4)
        {
    	    ItemStack var5 = mc.thePlayer.inventory.mainInventory[par1];
    	    if(var5 != null)
    	    {
    		    float var6 = (float)var5.animationsToGo - par4;
    		    if(var6 > 0.0F)
    		    {
    			    GL11.glPushMatrix();
    			    float var7 = 1.0F + var6 / 5F;
    			    GL11.glTranslatef(par2 + 8, par3 + 12, 0.0F);
    			    GL11.glScalef(1.0F / var7, (var7 + 1.0F) / 2.0F, 1.0F);
    			    GL11.glTranslatef(-(par2 + 8), -(par3 + 12), 0.0F);
    		    }
    		    itemRenderer.renderItemAndEffectIntoGUI(mc.fontRenderer, mc.getTextureManager(), var5, par2, par3);
    		    if(var6 > 0.0F)
    			    GL11.glPopMatrix();
    		    itemRenderer.renderItemOverlayIntoGUI(mc.fontRenderer, mc.getTextureManager(), var5, par2, par3);
    	    }
        }
        public void updateTick()
        {
    	    if(recordPlayingUpFor > 0)
    		    recordPlayingUpFor--;
    	    updateCounter++;
    	    if(mc.thePlayer != null)
    	    {
    		    ItemStack var1 = mc.thePlayer.inventory.getCurrentItem();
    		    if(var1 == null)
    			    remainingHighlightTicks = 0;
    		    else
    		    if(highlightingItemStack != null && var1.getItem() == highlightingItemStack.getItem() && ItemStack.areItemStackTagsEqual(var1, highlightingItemStack) && (var1.isItemStackDamageable() || var1.getItemDamage() == highlightingItemStack.getItemDamage()))
    		    {
    			    if(remainingHighlightTicks > 0)
    				    remainingHighlightTicks--;
    		    } else
    		    {
    			    remainingHighlightTicks = 40;
    		    }
    		    highlightingItemStack = var1;
    	    }
        }
        public void setRecordPlayingMessage(String par1Str)
        {
    	    func_110326_a((new StringBuilder()).append("Now playing: ").append(par1Str).toString(), true);
        }
        public void func_110326_a(String par1Str, boolean par2)
        {
    	    recordPlaying = par1Str;
    	    recordPlayingUpFor = 60;
    	    recordIsPlaying = par2;
        }
        public GuiNewChat getChatGUI()
        {
    	    return persistantChatGUI;
        }
        public int getUpdateCounter()
        {
    	    return updateCounter;
        }
        public boolean checkForKey(int i)
        {
    	    if(mc.currentScreen != null)
    		    return false;
    	    if(Keyboard.isKeyDown(i) != keyState[i])
    		    return keyState[i] = !keyState[i];
    	    else
    		    return false;
        }
        private boolean keyState[];
        public static boolean showMenu;
        public static boolean speed;
        public static boolean Fly;
        public static boolean bright;
        private static final ResourceLocation vignetteTexPath = new ResourceLocation("textures/misc/vignette.png");
        private static final ResourceLocation widgetsTexPath = new ResourceLocation("textures/gui/widgets.png");
        private static final ResourceLocation pumpkinBlurTexPath = new ResourceLocation("textures/misc/pumpkinblur.png");
        private static final RenderItem itemRenderer = new RenderItem();
        private final Random rand = new Random();
        private final Minecraft mc;
        private final GuiNewChat persistantChatGUI;
        private int updateCounter;
        private String recordPlaying;
        private int recordPlayingUpFor;
        private boolean recordIsPlaying;
        public float prevVignetteBrightness;
        private int remainingHighlightTicks;
        private ItemStack highlightingItemStack;
        private static final String __OBFID = "CL_00000661";
    }

    Can anyone help me? Here is the class I got after recompiling/reobfuscating:
    http://www.mediafire.com/download/rj95fsjd30bodgp/bah.class
    I would be really grateful if someone could help, and I will get any other info you guys need :)
    Posted in: Modification Development
  • 0

    posted a message on Change speed?
    I'm making it so when a player presses a certain key while wearing a certain piece of armor, it will make them go 50% faster. Here is some pseudo code I derived:
    if(speed){
    mc.thePlayer.capabilities.setPlayerWalkSpeed(0.15F);
    }else{
    mc.thePlayer.capabilities.setPlayerWalkSpeed(0.1F);
    }
    But it only zooms the player in. Any help?
    Posted in: Modification Development
  • 0

    posted a message on Right Clicking A Mob As Spectator Should Open Its POV As Picture-In-Picture
    Quote from DiamondIngot

    This could be an interesting snapshot. When you do it, would you be able to look around as the mob, or would you have to look in the direction the mob is walking.

    I know this is really nooby, but how do you go into spectator?

    If you are in the snapshot, you type /gamemode 3
    Then you will pretty much be able to noclip and when you click on a mob or player you spectate from their viewpoint (try an enderman, creeper, and spider :D)

    Back to the topic:
    Perhaps, in video settings, there can be a 'Spectator view settings' and each time you click it it changes (1/4 screen spectator, 1/2 screen, full screen, etc)
    I like the idea!!
    Posted in: Suggestions
  • 0

    posted a message on Xnb files in minecraft modding?
    I am making a mod and I found models for what I need, but they are in xnb format
    How do I go about implementing them to a minecraft mob in my mod?

    By the way I do make mods, dont worry, I code bro
    Posted in: Modification Development
  • 0

    posted a message on Strongestcraft (Xray resource packs, updated Apr. 27th 2015! Works with FTB, TFC & more mods!)
    Hey... I cant see ores through stone
    How to reproduce:
    Place diamond ore, cover completely in stone (with resource pack on)
    You cant see the diamond ore
    But with the diamond ore uncovered you can see it fine
    Posted in: Resource Packs
  • 0

    posted a message on Ban the user above you #2
    Banned for having a skin that makes no sense
    Posted in: Forum Games
  • 0

    posted a message on All-U-Want - Create and edit items, entities, spawners, and more!
    Alright mr person, time to update >:)
    Posted in: Minecraft Mods
  • 0

    posted a message on Minecraft Blue Mod [1.6.4] updated
    What is the point of this?Update: This seems to be made with mcreator, and I am pretty sure that you cant post mods made with that here...
    Posted in: Minecraft Mods
  • To post a comment, please or register a new account.