Quelques problème avec mon mods
-
[font=helvetica, arial, sans-serifVersion :][font=helvetica, arial, sans-serif 1.7.10]
[font=helvetica, arial, sans-serifPlatforme ][font=helvetica, arial, sans-serif: FORGE]
[font=helvetica, arial, sans-serifRechercher effectuées : ][font=helvetica, arial, sans-serifGoogle YouTube….][font=helvetica, arial, sans-serifExplication du problème : ][font=helvetica, arial, sans-serifSalut gang, aujourd’hui je vous explique quelque problème que j’ai avec les armures et aussi je cherche des events]
pour modifier le GuiInGame, et le GuiConnectingPour commencer j’ai pas 1 problème mais 2 problème avec les armures le premier problèmes est que lorsque la barre de vie de l’armures est a moitié l’armures se détruit, robin4002 m’a dit que il faudra utilisé la class ISpécialArmor afin réglé se problème quoi mettre dedans, je sais pas
Mon autre problème est que quand je viens pour mettre l’armures sur moi (models) elle n’apparaît pas.
Pour le GUInGame il fait juste pas spawn la class que j’ai modifier
et pour le GuiConnecting j’ai se message d’erreurs.Erreur :
–-- Minecraft Crash Report ---- // You're mean. Time: 14-12-10 09:50 Description: Unexpected error java.lang.NullPointerException: Unexpected error at ca.mathmatboy.axialcraft.GUI.GuiConnectingCustom.<init>(GuiConnectingCustom.java:48) at ca.mathmatboy.axialcraft.common.axialcraftMain.onTickClient(axialcraftMain.java:149) at cpw.mods.fml.common.eventhandler.ASMEventHandler_6_axialcraftMain_onTickClient_ClientTickEvent.invoke(.dynamic) at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:138) at cpw.mods.fml.common.FMLCommonHandler.onPostClientTick(FMLCommonHandler.java:330) at net.minecraft.client.Minecraft.runTick(Minecraft.java:2144) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1028) at net.minecraft.client.Minecraft.run(Minecraft.java:951) at net.minecraft.client.main.Main.main(Main.java:164) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) at GradleStart.main(GradleStart.java:45) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.7.0_71, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 679872488 bytes (648 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v9.05 FML v7.10.85.1240 Minecraft Forge 10.13.2.1240 4 mods loaded, 4 mods active mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available FML{7.10.85.1240} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1240.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available Forge{10.13.2.1240} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1240.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available axialcraft{1.0} [axialcraft] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available Launched Version: 1.7.10 LWJGL: 2.9.1 OpenGL: GeForce GTX 560 Ti/PCIe/SSE2 GL version 4.4.0, NVIDIA Corporation 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: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Packs: [] Current Language: English (US) Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Anisotropic Filtering: Off (1)
Ma class principales :
package ca.mathmatboy.axialcraft.common; import ca.mathmatboy.axialcraft.GUI.GuiConnectingCustom; import ca.mathmatboy.axialcraft.GUI.GuiInGameCustom; import ca.mathmatboy.axialcraft.GUI.GuiInGameMenuCustom; import ca.mathmatboy.axialcraft.GUI.GuiMainMenuCustom; import ca.mathmatboy.axialcraft.items.ItemAxialCraft; import ca.mathmatboy.axialcraft.proxy.CommonProxy; import ca.mathmatboy.axialcraft.register.RegisterItems; import net.minecraft.block.Block; import net.minecraft.client.Minecraft; import net.minecraft.client.entity.AbstractClientPlayer; import net.minecraft.client.gui.Gui; import net.minecraft.client.gui.GuiIngame; import net.minecraft.client.gui.GuiIngameMenu; import net.minecraft.client.gui.GuiMainMenu; import net.minecraft.client.gui.GuiScreen; import net.minecraft.init.Blocks; import net.minecraft.item.Item; import net.minecraft.item.Item.ToolMaterial; import net.minecraft.item.ItemArmor.ArmorMaterial; import cpw.mods.fml.common.FMLCommonHandler; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.eventhandler.SubscribeEvent; import cpw.mods.fml.common.gameevent.TickEvent; import cpw.mods.fml.common.gameevent.TickEvent.Phase; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraftforge.common.util.EnumHelper; import net.minecraft.client.multiplayer.GuiConnecting; @Mod(modid = axialcraftMain.MODID, version = axialcraftMain.VERSION) public class axialcraftMain { public static final String MODID = "axialcraft"; public static final String VERSION = "1.0"; @SidedProxy(clientSide = "ca.mathmatboy.axialcraft.proxy.ClientProxy", serverSide = "ca.mathmatboy.axialcraft.proxy.CommonProxy") public static CommonProxy proxy; /**ToolsMaterial*/ public static ToolMaterial ToolAzurite = EnumHelper.addToolMaterial("ToolAzurite", 3, 1900, 8.0F, 8.0F, 5); public static ToolMaterial ToolRubis = EnumHelper.addToolMaterial("ToolRubis", 3, 1900, 8.0F, 8.0F, 7); public static ToolMaterial ToolPlatine = EnumHelper.addToolMaterial("ToolPlatine", 3, 1900, 8.0F, 8.0F, 7); public static ToolMaterial ToolAlliOrPlatine = EnumHelper.addToolMaterial("ToolAlliOrPlatine", 3, 1900, 8.0F, 8.0F, 7); public static ToolMaterial ToolAxial = EnumHelper.addToolMaterial("ToolAxial", 3, 1900, 8.0F, 8.0F, 7); /**ArmorMaterial*/ public static ArmorMaterial ArmorAzurite = EnumHelper.addArmorMaterial("ArmorAzurite", 45, new int[] { 3, 10, 7, 3 }, 8); public static ArmorMaterial ArmorRubis = EnumHelper.addArmorMaterial("ArmorRubis", 45, new int[] { 3, 10, 7, 3 }, 8); public static ArmorMaterial ArmorPlatine = EnumHelper.addArmorMaterial("ArmorPlatine", 45, new int[] { 3, 10, 7, 3 }, 8); public static ArmorMaterial ArmorAlliOrPlatine = EnumHelper.addArmorMaterial("ArmorAlliOrPlatine", 45, new int[] { 3, 10, 7, 3 }, 8); public static ArmorMaterial ArmorAxial = EnumHelper.addArmorMaterial("ArmorAxial", 45, new int[] { 3, 10, 7, 3 }, 8); /**SECTION ITEMS*/ /**Azurite*/ public static Item azurite_helmet, azurite_chestplate, azurite_leggings, azurite_boots, azurite_pickaxe, azurite_axe, azurite_shovel, azurite_sword, azurite_hoe, azurite_ingot; /**Rubis*/ public static Item rubis_helmet, rubis_chestplate, rubis_leggings, rubis_boots, rubis_pickaxe, rubis_axe, rubis_shovel, rubis_sword, rubis_hoe, rubis_ingot; /**Platine*/ public static Item platine_helmet, platine_chestplate, platine_leggings, platine_boots, platine_pickaxe, platine_axe, platine_shovel, platine_sword, platine_hoe, platine_ingot; /**alliage or platine*/ public static Item alliage_or_platine_helmet, alliage_or_platine_chestplate, alliage_or_platine_leggings, alliage_or_platine_boots, alliage_or_platine_pickaxe, alliage_or_platine_axe, alliage_or_platine_shovel, alliage_or_platine_sword, alliage_or_platine_hoe, alliage_or_platine_ingot; /**axial*/ public static Item axial_helmet, axial_chestplate, axial_leggings, axial_boots, axial_pickaxe, axial_axe, axial_shovel, axial_sword, axial_hoe, axial_ingot; /**Autres*/ public static Item pourdre_platine; /**Perles*/ public static Item Perle_speed, Perle_regeneration, Perle_heal, Perle_fire_resistance, Perle_strength; /**SECTION BLOCK*/ /**Azurite*/ public static Block azurite_block, azurite_ore; /**Rubis*/ public static Block rubis_block, rubis_ore; /**Platine*/ public static Block platine_block, platine_ore; /**alliage or platine*/ public static Block alliage_or_platine_block; /**Axial*/ public static Block axial_block; /**Autres*/ public static Block invisible_Block_admin, pierre_mouvant_block; /**loads Items, Blocks*/ @EventHandler public void preInit(FMLPreInitializationEvent event) { ItemAxialCraft.loadItems(); RegisterItems.loadRegister(); } @EventHandler public void init(FMLInitializationEvent event) { System.out.println("Mods axialCraft is loaded !!"); FMLCommonHandler.instance().bus().register(this); } /**Gui menu*/ @SubscribeEvent @SideOnly(Side.CLIENT) public void onTickClient(TickEvent.ClientTickEvent event) { if(event.phase == Phase.END) { Minecraft mc = Minecraft.getMinecraft(); GuiScreen currentScreen = mc.currentScreen; GuiMainMenuCustom customMenu = new GuiMainMenuCustom(); if(currentScreen instanceof GuiMainMenu && !currentScreen.equals(customMenu)) { mc.displayGuiScreen(customMenu); } } if(event.phase == Phase.END) { Minecraft mc = Minecraft.getMinecraft(); GuiScreen currentScreen = mc.currentScreen; GuiInGameMenuCustom customMenu = new GuiInGameMenuCustom(); if(currentScreen instanceof GuiIngameMenu && !currentScreen.equals(customMenu)) { mc.displayGuiScreen(customMenu); } } if(event.phase == Phase.END) { Minecraft mc = Minecraft.getMinecraft(); Gui currentScreen = mc.currentScreen; Gui customMenu = new GuiInGameCustom(mc); if(currentScreen instanceof GuiIngame && !currentScreen.equals(customMenu)) { mc.displayGuiScreen((GuiScreen) customMenu); } } if(event.phase == Phase.END) { Minecraft mc = Minecraft.getMinecraft(); GuiScreen currentScreen = mc.currentScreen; GuiScreen customMenu = new GuiConnectingCustom(); if(currentScreen instanceof GuiConnecting && !currentScreen.equals(customMenu)) { mc.displayGuiScreen(customMenu); } } } }
La j’ai toutes mis mes outils et mes armures a la même forge car j’ai pas eu temps des changé.
Si vous avez des questions hésitez pas a les postez !</init> -
GuiConnecting -> pourquoi tu veux le modifier ?
GuiInGame -> RenderOverlayEvent
Pour ISpecialArmor, j’ai déjà répondu quelque part sur le fofo.
Pour les textures de ton armures, il faut les logs. -
- Je veux modifier le GuiConnecting en lui ajoutant un background de mon menu du mods
Pour le GuiInGame je fait comment pour RenderOverlayEvent ?
if(event.phase == Phase.END) { Minecraft mc = Minecraft.getMinecraft(); Gui currentScreen = mc.currentScreen; Gui customMenu = new GuiInGameCustom(mc); if(currentScreen instanceof GuiIngame && !currentScreen.equals(customMenu)) { mc.RenderOverlayEvent(customMenu); } }
Les logs :
[12:30:07] [main/INFO] [GradleStart]: username: mathmatboy [12:30:07] [main/INFO] [GradleStart]: Extra: [] [12:30:07] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --username, mathmatboy, --accessToken, {REDACTED}, --assetIndex, 1.7.10, --assetsDir, C:/Users/Mathieu/.gradle/caches/minecraft/assets, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker] [12:30:08] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [12:30:08] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [12:30:08] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker [12:30:08] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [12:30:08] [main/INFO] [FML]: Forge Mod Loader version 7.10.85.1240 for Minecraft 1.7.10 loading [12:30:08] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_71, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre7 [12:30:08] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [12:30:08] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker [12:30:08] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin [12:30:08] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [12:30:08] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [12:30:08] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [12:30:08] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [12:30:08] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [12:30:08] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [12:30:08] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [12:30:09] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [12:30:09] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [12:30:09] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker [12:30:09] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker [12:30:09] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker [12:30:09] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [12:30:10] [main/INFO]: Setting user: mathmatboy [12:30:12] [Client thread/INFO]: LWJGL Version: 2.9.1 [12:30:12] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [12:30:12] [Client thread/INFO] [FML]: MinecraftForge v10.13.2.1240 Initialized [12:30:13] [Client thread/INFO] [FML]: Replaced 182 ore recipies [12:30:13] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [12:30:13] [Client thread/INFO] [FML]: Searching C:\Users\Mathieu\Desktop\forge-1.7.10-10.13.2.1240-src (1)\eclipse\mods for mods [12:30:13] [Client thread/INFO] [axialcraft]: Mod axialcraft is missing the required element 'name'. Substituting axialcraft [12:30:15] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [12:30:16] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, axialcraft] at CLIENT [12:30:16] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, axialcraft] at SERVER [12:30:16] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:axialcraft [12:30:16] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [12:30:16] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations [12:30:16] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [12:30:16] [Client thread/INFO] [FML]: Applying holder lookups [12:30:16] [Client thread/INFO] [FML]: Holder lookups applied [12:30:16] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [12:30:16] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem… [12:30:16] [Thread-6/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL [12:30:16] [Thread-6/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [12:30:16] [Thread-6/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized. [12:30:17] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [12:30:17] [Sound Library Loader/INFO]: Sound engine started [12:30:18] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas [12:30:18] [Client thread/INFO]: Created: 512x256 textures/items-atlas [12:30:18] [Client thread/INFO] [STDOUT]: [ca.mathmatboy.axialcraft.common.axialcraftMain:init:101]: Mods axialCraft is loaded !! [12:30:18] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods [12:30:18] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:axialcraft [12:30:18] [Client thread/INFO]: Created: 512x256 textures/items-atlas [12:30:18] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas [12:30:18] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [12:30:18] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down… [12:30:19] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]: Author: Paul Lamb, www.paulscode.com [12:30:19] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [12:30:19] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [12:30:19] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem… [12:30:19] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL [12:30:19] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [12:30:19] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized. [12:30:19] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [12:30:19] [Sound Library Loader/INFO]: Sound engine started [12:30:20] [Client thread/INFO] [STDOUT]: [ca.mathmatboy.axialcraft.GUI.GuiMainMenuCustom:initGui:56]: initialisation du menu >> By mathmatboy [12:30:20] [Client thread/INFO] [STDOUT]: [ca.mathmatboy.axialcraft.GETInfomation.GetInformation:getInfo:41]: [INFO] Récupération des informations du serveur. [12:30:20] [Thread-11/INFO] [STDOUT]: [ca.mathmatboy.axialcraft.GETInfomation.ThreadGetInformation:getInfo:229]: [12:30:21] [Client thread/INFO] [STDOUT]: [ca.mathmatboy.axialcraft.GUI.GuiMainMenuCustom:initGui:56]: initialisation du menu >> By mathmatboy [12:30:21] [Client thread/INFO] [STDOUT]: [ca.mathmatboy.axialcraft.GETInfomation.GetInformation:getInfo:41]: [INFO] Récupération des informations du serveur. [12:30:21] [Thread-12/INFO] [STDOUT]: [ca.mathmatboy.axialcraft.GETInfomation.ThreadGetInformation:getInfo:229]: [12:30:23] [Client thread/INFO] [STDOUT]: [ca.mathmatboy.axialcraft.GUI.GuiMainMenuCustom:initGui:56]: initialisation du menu >> By mathmatboy [12:30:23] [Client thread/INFO] [STDOUT]: [ca.mathmatboy.axialcraft.GETInfomation.GetInformation:getInfo:41]: [INFO] Récupération des informations du serveur. [12:30:23] [Thread-13/INFO] [STDOUT]: [ca.mathmatboy.axialcraft.GETInfomation.ThreadGetInformation:getInfo:229]: [12:30:25] [Server thread/INFO]: Starting integrated minecraft server version 1.7.10 [12:30:25] [Server thread/INFO]: Generating keypair [12:30:26] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance [12:30:26] [Server thread/INFO] [FML]: Applying holder lookups [12:30:26] [Server thread/INFO] [FML]: Holder lookups applied [12:30:26] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@1983b223) [12:30:26] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@1983b223) [12:30:26] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@1983b223) [12:30:26] [Server thread/INFO]: Preparing start region for level 0 [12:30:27] [Server thread/INFO]: Changing view distance to 12, from 10 [12:30:27] [Client thread/INFO] [STDOUT]: [ca.mathmatboy.axialcraft.GUI.GuiMainMenuCustom:initGui:56]: initialisation du menu >> By mathmatboy [12:30:27] [Client thread/INFO] [STDOUT]: [ca.mathmatboy.axialcraft.GETInfomation.GetInformation:getInfo:41]: [INFO] Récupération des informations du serveur. [12:30:27] [Thread-15/INFO] [STDOUT]: [ca.mathmatboy.axialcraft.GETInfomation.ThreadGetInformation:getInfo:229]: [12:30:27] [Netty Client IO #0/INFO] [FML]: Server protocol version 1 [12:30:27] [Netty IO #1/INFO] [FML]: Client protocol version 1 [12:30:27] [Netty IO #1/INFO] [FML]: Client attempting to join with 4 mods : mcp@9.05,FML@7.10.85.1240,Forge@10.13.2.1240,axialcraft@1.0 [12:30:27] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT [12:30:27] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER [12:30:27] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established [12:30:27] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established [12:30:27] [Server thread/INFO]: mathmatboy[local:E:2d3cf7b5] logged in with entity id 106 at (-42.953962174119425, 90.0, -47.101791516347305) [12:30:27] [Server thread/INFO]: [AXAI] - mathmatboy joined the game [12:30:28] [Server thread/INFO]: Saving and pausing game… [12:30:28] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld [12:30:28] [Server thread/INFO]: Saving chunks for level 'New World'/Nether [12:30:28] [Server thread/INFO]: Saving chunks for level 'New World'/The End [12:30:36] [Client thread/ERROR]: Couldn't render entity java.lang.ArrayIndexOutOfBoundsException: 5 at net.minecraft.client.renderer.entity.RenderBiped.getArmorResource(RenderBiped.java:408) ~[RenderBiped.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass(RenderPlayer.java:70) ~[RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass(RenderPlayer.java:517) ~[RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RendererLivingEntity.doRender(RendererLivingEntity.java:173) [RendererLivingEntity.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:167) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:565) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderManager.func_147939_a(RenderManager.java:300) [RenderManager.class:?] at net.minecraft.client.renderer.entity.RenderManager.renderEntityWithPosYaw(RenderManager.java:283) [RenderManager.class:?] at net.minecraft.client.gui.inventory.GuiInventory.func_147046_a(GuiInventory.java:112) [GuiInventory.class:?] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawGuiContainerBackgroundLayer(GuiContainerCreative.java:839) [GuiContainerCreative.class:?] at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:93) [GuiContainer.class:?] at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:44) [InventoryEffectRenderer.class:?] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawScreen(GuiContainerCreative.java:673) [GuiContainerCreative.class:?] at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1137) [EntityRenderer.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1056) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:951) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?] at GradleStart.main(GradleStart.java:45) [start/:?] [12:30:36] [Client thread/ERROR]: Couldn't render entity java.lang.ArrayIndexOutOfBoundsException: 5 at net.minecraft.client.renderer.entity.RenderBiped.getArmorResource(RenderBiped.java:408) ~[RenderBiped.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass(RenderPlayer.java:70) ~[RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass(RenderPlayer.java:517) ~[RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RendererLivingEntity.doRender(RendererLivingEntity.java:173) [RendererLivingEntity.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:167) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:565) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderManager.func_147939_a(RenderManager.java:300) [RenderManager.class:?] at net.minecraft.client.renderer.entity.RenderManager.renderEntityWithPosYaw(RenderManager.java:283) [RenderManager.class:?] at net.minecraft.client.gui.inventory.GuiInventory.func_147046_a(GuiInventory.java:112) [GuiInventory.class:?] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawGuiContainerBackgroundLayer(GuiContainerCreative.java:839) [GuiContainerCreative.class:?] at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:93) [GuiContainer.class:?] at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:44) [InventoryEffectRenderer.class:?] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawScreen(GuiContainerCreative.java:673) [GuiContainerCreative.class:?] at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1137) [EntityRenderer.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1056) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:951) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?] at GradleStart.main(GradleStart.java:45) [start/:?] [12:30:36] [Client thread/ERROR]: Couldn't render entity java.lang.ArrayIndexOutOfBoundsException: 5 at net.minecraft.client.renderer.entity.RenderBiped.getArmorResource(RenderBiped.java:408) ~[RenderBiped.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass(RenderPlayer.java:70) ~[RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass(RenderPlayer.java:517) ~[RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RendererLivingEntity.doRender(RendererLivingEntity.java:173) [RendererLivingEntity.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:167) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:565) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderManager.func_147939_a(RenderManager.java:300) [RenderManager.class:?] at net.minecraft.client.renderer.entity.RenderManager.renderEntityWithPosYaw(RenderManager.java:283) [RenderManager.class:?] at net.minecraft.client.gui.inventory.GuiInventory.func_147046_a(GuiInventory.java:112) [GuiInventory.class:?] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawGuiContainerBackgroundLayer(GuiContainerCreative.java:839) [GuiContainerCreative.class:?] at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:93) [GuiContainer.class:?] at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:44) [InventoryEffectRenderer.class:?] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawScreen(GuiContainerCreative.java:673) [GuiContainerCreative.class:?] at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1137) [EntityRenderer.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1056) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:951) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?] at GradleStart.main(GradleStart.java:45) [start/:?] [12:30:36] [Client thread/ERROR]: Couldn't render entity java.lang.ArrayIndexOutOfBoundsException: 5 at net.minecraft.client.renderer.entity.RenderBiped.getArmorResource(RenderBiped.java:408) ~[RenderBiped.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass(RenderPlayer.java:70) ~[RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass(RenderPlayer.java:517) ~[RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RendererLivingEntity.doRender(RendererLivingEntity.java:173) [RendererLivingEntity.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:167) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:565) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderManager.func_147939_a(RenderManager.java:300) [RenderManager.class:?] at net.minecraft.client.renderer.entity.RenderManager.renderEntityWithPosYaw(RenderManager.java:283) [RenderManager.class:?] at net.minecraft.client.gui.inventory.GuiInventory.func_147046_a(GuiInventory.java:112) [GuiInventory.class:?] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawGuiContainerBackgroundLayer(GuiContainerCreative.java:839) [GuiContainerCreative.class:?] at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:93) [GuiContainer.class:?] at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:44) [InventoryEffectRenderer.class:?] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawScreen(GuiContainerCreative.java:673) [GuiContainerCreative.class:?] at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1137) [EntityRenderer.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1056) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:951) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?] at GradleStart.main(GradleStart.java:45) [start/:?] [12:30:36] [Client thread/ERROR]: Couldn't render entity java.lang.ArrayIndexOutOfBoundsException: 5 at net.minecraft.client.renderer.entity.RenderBiped.getArmorResource(RenderBiped.java:408) ~[RenderBiped.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass(RenderPlayer.java:70) ~[RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass(RenderPlayer.java:517) ~[RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RendererLivingEntity.doRender(RendererLivingEntity.java:173) [RendererLivingEntity.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:167) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:565) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderManager.func_147939_a(RenderManager.java:300) [RenderManager.class:?] at net.minecraft.client.renderer.entity.RenderManager.renderEntityWithPosYaw(RenderManager.java:283) [RenderManager.class:?] at net.minecraft.client.gui.inventory.GuiInventory.func_147046_a(GuiInventory.java:112) [GuiInventory.class:?] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawGuiContainerBackgroundLayer(GuiContainerCreative.java:839) [GuiContainerCreative.class:?] at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:93) [GuiContainer.class:?] at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:44) [InventoryEffectRenderer.class:?] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawScreen(GuiContainerCreative.java:673) [GuiContainerCreative.class:?] at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1137) [EntityRenderer.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1056) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:951) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?] at GradleStart.main(GradleStart.java:45) [start/:?] [12:30:36] [Client thread/ERROR]: Couldn't render entity java.lang.ArrayIndexOutOfBoundsException: 5 at net.minecraft.client.renderer.entity.RenderBiped.getArmorResource(RenderBiped.java:408) ~[RenderBiped.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass(RenderPlayer.java:70) ~[RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass(RenderPlayer.java:517) ~[RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RendererLivingEntity.doRender(RendererLivingEntity.java:173) [RendererLivingEntity.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:167) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:565) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderManager.func_147939_a(RenderManager.java:300) [RenderManager.class:?] at net.minecraft.client.renderer.entity.RenderManager.renderEntityWithPosYaw(RenderManager.java:283) [RenderManager.class:?] at net.minecraft.client.gui.inventory.GuiInventory.func_147046_a(GuiInventory.java:112) [GuiInventory.class:?] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawGuiContainerBackgroundLayer(GuiContainerCreative.java:839) [GuiContainerCreative.class:?] at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:93) [GuiContainer.class:?] at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:44) [InventoryEffectRenderer.class:?] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawScreen(GuiContainerCreative.java:673) [GuiContainerCreative.class:?] at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1137) [EntityRenderer.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1056) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:951) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?] at GradleStart.main(GradleStart.java:45) [start/:?] [12:30:36] [Client thread/ERROR]: Couldn't render entity java.lang.ArrayIndexOutOfBoundsException: 5 at net.minecraft.client.renderer.entity.RenderBiped.getArmorResource(RenderBiped.java:408) ~[RenderBiped.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass(RenderPlayer.java:70) ~[RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass(RenderPlayer.java:517) ~[RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RendererLivingEntity.doRender(RendererLivingEntity.java:173) [RendererLivingEntity.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:167) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:565) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderManager.func_147939_a(RenderManager.java:300) [RenderManager.class:?] at net.minecraft.client.renderer.entity.RenderManager.renderEntityWithPosYaw(RenderManager.java:283) [RenderManager.class:?] at net.minecraft.client.gui.inventory.GuiInventory.func_147046_a(GuiInventory.java:112) [GuiInventory.class:?] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawGuiContainerBackgroundLayer(GuiContainerCreative.java:839) [GuiContainerCreative.class:?] at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:93) [GuiContainer.class:?] at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:44) [InventoryEffectRenderer.class:?] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawScreen(GuiContainerCreative.java:673) [GuiContainerCreative.class:?] at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1137) [EntityRenderer.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1056) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:951) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?] at GradleStart.main(GradleStart.java:45) [start/:?] [12:30:36] [Client thread/ERROR]: Couldn't render entity java.lang.ArrayIndexOutOfBoundsException: 5 at net.minecraft.client.renderer.entity.RenderBiped.getArmorResource(RenderBiped.java:408) ~[RenderBiped.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass(RenderPlayer.java:70) ~[RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass(RenderPlayer.java:517) ~[RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RendererLivingEntity.doRender(RendererLivingEntity.java:173) [RendererLivingEntity.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:167) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:565) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderManager.func_147939_a(RenderManager.java:300) [RenderManager.class:?] at net.minecraft.client.renderer.entity.RenderManager.renderEntityWithPosYaw(RenderManager.java:283) [RenderManager.class:?] at net.minecraft.client.gui.inventory.GuiInventory.func_147046_a(GuiInventory.java:112) [GuiInventory.class:?] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawGuiContainerBackgroundLayer(GuiContainerCreative.java:839) [GuiContainerCreative.class:?] at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:93) [GuiContainer.class:?] at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:44) [InventoryEffectRenderer.class:?] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawScreen(GuiContainerCreative.java:673) [GuiContainerCreative.class:?] at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1137) [EntityRenderer.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1056) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:951) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?] at GradleStart.main(GradleStart.java:45) [start/:?] [12:30:36] [Client thread/ERROR]: Couldn't render entity java.lang.ArrayIndexOutOfBoundsException: 5 at net.minecraft.client.renderer.entity.RenderBiped.getArmorResource(RenderBiped.java:408) ~[RenderBiped.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass(RenderPlayer.java:70) ~[RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass(RenderPlayer.java:517) ~[RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RendererLivingEntity.doRender(RendererLivingEntity.java:173) [RendererLivingEntity.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:167) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:565) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderManager.func_147939_a(RenderManager.java:300) [RenderManager.class:?] at net.minecraft.client.renderer.entity.RenderManager.renderEntityWithPosYaw(RenderManager.java:283) [RenderManager.class:?] at net.minecraft.client.gui.inventory.GuiInventory.func_147046_a(GuiInventory.java:112) [GuiInventory.class:?] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawGuiContainerBackgroundLayer(GuiContainerCreative.java:839) [GuiContainerCreative.class:?] at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:93) [GuiContainer.class:?] at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:44) [InventoryEffectRenderer.class:?] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawScreen(GuiContainerCreative.java:673) [GuiContainerCreative.class:?] at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1137) [EntityRenderer.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1056) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:951) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?] at GradleStart.main(GradleStart.java:45) [start/:?] [12:30:36] [Client thread/ERROR]: Couldn't render entity java.lang.ArrayIndexOutOfBoundsException: 5 at net.minecraft.client.renderer.entity.RenderBiped.getArmorResource(RenderBiped.java:408) ~[RenderBiped.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass(RenderPlayer.java:70) ~[RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass(RenderPlayer.java:517) ~[RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RendererLivingEntity.doRender(RendererLivingEntity.java:173) [RendererLivingEntity.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:167) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:565) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderManager.func_147939_a(RenderManager.java:300) [RenderManager.class:?] at net.minecraft.client.renderer.entity.RenderManager.renderEntityWithPosYaw(RenderManager.java:283) [RenderManager.class:?] at net.minecraft.client.gui.inventory.GuiInventory.func_147046_a(GuiInventory.java:112) [GuiInventory.class:?] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawGuiContainerBackgroundLayer(GuiContainerCreative.java:839) [GuiContainerCreative.class:?] at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:93) [GuiContainer.class:?] at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:44) [InventoryEffectRenderer.class:?] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawScreen(GuiContainerCreative.java:673) [GuiContainerCreative.class:?] at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1137) [EntityRenderer.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1056) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:951) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?] at GradleStart.main(GradleStart.java:45) [start/:?] [12:30:36] [Client thread/ERROR]: Couldn't render entity java.lang.ArrayIndexOutOfBoundsException: 5 at net.minecraft.client.renderer.entity.RenderBiped.getArmorResource(RenderBiped.java:408) ~[RenderBiped.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass(RenderPlayer.java:70) ~[RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass(RenderPlayer.java:517) ~[RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RendererLivingEntity.doRender(RendererLivingEntity.java:173) [RendererLivingEntity.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:167) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:565) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderManager.func_147939_a(RenderManager.java:300) [RenderManager.class:?] at net.minecraft.client.renderer.entity.RenderManager.renderEntityWithPosYaw(RenderManager.java:283) [RenderManager.class:?] at net.minecraft.client.gui.inventory.GuiInventory.func_147046_a(GuiInventory.java:112) [GuiInventory.class:?] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawGuiContainerBackgroundLayer(GuiContainerCreative.java:839) [GuiContainerCreative.class:?] at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:93) [GuiContainer.class:?] at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:44) [InventoryEffectRenderer.class:?] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawScreen(GuiContainerCreative.java:673) [GuiContainerCreative.class:?] at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1137) [EntityRenderer.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1056) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:951) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?] at GradleStart.main(GradleStart.java:45) [start/:?] [12:30:36] [Client thread/ERROR]: Couldn't render entity java.lang.ArrayIndexOutOfBoundsException: 5 at net.minecraft.client.renderer.entity.RenderBiped.getArmorResource(RenderBiped.java:408) ~[RenderBiped.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass(RenderPlayer.java:70) ~[RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass(RenderPlayer.java:517) ~[RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RendererLivingEntity.doRender(RendererLivingEntity.java:173) [RendererLivingEntity.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:167) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:565) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderManager.func_147939_a(RenderManager.java:300) [RenderManager.class:?] at net.minecraft.client.renderer.entity.RenderManager.renderEntityWithPosYaw(RenderManager.java:283) [RenderManager.class:?] at net.minecraft.client.gui.inventory.GuiInventory.func_147046_a(GuiInventory.java:112) [GuiInventory.class:?] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawGuiContainerBackgroundLayer(GuiContainerCreative.java:839) [GuiContainerCreative.class:?] at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:93) [GuiContainer.class:?] at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:44) [InventoryEffectRenderer.class:?] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawScreen(GuiContainerCreative.java:673) [GuiContainerCreative.class:?] at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1137) [EntityRenderer.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1056) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:951) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?] at GradleStart.main(GradleStart.java:45) [start/:?] [12:30:36] [Client thread/ERROR]: Couldn't render entity java.lang.ArrayIndexOutOfBoundsException: 5 at net.minecraft.client.renderer.entity.RenderBiped.getArmorResource(RenderBiped.java:408) ~[RenderBiped.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass(RenderPlayer.java:70) ~[RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass(RenderPlayer.java:517) ~[RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RendererLivingEntity.doRender(RendererLivingEntity.java:173) [RendererLivingEntity.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:167) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:565) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderManager.func_147939_a(RenderManager.java:300) [RenderManager.class:?] at net.minecraft.client.renderer.entity.RenderManager.renderEntityWithPosYaw(RenderManager.java:283) [RenderManager.class:?] at net.minecraft.client.gui.inventory.GuiInventory.func_147046_a(GuiInventory.java:112) [GuiInventory.class:?] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawGuiContainerBackgroundLayer(GuiContainerCreative.java:839) [GuiContainerCreative.class:?] at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:93) [GuiContainer.class:?] at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:44) [InventoryEffectRenderer.class:?] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawScreen(GuiContainerCreative.java:673) [GuiContainerCreative.class:?] at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1137) [EntityRenderer.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1056) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:951) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?] at GradleStart.main(GradleStart.java:45) [start/:?] [12:30:36] [Client thread/ERROR]: Couldn't render entity java.lang.ArrayIndexOutOfBoundsException: 5 at net.minecraft.client.renderer.entity.RenderBiped.getArmorResource(RenderBiped.java:408) ~[RenderBiped.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass(RenderPlayer.java:70) ~[RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass(RenderPlayer.java:517) ~[RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RendererLivingEntity.doRender(RendererLivingEntity.java:173) [RendererLivingEntity.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:167) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:565) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderManager.func_147939_a(RenderManager.java:300) [RenderManager.class:?] at net.minecraft.client.renderer.entity.RenderManager.renderEntityWithPosYaw(RenderManager.java:283) [RenderManager.class:?] at net.minecraft.client.gui.inventory.GuiInventory.func_147046_a(GuiInventory.java:112) [GuiInventory.class:?] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawGuiContainerBackgroundLayer(GuiContainerCreative.java:839) [GuiContainerCreative.class:?] at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:93) [GuiContainer.class:?] at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:44) [InventoryEffectRenderer.class:?] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawScreen(GuiContainerCreative.java:673) [GuiContainerCreative.class:?] at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1137) [EntityRenderer.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1056) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:951) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?] at GradleStart.main(GradleStart.java:45) [start/:?] [12:30:36] [Client thread/ERROR]: Couldn't render entity java.lang.ArrayIndexOutOfBoundsException: 5 at net.minecraft.client.renderer.entity.RenderBiped.getArmorResource(RenderBiped.java:408) ~[RenderBiped.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass(RenderPlayer.java:70) ~[RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass(RenderPlayer.java:517) ~[RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RendererLivingEntity.doRender(RendererLivingEntity.java:173) [RendererLivingEntity.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:167) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:565) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderManager.func_147939_a(RenderManager.java:300) [RenderManager.class:?] at net.minecraft.client.renderer.entity.RenderManager.renderEntityWithPosYaw(RenderManager.java:283) [RenderManager.class:?] at net.minecraft.client.gui.inventory.GuiInventory.func_147046_a(GuiInventory.java:112) [GuiInventory.class:?] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawGuiContainerBackgroundLayer(GuiContainerCreative.java:839) [GuiContainerCreative.class:?] at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:93) [GuiContainer.class:?] at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:44) [InventoryEffectRenderer.class:?] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawScreen(GuiContainerCreative.java:673) [GuiContainerCreative.class:?] at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1137) [EntityRenderer.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1056) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:951) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?] at GradleStart.main(GradleStart.java:45) [start/:?] [12:30:36] [Client thread/ERROR]: Couldn't render entity java.lang.ArrayIndexOutOfBoundsException: 5 at net.minecraft.client.renderer.entity.RenderBiped.getArmorResource(RenderBiped.java:408) ~[RenderBiped.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass(RenderPlayer.java:70) ~[RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass(RenderPlayer.java:517) ~[RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RendererLivingEntity.doRender(RendererLivingEntity.java:173) [RendererLivingEntity.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:167) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:565) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderManager.func_147939_a(RenderManager.java:300) [RenderManager.class:?] at net.minecraft.client.renderer.entity.RenderManager.renderEntityWithPosYaw(RenderManager.java:283) [RenderManager.class:?] at net.minecraft.client.gui.inventory.GuiInventory.func_147046_a(GuiInventory.java:112) [GuiInventory.class:?] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawGuiContainerBackgroundLayer(GuiContainerCreative.java:839) [GuiContainerCreative.class:?] at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:93) [GuiContainer.class:?] at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:44) [InventoryEffectRenderer.class:?] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawScreen(GuiContainerCreative.java:673) [GuiContainerCreative.class:?] at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1137) [EntityRenderer.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1056) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:951) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?] at GradleStart.main(GradleStart.java:45) [start/:?] [12:30:44] [Server thread/INFO]: Saving and pausing game… [12:30:44] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld [12:30:44] [Server thread/INFO]: Saving chunks for level 'New World'/Nether [12:30:44] [Server thread/INFO]: Saving chunks for level 'New World'/The End [12:30:45] [Server thread/INFO]: Stopping server [12:30:45] [Server thread/INFO]: Saving players [12:30:45] [Server thread/INFO]: Saving worlds [12:30:45] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld [12:30:45] [Server thread/INFO]: Saving chunks for level 'New World'/Nether [12:30:45] [Server thread/INFO]: Saving chunks for level 'New World'/The End [12:30:45] [Server thread/INFO] [FML]: Unloading dimension 0 [12:30:45] [Server thread/INFO] [FML]: Unloading dimension -1 [12:30:45] [Server thread/INFO] [FML]: Unloading dimension 1 [12:30:45] [Server thread/INFO] [FML]: Applying holder lookups [12:30:45] [Server thread/INFO] [FML]: Holder lookups applied [12:30:45] [Client thread/INFO] [STDOUT]: [ca.mathmatboy.axialcraft.GUI.GuiMainMenuCustom:initGui:56]: initialisation du menu >> By mathmatboy [12:30:45] [Client thread/INFO] [STDOUT]: [ca.mathmatboy.axialcraft.GETInfomation.GetInformation:getInfo:41]: [INFO] Récupération des informations du serveur. [12:30:45] [Thread-16/INFO] [STDOUT]: [ca.mathmatboy.axialcraft.GETInfomation.ThreadGetInformation:getInfo:229]: [12:30:46] [Client thread/INFO]: Stopping! [12:30:46] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [12:30:46] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down… [12:30:46] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]: Author: Paul Lamb, www.paulscode.com [12:30:46] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
je sais que c’est un erreurs de RenderBiped mais comment la corriger et d’ou pourquoi sa fonctionne pas…
-
Pour l’armure le problème vient de la déclaration de l’item, tu as mit 5 dedans or ça devrait être 0.
Pour gui connecting je ne crois pas que ça va être possible via un event.
Pour RenderOverlayEvent il y a déjà plusieurs demande d’aide sur le fofo. -
Ok merci pour ton aide mais j’ai un petit problème avec la guiInGame =>
Code :
if(event.phase == Phase.END) { Minecraft mc = Minecraft.getMinecraft(); Gui RenderOverlayEvent = mc.currentScreen; Gui customMenu = new GuiInGameCustom(mc); if(RenderOverlayEvent instanceof GuiIngame && !RenderOverlayEvent.equals(customMenu)) { mc.displayGuiScreen(customMenu); } }
j’ai trouver seulement sa mais sa fonctionne pas.
-
……
Non, ça ne s’utilise pas du tout comme ça. Ce que tu essaye de faire n’est pas bon, il ne faut pas remplacer la classe.Par exemple ici j’ajoute du texte sur le gui : https://github.com/FFMT/nanotech_mod/blob/master/common/fr/mcnanotech/kevin_68/nanotechmod/ultimategravisuite/client/UGSClientEventHandler.java#L76
-
Et si c,est pour changer apparence geore sa que j’ai fait sous MCP
-
@SubscribeEvent public void onRenderOverlay(RenderGameOverlayEvent.Pre event) { if(event.type == RenderGameOverlayEvent.ElementType.DEBUG) { event.setCancel(true); // annule l'affichage normal // à toi de mettre ton code de rendu ici } }
-
problème
Logs :
–-- Minecraft Crash Report ---- // I feel sad now :( Time: 14-12-10 16:03 Description: Initializing game java.lang.NullPointerException: Initializing game at ca.mathmatboy.axialcraft.common.axialcraftMain.<init>(axialcraftMain.java:100) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:173) at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:486) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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 cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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 cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) at cpw.mods.fml.common.Loader.loadMods(Loader.java:492) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:204) at net.minecraft.client.Minecraft.startGame(Minecraft.java:522) at net.minecraft.client.Minecraft.run(Minecraft.java:931) at net.minecraft.client.main.Main.main(Main.java:164) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) at GradleStart.main(GradleStart.java:45) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at ca.mathmatboy.axialcraft.common.axialcraftMain.<init>(axialcraftMain.java:100) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:173) at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:486) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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 cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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 cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) at cpw.mods.fml.common.Loader.loadMods(Loader.java:492) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:204) at net.minecraft.client.Minecraft.startGame(Minecraft.java:522) -- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.run(Minecraft.java:931) at net.minecraft.client.main.Main.main(Main.java:164) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) at GradleStart.main(GradleStart.java:45) -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.7.0_71, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 930330064 bytes (887 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v9.05 FML v7.10.85.1240 Minecraft Forge 10.13.2.1240 4 mods loaded, 4 mods active mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed FML{7.10.85.1240} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1240.jar) Unloaded->Constructed Forge{10.13.2.1240} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1240.jar) Unloaded->Constructed axialcraft{1.0} [axialcraft] (bin) Unloaded->Errored Launched Version: 1.7.10 LWJGL: 2.9.1 OpenGL: GeForce GTX 560 Ti/PCIe/SSE2 GL version 4.4.0, NVIDIA Corporation 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: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Packs: [] Current Language: English (US) Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Anisotropic Filtering: Off (1)
Codes :
package ca.mathmatboy.axialcraft.common; import org.lwjgl.opengl.GL11; import ca.mathmatboy.axialcraft.GUI.GuiInGameCustom; import ca.mathmatboy.axialcraft.GUI.GuiInGameMenuCustom; import ca.mathmatboy.axialcraft.GUI.GuiMainMenuCustom; import ca.mathmatboy.axialcraft.blocks.BlockAxialCraft; import ca.mathmatboy.axialcraft.items.ItemAxialCraft; import ca.mathmatboy.axialcraft.proxy.CommonProxy; import ca.mathmatboy.axialcraft.recipes.CraftingManagerAxial; import ca.mathmatboy.axialcraft.register.RegisterBlocks; import ca.mathmatboy.axialcraft.register.RegisterItems; import net.minecraft.block.Block; import net.minecraft.client.Minecraft; import net.minecraft.client.entity.AbstractClientPlayer; import net.minecraft.client.gui.FontRenderer; import net.minecraft.client.gui.Gui; import net.minecraft.client.gui.GuiIngame; import net.minecraft.client.gui.GuiIngameMenu; import net.minecraft.client.gui.GuiMainMenu; import net.minecraft.client.gui.GuiScreen; import net.minecraft.client.gui.ScaledResolution; import net.minecraft.init.Blocks; import net.minecraft.item.Item; import net.minecraft.item.Item.ToolMaterial; import net.minecraft.item.ItemArmor.ArmorMaterial; import net.minecraft.util.Direction; import net.minecraft.util.MathHelper; import net.minecraft.world.chunk.Chunk; import cpw.mods.fml.common.FMLCommonHandler; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.eventhandler.SubscribeEvent; import cpw.mods.fml.common.gameevent.TickEvent; import cpw.mods.fml.common.gameevent.TickEvent.Phase; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraftforge.client.event.RenderGameOverlayEvent; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.common.util.EnumHelper; import net.minecraft.client.multiplayer.GuiConnecting; @Mod(modid = axialcraftMain.MODID, version = axialcraftMain.VERSION) public class axialcraftMain { public static final String MODID = "axialcraft"; public static final String VERSION = "1.0"; @SidedProxy(clientSide = "ca.mathmatboy.axialcraft.proxy.ClientProxy", serverSide = "ca.mathmatboy.axialcraft.proxy.CommonProxy") public static CommonProxy proxy; /**ToolsMaterial*/ public static ToolMaterial ToolAzurite = EnumHelper.addToolMaterial("ToolAzurite", 3, 1900, 8.0F, 8.0F, 5); public static ToolMaterial ToolRubis = EnumHelper.addToolMaterial("ToolRubis", 3, 1900, 8.0F, 8.0F, 7); public static ToolMaterial ToolPlatine = EnumHelper.addToolMaterial("ToolPlatine", 3, 1900, 8.0F, 8.0F, 7); public static ToolMaterial ToolAlliOrPlatine = EnumHelper.addToolMaterial("ToolAlliOrPlatine", 3, 1900, 8.0F, 8.0F, 7); public static ToolMaterial ToolAxial = EnumHelper.addToolMaterial("ToolAxial", 3, 1900, 8.0F, 8.0F, 7); /**ArmorMaterial*/ public static ArmorMaterial ArmorAzurite = EnumHelper.addArmorMaterial("ArmorAzurite", 45, new int[] { 3, 10, 7, 3 }, 8); public static ArmorMaterial ArmorRubis = EnumHelper.addArmorMaterial("ArmorRubis", 45, new int[] { 3, 10, 7, 3 }, 8); public static ArmorMaterial ArmorPlatine = EnumHelper.addArmorMaterial("ArmorPlatine", 45, new int[] { 3, 10, 7, 3 }, 8); public static ArmorMaterial ArmorAlliOrPlatine = EnumHelper.addArmorMaterial("ArmorAlliOrPlatine", 45, new int[] { 3, 10, 7, 3 }, 8); public static ArmorMaterial ArmorAxial = EnumHelper.addArmorMaterial("ArmorAxial", 45, new int[] { 3, 10, 7, 3 }, 8); /**SECTION ITEMS*/ /**Azurite*/ public static Item azurite_helmet, azurite_chestplate, azurite_leggings, azurite_boots, azurite_pickaxe, azurite_axe, azurite_shovel, azurite_sword, azurite_hoe, azurite_ingot; /**Rubis*/ public static Item rubis_helmet, rubis_chestplate, rubis_leggings, rubis_boots, rubis_pickaxe, rubis_axe, rubis_shovel, rubis_sword, rubis_hoe, rubis_ingot; /**Platine*/ public static Item platine_helmet, platine_chestplate, platine_leggings, platine_boots, platine_pickaxe, platine_axe, platine_shovel, platine_sword, platine_hoe, platine_ingot; /**alliage or platine*/ public static Item alliage_or_platine_helmet, alliage_or_platine_chestplate, alliage_or_platine_leggings, alliage_or_platine_boots, alliage_or_platine_pickaxe, alliage_or_platine_axe, alliage_or_platine_shovel, alliage_or_platine_sword, alliage_or_platine_hoe, alliage_or_platine_ingot; /**axial*/ public static Item axial_helmet, axial_chestplate, axial_leggings, axial_boots, axial_pickaxe, axial_axe, axial_shovel, axial_sword, axial_hoe, axial_ingot; /**Autres*/ public static Item pourdre_platine, pizza, painEpice; /**Perles*/ public static Item Perle_speed, Perle_regeneration, Perle_heal, Perle_fire_resistance, Perle_strength; /**SECTION BLOCK*/ /**Azurite*/ public static Block azurite_block, azurite_ore; /**Rubis*/ public static Block rubis_block, rubis_ore; /**Platine*/ public static Block platine_block, platine_ore; /**alliage or platine*/ public static Block alliage_or_platine_block; /**Axial*/ public static Block axial_block; /**Autres*/ public static Block invisible_Block_admin, pierre_mouvant_block; private Minecraft mc; ScaledResolution scaledresolution = new ScaledResolution(this.mc, this.mc.displayWidth, this.mc.displayHeight); private int var6 = scaledresolution.getScaledWidth(); /**loads Items, Blocks*/ @EventHandler public void preInit(FMLPreInitializationEvent event) { ItemAxialCraft.loadItems(); RegisterItems.loadRegister(); BlockAxialCraft.loadBlock(); RegisterBlocks.loadRegister(); CraftingManagerAxial.loadRecipes(); } @EventHandler public void init(FMLInitializationEvent event) { System.out.println("Mods axialCraft is loaded !!"); FMLCommonHandler.instance().bus().register(this); FMLCommonHandler.instance().bus().register(new PlayerEventHandler()); MinecraftForge.EVENT_BUS.register(new PlayerEventHandler()); } /**Gui menu*/ @SubscribeEvent @SideOnly(Side.CLIENT) public void onTickClient(TickEvent.ClientTickEvent event) { if(event.phase == Phase.END) { Minecraft mc = Minecraft.getMinecraft(); GuiScreen currentScreen = mc.currentScreen; GuiMainMenuCustom customMenu = new GuiMainMenuCustom(); if(currentScreen instanceof GuiMainMenu && !currentScreen.equals(customMenu)) { mc.displayGuiScreen(customMenu); } } if(event.phase == Phase.END) { Minecraft mc = Minecraft.getMinecraft(); GuiScreen currentScreen = mc.currentScreen; GuiInGameMenuCustom customMenu = new GuiInGameMenuCustom(); if(currentScreen instanceof GuiIngameMenu && !currentScreen.equals(customMenu)) { mc.displayGuiScreen(customMenu); } } /** if(event.phase == Phase.END) { Minecraft mc = Minecraft.getMinecraft(); Gui RenderOverlayEvent = mc.currentScreen; Gui customMenu = new GuiInGameCustom(mc); if(RenderOverlayEvent instanceof GuiIngame && !RenderOverlayEvent.equals(customMenu)) { mc.displayGuiScreen(customMenu); } } */ } @SubscribeEvent public void onRenderOverlay(RenderGameOverlayEvent.Pre event) { if(event.type == RenderGameOverlayEvent.ElementType.DEBUG) { event.setCanceled(true); // annule l'affichage normal final Minecraft mc; // à toi de mettre ton code de rendu ici FontRenderer var8 = this.mc.fontRenderer; if (this.mc.gameSettings.showDebugInfo) { this.mc.mcProfiler.startSection("debug"); GL11.glPushMatrix(); var8.drawStringWithShadow("AxialCraft v1.0 (" + this.mc.debug + ")", 2, 2, 16777215); long var38 = Runtime.getRuntime().maxMemory(); long var40 = Runtime.getRuntime().totalMemory(); long var39 = Runtime.getRuntime().freeMemory(); long var46 = var40 - var39; String var20 = "Used memory: " + var46 * 100L / var38 + "% (" + var46 / 1024L / 1024L + "MB) of " + var38 / 1024L / 1024L + "MB"; int var21 = 14737632; this.drawString(var8, var20, var6 - var8.getStringWidth(var20) - 2, 2, 14737632); var20 = "Allocated memory: " + var40 * 100L / var38 + "% (" + var40 / 1024L / 1024L + "MB)"; this.drawString(var8, var20, var6 - var8.getStringWidth(var20) - 2, 12, 14737632); int var22 = MathHelper.floor_double(this.mc.thePlayer.posX); int var23 = MathHelper.floor_double(this.mc.thePlayer.posY); int var24 = MathHelper.floor_double(this.mc.thePlayer.posZ); this.drawString(var8, String.format("Axe X : (%.5f)", new Object[] {Double.valueOf(this.mc.thePlayer.posX), Integer.valueOf(var22), Integer.valueOf(var22 >> 4), Integer.valueOf(var22 & 15)}), 2, 24, 14737632); this.drawString(var8, String.format("Axe Y : (%.3f)", new Object[] {Double.valueOf(this.mc.thePlayer.boundingBox.minY), Double.valueOf(this.mc.thePlayer.posY)}), 2, 32, 14737632); this.drawString(var8, String.format("Axe Z : (%.5f)", new Object[] {Double.valueOf(this.mc.thePlayer.posZ), Integer.valueOf(var24), Integer.valueOf(var24 >> 4), Integer.valueOf(var24 & 15)}), 2, 40, 14737632); int var25 = MathHelper.floor_double((double)(this.mc.thePlayer.rotationYaw * 4.0F / 360.0F) + 0.5D) & 3; this.drawString(var8, "Direction : " + Direction.directions[var25] + "", 2, 60, 14737632); if (this.mc.theWorld != null && this.mc.theWorld.blockExists(var22, var23, var24)) { Chunk var26 = this.mc.theWorld.getChunkFromBlockCoords(var22, var24); this.drawString(var8,"Biome : " + var26.getBiomeGenForWorldCoords(var22 & 15, var24 & 15, this.mc.theWorld.getWorldChunkManager()).biomeName, 2, 72, 14737632); } if (this.mc.entityRenderer != null && this.mc.entityRenderer.isShaderActive()) { this.drawString(var8, String.format("shader: %s", new Object[] {this.mc.entityRenderer.getShaderGroup().getShaderGroupName()}), 2, 112, 14737632); } GL11.glPopMatrix(); this.mc.mcProfiler.endSection(); } else { var8.drawStringWithShadow("(" + this.mc.debug + ")", 2, 2, 16777215); } } } public void drawString(FontRenderer p_73731_1_, String p_73731_2_, int p_73731_3_, int p_73731_4_, int p_73731_5_) { p_73731_1_.drawStringWithShadow(p_73731_2_, p_73731_3_, p_73731_4_, p_73731_5_); } }
j’ai une question, est ce que c,est mieux je créer un nouvelle class car la c’est dans ma class principales</init></init>
-
J’ai refait sa dans une class et j’ai vue l’erreur était a cause du ScaledResolution
package ca.mathmatboy.axialcraft.common; import org.lwjgl.opengl.GL11; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.FontRenderer; import net.minecraft.client.gui.ScaledResolution; import net.minecraft.util.Direction; import net.minecraft.util.MathHelper; import net.minecraft.world.chunk.Chunk; import net.minecraftforge.client.event.RenderGameOverlayEvent; import cpw.mods.fml.common.eventhandler.SubscribeEvent; public class RenderEventGuiInGame { private Minecraft mc; ScaledResolution scaledresolution = new ScaledResolution(this.mc, this.mc.displayWidth, this.mc.displayHeight); // sa l'erreurs int var6 = scaledresolution.getScaledWidth(); int var7 = scaledresolution.getScaledHeight(); @SubscribeEvent public void onRenderOverlay(RenderGameOverlayEvent.Pre event) { if(event.type == RenderGameOverlayEvent.ElementType.DEBUG) { event.setCanceled(true); // annule l'affichage normal { event.setCanceled(true); // annule l'affichage normal final Minecraft mc; // à toi de mettre ton code de rendu ici FontRenderer var8 = this.mc.fontRenderer; if (this.mc.gameSettings.showDebugInfo) { this.mc.mcProfiler.startSection("debug"); GL11.glPushMatrix(); var8.drawStringWithShadow("AxialCraft v1.0 (" + this.mc.debug + ")", 2, 2, 16777215); long var38 = Runtime.getRuntime().maxMemory(); long var40 = Runtime.getRuntime().totalMemory(); long var39 = Runtime.getRuntime().freeMemory(); long var46 = var40 - var39; String var20 = "Used memory: " + var46 * 100L / var38 + "% (" + var46 / 1024L / 1024L + "MB) of " + var38 / 1024L / 1024L + "MB"; int var21 = 14737632; this.drawString(var8, var20, var6 - var8.getStringWidth(var20) - 2, 2, 14737632); var20 = "Allocated memory: " + var40 * 100L / var38 + "% (" + var40 / 1024L / 1024L + "MB)"; this.drawString(var8, var20, var6 - var8.getStringWidth(var20) - 2, 12, 14737632); int var22 = MathHelper.floor_double(this.mc.thePlayer.posX); int var23 = MathHelper.floor_double(this.mc.thePlayer.posY); int var24 = MathHelper.floor_double(this.mc.thePlayer.posZ); this.drawString(var8, String.format("Axe X : (%.5f)", new Object[] {Double.valueOf(this.mc.thePlayer.posX), Integer.valueOf(var22), Integer.valueOf(var22 >> 4), Integer.valueOf(var22 & 15)}), 2, 24, 14737632); this.drawString(var8, String.format("Axe Y : (%.3f)", new Object[] {Double.valueOf(this.mc.thePlayer.boundingBox.minY), Double.valueOf(this.mc.thePlayer.posY)}), 2, 32, 14737632); this.drawString(var8, String.format("Axe Z : (%.5f)", new Object[] {Double.valueOf(this.mc.thePlayer.posZ), Integer.valueOf(var24), Integer.valueOf(var24 >> 4), Integer.valueOf(var24 & 15)}), 2, 40, 14737632); int var25 = MathHelper.floor_double((double)(this.mc.thePlayer.rotationYaw * 4.0F / 360.0F) + 0.5D) & 3; this.drawString(var8, "Direction : " + Direction.directions[var25] + "", 2, 60, 14737632); if (this.mc.theWorld != null && this.mc.theWorld.blockExists(var22, var23, var24)) { Chunk var26 = this.mc.theWorld.getChunkFromBlockCoords(var22, var24); this.drawString(var8,"Biome : " + var26.getBiomeGenForWorldCoords(var22 & 15, var24 & 15, this.mc.theWorld.getWorldChunkManager()).biomeName, 2, 72, 14737632); } if (this.mc.entityRenderer != null && this.mc.entityRenderer.isShaderActive()) { this.drawString(var8, String.format("shader: %s", new Object[] {this.mc.entityRenderer.getShaderGroup().getShaderGroupName()}), 2, 112, 14737632); } GL11.glPopMatrix(); this.mc.mcProfiler.endSection(); } else { var8.drawStringWithShadow("(" + this.mc.debug + ")", 2, 2, 16777215); } } } } public void drawString(FontRenderer p_73731_1_, String p_73731_2_, int p_73731_3_, int p_73731_4_, int p_73731_5_) { p_73731_1_.drawStringWithShadow(p_73731_2_, p_73731_3_, p_73731_4_, p_73731_5_); } }
-
Alors pour commencer, tout le code au dessus de onRenderOverlay tu le vire, tu peux récupérer la résolution avec event.resolution …
Donc tes var6 tu les remplace par event.resolution.getScaledWidth() et les var7 par event.resolution.getScaledHeight()
Ensuite ta variable
final Minecraft mc;
est null. Donc ça va faire crasher.
Met plutôt Minecraft mc = FMLClientHandler.instance().getClient()Et a première vu il n’y a pas d’autres erreurs.
-
Sa fonctionne MERCI !
Il reste les armures maintenant, j’ai regarder pour le ISpecialArmor et j’ai trouver se poste, donc si je comprends je créer une class don son nom est ISpecialArmor ensuite je insert se code =>
@Override public ArmorProperties getProperties(EntityLivingBase player, ItemStack armor, DamageSource source, double damage, int slot) { return new ArmorProperties(priorité, ratio, dégat max); } @Override public int getArmorDisplay(EntityPlayer player, ItemStack armor, int slot) { return nombre de barre d armure; } @Override public void damageArmor(EntityLivingBase entity, ItemStack stack, DamageSource source, int damage, int slot) { //code a éxécuter pour abimer l'armure // stack.damageItem(damage, entity); par exemple }
et après tout est réglé ? ya rien d’autre a faire ?
-
J’ai cette erreur quand je start mon mods sous cauldron…
Version mon mods => forge-1.7.10-10.13.2.1240
cauldron => cauldron-1.7.10-1.1207.01.198-serverCrash :
---- Minecraft Crash Report ---- // Oh - I know what I did wrong! Time: 14-12-10 20:41 Description: Exception in server tick loop cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraft/server/integrated/IntegratedServer at cpw.mods.fml.common.LoadController.transition(LoadController.java:162) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:692) at cpw.mods.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:97) at cpw.mods.fml.common.FMLCommonHandler.onServerStarted(FMLCommonHandler.java:322) at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:280) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:620) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/integrated/IntegratedServer at ca.mathmatboy.axialcraft.common.RenderEventGuiInGame.<init>(RenderEventGuiInGame.java:18) at ca.mathmatboy.axialcraft.common.axialcraftMain.init(axialcraftMain.java:110) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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 cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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 cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:691) ... 5 more Caused by: java.lang.ClassNotFoundException: net.minecraft.server.integrated.IntegratedServer at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:188) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 34 more Caused by: java.lang.RuntimeException: Attempted to load class bsx for invalid side SERVER at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:51) at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:276) at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:174) ... 36 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.7.0_71, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 63088816 bytes (60 MB) / 129761280 bytes (123 MB) up to 1038876672 bytes (990 MB) JVM Flags: 2 total; -Xincgc -Xmx1G AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v9.05 FML v7.10.25.1207 Minecraft Forge 10.13.0.1207 4 mods loaded, 4 mods active mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized FML{7.10.25.1207} [Forge Mod Loader] (minecraft_server_dev.jar) Unloaded->Constructed->Pre-initialized->Initialized Forge{10.13.0.1207} [Minecraft Forge] (minecraft_server_dev.jar) Unloaded->Constructed->Pre-initialized->Initialized axialcraft{1.0} [axialcraft] (axialcraft.jar) Unloaded->Constructed->Pre-initialized->Errored Profiler Position: N/A (disabled) Player Count: 0 / 20; [] Is Modded: Definitely; Server brand changed to 'cauldron,craftbukkit,mcpc,fml,forge' Type: Dedicated Server (map_server.txt) ```</init>
-
Non, tu dois ajouter implements ISpecialArmor à la classe de ton armure.
Pour le crash, tu as enregistré un event client sur le serveur, il faut mettre RenderEventGuiInGame en client side only.
-
Il me dise que j’ai une erreur sur nom ma class il me donne 2 choix, la première est de ajouter abstract a ma class comme ceci =>
public abstract class ArmorAlliOrPlatine extends ItemArmor implements ISpecialArmor {
Ou l’autre choix est d’ajouter sa =>
@Override public ArmorProperties getProperties(EntityLivingBase player, ItemStack armor, DamageSource source, double damage, int slot) { // TODO Auto-generated method stub return null; } @Override public int getArmorDisplay(EntityPlayer player, ItemStack armor, int slot) { // TODO Auto-generated method stub return 0; } @Override public void damageArmor(EntityLivingBase entity, ItemStack stack, DamageSource source, int damage, int slot) { // TODO Auto-generated method stub }
et mon SideOnly client je mes tu au dessus de mon public class ?
et aussi sa FMLCommonHandler.instance().bus().register(new RenderEventGuiInGame());
je sais quoi le register juste sur client (le code)
-
Oui il faut ajouter les méthodes, j’ai expliqué dans l’autre post comment les utiliser.
Pour l’event, tu mets juste un if(event.getSide().isClient()) au dessus et c’est bon.
-
@‘robin4002’:
Oui il faut ajouter les méthodes, j’ai expliqué dans l’autre post comment les utiliser.
Pour l’event, tu mets juste un if(event.getSide().isClient()) au dessus et c’est bon.
Au dessus de quoi le if(event.getSide().isClient()) ?
-
Heureusement qu’on a des tutoriels sur le site …
http://www.minecraftforgefrance.fr/showthread.php?tid=716#classe1 -
Que je suis con…
Je test sa !
-
Normal sa ? sa fonctionne sur mon pc le serveur mes quand je upload sa sur mon FTP sa crash se crash
[18:28:31] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker [18:28:31] [main/INFO]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker [18:28:31] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLServerTweaker [18:28:31] [main/INFO]: Forge Mod Loader version 7.10.25.1207 for Minecraft 1.7.10 loading [18:28:32] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0, running on Linux:amd64:3.12-0.bpo.1-amd64, installed at /opt/jdk1.7.0/jre [18:28:32] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [18:28:32] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [18:28:32] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [18:28:32] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [18:28:32] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [18:28:35] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [18:28:35] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker [18:28:35] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker [18:28:35] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker [18:28:36] [main/INFO]: Launching wrapped minecraft {net.minecraft.server.MinecraftServer} [18:28:42] [main/ERROR]: Unable to launch java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0] at java.lang.reflect.Method.invoke(Method.java:601) ~[?:1.7.0] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0] at java.lang.reflect.Method.invoke(Method.java:601) ~[?:1.7.0] at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:43) [minecraft_server_dev.jar:git-Cauldron-MCPC-Plus-1.7.10-1.1207.01.198] at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:12) [minecraft_server_dev.jar:git-Cauldron-MCPC-Plus-1.7.10-1.1207.01.198] Caused by: java.lang.NoClassDefFoundError: jline/console/ConsoleReader at net.minecraft.server.MinecraftServer.<init>(MinecraftServer.java:261) ~[MinecraftServer.class:?] at net.minecraft.server.dedicated.DedicatedServer.<init>(DedicatedServer.java:69) ~[lt.class:?] at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1684) ~[MinecraftServer.class:?] … 12 more ```</init></init>