Jump to content

[1.8] Registering Render


szonek

Recommended Posts

First of all this is part of code I'm working on:

 

 

 

@SubscribeEvent(priority=EventPriority.NORMAL)
public void onUpdate(LivingUpdateEvent lue)
{
	RenderManager renderManager = mc.getMinecraft().getRenderManager();
	FontRenderer fontrenderer = renderManager.getFontRenderer();
	EntityLivingBase entityIn = lue.entityLiving;

	String str= "HP: " + (int)entityIn.getMaxHealth()+ "/" + (int)entityIn.getHealth();

	float f = 1.6F;
        float f1 = 0.016666668F * f;
        
        GlStateManager.pushMatrix();
        GlStateManager.translate((float)entityIn.posX + 0.0F, (float)entityIn.posY + entityIn.height + 0.5F, (float)entityIn.posZ);
        GL11.glNormal3f(0.0F, 1.0F, 0.0F);
        GlStateManager.rotate(-renderManager.playerViewY, 0.0F, 1.0F, 0.0F);
        GlStateManager.rotate(renderManager.playerViewX, 1.0F, 0.0F, 0.0F);
        GlStateManager.scale(-f1, -f1, f1);
        GlStateManager.disableLighting();
        GlStateManager.depthMask(false);
        GlStateManager.disableDepth();
        GlStateManager.enableBlend();
        GlStateManager.tryBlendFuncSeparate(770, 771, 1, 0);
        Tessellator tessellator = Tessellator.getInstance();
        WorldRenderer worldrenderer = tessellator.getWorldRenderer();
        int i = 0;
        
        int j = fontrenderer.getStringWidth(str) / 2;
        GlStateManager.disableTexture2D();
        worldrenderer.begin(7, DefaultVertexFormats.POSITION_COLOR);
        worldrenderer.pos((double)(-j - 1), (double)(-1 + i), 0.0D).color(0.0F, 0.0F, 0.0F, 0.25F).endVertex();
        worldrenderer.pos((double)(-j - 1), (double)(8 + i), 0.0D).color(0.0F, 0.0F, 0.0F, 0.25F).endVertex();
        worldrenderer.pos((double)(j + 1), (double)(8 + i), 0.0D).color(0.0F, 0.0F, 0.0F, 0.25F).endVertex();
        worldrenderer.pos((double)(j + 1), (double)(-1 + i), 0.0D).color(0.0F, 0.0F, 0.0F, 0.25F).endVertex();
        tessellator.draw();
        GlStateManager.enableTexture2D();
        fontrenderer.drawString(str, -fontrenderer.getStringWidth(str) / 2, i, 553648127);
        GlStateManager.enableDepth();
        GlStateManager.depthMask(true);
        fontrenderer.drawString(str, -fontrenderer.getStringWidth(str) / 2, i, -1);
        GlStateManager.enableLighting();
        GlStateManager.disableBlend();
        GlStateManager.color(1.0F, 1.0F, 1.0F, 1.0F);
        GlStateManager.popMatrix();
}

 

 

I'm not registering any render, only event is registered. How should I register this to make it work? At this point i get "java.lang.RuntimeException: No OpenGL context found in the current thread" error. I'll appreciate any help. Oh and rendering code is just copy/paste from minecraft Render class RenderLivingLabel method.

Link to comment
Share on other sites

You most certainly don't want LivingUpdateEvent - that fires per-tick. You need per-frame.

 

Use one of rendering events. Probably RenderLivingEvent.

Note that there is pre and post. If you want to edit model somehow you need to do it properly.

 

As to rendering labels - yeah. you probably want Post, but idk.

 

Note: Event is client side (needs to be registered by proxy I guess).

1.7.10 is no longer supported by forge, you are on your own.

Link to comment
Share on other sites

M ClientProxy code:

 

 

public void registerEvent()
{
	MinecraftForge.EVENT_BUS.register(new HpIndicator(Minecraft.getMinecraft()));
}

 

 

 

throws java.lang.NullPointerException :/ What am I doing wrong?

 

 

 

Modified HpIndicator class:

 

 

package szorniszon.hpindicator;

import org.lwjgl.opengl.GL11;

import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.WorldRenderer;
import net.minecraftforge.client.event.RenderLivingEvent;
import net.minecraftforge.fml.common.eventhandler.EventPriority;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import net.minecraft.client.renderer.entity.Render;
import net.minecraft.client.renderer.entity.RenderManager;
import net.minecraft.client.renderer.vertex.DefaultVertexFormats;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.client.gui.FontRenderer;


public class HpIndicator {

Minecraft mc;
public HpIndicator (Minecraft minecraft)
{
	mc=minecraft;
}

@SubscribeEvent(priority=EventPriority.NORMAL)
public void onUpdate(RenderLivingEvent.Post<EntityLivingBase> rle)
{
	RenderManager renderManager = mc.getMinecraft().getRenderManager();
	FontRenderer fontrenderer = renderManager.getFontRenderer();
	EntityLivingBase entityIn = rle.entity;

	String str= "HP: " + (int)entityIn.getMaxHealth()+ "/" + (int)entityIn.getHealth();

	float f = 1.6F;
        float f1 = 0.016666668F * f;
        
        GlStateManager.pushMatrix();
        GlStateManager.translate((float)entityIn.posX + 0.0F, (float)entityIn.posY + entityIn.height + 0.5F, (float)entityIn.posZ);
        GL11.glNormal3f(0.0F, 1.0F, 0.0F);
        GlStateManager.rotate(-renderManager.playerViewY, 0.0F, 1.0F, 0.0F);
        GlStateManager.rotate(renderManager.playerViewX, 1.0F, 0.0F, 0.0F);
        GlStateManager.scale(-f1, -f1, f1);
        GlStateManager.disableLighting();
        GlStateManager.depthMask(false);
        GlStateManager.disableDepth();
        GlStateManager.enableBlend();
        GlStateManager.tryBlendFuncSeparate(770, 771, 1, 0);
        Tessellator tessellator = Tessellator.getInstance();
        WorldRenderer worldrenderer = tessellator.getWorldRenderer();
        int i = 0;
        
        int j = fontrenderer.getStringWidth(str) / 2;
        GlStateManager.disableTexture2D();
        worldrenderer.begin(7, DefaultVertexFormats.POSITION_COLOR);
        worldrenderer.pos((double)(-j - 1), (double)(-1 + i), 0.0D).color(0.0F, 0.0F, 0.0F, 0.25F).endVertex();
        worldrenderer.pos((double)(-j - 1), (double)(8 + i), 0.0D).color(0.0F, 0.0F, 0.0F, 0.25F).endVertex();
        worldrenderer.pos((double)(j + 1), (double)(8 + i), 0.0D).color(0.0F, 0.0F, 0.0F, 0.25F).endVertex();
        worldrenderer.pos((double)(j + 1), (double)(-1 + i), 0.0D).color(0.0F, 0.0F, 0.0F, 0.25F).endVertex();
        tessellator.draw();
        GlStateManager.enableTexture2D();
        fontrenderer.drawString(str, -fontrenderer.getStringWidth(str) / 2, i, 553648127);
        GlStateManager.enableDepth();
        GlStateManager.depthMask(true);
        fontrenderer.drawString(str, -fontrenderer.getStringWidth(str) / 2, i, -1);
        GlStateManager.enableLighting();
        GlStateManager.disableBlend();
        GlStateManager.color(1.0F, 1.0F, 1.0F, 1.0F);
        GlStateManager.popMatrix();
}
}

 

 

Link to comment
Share on other sites

Crash log:

 

 

[17:13:07] [main/DEBUG] [FML/]: Injecting tracing printstreams for STDOUT/STDERR.

[17:13:08] [main/INFO] [FML/]: Forge Mod Loader version 11.15.1.1847 for Minecraft 1.8.9 loading

[17:13:08] [main/INFO] [FML/]: Java is Java HotSpot 64-Bit Server VM, version 1.8.0_45, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jdk1.8.0_45\jre

