• S'inscrire
    • Se connecter
    • Recherche
    • Récent
    • Mots-clés
    • Populaire
    • Utilisateurs
    • Groupes

    Résolu Gui

    1.7.x
    1.7.10
    3
    8
    1827
    Charger plus de messages
    • Du plus ancien au plus récent
    • Du plus récent au plus ancien
    • Les plus votés
    Répondre
    • Répondre à l'aide d'un nouveau sujet
    Se connecter pour répondre
    Ce sujet a été supprimé. Seuls les utilisateurs avec les droits d'administration peuvent le voir.
    • Yorwan
      Yorwan dernière édition par

      bonjour j’ai un probleme de gui : lorsque j’ouvre mon Block je crash
      voici la classe :

      package com.mathiasetampes.entreprise.common;
      
      import org.lwjgl.input.Keyboard;
      
      public class GuiDistributeur extends GuiContainer implements IGuiHandler
      {
      private static final ResourceLocation texture = new ResourceLocation(Entreprise.MODID,"textures/gui/container/guiMachineTuto.png");
         private TileEntityDistributeur tileDistributeur;
         private GuiTextField codeTextField;
         private GuiTextField moneyTextField;
         private IInventory playerInv;
      private GuiButton doneBtn;
      
      public GuiDistributeur(InventoryPlayer inventory, TileEntityDistributeur tile)
      {
      super(new ContainerDistributeur( inventory,tile));
             this.tileDistributeur = tile;
             this.playerInv = inventory;
             this.allowUserInput = false;
             this.ySize = 256;
             this.xSize = 256;
      }
      protected void GuiInit()
      {
      super.initGui();
      Keyboard.enableRepeatEvents(true);
      int i = (this.width - this.xSize) / 2;
             int j = (this.height - this.ySize) / 2;
        // this.buttonList.clear();
         this.buttonList.add(this.doneBtn = new GuiButton(0, 106, 100 , 150, 20, I18n.format("gui.done", new Object[0])));
         this.doneBtn.enabled = true;
         this.codeTextField = new GuiTextField(this.fontRendererObj, i + 62, j + 24, 103, 12);
             this.codeTextField.setTextColor(-1);
             this.codeTextField.setDisabledTextColour(-1);
             this.codeTextField.setEnableBackgroundDrawing(false);
             this.codeTextField.setMaxStringLength(40);
      }
      protected void mouseClicked(int par1, int par2, int par3)
         {
             super.mouseClicked(par1, par2, par3);
             this.codeTextField.mouseClicked(par1, par2, par3);
      
         }
      @Override
      protected void drawGuiContainerBackgroundLayer(float partialRenderTick, int x, int y)
      {
      
      GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
             this.mc.getTextureManager().bindTexture(texture);
             int k = (this.width - this.xSize) / 2;
             int l = (this.height - this.ySize) / 2;
             this.drawTexturedModalRect(k, l, 0, 0, this.xSize, this.ySize);
             this.drawTexturedModalRect(0, 0, 176, 14, 100 + 1, 16);
      }
      
      public void drawScreen(int par1, int par2, float par3)
         {
             super.drawScreen(par1, par2, par3);
             GL11.glDisable(GL11.GL_LIGHTING);
             this.codeTextField.drawTextBox();
         }
      
      protected void drawGuiContainerForegroundLayer(int x, int y)
         {
             this.fontRendererObj.drawString(this.playerInv.hasCustomInventoryName() ? this.playerInv.getInventoryName() : I18n.format(this.playerInv.getInventoryName()), 10, this.ySize - 98, 4210752);
         }
      
      @Override
      public Object getServerGuiElement(int ID, EntityPlayer player, World world,
      int x, int y, int z)
      {
      return null;
      }
      
      @Override
      public Object getClientGuiElement(int ID, EntityPlayer player, World world,
      int x, int y, int z)
      {
      return null;
      }
      protected void actionPerformed(GuiButton p_146284_1_)
         {
             if (p_146284_1_.enabled)
             {
                 if (p_146284_1_.id == 0)
                 {
                  System.out.println("lol");
                 }
             }
         }
      }
      

      et le raport d’erreur
      :::

      [java][14:17:40] [main/INFO] [GradleStart]: Extra: []
      [14:17:40] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --accessToken, {REDACTED}, --assetIndex, 1.7.10, --assetsDir, C:/Users/Mat/.gradle/caches/minecraft/assets, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
      [14:17:40] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
      [14:17:40] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
      [14:17:40] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
      [14:17:40] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
      [14:17:40] [main/INFO] [FML]: Forge Mod Loader version 7.10.85.1291 for Minecraft 1.7.10 loading
      [14:17:40] [main/INFO] [FML]: Java is Java HotSpot™ 64-Bit Server VM, version 1.7.0_75, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jdk1.7.0_75\jre
      [14:17:40] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
      [14:17:40] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
      [14:17:40] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
      [14:17:40] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
      [14:17:40] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
      [14:17:40] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
      [14:17:40] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
      [14:17:40] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
      [14:17:40] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
      [14:17:40] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
      [14:17:40] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
      [14:17:41] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
      [14:17:41] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
      [14:17:41] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
      [14:17:42] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
      [14:17:42] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
      [14:17:42] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
      [14:17:42] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
      [14:17:43] [main/INFO]: Setting user: Player531
      [14:17:44] [Client thread/INFO]: LWJGL Version: 2.9.1
      [14:17:44] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
      [14:17:44] [Client thread/INFO] [FML]: MinecraftForge v10.13.2.1291 Initialized
      [14:17:44] [Client thread/INFO] [FML]: Replaced 183 ore recipies
      [14:17:44] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
      [14:17:44] [Client thread/INFO] [FML]: Searching C:\Modding\forge-1.8-11.14.1.1319-src\eclipse\mods for mods
      [14:17:46] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
      [14:17:47] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, entreprise] at CLIENT
      [14:17:47] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, entreprise] at SERVER
      [14:17:47] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Entreprise
      [14:17:47] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
      [14:17:47] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
      [14:17:47] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
      [14:17:47] [Client thread/INFO] [FML]: Applying holder lookups
      [14:17:47] [Client thread/INFO] [FML]: Holder lookups applied
      [14:17:47] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
      [14:17:47] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
      [14:17:47] [Thread-6/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
      [14:17:47] [Thread-6/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
      AL lib: (EE) DoReset: Audio client returned buffer_len < period2; expect break up
      [14:17:47] [Thread-6/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
      [14:17:48] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
      [14:17:48] [Sound Library Loader/INFO]: Sound engine started
      [14:17:48] [Client thread/ERROR]: Using missing texture, unable to load entreprise:textures/blocks/REd.png
      java.io.FileNotFoundException: entreprise:textures/blocks/REd.png
      at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:65) ~[FallbackResourceManager.class:?]
      at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[SimpleReloadableResourceManager.class:?]
      at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:126) [TextureMap.class:?]
      at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:91) [TextureMap.class:?]
      at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) [TextureManager.class:?]
      at net.minecraft.client.renderer.texture.TextureManager.loadTickableTexture(TextureManager.java:71) [TextureManager.class:?]
      at net.minecraft.client.renderer.texture.TextureManager.loadTextureMap(TextureManager.java:58) [TextureManager.class:?]
      at net.minecraft.client.Minecraft.startGame(Minecraft.java:582) [Minecraft.class:?]
      at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?]
      at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_75]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_75]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_75]
      at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_75]
      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(Unknown Source) [start/:?]
      at GradleStart.main(Unknown Source) [start/:?]
      [14:17:48] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
      [14:17:48] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/items/MISSING_ICON_ITEM_4096_monney.png
      java.io.FileNotFoundException: minecraft:textures/items/MISSING_ICON_ITEM_4096_monney.png
      at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:65) ~[FallbackResourceManager.class:?]
      at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[SimpleReloadableResourceManager.class:?]
      at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:126) [TextureMap.class:?]
      at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:91) [TextureMap.class:?]
      at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) [TextureManager.class:?]
      at net.minecraft.client.renderer.texture.TextureManager.loadTickableTexture(TextureManager.java:71) [TextureManager.class:?]
      at net.minecraft.client.renderer.texture.TextureManager.loadTextureMap(TextureManager.java:58) [TextureManager.class:?]
      at net.minecraft.client.Minecraft.startGame(Minecraft.java:583) [Minecraft.class:?]
      at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?]
      at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_75]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_75]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_75]
      at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_75]
      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(Unknown Source) [start/:?]
      at GradleStart.main(Unknown Source) [start/:?]
      [14:17:48] [Client thread/INFO]: Created: 256x256 textures/items-atlas
      [14:17:49] [Client thread/INFO] [STDOUT]: [com.mathiasetampes.entreprise.proxy.ClientProxy:registerRender:8]: méthode côté client
      [14:17:49] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
      [14:17:49] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Entreprise
      [14:17:49] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/items/MISSING_ICON_ITEM_4096_monney.png
      java.io.FileNotFoundException: minecraft:textures/items/MISSING_ICON_ITEM_4096_monney.png
      at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:65) ~[FallbackResourceManager.class:?]
      at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[SimpleReloadableResourceManager.class:?]
      at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:126) [TextureMap.class:?]
      at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:91) [TextureMap.class:?]
      at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) [TextureManager.class:?]
      at net.minecraft.client.renderer.texture.TextureManager.onResourceManagerReload(TextureManager.java:170) [TextureManager.class:?]
      at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:134) [SimpleReloadableResourceManager.class:?]
      at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:118) [SimpleReloadableResourceManager.class:?]
      at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:643) [Minecraft.class:?]
      at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?]
      at net.minecraft.client.Minecraft.startGame(Minecraft.java:586) [Minecraft.class:?]
      at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?]
      at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_75]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_75]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_75]
      at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_75]
      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(Unknown Source) [start/:?]
      at GradleStart.main(Unknown Source) [start/:?]
      [14:17:49] [Client thread/INFO]: Created: 256x256 textures/items-atlas
      [14:17:49] [Client thread/ERROR]: Using missing texture, unable to load entreprise:textures/blocks/REd.png
      java.io.FileNotFoundException: entreprise:textures/blocks/REd.png
      at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:65) ~[FallbackResourceManager.class:?]
      at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[SimpleReloadableResourceManager.class:?]
      at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:126) [TextureMap.class:?]
      at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:91) [TextureMap.class:?]
      at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) [TextureManager.class:?]
      at net.minecraft.client.renderer.texture.TextureManager.onResourceManagerReload(TextureManager.java:170) [TextureManager.class:?]
      at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:134) [SimpleReloadableResourceManager.class:?]
      at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:118) [SimpleReloadableResourceManager.class:?]
      at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:643) [Minecraft.class:?]
      at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?]
      at net.minecraft.client.Minecraft.startGame(Minecraft.java:586) [Minecraft.class:?]
      at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?]
      at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_75]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_75]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_75]
      at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_75]
      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(Unknown Source) [start/:?]
      at GradleStart.main(Unknown Source) [start/:?]
      [14:17:49] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
      [14:17:49] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
      [14:17:49] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down…
      [14:17:49] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]:     Author: Paul Lamb, www.paulscode.com
      [14:17:49] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
      [14:17:49] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
      [14:17:49] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
      [14:17:49] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
      [14:17:49] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
      AL lib: (EE) DoReset: Audio client returned buffer_len < period
      2; expect break up
      [14:17:49] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
      [14:17:50] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
      [14:17:50] [Sound Library Loader/INFO]: Sound engine started
      [14:17:53] [Server thread/INFO]: Starting integrated minecraft server version 1.7.10
      [14:17:53] [Server thread/INFO]: Generating keypair
      [14:17:53] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance
      [14:17:53] [Server thread/INFO] [FML]: Applying holder lookups
      [14:17:53] [Server thread/INFO] [FML]: Holder lookups applied
      [14:17:53] [Server thread/INFO] [FML]: Loading dimension 0 (Entreprise) (net.minecraft.server.integrated.IntegratedServer@566e7c73)
      [14:17:53] [Server thread/INFO] [FML]: Loading dimension 1 (Entreprise) (net.minecraft.server.integrated.IntegratedServer@566e7c73)
      [14:17:53] [Server thread/INFO] [FML]: Loading dimension -1 (Entreprise) (net.minecraft.server.integrated.IntegratedServer@566e7c73)
      [14:17:53] [Server thread/INFO]: Preparing start region for level 0
      [14:17:54] [Server thread/INFO]: Changing view distance to 12, from 10
      [14:17:55] [Netty Client IO #0/INFO] [FML]: Server protocol version 1
      [14:17:55] [Netty IO #1/INFO] [FML]: Client protocol version 1
      [14:17:55] [Netty IO #1/INFO] [FML]: Client attempting to join with 4 mods : mcp@9.05,FML@7.10.85.1291,Forge@10.13.2.1291,entreprise@1.0.0
      [14:17:55] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT
      [14:17:55] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER
      [14:17:55] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established
      [14:17:55] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
      [14:17:55] [Server thread/INFO]: Player531[local:E:57202efd] logged in with entity id 405 at (-156.30265184049708, 66.0, 261.99814989324625)
      [14:17:55] [Server thread/INFO]: Player531 a rejoint la partie
      [14:17:55] [Server thread/INFO]: Saving and pausing game…
      [14:17:55] [Server thread/INFO]: Saving chunks for level ‘Entreprise’/Overworld
      [14:17:55] [Server thread/INFO]: Saving chunks for level ‘Entreprise’/Nether
      [14:17:55] [Server thread/INFO]: Saving chunks for level ‘Entreprise’/The End
      [14:18:00] [Server thread/INFO]: Stopping server
      [14:18:00] [Server thread/INFO]: Saving players
      [14:18:00] [Server thread/INFO]: Saving worlds
      [14:18:00] [Server thread/INFO]: Saving chunks for level ‘Entreprise’/Overworld
      [14:18:00] [Server thread/INFO]: Saving chunks for level ‘Entreprise’/Nether
      [14:18:00] [Server thread/INFO]: Saving chunks for level ‘Entreprise’/The End
      [14:18:00] [Server thread/INFO] [FML]: Unloading dimension 0
      [14:18:00] [Server thread/INFO] [FML]: Unloading dimension -1
      [14:18:00] [Server thread/INFO] [FML]: Unloading dimension 1
      [14:18:00] [Server thread/INFO] [FML]: Applying holder lookups
      [14:18:00] [Server thread/INFO] [FML]: Holder lookups applied
      [14:18:01] [Client thread/FATAL]: Reported exception thrown!
      net.minecraft.util.ReportedException: Rendering screen
      at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1168) ~[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_75]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_75]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_75]
      at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_75]
      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(Unknown Source) [start/:?]
      at GradleStart.main(Unknown Source) [start/:?]
      Caused by: java.lang.NullPointerException
      at com.mathiasetampes.entreprise.common.GuiDistributeur.drawScreen(GuiDistributeur.java:73) ~[GuiDistributeur.class:?]
      at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1137) ~[EntityRenderer.class:?]
      … 11 more
      [14:18:01] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: –-- Minecraft Crash Report ----
      // I bet Cylons wouldn’t have this problem.

      Time: 11/05/15 14:18
      Description: Rendering screen

      java.lang.NullPointerException: Rendering screen
      at com.mathiasetampes.entreprise.common.GuiDistributeur.drawScreen(GuiDistributeur.java:73)
      at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1137)
      at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1056)
      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(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
      at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
      at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
      at GradleStart.main(Unknown Source)

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

      – Head –
      Stacktrace:
      at com.mathiasetampes.entreprise.common.GuiDistributeur.drawScreen(GuiDistributeur.java:73)

      – Screen render details –
      Details:
      Screen name: com.mathiasetampes.entreprise.common.GuiDistributeur
      Mouse location: Scaled: (213, 119). Absolute: (427, 240)
      Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2

      – Affected level –
      Details:
      Level name: MpServer
      All players: 1 total; [EntityClientPlayerMP[‘Player531’/405, l=‘MpServer’, x=-156,30, y=67,62, z=262,00]]
      Chunk stats: MultiplayerChunkCache: 345, 345
      Level seed: 0
      Level generator: ID 00 - default, ver 1. Features enabled: false
      Level generator options:
      Level spawn location: World: (-148,64,252), Chunk: (at 12,4,12 in -10,15; contains blocks -160,0,240 to -145,255,255), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
      Level time: 14912 game time, 14912 day time
      Level dimension: 0
      Level storage version: 0x00000 - Unknown?
      Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
      Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
      Forced entities: 95 total; [EntityBat[‘Chauve-souris’/137, l=‘MpServer’, x=-180,41, y=25,10, z=244,59], EntityChicken[‘Poule’/136, l=‘MpServer’, x=-183,44, y=68,00, z=192,47], EntityBat[‘Chauve-souris’/139, l=‘MpServer’, x=-178,75, y=21,10, z=268,50], EntitySpider[‘Araignée’/138, l=‘MpServer’, x=-178,14, y=20,27, z=265,07], EntityCreeper[‘Creeper’/141, l=‘MpServer’, x=-191,53, y=18,00, z=297,69], EntityBat[‘Chauve-souris’/140, l=‘MpServer’, x=-177,34, y=24,10, z=266,06], EntityCreeper[‘Creeper’/143, l=‘MpServer’, x=-189,44, y=38,00, z=287,82], EntityBat[‘Chauve-souris’/142, l=‘MpServer’, x=-176,41, y=25,10, z=302,22], EntitySkeleton[‘Squelette’/129, l=‘MpServer’, x=-180,66, y=13,00, z=198,06], EntityZombie[‘Zombie’/128, l=‘MpServer’, x=-186,53, y=13,00, z=186,06], EntityZombie[‘Zombie’/282, l=‘MpServer’, x=-94,00, y=21,00, z=215,44], EntitySkeleton[‘Squelette’/281, l=‘MpServer’, x=-85,88, y=58,00, z=188,56], EntityCreeper[‘Creeper’/131, l=‘MpServer’, x=-181,38, y=13,00, z=199,00], EntitySkeleton[‘Squelette’/280, l=‘MpServer’, x=-85,96, y=59,00, z=186,56], EntitySkeleton[‘Squelette’/130, l=‘MpServer’, x=-190,13, y=14,00, z=204,50], EntityZombie[‘Zombie’/133, l=‘MpServer’, x=-187,53, y=26,00, z=195,03], EntityBat[‘Chauve-souris’/132, l=‘MpServer’, x=-187,41, y=16,10, z=205,06], EntityChicken[‘Poule’/135, l=‘MpServer’, x=-180,69, y=68,00, z=203,53], EntityChicken[‘Poule’/134, l=‘MpServer’, x=-183,53, y=63,00, z=194,56], EntitySheep[‘Mouton’/263, l=‘MpServer’, x=-100,50, y=66,00, z=192,34], EntityZombie[‘Zombie’/266, l=‘MpServer’, x=-110,00, y=50,00, z=273,66], EntityCow[‘Vache’/144, l=‘MpServer’, x=-188,19, y=67,00, z=297,66], EntityZombie[‘Zombie’/267, l=‘MpServer’, x=-108,50, y=23,00, z=289,06], EntityZombie[‘Zombie’/145, l=‘MpServer’, x=-191,53, y=20,00, z=307,94], EntityZombie[‘Zombie’/264, l=‘MpServer’, x=-105,31, y=22,00, z=279,31], EntityCreeper[‘Creeper’/146, l=‘MpServer’, x=-178,30, y=11,02, z=327,30], EntitySpider[‘Araignée’/265, l=‘MpServer’, x=-104,66, y=52,00, z=280,03], EntityCreeper[‘Creeper’/270, l=‘MpServer’, x=-100,06, y=43,00, z=330,25], EntityCreeper[‘Creeper’/271, l=‘MpServer’, x=-111,25, y=45,00, z=334,84], EntityZombie[‘Zombie’/268, l=‘MpServer’, x=-106,58, y=51,66, z=289,92], EntitySkeleton[‘Squelette’/269, l=‘MpServer’, x=-111,41, y=41,00, z=319,50], EntitySheep[‘Mouton’/171, l=‘MpServer’, x=-163,47, y=73,00, z=319,47], EntitySkeleton[‘Squelette’/170, l=‘MpServer’, x=-166,00, y=18,00, z=316,28], EntityCreeper[‘Creeper’/169, l=‘MpServer’, x=-168,59, y=30,00, z=309,00], EntityZombie[‘Zombie’/168, l=‘MpServer’, x=-175,22, y=25,00, z=310,31], EntityBat[‘Chauve-souris’/309, l=‘MpServer’, x=-79,25, y=45,10, z=321,75], EntitySheep[‘Mouton’/172, l=‘MpServer’, x=-168,47, y=69,00, z=307,38], EntityCow[‘Vache’/163, l=‘MpServer’, x=-175,94, y=68,00, z=286,16], EntityChicken[‘Poule’/162, l=‘MpServer’, x=-165,73, y=63,55, z=226,52], EntitySkeleton[‘Squelette’/161, l=‘MpServer’, x=-170,44, y=24,00, z=200,94], EntityBat[‘Chauve-souris’/160, l=‘MpServer’, x=-164,31, y=27,10, z=202,44], EntityCow[‘Vache’/167, l=‘MpServer’, x=-174,19, y=69,00, z=301,06], EntitySheep[‘Mouton’/166, l=‘MpServer’, x=-172,81, y=73,00, z=300,66], EntitySkeleton[‘Squelette’/165, l=‘MpServer’, x=-171,50, y=32,00, z=293,72], EntityZombie[‘Zombie’/164, l=‘MpServer’, x=-172,00, y=20,00, z=303,56], EntityCreeper[‘Creeper’/186, l=‘MpServer’, x=-148,91, y=34,00, z=201,25], EntityZombie[‘Zombie’/187, l=‘MpServer’, x=-148,94, y=34,00, z=198,59], EntityClientPlayerMP[‘Player531’/405, l=‘MpServer’, x=-156,30, y=67,62, z=262,00], EntityCreeper[‘Creeper’/190, l=‘MpServer’, x=-144,16, y=28,00, z=340,91], EntityCreeper[‘Creeper’/188, l=‘MpServer’, x=-147,00, y=35,00, z=202,44], EntityZombie[‘Zombie’/189, l=‘MpServer’, x=-156,84, y=21,00, z=336,22], EntityChicken[‘Poule’/79, l=‘MpServer’, x=-235,88, y=71,00, z=256,53], EntityEnderman[‘Enderman’/220, l=‘MpServer’, x=-141,34, y=32,00, z=330,25], EntityCow[‘Vache’/84, l=‘MpServer’, x=-230,53, y=75,00, z=308,53], EntitySheep[‘Mouton’/221, l=‘MpServer’, x=-142,39, y=72,00, z=324,07], EntityChicken[‘Poule’/87, l=‘MpServer’, x=-208,41, y=63,00, z=241,47], EntityCow[‘Vache’/81, l=‘MpServer’, x=-236,38, y=73,00, z=301,50], EntityEnderman[‘Enderman’/216, l=‘MpServer’, x=-135,03, y=44,33, z=299,93], EntityChicken[‘Poule’/80, l=‘MpServer’, x=-236,47, y=77,00, z=266,78], EntitySkeleton[‘Squelette’/217, l=‘MpServer’, x=-143,41, y=38,00, z=289,69], EntityCow[‘Vache’/83, l=‘MpServer’, x=-226,63, y=72,00, z=291,25], EntityZombie[‘Zombie’/218, l=‘MpServer’, x=-133,30, y=35,00, z=293,41], EntityChicken[‘Poule’/82, l=‘MpServer’, x=-227,72, y=72,00, z=290,91], EntityBat[‘Chauve-souris’/219, l=‘MpServer’, x=-131,25, y=14,10, z=328,75], EntityZombie[‘Zombie’/213, l=‘MpServer’, x=-138,45, y=13,00, z=191,34], EntityCow[‘Vache’/92, l=‘MpServer’, x=-213,50, y=70,00, z=332,72], EntityZombie[‘Zombie’/214, l=‘MpServer’, x=-136,03, y=13,00, z=190,53], EntitySkeleton[‘Squelette’/215, l=‘MpServer’, x=-130,70, y=18,00, z=193,30], EntityCow[‘Vache’/89, l=‘MpServer’, x=-221,72, y=68,00, z=274,25], EntityChicken[‘Poule’/88, l=‘MpServer’, x=-215,03, y=66,00, z=275,84], EntityCow[‘Vache’/91, l=‘MpServer’, x=-218,44, y=73,00, z=306,63], EntityChicken[‘Poule’/90, l=‘MpServer’, x=-216,75, y=70,00, z=300,47], EntityBat[‘Chauve-souris’/239, l=‘MpServer’, x=-114,25, y=49,10, z=325,47], EntityCreeper[‘Creeper’/103, l=‘MpServer’, x=-195,84, y=13,00, z=196,50], EntityBat[‘Chauve-souris’/238, l=‘MpServer’, x=-115,38, y=48,10, z=318,75], EntityCreeper[‘Creeper’/237, l=‘MpServer’, x=-119,50, y=27,00, z=311,00], EntitySkeleton[‘Squelette’/101, l=‘MpServer’, x=-194,66, y=12,00, z=190,69], EntitySheep[‘Mouton’/236, l=‘MpServer’, x=-127,64, y=64,00, z=191,51], EntitySkeleton[‘Squelette’/235, l=‘MpServer’, x=-126,30, y=18,00, z=193,76], EntitySheep[‘Mouton’/234, l=‘MpServer’, x=-117,06, y=63,00, z=189,61], EntitySheep[‘Mouton’/233, l=‘MpServer’, x=-121,50, y=63,69, z=187,56], EntitySpider[‘Araignée’/232, l=‘MpServer’, x=-118,28, y=20,39, z=188,96], EntityZombie[‘Zombie’/110, l=‘MpServer’, x=-203,22, y=14,00, z=302,47], EntityZombie[‘Zombie’/111, l=‘MpServer’, x=-198,22, y=18,00, z=299,28], EntityChicken[‘Poule’/108, l=‘MpServer’, x=-201,16, y=64,00, z=282,51], EntityCow[‘Vache’/109, l=‘MpServer’, x=-196,84, y=64,00, z=279,16], EntityChicken[‘Poule’/106, l=‘MpServer’, x=-208,78, y=65,00, z=255,45], EntityCreeper[‘Creeper’/107, l=‘MpServer’, x=-196,17, y=22,00, z=281,43], EntitySpider[‘Araignée’/104, l=‘MpServer’, x=-193,81, y=13,00, z=201,56], EntityChicken[‘Poule’/105, l=‘MpServer’, x=-199,69, y=62,37, z=218,53], EntityCreeper[‘Creeper’/116, l=‘MpServer’, x=-204,63, y=16,00, z=338,50], EntityCow[‘Vache’/115, l=‘MpServer’, x=-207,50, y=69,00, z=330,72], EntityCow[‘Vache’/114, l=‘MpServer’, x=-207,53, y=70,00, z=329,47], EntityCow[‘Vache’/113, l=‘MpServer’, x=-204,31, y=74,00, z=329,50], EntityChicken[‘Poule’/112, l=‘MpServer’, x=-203,25, y=66,00, z=294,75]]
      Retry entities: 0 total; []
      Server brand: fml,forge
      Server type: Integrated singleplayer server
      Stacktrace:
      at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:415)
      at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2555)
      at net.minecraft.client.Minecraft.run(Minecraft.java:973)
      at net.minecraft.client.main.Main.main(Main.java:164)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
      at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
      at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
      at GradleStart.main(Unknown Source)

      – System Details –
      Details:
      Minecraft Version: 1.7.10
      Operating System: Windows 8.1 (amd64) version 6.3
      Java Version: 1.7.0_75, Oracle Corporation
      Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
      Memory: 823947464 bytes (785 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 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: 12, tallocated: 94
      FML: MCP v9.05 FML v7.10.85.1291 Minecraft Forge 10.13.2.1291 4 mods loaded, 4 mods active
      mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
      FML{7.10.85.1291} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1291.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
      Forge{10.13.2.1291} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1291.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
      entreprise{1.0.0} [Entreprise] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
      Launched Version: 1.7.10
      LWJGL: 2.9.1
      OpenGL: Intel® HD Graphics 4000 GL version 4.0.0 - Build 10.18.10.3308, Intel
      GL Caps: Using GL 1.3 multitexturing.
      Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
      Anisotropic filtering is supported and maximum anisotropy is 16.
      Shaders are available because OpenGL 2.1 is supported.

      Is Modded: Definitely; Client brand changed to ‘fml,forge’
      Type: Client (map_client.txt)
      Resource Packs: []
      Current Language: Français (France)
      Profiler Position: N/A (disabled)
      Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
      Anisotropic Filtering: Off (1)
      [14:18:01] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:398]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Modding\forge-1.8-11.14.1.1319-src\eclipse.\crash-reports\crash-2015-05-11_14.18.01-client.txt
      AL lib: (EE) alc_cleanup: 1 device not closed
      :::

      merci de vos reponse

      1 réponse Dernière réponse Répondre Citer 0
      • robin4002
        robin4002 Moddeurs confirmés Rédacteurs Administrateurs dernière édition par

        java.lang.NullPointerException: Rendering screen
        at com.mathiasetampes.entreprise.common.GuiDistributeur.drawScreen(GuiDistributeur.java:73)

        Pourquoi ton gui est implements IGuiHandler ???!

        1 réponse Dernière réponse Répondre Citer 0
        • Yorwan
          Yorwan dernière édition par

          heu ? parceque je suis idiot ? mais l’enlever ne regler absolument rien 😢

          1 réponse Dernière réponse Répondre Citer 0
          • robin4002
            robin4002 Moddeurs confirmés Rédacteurs Administrateurs dernière édition par

            Le NullPointerException est sur quel ligne exactement (clic sur le java:quelque chose, ça va surligner la ligne qui crash).

            1 réponse Dernière réponse Répondre Citer 0
            • Yorwan
              Yorwan dernière édition par

              this.codeTextField.drawTextBox();

              1 réponse Dernière réponse Répondre Citer 0
              • SCAREX
                SCAREX dernière édition par

                protected void GuiInit()
                {
                super.initGui();
                Keyboard.enableRepeatEvents(true);
                int i = (this.width - this.xSize) / 2;
                int j = (this.height - this.ySize) / 2;
                // this.buttonList.clear();
                this.buttonList.add(this.doneBtn = new GuiButton(0, 106, 100 , 150, 20, I18n.format("gui.done", new Object[0])));
                this.doneBtn.enabled = true;
                this.codeTextField = new GuiTextField(this.fontRendererObj, i + 62, j + 24, 103, 12);
                this.codeTextField.setTextColor(-1);
                this.codeTextField.setDisabledTextColour(-1);
                this.codeTextField.setEnableBackgroundDrawing(false);
                this.codeTextField.setMaxStringLength(40);
                }
                

                la fonction GuiInit n’existe pas (NOTE : une fonction qui commence par une majuscule est un non-respect de la convention java)

                Site web contenant mes scripts : http://SCAREXgaming.github.io

                Pas de demandes de support par MP ni par skype SVP.
                Je n'accepte sur skype que l…

                1 réponse Dernière réponse Répondre Citer 0
                • Yorwan
                  Yorwan dernière édition par

                  a ok c’est initGui qui existe du coup maintenant çà devrai marcher 😄

                  1 réponse Dernière réponse Répondre Citer 0
                  • robin4002
                    robin4002 Moddeurs confirmés Rédacteurs Administrateurs dernière édition par

                    En effet, comme ta fonction n’était pas appelé codeTextField restait null.
                    Pense à la balise résolu.

                    1 réponse Dernière réponse Répondre Citer 0
                    • 1 / 1
                    • Premier message
                      Dernier message
                    Design by Woryk
                    Contact / Mentions Légales

                    MINECRAFT FORGE FRANCE © 2018

                    Powered by NodeBB