[17:13:08] [main/DEBUG] [FML/]: Java classpath at launch is C:\Users\szymon\.gradle\caches\minecraft\deobfedDeps\compileDummy.jar;C:\Users\szymon\.gradle\caches\minecraft\deobfedDeps\providedDummy.jar;C:\Users\szymon\.gradle\caches\minecraft\net\minecraftforge\forge\1.8.9-11.15.1.1847\stable\20\forgeSrc-1.8.9-11.15.1.1847.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\oshi-project\oshi-core\1.1\9ddf7b048a8d701be231c0f4f95fd986198fd2d8\oshi-core-1.1.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\net.java.dev.jna\jna\3.4.0\803ff252fedbd395baffd43b37341dc4a150a554\jna-3.4.0.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\net.java.dev.jna\platform\3.4.0\e3f70017be8100d3d6923f50b3d2ee17714e9c13\platform-3.4.0.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\com.ibm.icu\icu4j-core-mojang\51.2\63d216a9311cca6be337c1e458e587f99d382b84\icu4j-core-mojang-51.2.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\net.sf.jopt-simple\jopt-simple\4.6\306816fb57cf94f108a43c95731b08934dcae15c\jopt-simple-4.6.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\io.netty\netty-all\4.0.23.Final\294104aaf1781d6a56a07d561e792c5d0c95f45\netty-all-4.0.23.Final.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\com.google.guava\guava\17.0\9c6ef172e8de35fd8d4d8783e4821e57cdef7445\guava-17.0.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.apache.commons\commons-lang3\3.3.2\90a3822c38ec8c996e84c16a3477ef632cbc87a3\commons-lang3-3.3.2.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\commons-io\commons-io\2.4\b1b6ea3b7e4aa4f492509a4952029cd8e48019ad\commons-io-2.4.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\commons-codec\commons-codec\1.9\9ce04e34240f674bc72680f8b843b1457383161a\commons-codec-1.9.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\net.java.jutils\jutils\1.0.0\e12fe1fda814bd348c1579329c86943d2cd3c6a6\jutils-1.0.0.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\com.google.code.gson\gson\2.2.4\a60a5e993c98c864010053cb901b7eab25306568\gson-2.2.4.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\com.mojang\authlib\1.5.21\aefba0d5b53fbcb70860bc8046ab95d5854c07a5\authlib-1.5.21.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\com.mojang\realms\1.7.59\9c6c59b742d8e038a15f64c1aa273a893a658424\realms-1.7.59.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.apache.commons\commons-compress\1.8.1\a698750c16740fd5b3871425f4cb3bbaa87f529d\commons-compress-1.8.1.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.apache.httpcomponents\httpclient\4.3.3\18f4247ff4572a074444572cee34647c43e7c9c7\httpclient-4.3.3.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\commons-logging\commons-logging\1.1.3\f6f66e966c70a83ffbdb6f17a0919eaf7c8aca7f\commons-logging-1.1.3.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.apache.httpcomponents\httpcore\4.3.2\31fbbff1ddbf98f3aa7377c94d33b0447c646b6e\httpcore-4.3.2.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.apache.logging.log4j\log4j-api\2.0-beta9\1dd66e68cccd907880229f9e2de1314bd13ff785\log4j-api-2.0-beta9.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.apache.logging.log4j\log4j-core\2.0-beta9\678861ba1b2e1fccb594bb0ca03114bb05da9695\log4j-core-2.0-beta9.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\net.minecraft\launchwrapper\1.12\111e7bea9c968cdb3d06ef4632bf7ff0824d0f36\launchwrapper-1.12.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\jline\jline\2.13\2d9530d0a25daffaffda7c35037b046b627bb171\jline-2.13.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.ow2.asm\asm-debug-all\5.0.3\f9e364ae2a66ce2a543012a4668856e84e5dab74\asm-debug-all-5.0.3.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\com.typesafe.akka\akka-actor_2.11\2.3.3\ed62e9fc709ca0f2ff1a3220daa8b70a2870078e\akka-actor_2.11-2.3.3.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\com.typesafe\config\1.2.1\f771f71fdae3df231bcd54d5ca2d57f0bf93f467\config-1.2.1.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.scala-lang\scala-actors-migration_2.11\1.1.0\dfa8bc42b181d5b9f1a5dd147f8ae308b893eb6f\scala-actors-migration_2.11-1.1.0.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.scala-lang\scala-compiler\2.11.1\56ea2e6c025e0821f28d73ca271218b8dd04926a\scala-compiler-2.11.1.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.scala-lang.plugins\scala-continuations-library_2.11\1.0.2\e517c53a7e9acd6b1668c5a35eccbaa3bab9aac\scala-continuations-library_2.11-1.0.2.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.scala-lang.plugins\scala-continuations-plugin_2.11.1\1.0.2\f361a3283452c57fa30c1ee69448995de23c60f7\scala-continuations-plugin_2.11.1-1.0.2.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.scala-lang\scala-library\2.11.1\e11da23da3eabab9f4777b9220e60d44c1aab6a\scala-library-2.11.1.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.scala-lang.modules\scala-parser-combinators_2.11\1.0.1\f05d7345bf5a58924f2837c6c1f4d73a938e1ff0\scala-parser-combinators_2.11-1.0.1.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.scala-lang\scala-reflect\2.11.1\6580347e61cc7f8e802941e7fde40fa83b8badeb\scala-reflect-2.11.1.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.scala-lang.modules\scala-swing_2.11\1.0.1\b1cdd92bd47b1e1837139c1c53020e86bb9112ae\scala-swing_2.11-1.0.1.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.scala-lang.modules\scala-xml_2.11\1.0.2\820fbca7e524b530fdadc594c39d49a21ea0337e\scala-xml_2.11-1.0.2.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\lzma\lzma\0.0.1\521616dc7487b42bef0e803bd2fa3faf668101d7\lzma-0.0.1.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\net.sf.trove4j\trove4j\3.0.3\42ccaf4761f0dfdfa805c9e340d99a755907e2dd\trove4j-3.0.3.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\com.paulscode\codecjorbis\20101023\c73b5636faf089d9f00e8732a829577de25237ee\codecjorbis-20101023.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\com.paulscode\codecwav\20101023\12f031cfe88fef5c1dd36c563c0a3a69bd7261da\codecwav-20101023.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\com.paulscode\libraryjavasound\20101123\5c5e304366f75f9eaa2e8cca546a1fb6109348b3\libraryjavasound-20101123.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\com.paulscode\librarylwjglopenal\20100824\73e80d0794c39665aec3f62eee88ca91676674ef\librarylwjglopenal-20100824.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\com.paulscode\soundsystem\20120107\419c05fe9be71f792b2d76cfc9b67f1ed0fec7f6\soundsystem-20120107.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\net.java.jinput\jinput\2.0.5\39c7796b469a600f72380316f6b1f11db6c2c7c4\jinput-2.0.5.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.lwjgl.lwjgl\lwjgl\2.9.4-nightly-20150209\697517568c68e78ae0b4544145af031c81082dfe\lwjgl-2.9.4-nightly-20150209.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.lwjgl.lwjgl\lwjgl_util\2.9.4-nightly-20150209\d51a7c040a721d13efdfbd34f8b257b2df882ad0\lwjgl_util-2.9.4-nightly-20150209.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\tv.twitch\twitch\6.5\320a2dfd18513a5f41b4e75729df684488cbd925\twitch-6.5.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\java3d\vecmath\1.5.2\79846ba34cbd89e2422d74d53752f993dcc2ccaf\vecmath-1.5.2.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.fusesource.jansi\jansi\1.11\655c643309c2f45a56a747fda70e3fadf57e9f11\jansi-1.11.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.scala-lang\scala-actors\2.11.0\8ccfb6541de179bb1c4d45cf414acee069b7f78b\scala-actors-2.11.0.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\net.java.jinput\jinput-platform\2.0.5\7ff832a6eb9ab6a767f1ade2b548092d0fa64795\jinput-platform-2.0.5-natives-linux.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\net.java.jinput\jinput-platform\2.0.5\385ee093e01f587f30ee1c8a2ee7d408fd732e16\jinput-platform-2.0.5-natives-windows.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\net.java.jinput\jinput-platform\2.0.5\53f9c919f34d2ca9de8c51fc4e1e8282029a9232\jinput-platform-2.0.5-natives-osx.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\tv.twitch\twitch-platform\6.5\206c4ccaecdbcfd2a1631150c69a97bbc9c20c11\twitch-platform-6.5-natives-windows-32.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\tv.twitch\twitch-platform\6.5\9fdd0fd5aed0817063dcf95b69349a171f447ebd\twitch-platform-6.5-natives-windows-64.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\tv.twitch\twitch-platform\6.5\5f9d1ee26257b3a33f0ca06fed335ef462af659f\twitch-platform-6.5-natives-osx.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\tv.twitch\twitch-external-platform\4.5\18215140f010c05b9f86ef6f0f8871954d2ccebf\twitch-external-platform-4.5-natives-windows-32.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\tv.twitch\twitch-external-platform\4.5\c3cde57891b935d41b6680a9c5e1502eeab76d86\twitch-external-platform-4.5-natives-windows-64.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\com.google.code.findbugs\jsr305\2.0.1\516c03b21d50a644d538de0f0369c620989cd8f0\jsr305-2.0.1.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.lwjgl.lwjgl\lwjgl-platform\2.9.4-nightly-20150209\b84d5102b9dbfabfeb5e43c7e2828d98a7fc80e0\lwjgl-platform-2.9.4-nightly-20150209-natives-windows.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.lwjgl.lwjgl\lwjgl-platform\2.9.4-nightly-20150209\931074f46c795d2f7b30ed6395df5715cfd7675b\lwjgl-platform-2.9.4-nightly-20150209-natives-linux.jar;C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.lwjgl.lwjgl\lwjgl-platform\2.9.4-nightly-20150209\bcab850f8f487c3f4c4dbabde778bb82bd1a40ed\lwjgl-platform-2.9.4-nightly-20150209-natives-osx.jar;C:\Users\szymon\.gradle\caches\minecraft\net\minecraftforge\forge\1.8.9-11.15.1.1847\start;C:\Users\szymon\Desktop\FORGE\build\libs\modid-1.0.jar

[17:13:08] [main/DEBUG] [FML/]: Java library path at launch is C:\Program Files\Java\jdk1.8.0_45\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.8.0_45\bin;C:\Program Files (x86)\Skype\Phone\;.;C:/Users/szymon/.gradle/caches/minecraft/net/minecraft/natives/1.8.9

[17:13:08] [main/INFO] [FML/]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation

[17:13:08] [main/DEBUG] [FML/]: Instantiating coremod class FMLCorePlugin

[17:13:08] [main/DEBUG] [FML/]: Added access transformer class net.minecraftforge.fml.common.asm.transformers.AccessTransformer to enqueued access transformers

[17:13:08] [main/DEBUG] [FML/]: Enqueued coremod FMLCorePlugin

[17:13:08] [main/DEBUG] [FML/]: Instantiating coremod class FMLForgePlugin

[17:13:08] [main/DEBUG] [FML/]: Enqueued coremod FMLForgePlugin

[17:13:08] [main/DEBUG] [FML/]: All fundamental core mods are successfully located

[17:13:08] [main/DEBUG] [FML/]: Attempting to load commandline specified mods, relative to C:\Users\szymon\Desktop\FORGE\run\.

[17:13:08] [main/DEBUG] [FML/]: Discovering coremods

[17:13:08] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker

[17:13:08] [main/INFO] [GradleStart/]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin

[17:13:08] [main/INFO] [GradleStart/]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin

[17:13:08] [main/INFO] [LaunchWrapper/]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker

[17:13:08] [main/INFO] [LaunchWrapper/]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker

[17:13:08] [main/INFO] [LaunchWrapper/]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker

[17:13:08] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker

[17:13:08] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker

[17:13:08] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper

[17:13:08] [main/DEBUG] [FML/]: Injecting coremod FMLCorePlugin {net.minecraftforge.fml.relauncher.FMLCorePlugin} class transformers

[17:13:08] [main/TRACE] [FML/]: Registering transformer net.minecraftforge.fml.common.asm.transformers.BlamingTransformer

[17:13:10] [main/TRACE] [FML/]: Registering transformer net.minecraftforge.fml.common.asm.transformers.SideTransformer

[17:13:10] [main/TRACE] [FML/]: Registering transformer net.minecraftforge.fml.common.asm.transformers.EventSubscriptionTransformer

[17:13:10] [main/TRACE] [FML/]: Registering transformer net.minecraftforge.fml.common.asm.transformers.EventSubscriberTransformer

[17:13:10] [main/DEBUG] [FML/]: Injection complete

[17:13:10] [main/DEBUG] [FML/]: Running coremod plugin for FMLCorePlugin {net.minecraftforge.fml.relauncher.FMLCorePlugin}

[17:13:10] [main/DEBUG] [FML/]: Running coremod plugin FMLCorePlugin

[17:13:10] [main/ERROR] [FML/]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!

[17:13:11] [main/DEBUG] [FML/]: Loading deobfuscation resource C:\Users\szymon\.gradle\caches\minecraft\de\oceanlabs\mcp\mcp_stable\20\srgs\srg-mcp.srg with 27884 records

[17:13:22] [main/ERROR] [FML/]: FML appears to be missing any signature data. This is not a good thing

[17:13:22] [main/DEBUG] [FML/]: Coremod plugin class FMLCorePlugin run successfully

[17:13:22] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper

[17:13:22] [main/DEBUG] [FML/]: Injecting coremod FMLForgePlugin {net.minecraftforge.classloading.FMLForgePlugin} class transformers

[17:13:22] [main/DEBUG] [FML/]: Injection complete

[17:13:22] [main/DEBUG] [FML/]: Running coremod plugin for FMLForgePlugin {net.minecraftforge.classloading.FMLForgePlugin}

[17:13:22] [main/DEBUG] [FML/]: Running coremod plugin FMLForgePlugin

[17:13:22] [main/DEBUG] [FML/]: Coremod plugin class FMLForgePlugin run successfully

[17:13:22] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker

[17:13:23] [main/DEBUG] [FML/]: Loaded 165 rules from AccessTransformer config file forge_at.cfg

[17:13:23] [main/DEBUG] [FML/]: Validating minecraft

[17:13:40] [main/DEBUG] [FML/]: Minecraft validated, launching...

[17:13:40] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker

[17:13:41] [main/INFO] [LaunchWrapper/]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker

[17:13:41] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker

[17:13:41] [main/INFO] [LaunchWrapper/]: Launching wrapped minecraft {net.minecraft.client.main.Main}

[17:14:33] [Client thread/WARN] [FML/]: =============================================================

[17:14:33] [Client thread/WARN] [FML/]: MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT ALLOWED REROUTING TO FML!

[17:14:33] [Client thread/WARN] [FML/]: Offendor: com/sun/jna/Native.main([Ljava/lang/String;)V

[17:14:33] [Client thread/WARN] [FML/]: Use FMLCommonHandler.exitJava instead

[17:14:33] [Client thread/WARN] [FML/]: =============================================================

[17:14:36] [Client thread/DEBUG] [FML/]: Bar Finished: Loading Resource - LanguageManager took 0.012s

[17:14:38] [Client thread/INFO] [sTDOUT/]: [net.minecraftforge.fml.client.SplashProgress:start:246]: ---- Minecraft Crash Report ----

// Surprise! Haha. Well, this is awkward.

 

Time: 4/9/16 5:14 PM

Description: Loading screen debug info

 

This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR

 

 

A detailed walkthrough of the error, its code path and all known details is as follows:

---------------------------------------------------------------------------------------

 

-- System Details --

Details:

Minecraft Version: 1.8.9

Operating System: Windows 7 (amd64) version 6.1

Java Version: 1.8.0_45, Oracle Corporation

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 77967328 bytes (74 MB) / 178831360 bytes (170 MB) up to 518979584 bytes (494 MB)

JVM Flags: 0 total;

IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

FML:

Loaded coremods (and transformers):

GL info: ' Vendor: 'NVIDIA Corporation' Version: '3.3.0' Renderer: 'GeForce 8400 GS/PCIe/SSE2'

[17:14:40] [Client thread/DEBUG] [FML/]: Bar Finished: Loading Resource - Animation took 0.000s

[17:14:40] [Client thread/INFO] [FML/]: MinecraftForge v11.15.1.1847 Initialized

[17:14:41] [Client thread/INFO] [FML/]: Replaced 204 ore recipies

[17:14:43] [Client thread/DEBUG] [FML/]: File C:\Users\szymon\Desktop\FORGE\run\config\injectedDependencies.json not found. No dependencies injected

[17:14:44] [Client thread/DEBUG] [FML/]: Building injected Mod Containers [net.minecraftforge.fml.common.FMLContainer, net.minecraftforge.common.ForgeModContainer]

[17:14:44] [Client thread/DEBUG] [FML/]: Attempting to load mods contained in the minecraft jar file and associated classes

[17:14:44] [Client thread/DEBUG] [FML/]: Found a minecraft related file at C:\Users\szymon\.gradle\caches\minecraft\deobfedDeps\compileDummy.jar, examining for mod candidates

[17:14:44] [Client thread/DEBUG] [FML/]: Found a minecraft related file at C:\Users\szymon\.gradle\caches\minecraft\deobfedDeps\providedDummy.jar, examining for mod candidates

[17:14:44] [Client thread/DEBUG] [FML/]: Found a minecraft related file at C:\Users\szymon\.gradle\caches\minecraft\net\minecraftforge\forge\1.8.9-11.15.1.1847\stable\20\forgeSrc-1.8.9-11.15.1.1847.jar, examining for mod candidates

[17:14:44] [Client thread/DEBUG] [FML/]: Found a minecraft related file at C:\Users\szymon\.gradle\caches\modules-2\files-2.1\oshi-project\oshi-core\1.1\9ddf7b048a8d701be231c0f4f95fd986198fd2d8\oshi-core-1.1.jar, examining for mod candidates

[17:14:44] [Client thread/DEBUG] [FML/]: Found a minecraft related file at C:\Users\szymon\.gradle\caches\modules-2\files-2.1\net.java.dev.jna\jna\3.4.0\803ff252fedbd395baffd43b37341dc4a150a554\jna-3.4.0.jar, examining for mod candidates

[17:14:44] [Client thread/DEBUG] [FML/]: Found a minecraft related file at C:\Users\szymon\.gradle\caches\modules-2\files-2.1\net.java.dev.jna\platform\3.4.0\e3f70017be8100d3d6923f50b3d2ee17714e9c13\platform-3.4.0.jar, examining for mod candidates

[17:14:44] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\com.ibm.icu\icu4j-core-mojang\51.2\63d216a9311cca6be337c1e458e587f99d382b84\icu4j-core-mojang-51.2.jar

[17:14:44] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\net.sf.jopt-simple\jopt-simple\4.6\306816fb57cf94f108a43c95731b08934dcae15c\jopt-simple-4.6.jar

[17:14:44] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\io.netty\netty-all\4.0.23.Final\294104aaf1781d6a56a07d561e792c5d0c95f45\netty-all-4.0.23.Final.jar

[17:14:44] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\com.google.guava\guava\17.0\9c6ef172e8de35fd8d4d8783e4821e57cdef7445\guava-17.0.jar

[17:14:44] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.apache.commons\commons-lang3\3.3.2\90a3822c38ec8c996e84c16a3477ef632cbc87a3\commons-lang3-3.3.2.jar

[17:14:44] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\commons-io\commons-io\2.4\b1b6ea3b7e4aa4f492509a4952029cd8e48019ad\commons-io-2.4.jar

[17:14:44] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\commons-codec\commons-codec\1.9\9ce04e34240f674bc72680f8b843b1457383161a\commons-codec-1.9.jar

[17:14:44] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\net.java.jutils\jutils\1.0.0\e12fe1fda814bd348c1579329c86943d2cd3c6a6\jutils-1.0.0.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\com.google.code.gson\gson\2.2.4\a60a5e993c98c864010053cb901b7eab25306568\gson-2.2.4.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\com.mojang\authlib\1.5.21\aefba0d5b53fbcb70860bc8046ab95d5854c07a5\authlib-1.5.21.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\com.mojang\realms\1.7.59\9c6c59b742d8e038a15f64c1aa273a893a658424\realms-1.7.59.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.apache.commons\commons-compress\1.8.1\a698750c16740fd5b3871425f4cb3bbaa87f529d\commons-compress-1.8.1.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.apache.httpcomponents\httpclient\4.3.3\18f4247ff4572a074444572cee34647c43e7c9c7\httpclient-4.3.3.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\commons-logging\commons-logging\1.1.3\f6f66e966c70a83ffbdb6f17a0919eaf7c8aca7f\commons-logging-1.1.3.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.apache.httpcomponents\httpcore\4.3.2\31fbbff1ddbf98f3aa7377c94d33b0447c646b6e\httpcore-4.3.2.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.apache.logging.log4j\log4j-api\2.0-beta9\1dd66e68cccd907880229f9e2de1314bd13ff785\log4j-api-2.0-beta9.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.apache.logging.log4j\log4j-core\2.0-beta9\678861ba1b2e1fccb594bb0ca03114bb05da9695\log4j-core-2.0-beta9.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\net.minecraft\launchwrapper\1.12\111e7bea9c968cdb3d06ef4632bf7ff0824d0f36\launchwrapper-1.12.jar

[17:14:45] [Client thread/DEBUG] [FML/]: Found a minecraft related file at C:\Users\szymon\.gradle\caches\modules-2\files-2.1\jline\jline\2.13\2d9530d0a25daffaffda7c35037b046b627bb171\jline-2.13.jar, examining for mod candidates

[17:14:45] [Client thread/DEBUG] [FML/]: Found a minecraft related file at C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.ow2.asm\asm-debug-all\5.0.3\f9e364ae2a66ce2a543012a4668856e84e5dab74\asm-debug-all-5.0.3.jar, examining for mod candidates

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\com.typesafe.akka\akka-actor_2.11\2.3.3\ed62e9fc709ca0f2ff1a3220daa8b70a2870078e\akka-actor_2.11-2.3.3.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\com.typesafe\config\1.2.1\f771f71fdae3df231bcd54d5ca2d57f0bf93f467\config-1.2.1.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.scala-lang\scala-actors-migration_2.11\1.1.0\dfa8bc42b181d5b9f1a5dd147f8ae308b893eb6f\scala-actors-migration_2.11-1.1.0.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.scala-lang\scala-compiler\2.11.1\56ea2e6c025e0821f28d73ca271218b8dd04926a\scala-compiler-2.11.1.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.scala-lang.plugins\scala-continuations-library_2.11\1.0.2\e517c53a7e9acd6b1668c5a35eccbaa3bab9aac\scala-continuations-library_2.11-1.0.2.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.scala-lang.plugins\scala-continuations-plugin_2.11.1\1.0.2\f361a3283452c57fa30c1ee69448995de23c60f7\scala-continuations-plugin_2.11.1-1.0.2.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.scala-lang\scala-library\2.11.1\e11da23da3eabab9f4777b9220e60d44c1aab6a\scala-library-2.11.1.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.scala-lang.modules\scala-parser-combinators_2.11\1.0.1\f05d7345bf5a58924f2837c6c1f4d73a938e1ff0\scala-parser-combinators_2.11-1.0.1.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.scala-lang\scala-reflect\2.11.1\6580347e61cc7f8e802941e7fde40fa83b8badeb\scala-reflect-2.11.1.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.scala-lang.modules\scala-swing_2.11\1.0.1\b1cdd92bd47b1e1837139c1c53020e86bb9112ae\scala-swing_2.11-1.0.1.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.scala-lang.modules\scala-xml_2.11\1.0.2\820fbca7e524b530fdadc594c39d49a21ea0337e\scala-xml_2.11-1.0.2.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\lzma\lzma\0.0.1\521616dc7487b42bef0e803bd2fa3faf668101d7\lzma-0.0.1.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\net.sf.trove4j\trove4j\3.0.3\42ccaf4761f0dfdfa805c9e340d99a755907e2dd\trove4j-3.0.3.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\com.paulscode\codecjorbis\20101023\c73b5636faf089d9f00e8732a829577de25237ee\codecjorbis-20101023.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\com.paulscode\codecwav\20101023\12f031cfe88fef5c1dd36c563c0a3a69bd7261da\codecwav-20101023.jar

[17:14:45] [Client thread/DEBUG] [FML/]: Found a minecraft related file at C:\Users\szymon\.gradle\caches\modules-2\files-2.1\com.paulscode\libraryjavasound\20101123\5c5e304366f75f9eaa2e8cca546a1fb6109348b3\libraryjavasound-20101123.jar, examining for mod candidates

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\com.paulscode\librarylwjglopenal\20100824\73e80d0794c39665aec3f62eee88ca91676674ef\librarylwjglopenal-20100824.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\com.paulscode\soundsystem\20120107\419c05fe9be71f792b2d76cfc9b67f1ed0fec7f6\soundsystem-20120107.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\net.java.jinput\jinput\2.0.5\39c7796b469a600f72380316f6b1f11db6c2c7c4\jinput-2.0.5.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.lwjgl.lwjgl\lwjgl\2.9.4-nightly-20150209\697517568c68e78ae0b4544145af031c81082dfe\lwjgl-2.9.4-nightly-20150209.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.lwjgl.lwjgl\lwjgl_util\2.9.4-nightly-20150209\d51a7c040a721d13efdfbd34f8b257b2df882ad0\lwjgl_util-2.9.4-nightly-20150209.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\tv.twitch\twitch\6.5\320a2dfd18513a5f41b4e75729df684488cbd925\twitch-6.5.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\java3d\vecmath\1.5.2\79846ba34cbd89e2422d74d53752f993dcc2ccaf\vecmath-1.5.2.jar

[17:14:45] [Client thread/DEBUG] [FML/]: Found a minecraft related file at C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.fusesource.jansi\jansi\1.11\655c643309c2f45a56a747fda70e3fadf57e9f11\jansi-1.11.jar, examining for mod candidates

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.scala-lang\scala-actors\2.11.0\8ccfb6541de179bb1c4d45cf414acee069b7f78b\scala-actors-2.11.0.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\net.java.jinput\jinput-platform\2.0.5\7ff832a6eb9ab6a767f1ade2b548092d0fa64795\jinput-platform-2.0.5-natives-linux.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\net.java.jinput\jinput-platform\2.0.5\385ee093e01f587f30ee1c8a2ee7d408fd732e16\jinput-platform-2.0.5-natives-windows.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\net.java.jinput\jinput-platform\2.0.5\53f9c919f34d2ca9de8c51fc4e1e8282029a9232\jinput-platform-2.0.5-natives-osx.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\tv.twitch\twitch-platform\6.5\206c4ccaecdbcfd2a1631150c69a97bbc9c20c11\twitch-platform-6.5-natives-windows-32.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\tv.twitch\twitch-platform\6.5\9fdd0fd5aed0817063dcf95b69349a171f447ebd\twitch-platform-6.5-natives-windows-64.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\tv.twitch\twitch-platform\6.5\5f9d1ee26257b3a33f0ca06fed335ef462af659f\twitch-platform-6.5-natives-osx.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\tv.twitch\twitch-external-platform\4.5\18215140f010c05b9f86ef6f0f8871954d2ccebf\twitch-external-platform-4.5-natives-windows-32.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\tv.twitch\twitch-external-platform\4.5\c3cde57891b935d41b6680a9c5e1502eeab76d86\twitch-external-platform-4.5-natives-windows-64.jar

[17:14:45] [Client thread/DEBUG] [FML/]: Found a minecraft related file at C:\Users\szymon\.gradle\caches\modules-2\files-2.1\com.google.code.findbugs\jsr305\2.0.1\516c03b21d50a644d538de0f0369c620989cd8f0\jsr305-2.0.1.jar, examining for mod candidates

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.lwjgl.lwjgl\lwjgl-platform\2.9.4-nightly-20150209\b84d5102b9dbfabfeb5e43c7e2828d98a7fc80e0\lwjgl-platform-2.9.4-nightly-20150209-natives-windows.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.lwjgl.lwjgl\lwjgl-platform\2.9.4-nightly-20150209\931074f46c795d2f7b30ed6395df5715cfd7675b\lwjgl-platform-2.9.4-nightly-20150209-natives-linux.jar

[17:14:45] [Client thread/TRACE] [FML/]: Skipping known library file C:\Users\szymon\.gradle\caches\modules-2\files-2.1\org.lwjgl.lwjgl\lwjgl-platform\2.9.4-nightly-20150209\bcab850f8f487c3f4c4dbabde778bb82bd1a40ed\lwjgl-platform-2.9.4-nightly-20150209-natives-osx.jar

[17:14:45] [Client thread/DEBUG] [FML/]: Found a minecraft related directory at C:\Users\szymon\.gradle\caches\minecraft\net\minecraftforge\forge\1.8.9-11.15.1.1847\start, examining for mod candidates

[17:14:45] [Client thread/DEBUG] [FML/]: Found a minecraft related file at C:\Users\szymon\Desktop\FORGE\build\libs\modid-1.0.jar, examining for mod candidates

[17:14:45] [Client thread/DEBUG] [FML/]: Minecraft jar mods loaded successfully

[17:14:45] [Client thread/INFO] [FML/]: Found 0 mods from the command line. Injecting into mod discoverer

[17:14:45] [Client thread/INFO] [FML/]: Searching C:\Users\szymon\Desktop\FORGE\run\mods for mods

[17:14:45] [Client thread/DEBUG] [FML/]: Examining file compileDummy.jar for potential mods

[17:14:45] [Client thread/DEBUG] [FML/]: The mod container compileDummy.jar appears to be missing an mcmod.info file

[17:14:45] [Client thread/DEBUG] [FML/]: Examining file providedDummy.jar for potential mods

[17:14:45] [Client thread/DEBUG] [FML/]: The mod container providedDummy.jar appears to be missing an mcmod.info file

[17:14:45] [Client thread/DEBUG] [FML/]: Examining file forgeSrc-1.8.9-11.15.1.1847.jar for potential mods

[17:14:45] [Client thread/DEBUG] [FML/]: The mod container forgeSrc-1.8.9-11.15.1.1847.jar appears to be missing an mcmod.info file

[17:14:55] [Client thread/DEBUG] [FML/]: Examining file oshi-core-1.1.jar for potential mods

[17:14:55] [Client thread/DEBUG] [FML/]: The mod container oshi-core-1.1.jar appears to be missing an mcmod.info file

[17:14:55] [Client thread/DEBUG] [FML/]: Examining file jna-3.4.0.jar for potential mods

[17:14:55] [Client thread/DEBUG] [FML/]: The mod container jna-3.4.0.jar appears to be missing an mcmod.info file

[17:14:55] [Client thread/DEBUG] [FML/]: Examining file platform-3.4.0.jar for potential mods

[17:14:55] [Client thread/DEBUG] [FML/]: The mod container platform-3.4.0.jar appears to be missing an mcmod.info file

[17:14:55] [Client thread/DEBUG] [FML/]: Examining file jline-2.13.jar for potential mods

[17:14:55] [Client thread/DEBUG] [FML/]: The mod container jline-2.13.jar appears to be missing an mcmod.info file

[17:14:55] [Client thread/DEBUG] [FML/]: Examining file asm-debug-all-5.0.3.jar for potential mods

[17:14:55] [Client thread/DEBUG] [FML/]: The mod container asm-debug-all-5.0.3.jar appears to be missing an mcmod.info file

[17:14:56] [Client thread/DEBUG] [FML/]: Examining file libraryjavasound-20101123.jar for potential mods

[17:14:56] [Client thread/DEBUG] [FML/]: The mod container libraryjavasound-20101123.jar appears to be missing an mcmod.info file

[17:14:56] [Client thread/DEBUG] [FML/]: Examining file jansi-1.11.jar for potential mods

[17:14:56] [Client thread/DEBUG] [FML/]: The mod container jansi-1.11.jar appears to be missing an mcmod.info file

[17:14:56] [Client thread/DEBUG] [FML/]: Examining file jsr305-2.0.1.jar for potential mods

[17:14:56] [Client thread/DEBUG] [FML/]: The mod container jsr305-2.0.1.jar appears to be missing an mcmod.info file

[17:14:56] [Client thread/DEBUG] [FML/]: Examining directory start for potential mods

[17:14:56] [Client thread/DEBUG] [FML/]: No mcmod.info file found in directory start

[17:14:56] [Client thread/TRACE] [FML/]: Recursing into package net

[17:14:56] [Client thread/TRACE] [FML/]: Recursing into package net.minecraftforge

[17:14:56] [Client thread/TRACE] [FML/]: Recursing into package net.minecraftforge.gradle

[17:14:56] [Client thread/TRACE] [FML/]: Recursing into package net.minecraftforge.gradle.tweakers

[17:14:56] [Client thread/DEBUG] [FML/]: Examining file modid-1.0.jar for potential mods

[17:14:56] [Client thread/DEBUG] [FML/]: The mod container modid-1.0.jar appears to be missing an mcmod.info file

[17:14:56] [Client thread/DEBUG] [FML/]: Identified a mod of type Lnet/minecraftforge/fml/common/Mod; (szorniszon.hpindicator.HpIndicatorMod) - loading

[17:14:56] [Client thread/TRACE] [hpindicator/]: Parsed dependency info : [] [] []

[17:14:56] [Client thread/INFO] [FML/]: Forge Mod Loader has identified 4 mods to load

[17:14:58] [Client thread/TRACE] [FML/]: Received a system property request ''

[17:14:58] [Client thread/TRACE] [FML/]: System property request managing the state of 0 mods

[17:14:58] [Client thread/DEBUG] [FML/]: After merging, found state information for 0 mods

[17:14:59] [Client thread/DEBUG] [FML/]: Found translations in forgeSrc-1.8.9-11.15.1.1847.jar [en_US, en_US]

[17:14:59] [Client thread/DEBUG] [FML/]: Found translations in forgeSrc-1.8.9-11.15.1.1847.jar [en_US, en_US]

[17:14:59] [Client thread/DEBUG] [hpindicator/]: Enabling mod hpindicator

[17:14:59] [Client thread/TRACE] [FML/]: Verifying mod requirements are satisfied

[17:14:59] [Client thread/TRACE] [FML/]: All mod requirements are satisfied

[17:14:59] [Client thread/TRACE] [FML/]: Sorting mods into an ordered list

[17:14:59] [Client thread/TRACE] [FML/]: Mod sorting completed successfully

[17:14:59] [Client thread/DEBUG] [FML/]: Mod sorting data

[17:14:59] [Client thread/DEBUG] [FML/]: hpindicator(Hp Indicator Mod:0.0.0): modid-1.0.jar ()

[17:14:59] [Client thread/TRACE] [mcp/mcp]: Sending event FMLConstructionEvent to mod mcp

[17:14:59] [Client thread/TRACE] [mcp/mcp]: Sent event FMLConstructionEvent to mod mcp

[17:14:59] [Client thread/DEBUG] [FML/]: Bar Step: Construction - Minecraft Coder Pack took 0.014s

[17:14:59] [Client thread/TRACE] [FML/FML]: Sending event FMLConstructionEvent to mod FML

[17:15:00] [Client thread/TRACE] [FML/FML]: Mod FML is using network checker : Invoking method checkModLists

[17:15:00] [Client thread/TRACE] [FML/FML]: Testing mod FML to verify it accepts its own version in a remote connection

[17:15:00] [Client thread/TRACE] [FML/FML]: The mod FML accepts its own version (8.0.99.99)

[17:15:00] [Client thread/INFO] [FML/FML]: Attempting connection with missing mods [mcp, FML, Forge, hpindicator] at CLIENT

[17:15:00] [Client thread/INFO] [FML/FML]: Attempting connection with missing mods [mcp, FML, Forge, hpindicator] at SERVER

[17:15:03] [Client thread/TRACE] [FML/FML]: Sent event FMLConstructionEvent to mod FML

[17:15:03] [Client thread/DEBUG] [FML/]: Bar Step: Construction - Forge Mod Loader took 4.027s

[17:15:03] [Client thread/TRACE] [Forge/Forge]: Sending event FMLConstructionEvent to mod Forge

[17:15:03] [Client thread/TRACE] [FML/Forge]: Mod Forge is using network checker : No network checking performed

[17:15:03] [Client thread/TRACE] [FML/Forge]: Testing mod Forge to verify it accepts its own version in a remote connection

[17:15:03] [Client thread/TRACE] [FML/Forge]: The mod Forge accepts its own version (11.15.1.1847)

[17:15:03] [Client thread/TRACE] [Forge/Forge]: Sent event FMLConstructionEvent to mod Forge

[17:15:03] [Client thread/DEBUG] [FML/]: Bar Step: Construction - Minecraft Forge took 0.027s

[17:15:03] [Client thread/TRACE] [hpindicator/hpindicator]: Sending event FMLConstructionEvent to mod hpindicator

[17:15:03] [Client thread/TRACE] [FML/hpindicator]: Mod hpindicator is using network checker : Accepting version 0.0.0

[17:15:03] [Client thread/TRACE] [FML/hpindicator]: Testing mod hpindicator to verify it accepts its own version in a remote connection

[17:15:03] [Client thread/TRACE] [FML/hpindicator]: The mod hpindicator accepts its own version (0.0.0)

[17:15:03] [Client thread/DEBUG] [FML/hpindicator]: Attempting to inject @SidedProxy classes into hpindicator

[17:15:03] [Client thread/TRACE] [hpindicator/hpindicator]: Sent event FMLConstructionEvent to mod hpindicator

[17:15:03] [Client thread/DEBUG] [FML/]: Bar Step: Construction - Hp Indicator Mod took 0.070s

[17:15:03] [Client thread/DEBUG] [FML/]: Bar Finished: Construction took 4.138s

[17:15:03] [Client thread/DEBUG] [FML/]: Mod signature data

[17:15:03] [Client thread/DEBUG] [FML/]:  Valid Signatures:

[17:15:03] [Client thread/DEBUG] [FML/]:  Missing Signatures:

[17:15:03] [Client thread/DEBUG] [FML/]: mcp (Minecraft Coder Pack 9.19) minecraft.jar

[17:15:03] [Client thread/DEBUG] [FML/]: FML (Forge Mod Loader 8.0.99.99) forgeSrc-1.8.9-11.15.1.1847.jar

[17:15:03] [Client thread/DEBUG] [FML/]: Forge (Minecraft Forge 11.15.1.1847) forgeSrc-1.8.9-11.15.1.1847.jar

[17:15:03] [Client thread/DEBUG] [FML/]: hpindicator (Hp Indicator Mod 0.0.0) modid-1.0.jar

[17:15:03] [Client thread/DEBUG] [FML/]: Bar Step: Loading Resources - Default took 0.044s

[17:15:03] [Client thread/DEBUG] [FML/]: Bar Step: Loading Resources - FMLFileResourcePack:Forge Mod Loader took 0.056s

[17:15:03] [Client thread/DEBUG] [FML/]: Bar Step: Loading Resources - FMLFileResourcePack:Minecraft Forge took 0.098s

[17:15:03] [Client thread/DEBUG] [FML/]: Bar Step: Loading Resources - FMLFileResourcePack:Hp Indicator Mod took 0.001s

[17:15:04] [Client thread/DEBUG] [FML/]: Bar Finished: Reloading took 0.164s

[17:15:04] [Client thread/DEBUG] [FML/]: Bar Step: Loading Resources - Reloading listeners took 0.169s

[17:15:04] [Client thread/DEBUG] [FML/]: Bar Finished: Loading Resources took 0.368s

[17:15:04] [Client thread/DEBUG] [Forge Mod Loader/]: Mod Forge Mod Loader is missing a pack.mcmeta file, substituting a dummy one

[17:15:04] [Client thread/DEBUG] [Minecraft Forge/]: Mod Minecraft Forge is missing a pack.mcmeta file, substituting a dummy one

[17:15:04] [Client thread/DEBUG] [Hp Indicator Mod/]: Mod Hp Indicator Mod is missing a pack.mcmeta file, substituting a dummy one

[17:15:04] [Client thread/INFO] [FML/]: Processing ObjectHolder annotations

[17:15:04] [Client thread/INFO] [FML/]: Found 384 ObjectHolder annotations

[17:15:04] [Client thread/INFO] [FML/]: Identifying ItemStackHolder annotations

[17:15:04] [Client thread/INFO] [FML/]: Found 0 ItemStackHolder annotations

[17:15:04] [Client thread/TRACE] [mcp/mcp]: Sending event FMLPreInitializationEvent to mod mcp

[17:15:04] [Client thread/TRACE] [mcp/mcp]: Sent event FMLPreInitializationEvent to mod mcp

[17:15:04] [Client thread/DEBUG] [FML/]: Bar Step: PreInitialization - Minecraft Coder Pack took 0.208s

[17:15:04] [Client thread/TRACE] [FML/FML]: Sending event FMLPreInitializationEvent to mod FML

[17:15:04] [Client thread/TRACE] [FML/FML]: Sent event FMLPreInitializationEvent to mod FML

[17:15:04] [Client thread/DEBUG] [FML/]: Bar Step: PreInitialization - Forge Mod Loader took 0.106s

[17:15:04] [Client thread/TRACE] [Forge/Forge]: Sending event FMLPreInitializationEvent to mod Forge

[17:15:04] [Client thread/INFO] [FML/Forge]: Configured a dormant chunk cache size of 0

[17:15:05] [Client thread/TRACE] [Forge/Forge]: Sent event FMLPreInitializationEvent to mod Forge

[17:15:05] [Client thread/DEBUG] [FML/]: Bar Step: PreInitialization - Minecraft Forge took 0.380s

[17:15:05] [Client thread/TRACE] [hpindicator/hpindicator]: Sending event FMLPreInitializationEvent to mod hpindicator

[17:15:05] [Client thread/TRACE] [hpindicator/hpindicator]: Sent event FMLPreInitializationEvent to mod hpindicator

[17:15:05] [Client thread/DEBUG] [FML/]: Bar Step: PreInitialization - Hp Indicator Mod took 0.002s

[17:15:05] [Client thread/DEBUG] [FML/]: Bar Finished: PreInitialization took 0.696s

[17:15:05] [Client thread/INFO] [FML/]: Applying holder lookups

[17:15:05] [Client thread/INFO] [FML/]: Holder lookups applied

[17:15:05] [Client thread/INFO] [FML/]: Injecting itemstacks

[17:15:05] [Client thread/INFO] [FML/]: Itemstack injection complete

[17:15:05] [Client thread/DEBUG] [FML/]: Bar Finished: Loading Resource - TextureManager took 0.000s

[17:15:05] [Forge Version Check/INFO] [ForgeVersionCheck/Forge]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json

[17:15:11] [Forge Version Check/DEBUG] [ForgeVersionCheck/Forge]: [Forge] Received version check data:

{

  "homepage": "http://files.minecraftforge.net/maven/net/minecraftforge/forge/",

  "promos": {

    "1.5.2-latest": "7.8.1.738",

    "1.5.2-recommended": "7.8.1.737",

    "1.6.1-latest": "8.9.0.775",

    "1.6.2-latest": "9.10.1.871",

    "1.6.2-recommended": "9.10.1.871",

    "1.6.3-latest": "9.11.0.878",

    "1.6.4-latest": "9.11.1.1345",

    "1.6.4-recommended": "9.11.1.1345",

    "1.7.10-latest": "10.13.4.1614",

    "1.7.10-latest-1.7.10": "10.13.2.1343",

    "1.7.10-recommended": "10.13.4.1558",

    "1.7.2-latest": "10.12.2.1147",

    "1.7.2-recommended": "10.12.2.1121",

    "1.8-latest": "11.14.4.1577",

    "1.8-recommended": "11.14.4.1563",

    "1.8.8-latest": "11.15.0.1655",

    "1.8.9-latest": "11.15.1.1855",

    "1.8.9-recommended": "11.15.1.1722",

    "1.9-latest": "12.16.0.1859",

    "latest": "11.15.1.1855",

    "latest-1.7.10": "10.13.2.1343",

    "recommended": "11.15.1.1722"

  }

}

[17:15:11] [Forge Version Check/INFO] [ForgeVersionCheck/Forge]: [Forge] Found status: OUTDATED Target: 11.15.1.1855

[17:15:39] [Client thread/DEBUG] [FML/]: Bar Finished: Loading Resource - SoundHandler took 27.315s

[17:15:39] [Client thread/DEBUG] [FML/]: Bar Finished: Loading Resource - FontRenderer took 0.072s

[17:15:39] [Client thread/DEBUG] [FML/]: Bar Finished: Loading Resource - FontRenderer took 0.011s

[17:15:39] [Client thread/DEBUG] [FML/]: Bar Finished: Loading Resource - GrassColorReloadListener took 0.189s

[17:15:40] [Client thread/DEBUG] [FML/]: Bar Finished: Loading Resource - FoliageColorReloadListener took 0.109s

[17:15:40] [Client thread/DEBUG] [FML/]: Bar Step: Rendering Setup - GL Setup took 0.001s

[17:15:40] [Client thread/DEBUG] [FML/]: Bar Step: Rendering Setup - Loading Texture Map took 0.163s

[17:15:41] [Client thread/DEBUG] [FML/]: Bar Finished: Loading Resource - B3DLoader took 0.000s

[17:15:41] [Client thread/DEBUG] [FML/]: Bar Finished: Loading Resource - OBJLoader took 0.000s

[17:15:41] [Client thread/DEBUG] [FML/]: Bar Finished: Loading Resource - ModelFluid$FluidLoader took 0.000s

[17:15:41] [Client thread/DEBUG] [FML/]: Bar Finished: Loading Resource - ItemLayerModel$Loader took 0.000s

[17:15:41] [Client thread/DEBUG] [FML/]: Bar Finished: Loading Resource - MultiLayerModel$Loader took 0.000s

[17:15:41] [Client thread/DEBUG] [FML/]: Bar Finished: Loading Resource - ModelDynBucket$LoaderDynBucket took 0.000s

[17:16:00] [Client thread/DEBUG] [FML/]: Bar Finished: ModelLoader: blocks took 15.917s

[17:16:04] [Client thread/DEBUG] [FML/]: Bar Finished: ModelLoader: items took 4.700s

[17:16:06] [Client thread/INFO] [FML/]: Max texture size: 8192

[17:16:06] [Client thread/DEBUG] [FML/]: Bar Finished: Texture stitching - missingno took 0.005s

[17:16:06] [Client thread/DEBUG] [FML/]: Bar Finished: Texture creation took 0.036s

[17:16:14] [Client thread/DEBUG] [FML/]: Bar Finished: Loading Resource - ModelManager took 33.182s

[17:16:14] [Client thread/DEBUG] [FML/]: Bar Step: Rendering Setup - Loading Model Manager took 34.205s

[17:16:16] [Client thread/DEBUG] [FML/]: Bar Finished: Loading Resource - RenderItem took 0.009s

[17:16:16] [Client thread/DEBUG] [FML/]: Bar Step: Rendering Setup - Loading Item Renderer took 1.533s

[17:16:16] [Client thread/DEBUG] [FML/]: Bar Finished: Loading Resource - EntityRenderer took 0.000s

[17:16:16] [Client thread/DEBUG] [FML/]: Bar Finished: Loading Resource - BlockRendererDispatcher took 0.000s

[17:16:17] [Client thread/DEBUG] [FML/]: Bar Finished: Loading Resource - RenderGlobal took 0.000s

[17:16:17] [Client thread/DEBUG] [FML/]: Bar Step: Rendering Setup - Loading Entity Renderer took 1.903s

[17:16:17] [Client thread/DEBUG] [FML/]: Bar Finished: Rendering Setup took 37.804s

[17:16:17] [Client thread/TRACE] [mcp/mcp]: Sending event FMLInitializationEvent to mod mcp

[17:16:18] [Client thread/TRACE] [mcp/mcp]: Sent event FMLInitializationEvent to mod mcp

[17:16:18] [Client thread/DEBUG] [FML/]: Bar Step: Initialization - Minecraft Coder Pack took 0.002s

[17:16:18] [Client thread/TRACE] [FML/FML]: Sending event FMLInitializationEvent to mod FML

[17:16:18] [Client thread/TRACE] [FML/FML]: Sent event FMLInitializationEvent to mod FML

[17:16:18] [Client thread/DEBUG] [FML/]: Bar Step: Initialization - Forge Mod Loader took 0.002s

[17:16:18] [Client thread/TRACE] [Forge/Forge]: Sending event FMLInitializationEvent to mod Forge

[17:16:18] [Client thread/TRACE] [Forge/Forge]: Sent event FMLInitializationEvent to mod Forge

[17:16:18] [Client thread/DEBUG] [FML/]: Bar Step: Initialization - Minecraft Forge took 0.002s

[17:16:18] [Client thread/TRACE] [hpindicator/hpindicator]: Sending event FMLInitializationEvent to mod hpindicator

[17:16:18] [Client thread/TRACE] [hpindicator/hpindicator]: Sent event FMLInitializationEvent to mod hpindicator

[17:16:18] [Client thread/DEBUG] [FML/]: Bar Step: Initialization - Hp Indicator Mod took 0.002s

[17:16:18] [Client thread/DEBUG] [FML/]: Bar Finished: Initialization took 0.008s

[17:16:18] [Client thread/TRACE] [FML/]: Attempting to deliver 0 IMC messages to mod mcp

[17:16:18] [Client thread/TRACE] [mcp/mcp]: Sending event IMCEvent to mod mcp

[17:16:18] [Client thread/TRACE] [mcp/mcp]: Sent event IMCEvent to mod mcp

[17:16:18] [Client thread/DEBUG] [FML/]: Bar Step: InterModComms$IMC - Minecraft Coder Pack took 0.007s

[17:16:18] [Client thread/TRACE] [FML/]: Attempting to deliver 0 IMC messages to mod FML

[17:16:18] [Client thread/TRACE] [FML/FML]: Sending event IMCEvent to mod FML

[17:16:18] [Client thread/TRACE] [FML/FML]: Sent event IMCEvent to mod FML

[17:16:18] [Client thread/DEBUG] [FML/]: Bar Step: InterModComms$IMC - Forge Mod Loader took 0.001s

[17:16:18] [Client thread/TRACE] [FML/]: Attempting to deliver 0 IMC messages to mod Forge

[17:16:18] [Client thread/TRACE] [Forge/Forge]: Sending event IMCEvent to mod Forge

[17:16:18] [Client thread/TRACE] [Forge/Forge]: Sent event IMCEvent to mod Forge

[17:16:18] [Client thread/DEBUG] [FML/]: Bar Step: InterModComms$IMC - Minecraft Forge took 0.006s

[17:16:18] [Client thread/TRACE] [FML/]: Attempting to deliver 0 IMC messages to mod hpindicator

[17:16:18] [Client thread/TRACE] [hpindicator/hpindicator]: Sending event IMCEvent to mod hpindicator

[17:16:18] [Client thread/TRACE] [hpindicator/hpindicator]: Sent event IMCEvent to mod hpindicator

[17:16:18] [Client thread/DEBUG] [FML/]: Bar Step: InterModComms$IMC - Hp Indicator Mod took 0.005s

[17:16:18] [Client thread/DEBUG] [FML/]: Bar Finished: InterModComms$IMC took 0.019s

[17:16:18] [Client thread/INFO] [FML/]: Injecting itemstacks

[17:16:18] [Client thread/INFO] [FML/]: Itemstack injection complete

[17:16:18] [Client thread/TRACE] [mcp/mcp]: Sending event FMLPostInitializationEvent to mod mcp

[17:16:18] [Client thread/TRACE] [mcp/mcp]: Sent event FMLPostInitializationEvent to mod mcp

[17:16:18] [Client thread/DEBUG] [FML/]: Bar Step: PostInitialization - Minecraft Coder Pack took 0.001s

[17:16:18] [Client thread/TRACE] [FML/FML]: Sending event FMLPostInitializationEvent to mod FML

[17:16:18] [Client thread/TRACE] [FML/FML]: Sent event FMLPostInitializationEvent to mod FML

[17:16:18] [Client thread/DEBUG] [FML/]: Bar Step: PostInitialization - Forge Mod Loader took 0.061s

[17:16:18] [Client thread/TRACE] [Forge/Forge]: Sending event FMLPostInitializationEvent to mod Forge

[17:16:18] [Client thread/TRACE] [Forge/Forge]: Sent event FMLPostInitializationEvent to mod Forge

[17:16:18] [Client thread/DEBUG] [FML/]: Bar Step: PostInitialization - Minecraft Forge took 0.428s

[17:16:18] [Client thread/TRACE] [hpindicator/hpindicator]: Sending event FMLPostInitializationEvent to mod hpindicator

[17:16:18] [Client thread/TRACE] [hpindicator/hpindicator]: Sent event FMLPostInitializationEvent to mod hpindicator

[17:16:18] [Client thread/DEBUG] [FML/]: Bar Step: PostInitialization - Hp Indicator Mod took 0.001s

[17:16:18] [Client thread/DEBUG] [FML/]: Bar Finished: PostInitialization took 0.491s

[17:16:18] [Client thread/ERROR] [FML/]: Fatal errors were detected during the transition from POSTINITIALIZATION to AVAILABLE. Loading cannot continue

[17:16:18] [Client thread/ERROR] [FML/]:

States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

UCHIJ mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)

UCHIJ FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8.9-11.15.1.1847.jar)

UCHIJ Forge{11.15.1.1847} [Minecraft Forge] (forgeSrc-1.8.9-11.15.1.1847.jar)

UCHIE hpindicator{0.0.0} [Hp Indicator Mod] (modid-1.0.jar)

[17:16:18] [Client thread/ERROR] [FML/]: The following problems were captured during this phase

[17:16:18] [Client thread/ERROR] [FML/]: Caught exception from hpindicator

java.lang.NullPointerException

at szorniszon.hpindicator.HpIndicatorMod.postInit(HpIndicatorMod.java:46) ~[modid-1.0.jar:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_45]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45]

at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45]

at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560) ~[forgeSrc-1.8.9-11.15.1.1847.jar:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_45]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45]

at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45]

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]

at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211) ~[forgeSrc-1.8.9-11.15.1.1847.jar:?]

at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189) ~[forgeSrc-1.8.9-11.15.1.1847.jar:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_45]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45]

at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45]

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]

at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118) [LoadController.class:?]

at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:742) [Loader.class:?]

at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:310) [FMLClientHandler.class:?]

at net.minecraft.client.Minecraft.startGame(Minecraft.java:532) [Minecraft.class:?]

at net.minecraft.client.Minecraft.run(Minecraft.java:360) [Minecraft.class:?]

at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_45]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45]

at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45]

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]

at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_45]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45]

at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45]

at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]

at GradleStart.main(GradleStart.java:26) [start/:?]

[17:16:19] [Client thread/INFO] [sTDOUT/]: [net.minecraft.init.Bootstrap:printToSYSOUT:612]: ---- Minecraft Crash Report ----

// Shall we play a game?

 

Time: 4/9/16 5:16 PM

Description: Initializing game

 

java.lang.NullPointerException: Initializing game

at szorniszon.hpindicator.HpIndicatorMod.postInit(HpIndicatorMod.java:46)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)

at com.google.common.eventbus.EventBus.post(EventBus.java:275)

at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211)

at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)

at com.google.common.eventbus.EventBus.post(EventBus.java:275)

at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118)

at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:742)

at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:310)

at net.minecraft.client.Minecraft.startGame(Minecraft.java:532)

at net.minecraft.client.Minecraft.run(Minecraft.java:360)

at net.minecraft.client.main.Main.main(Main.java:116)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)

at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)

at GradleStart.main(GradleStart.java:26)

 

 

A detailed walkthrough of the error, its code path and all known details is as follows:

---------------------------------------------------------------------------------------

 

-- Head --

Stacktrace:

at szorniszon.hpindicator.HpIndicatorMod.postInit(HpIndicatorMod.java:46)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)

at com.google.common.eventbus.EventBus.post(EventBus.java:275)

at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211)

at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)

at com.google.common.eventbus.EventBus.post(EventBus.java:275)

at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118)

at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:742)

at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:310)

at net.minecraft.client.Minecraft.startGame(Minecraft.java:532)

 

-- Initialization --

Details:

Stacktrace:

at net.minecraft.client.Minecraft.run(Minecraft.java:360)

at net.minecraft.client.main.Main.main(Main.java:116)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)

at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)

at GradleStart.main(GradleStart.java:26)

 

-- System Details --

Details:

Minecraft Version: 1.8.9

Operating System: Windows 7 (amd64) version 6.1

Java Version: 1.8.0_45, Oracle Corporation

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 100350656 bytes (95 MB) / 300040192 bytes (286 MB) up to 518979584 bytes (494 MB)

JVM Flags: 0 total;

IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

FML: MCP 9.19 Powered by Forge 11.15.1.1847 4 mods loaded, 4 mods active

States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

UCHIJ mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)

UCHIJ FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8.9-11.15.1.1847.jar)

UCHIJ Forge{11.15.1.1847} [Minecraft Forge] (forgeSrc-1.8.9-11.15.1.1847.jar)

UCHIE hpindicator{0.0.0} [Hp Indicator Mod] (modid-1.0.jar)

Loaded coremods (and transformers):

GL info: ' Vendor: 'NVIDIA Corporation' Version: '3.3.0' Renderer: 'GeForce 8400 GS/PCIe/SSE2'

Launched Version: 1.8.9

LWJGL: 2.9.4

OpenGL: GeForce 8400 GS/PCIe/SSE2 GL version 3.3.0, NVIDIA Corporation

GL Caps: Using GL 1.3 multitexturing.

Using GL 1.3 texture combiners.

Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.

Shaders are available because OpenGL 2.1 is supported.

VBOs are available because OpenGL 1.5 is supported.

 

Using VBOs: No

Is Modded: Definitely; Client brand changed to 'fml,forge'

Type: Client (map_client.txt)

Resource Packs:

Current Language: English (US)

Profiler Position: N/A (disabled)

CPU: 1x AMD Athlon 64 Processor 3000+

[17:16:19] [Client thread/INFO] [sTDOUT/]: [net.minecraft.init.Bootstrap:printToSYSOUT:612]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\szymon\Desktop\FORGE\run\.\crash-reports\crash-2016-04-09_17.16.18-client.txt

 

 

 

 

Main class (HpIndicatorMod):

 

 

package szorniszon.hpindicator;

import net.minecraft.client.Minecraft;
import net.minecraftforge.common.MinecraftForge;

import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.Mod.Instance;

import net.minecraftforge.fml.common.SidedProxy;

import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;

@Mod(modid=HpIndicatorMod.MODID, name=HpIndicatorMod.MODNAME, version=HpIndicatorMod.MODVER) //Tell forge "Oh hey, there's a new mod here to load."
public class HpIndicatorMod //Start the class Declaration
{
    //Set the ID of the mod (Should be lower case).
    public static final String MODID = "hpindicator";
    //Set the "Name" of the mod.
    public static final String MODNAME = "Hp Indicator Mod";
    //Set the version of the mod.
    public static final String MODVER = "0.0.0";

    @Instance(value = HpIndicatorMod.MODID) //Tell Forge what instance to use.
    public static HpIndicatorMod instance;
    
    @SidedProxy(clientSide="szorniszon.hpindicator.ClientProxy", serverSide="szorniszon.hpindicator.CommonProxy")
    public static CommonProxy proxy;
    public static ClientProxy cproxy;
    
    @EventHandler
    public void preInit(FMLPreInitializationEvent event)
    {
    }
       
    @EventHandler
    public void load(FMLInitializationEvent event)
    {
    }
       
    @EventHandler
    public void postInit(FMLPostInitializationEvent event)
    {
    	cproxy.registerEvent();
    }
}

 

 

Link to comment
Share on other sites

That's not how the proxy system works - you make ONE reference to your CommonProxy class in your Main class, and all calls to proxies are run through that instance. FML will create the appropriate proxy type based on the environment at run time.

 

This means that any method you want to call from your ClientProxy needs to exist in the CommonProxy class as well, usually with an empty implementation.

Link to comment
Share on other sites

My CommonProxy class:

 

 

package szorniszon.hpindicator;

import net.minecraft.client.Minecraft;
import net.minecraftforge.common.MinecraftForge;

public class CommonProxy {

public void registerEvent()
{
}

}

 

 

 

 

Main class:

 

 

package szorniszon.hpindicator;

import net.minecraft.client.Minecraft;
import net.minecraftforge.common.MinecraftForge;

import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.Mod.Instance;

import net.minecraftforge.fml.common.SidedProxy;

import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;

@Mod(modid=HpIndicatorMod.MODID, name=HpIndicatorMod.MODNAME, version=HpIndicatorMod.MODVER) //Tell forge "Oh hey, there's a new mod here to load."
public class HpIndicatorMod //Start the class Declaration
{
    //Set the ID of the mod (Should be lower case).
    public static final String MODID = "hpindicator";
    //Set the "Name" of the mod.
    public static final String MODNAME = "Hp Indicator Mod";
    //Set the version of the mod.
    public static final String MODVER = "0.0.0";

    @Instance(value = HpIndicatorMod.MODID) //Tell Forge what instance to use.
    public static HpIndicatorMod instance;
    
    @SidedProxy(clientSide="szorniszon.hpindicator.ClientProxy", serverSide="szorniszon.hpindicator.CommonProxy")
    public static CommonProxy proxy;
    
    @EventHandler
    public void preInit(FMLPreInitializationEvent event)
    {
    }
       
    @EventHandler
    public void load(FMLInitializationEvent event)
    {
    }
       
    @EventHandler
    public void postInit(FMLPostInitializationEvent event)
    {
    	proxy.registerEvent();
    }
}

 

 

 

Everything worked fine (no errors), but still i couldn't notice labels over cows (neares mobs). Any idea what is still wrong?

Link to comment
Share on other sites

I added "System.out.println(str);" in HpIndicator class line 37 (just after definition of str) and got proper console spam but still no label over mob :/ Any idea what's wrong? My guess is that there is something wrong in rendering (i just coppied it all so i don't even know which line does what);

Link to comment
Share on other sites

Managed to do it ;D

 

 

package szorniszon.hpindicator;

import org.lwjgl.opengl.GL11;

import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.WorldRenderer;
import net.minecraftforge.client.event.RenderLivingEvent;
import net.minecraftforge.fml.common.eventhandler.EventPriority;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraft.client.renderer.entity.RenderManager;
import net.minecraft.client.renderer.vertex.DefaultVertexFormats;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.client.gui.FontRenderer;


public class HpIndicator {

Minecraft mc;
public HpIndicator (Minecraft minecraft)
{
	mc=minecraft;
}

@SubscribeEvent(priority=EventPriority.NORMAL)
public void onUpdate(RenderLivingEvent.Post<EntityLivingBase> rle)
{
	RenderManager renderManager = mc.getMinecraft().getRenderManager();
	FontRenderer fontrenderer = renderManager.getFontRenderer();
	EntityLivingBase entityIn = rle.entity;

	String str=entityIn.getName() + " HP: " + (int)entityIn.getHealth()+ "/" + (int)entityIn.getMaxHealth();

	double x=entityIn.posX-mc.thePlayer.posX; double y=entityIn.posY-mc.thePlayer.posY; double z=entityIn.posZ-mc.thePlayer.posZ;

	float f = 1.6F;
        float f1 = 0.016666668F * f;
        
        GlStateManager.pushMatrix();
        GlStateManager.translate((float)x + 0.5F, (float)y + entityIn.height + 0.5F, (float)z + 0.5F);
        GL11.glNormal3f(0.0F, 0.0F, 1.0F);
        GlStateManager.rotate(-renderManager.playerViewY, 0.0F, 1.0F, 0.0F);
        GlStateManager.rotate(renderManager.playerViewX, 1.0F, 0.0F, 0.0F);
        GlStateManager.scale(-f1, -f1, f1);
        GlStateManager.disableLighting();
        GlStateManager.depthMask(false);
        GlStateManager.disableDepth();
        GlStateManager.enableBlend();
        GlStateManager.tryBlendFuncSeparate(770, 771, 1, 0);
        Tessellator tessellator = Tessellator.getInstance();
        WorldRenderer worldrenderer = tessellator.getWorldRenderer();
        
        int j = fontrenderer.getStringWidth(str) / 2;
        
        GlStateManager.disableTexture2D();
        worldrenderer.begin(7, DefaultVertexFormats.POSITION_COLOR);
        worldrenderer.pos((double)(-j - 1), (double)(-1), 0.0D).color(1.0F, 1.0F, 1.0F, 0.0F).endVertex();
        worldrenderer.pos((double)(-j - 1), (double)(, 0.0D).color(1.0F, 1.0F, 1.0F, 0.0F).endVertex();
        worldrenderer.pos((double)(j + 1), (double)(, 0.0D).color(1.0F, 1.0F, 1.0F, 0.0F).endVertex();
        worldrenderer.pos((double)(j + 1), (double)(-1), 0.0D).color(1.0F, 1.0F, 1.0F, 0.0F).endVertex();
        tessellator.draw();
        GlStateManager.enableTexture2D();
        fontrenderer.drawString(str, -fontrenderer.getStringWidth(str) / 2, 0, 553648127);
        GlStateManager.enableDepth();
        GlStateManager.depthMask(true);
        fontrenderer.drawString(str, -fontrenderer.getStringWidth(str) / 2, 0, -1);
        GlStateManager.enableLighting();
        GlStateManager.disableBlend();
        GlStateManager.color(1.0F, 1.0F, 1.0F, 1.0F);
        GlStateManager.popMatrix();
}
}

 

 

 

Now i only need to make it a proper mod jar but this is thing for a different topic.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • They were already updated, and just to double check I even did a cleanup and fresh update from that same page. I'm quite sure drivers are not the problem here. 
    • i tried downloading the drivers but it says no AMD graphics hardware has been detected    
    • Update your AMD/ATI drivers - get the drivers from their website - do not update via system  
    • As the title says i keep on crashing on forge 1.20.1 even without any mods downloaded, i have the latest drivers (nvidia) and vanilla minecraft works perfectly fine for me logs: https://pastebin.com/5UR01yG9
    • Hello everyone, I'm making this post to seek help for my modded block, It's a special block called FrozenBlock supposed to take the place of an old block, then after a set amount of ticks, it's supposed to revert its Block State, Entity, data... to the old block like this :  The problem I have is that the system breaks when handling multi blocks (I tried some fix but none of them worked) :  The bug I have identified is that the function "setOldBlockFields" in the item's "setFrozenBlock" function gets called once for the 1st block of multiblock getting frozen (as it should), but gets called a second time BEFORE creating the first FrozenBlock with the data of the 1st block, hence giving the same data to the two FrozenBlock :   Old Block Fields set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=head] BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@73681674 BlockEntityData : id:"minecraft:bed",x:3,y:-60,z:-6} Old Block Fields set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=foot] BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@6d1aa3da BlockEntityData : {id:"minecraft:bed",x:2,y:-60,z:-6} Frozen Block Entity set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=foot] BlockPos{x=3, y=-60, z=-6} BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@6d1aa3da BlockEntityData : {id:"minecraft:bed",x:2,y:-60,z:-6} Frozen Block Entity set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=foot] BlockPos{x=2, y=-60, z=-6} BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@6d1aa3da BlockEntityData : {id:"minecraft:bed",x:2,y:-60,z:-6} here is the code inside my custom "freeze" item :    @Override     public @NotNull InteractionResult useOn(@NotNull UseOnContext pContext) {         if (!pContext.getLevel().isClientSide() && pContext.getHand() == InteractionHand.MAIN_HAND) {             BlockPos blockPos = pContext.getClickedPos();             BlockPos secondBlockPos = getMultiblockPos(blockPos, pContext.getLevel().getBlockState(blockPos));             if (secondBlockPos != null) {                 createFrozenBlock(pContext, secondBlockPos);             }             createFrozenBlock(pContext, blockPos);             return InteractionResult.SUCCESS;         }         return super.useOn(pContext);     }     public static void createFrozenBlock(UseOnContext pContext, BlockPos blockPos) {         BlockState oldState = pContext.getLevel().getBlockState(blockPos);         BlockEntity oldBlockEntity = oldState.hasBlockEntity() ? pContext.getLevel().getBlockEntity(blockPos) : null;         CompoundTag oldBlockEntityData = oldState.hasBlockEntity() ? oldBlockEntity.serializeNBT() : null;         if (oldBlockEntity != null) {             pContext.getLevel().removeBlockEntity(blockPos);         }         BlockState FrozenBlock = setFrozenBlock(oldState, oldBlockEntity, oldBlockEntityData);         pContext.getLevel().setBlockAndUpdate(blockPos, FrozenBlock);     }     public static BlockState setFrozenBlock(BlockState blockState, @Nullable BlockEntity blockEntity, @Nullable CompoundTag blockEntityData) {         BlockState FrozenBlock = BlockRegister.FROZEN_BLOCK.get().defaultBlockState();         ((FrozenBlock) FrozenBlock.getBlock()).setOldBlockFields(blockState, blockEntity, blockEntityData);         return FrozenBlock;     }  
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.