1.8 Création d'un mob



  • Coucou,
    Je reviens après une petite absence avec mes questions  😛
    Alors voila j'ai crée un mob ! (Sur le papier) en suivant le tutoriel du forum malheureusement quand je lance le jeu : crash , et oui comme d'habitude (Je suis pas doué) .
    J'ai voulu teste le mob sans texture cela influe t'il sur le crash ?
    Voici le code (A tous les coups c'est écrit en gros caractères mais je comprend pas… Il y'a plein de truc en plus de d'habitude...Mais rien qui me saute au yeux) :
     :::

    [14:58:44] [main/INFO] [GradleStart]: username: onepiecedeath@hotmail.fr
    [14:58:44] [main/INFO] [GradleStart]: Extra: []
    [14:58:44] [main/INFO] [GradleStart]: Password found, attempting login
    [14:58:44] [main/INFO]: Logging in with username & password
    [14:58:45] [main/INFO] [GradleStart]: Login Succesful!
    [14:58:45] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, [], –assetsDir, C:/Users/SCS6/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --userType, mojang, --accessToken, {REDACTED}, --version, 1.8, --uuid, fad4142154044226b116e6c1558184a3, --username, Kriksou, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
    [14:58:45] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [14:58:45] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [14:58:45] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
    [14:58:45] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
    [14:58:45] [main/INFO] [FML]: Forge Mod Loader version 8.99.182.1491 for Minecraft 1.8 loading
    [14:58:45] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_51, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jdk1.8.0_51
    [14:58:45] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
    [14:58:45] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
    [14:58:45] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
    [14:58:45] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
    [14:58:45] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [14:58:45] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [14:58:45] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
    [14:58:45] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [14:58:45] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [14:58:45] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [14:58:46] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
    [14:58:48] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
    [14:58:48] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [14:58:48] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [14:58:48] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
    [14:58:48] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
    [14:58:48] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
    [14:58:48] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
    [14:58:49] [Client thread/INFO]: Setting user: Kriksou
    [14:58:53] [Client thread/INFO]: LWJGL Version: 2.9.1
    [14:58:54] [Client thread/INFO] [STDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:235]: –-- Minecraft Crash Report ----
    // But it works on my machine.
    
    Time: 09/08/15 14:58
    Description: Loading screen debug info
    
    This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR
    
    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------
    
    -- System Details --
    Details:
    Minecraft Version: 1.8
    Operating System: Windows 7 (amd64) version 6.1
    Java Version: 1.8.0_51, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 896645136 bytes (855 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: 
    Loaded coremods (and transformers): 
    GL info: ' Vendor: 'Intel' Version: '2.1.0 - Build 8.15.10.1872' Renderer: 'Intel(R) 4 Series Internal Chipset'
    [14:58:54] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
    [14:58:54] [Client thread/INFO] [FML]: MinecraftForge v11.14.3.1491 Initialized
    [14:58:54] [Client thread/INFO] [FML]: Replaced 204 ore recipies
    [14:58:54] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
    [14:58:54] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
    [14:58:54] [Client thread/INFO] [FML]: Searching C:\Users\SCS6\Downloads\forge-1.8-11.14.3.1491-src\eclipse\mods for mods
    [14:58:58] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
    [14:58:58] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, mod2] at CLIENT
    [14:58:58] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, mod2] at SERVER
    [14:58:58] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Projet2
    [14:58:59] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
    [14:58:59] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations
    [14:58:59] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
    [14:58:59] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
    [14:58:59] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
    [14:58:59] [Client thread/INFO] [FML]: Applying holder lookups
    [14:58:59] [Client thread/INFO] [FML]: Holder lookups applied
    [14:58:59] [Client thread/INFO] [FML]: Injecting itemstacks
    [14:58:59] [Client thread/INFO] [FML]: Itemstack injection complete
    [14:58:59] [Sound Library Loader/INFO]: Starting up SoundSystem…
    [14:59:00] [Thread-9/INFO]: Initializing LWJGL OpenAL
    [14:59:00] [Thread-9/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
    [14:59:00] [Thread-9/INFO]: OpenAL initialized.
    [14:59:00] [Sound Library Loader/INFO]: Sound engine started
    [14:59:03] [Client thread/ERROR] [FML]: Exception loading model mod2:item/LightningGun with loader instance, skipping
    com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unterminated object at line 294 column 7
    at com.google.gson.internal.Streams.parse(Streams.java:56) ~[Streams.class:?]
    at com.google.gson.TreeTypeAdapter.read(TreeTypeAdapter.java:54) ~[TreeTypeAdapter.class:?]
    at com.google.gson.Gson.fromJson(Gson.java:803) ~[Gson.class:?]
    at com.google.gson.Gson.fromJson(Gson.java:741) ~[Gson.class:?]
    at net.minecraft.client.renderer.block.model.ModelBlock.deserialize(ModelBlock.java:47) ~[ModelBlock.class:?]
    at net.minecraft.client.resources.model.ModelBakery.loadModel(ModelBakery.java:269) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.access$800(ModelLoader.java:73) ~[ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader$VanillaLoader.loadModel(ModelLoader.java:650) ~[ModelLoader$VanillaLoader.class:?]
    at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:107) [ModelLoaderRegistry.class:?]
    at net.minecraftforge.client.model.ModelLoader.loadAnyModel(ModelLoader.java:228) [ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader.getModel(ModelLoader.java:211) [ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader.loadItems(ModelLoader.java:190) [ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:99) [ModelLoader.class:?]
    at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:29) [ModelManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:130) [SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:511) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:356) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_51]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
    at GradleStart.main(Unknown Source) [start/:?]
    Caused by: com.google.gson.stream.MalformedJsonException: Unterminated object at line 294 column 7
    at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1505) ~[JsonReader.class:?]
    at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:480) ~[JsonReader.class:?]
    at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:403) ~[JsonReader.class:?]
    at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:666) ~[TypeAdapters$25.class:?]
    at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:642) ~[TypeAdapters$25.class:?]
    at com.google.gson.internal.Streams.parse(Streams.java:44) ~[Streams.class:?]
    … 25 more
    [14:59:03] [Client thread/INFO] [FML]: Max texture size: 4096
    [14:59:03] [Client thread/INFO]: Created: 16x16 textures-atlas
    [14:59:04] [Client thread/ERROR] [FML]: Model definition for location mod2:blocktransparent#inventory not found
    [14:59:04] [Client thread/ERROR] [FML]: Model definition for location mod2:LightningGun#inventory not found
    [14:59:04] [Client thread/ERROR] [FML]: Model definition for location mod2:blocktransparent#normal not found
    [14:59:05] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from INITIALIZATION to POSTINITIALIZATION. Loading cannot continue
    [14:59:05] [Client thread/ERROR] [FML]: 
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    UCHI mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) 
    UCHI FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8-11.14.3.1491.jar) 
    UCHI Forge{11.14.3.1491} [Minecraft Forge] (forgeSrc-1.8-11.14.3.1491.jar) 
    UCHE mod2{1.8} [Projet2] (bin) 
    [14:59:05] [Client thread/ERROR] [FML]: The following problems were captured during this phase
    [14:59:05] [Client thread/ERROR] [FML]: Caught exception from mod2
    java.lang.NullPointerException
    at net.minecraftforge.fml.common.registry.EntityRegistry.doModEntityRegistration(EntityRegistry.java:194) ~[forgeSrc-1.8-11.14.3.1491.jar:?]
    at net.minecraftforge.fml.common.registry.EntityRegistry.registerModEntity(EntityRegistry.java:153) ~[forgeSrc-1.8-11.14.3.1491.jar:?]
    at com.mod2.Mod2.init(Mod2.java:39) ~[bin/:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_51]
    at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:537) ~[forgeSrc-1.8-11.14.3.1491.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_51]
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
    at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
    at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[forgeSrc-1.8-11.14.3.1491.jar:?]
    at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[forgeSrc-1.8-11.14.3.1491.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_51]
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
    at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
    at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:119) [LoadController.class:?]
    at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:731) [Loader.class:?]
    at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:316) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:528) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:356) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_51]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
    at GradleStart.main(Unknown Source) [start/:?]
    [14:59:05] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:663]: –-- Minecraft Crash Report ----
    // I'm sorry, Dave.
    
    Time: 09/08/15 14:59
    Description: Initializing game
    
    java.lang.NullPointerException: Initializing game
    at net.minecraftforge.fml.common.registry.EntityRegistry.doModEntityRegistration(EntityRegistry.java:194)
    at net.minecraftforge.fml.common.registry.EntityRegistry.registerModEntity(EntityRegistry.java:153)
    at com.mod2.Mod2.init(Mod2.java:39)
    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.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:537)
    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 net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
    at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
    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 net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
    at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:731)
    at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:316)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:528)
    at net.minecraft.client.Minecraft.run(Minecraft.java:356)
    at net.minecraft.client.main.Main.main(Main.java:117)
    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(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 net.minecraftforge.fml.common.registry.EntityRegistry.doModEntityRegistration(EntityRegistry.java:194)
    at net.minecraftforge.fml.common.registry.EntityRegistry.registerModEntity(EntityRegistry.java:153)
    at com.mod2.Mod2.init(Mod2.java:39)
    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.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:537)
    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 net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
    at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
    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 net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
    at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:731)
    at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:316)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:528)
    
    -- Initialization --
    Details:
    Stacktrace:
    at net.minecraft.client.Minecraft.run(Minecraft.java:356)
    at net.minecraft.client.main.Main.main(Main.java:117)
    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(Unknown Source)
    at GradleStart.main(Unknown Source)
    
    -- System Details --
    Details:
    Minecraft Version: 1.8
    Operating System: Windows 7 (amd64) version 6.1
    Java Version: 1.8.0_51, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 949436344 bytes (905 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP v9.10 FML v8.0.99.99 Minecraft Forge 11.14.3.1491 4 mods loaded, 4 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    UCHI mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) 
    UCHI FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8-11.14.3.1491.jar) 
    UCHI Forge{11.14.3.1491} [Minecraft Forge] (forgeSrc-1.8-11.14.3.1491.jar) 
    UCHE mod2{1.8} [Projet2] (bin) 
    Loaded coremods (and transformers): 
    GL info: ' Vendor: 'Intel' Version: '2.1.0 - Build 8.15.10.1872' Renderer: 'Intel(R) 4 Series Internal Chipset'
    Launched Version: 1.8
    LWJGL: 2.9.1
    OpenGL: Intel(R) 4 Series Internal Chipset GL version 2.1.0 - Build 8.15.10.1872, Intel
    GL Caps: Using GL 1.3 multitexturing.
    Using GL 1.3 texture combiners.
    Using framebuffer objects because EXT_framebuffer_object is supported.
    Shaders are available because OpenGL 2.1 is supported.
    VBOs are available because OpenGL 1.5 is supported.
    
    Using VBOs: No
    Is Modded: Definitely; Client brand changed to 'fml,forge'
    Type: Client (map_client.txt)
    Resource Packs: []
    Current Language: English (US)
    Profiler Position: N/A (disabled)
    [14:59:05] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:663]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\SCS6\Downloads\forge-1.8-11.14.3.1491-src\eclipse\.\crash-reports\crash-2015-08-09_14.59.05-client.txt
    AL lib: (EE) alc_cleanup: 1 device not closed
    Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
    
    

    :::

    Voila je reste a votre disposition pour tous renseignement ou demande de contenu .
    D'avance merci !


  • Moddeurs confirmés Rédacteurs Administrateurs

    Tu as un npe sur l'enregistrement de ton mob, envoies le code de ta classe principale.



  • Merci de ta réponse rapide !
    Voici ma classe principale :

    package com.mod2;
    
    import java.awt.Color;
    
    import com.mod2.init.BlockMod;
    import com.mod2.init.ItemMod;
    import com.mod2.proxy.CommonProxy;
    
    import Entity.MonMob;
    import net.minecraftforge.fml.common.Mod;
    import net.minecraftforge.fml.common.Mod.EventHandler;
    import net.minecraftforge.fml.common.SidedProxy;
    import net.minecraftforge.fml.common.event.FMLInitializationEvent;
    import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
    import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
    import net.minecraftforge.fml.common.registry.EntityRegistry;
    
    @Mod(modid = Reference.MOD_ID,name = Reference.MOD_NAME, version = Reference.VERSION)
    
    public class Mod2
    {
        @SidedProxy(clientSide = Reference.CLIENT_PROXY_CLASS, serverSide = Reference.CLIENT_PROXY_CLASS)
        public static CommonProxy proxy;
        private Object instance;
        @EventHandler
        public void preInit(FMLPreInitializationEvent event)
        {
         ItemMod.init();
         ItemMod.register();   
         BlockMod.init();
         BlockMod.register();
        }
    
        @EventHandler
        public void init(FMLInitializationEvent event)
        {
            proxy.registerRenders();
            EntityRegistry.registerGlobalEntityID(MonMob.class, "mobTutoriel", EntityRegistry.findGlobalUniqueEntityId(), new Color(0, 255, 0).getRGB(), new Color(255, 0, 0).getRGB());
            EntityRegistry.registerModEntity(MonMob.class, "mobTutoriel", 420, this.instance, 40, 1, true);
        }
    
        @EventHandler
        public void postInit(FMLPostInitializationEvent event)
        {
    
        }
    
    }
    
    

    C'est quoi un npe ?  😄


  • Moddeurs confirmés Rédacteurs Administrateurs

    NPE = NullPointerException.
    Et en effet ton instance et null et mal déclaré. Retourne voir le tutoriel sur la classe principale.



  • Justement pour l'instance j'ai pas compris et rien n’était dis dans le tutoriel, pour moi elle était souligne en rouge j'ai donc clicke sur le premier truc qu'on me propose



  • Le model de ton lightning gun est pas bon aussi.

    Pour ton instance : tu dois mettre comme type la classe ton mod, et au-dessus l'annotation @Mod.Instance(modid) (le modid est pas obligatoire mais il est conseillé)



  • Autant pour moi je n'avais pas vu que l'on pouvait juste enlever l'instance le jeu ce lance mais le code est toujours aussi long voir plus long…Mais sa marche 🙂 Il y'a écris un truc bizarre sous l’œuf mysceliiria (truc comme ça) et quand j'essaye de faire spawner le machin le jeu plante mais j'imagine que c'est du au manque de texture.
    Sinon mon Lightning gun était un test que j'ai essaye de faire tous seul sans demander d'aide mais ce fut un fail totale car je me suis rendu compte que je n’avais pas le niveau pour faire un truc de cette envergure___Alors...J'ai essaye pour teste de coller au mob la texture d'un blaze(oui je l'ai renomme) le jeu plante direct des que je click avec l’œuf 😞 y'a t'il des models a mettre ? Ou je dos juste mettre la texture dans textures/entity ?



  • Renvoi ta classe principale et le crash report

    PS : 24h minimum entre chaque message



  • Oui désolé du double post , voici la classe principale :
    :::

    package com.mod2;
    
    import java.awt.Color;
    
    import com.mod2.init.BlockMod;
    import com.mod2.init.ItemMod;
    import com.mod2.proxy.CommonProxy;
    
    import Entity.MonMob;
    import net.minecraftforge.fml.common.Mod;
    import net.minecraftforge.fml.common.Mod.EventHandler;
    import net.minecraftforge.fml.common.SidedProxy;
    import net.minecraftforge.fml.common.event.FMLInitializationEvent;
    import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
    import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
    import net.minecraftforge.fml.common.registry.EntityRegistry;
    
    @Mod(modid = Reference.MOD_ID,name = Reference.MOD_NAME, version = Reference.VERSION)
    
    public class Mod2
    {
        @SidedProxy(clientSide = Reference.CLIENT_PROXY_CLASS, serverSide = Reference.CLIENT_PROXY_CLASS)
        public static CommonProxy proxy;
    
        @EventHandler
        public void preInit(FMLPreInitializationEvent event)
        {
         ItemMod.init();
         ItemMod.register();   
         BlockMod.init();
         BlockMod.register();
        }
    
        @EventHandler
        public void init(FMLInitializationEvent event)
        {
            proxy.registerRenders();
            EntityRegistry.registerGlobalEntityID(MonMob.class, "mobTutoriel", EntityRegistry.findGlobalUniqueEntityId(), new Color(0, 255, 0).getRGB(), new Color(255, 0, 0).getRGB());
            EntityRegistry.registerModEntity(MonMob.class, "mobTutoriel", 420, this, 40, 1, true);
        }
    
        @EventHandler
        public void postInit(FMLPostInitializationEvent event)
        {
    
        }
    
    }
    
    

    :::

    et mon crash report (enfin tous le code je fais pas trop la différence tellement c'est long) :
    :::

    [15:47:12] [main/INFO] [GradleStart]: username: onepiecedeath@hotmail.fr
    [15:47:12] [main/INFO] [GradleStart]: Extra: []
    [15:47:12] [main/INFO] [GradleStart]: Password found, attempting login
    [15:47:12] [main/INFO]: Logging in with username & password
    [15:47:14] [main/INFO] [GradleStart]: Login Succesful!
    [15:47:14] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, [], –assetsDir, C:/Users/SCS6/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --userType, mojang, --accessToken, {REDACTED}, --version, 1.8, --uuid, fad4142154044226b116e6c1558184a3, --username, Kriksou, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
    [15:47:14] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [15:47:14] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [15:47:14] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
    [15:47:14] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
    [15:47:14] [main/INFO] [FML]: Forge Mod Loader version 8.99.182.1491 for Minecraft 1.8 loading
    [15:47:14] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_51, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jdk1.8.0_51
    [15:47:14] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
    [15:47:14] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
    [15:47:14] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
    [15:47:14] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
    [15:47:14] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [15:47:14] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [15:47:14] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
    [15:47:14] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [15:47:14] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [15:47:14] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [15:47:14] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
    [15:47:17] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
    [15:47:17] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [15:47:17] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [15:47:17] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
    [15:47:17] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
    [15:47:17] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
    [15:47:17] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
    [15:47:18] [Client thread/INFO]: Setting user: Kriksou
    [15:47:23] [Client thread/INFO]: LWJGL Version: 2.9.1
    [15:47:24] [Client thread/INFO] [STDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:235]: –-- Minecraft Crash Report ----
    // Would you like a cupcake?
    
    Time: 09/08/15 15:47
    Description: Loading screen debug info
    
    This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR
    
    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------
    
    -- System Details --
    Details:
    Minecraft Version: 1.8
    Operating System: Windows 7 (amd64) version 6.1
    Java Version: 1.8.0_51, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 873072344 bytes (832 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: 
    Loaded coremods (and transformers): 
    GL info: ' Vendor: 'Intel' Version: '2.1.0 - Build 8.15.10.1872' Renderer: 'Intel(R) 4 Series Internal Chipset'
    [15:47:24] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
    [15:47:24] [Client thread/INFO] [FML]: MinecraftForge v11.14.3.1491 Initialized
    [15:47:24] [Client thread/INFO] [FML]: Replaced 204 ore recipies
    [15:47:24] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
    [15:47:24] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
    [15:47:24] [Client thread/INFO] [FML]: Searching C:\Users\SCS6\Downloads\forge-1.8-11.14.3.1491-src\eclipse\mods for mods
    [15:47:27] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
    [15:47:28] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, mod2] at CLIENT
    [15:47:28] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, mod2] at SERVER
    [15:47:28] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Projet2
    [15:47:29] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
    [15:47:29] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations
    [15:47:29] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
    [15:47:29] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
    [15:47:29] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
    [15:47:30] [Client thread/INFO] [FML]: Applying holder lookups
    [15:47:30] [Client thread/INFO] [FML]: Holder lookups applied
    [15:47:30] [Client thread/INFO] [FML]: Injecting itemstacks
    [15:47:30] [Client thread/INFO] [FML]: Itemstack injection complete
    [15:47:30] [Sound Library Loader/INFO]: Starting up SoundSystem…
    [15:47:31] [Thread-9/INFO]: Initializing LWJGL OpenAL
    [15:47:31] [Thread-9/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
    [15:47:31] [Thread-9/INFO]: OpenAL initialized.
    [15:47:31] [Sound Library Loader/INFO]: Sound engine started
    [15:47:34] [Client thread/ERROR] [FML]: Exception loading model mod2:item/LightningGun with loader instance, skipping
    com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unterminated object at line 294 column 7
    at com.google.gson.internal.Streams.parse(Streams.java:56) ~[Streams.class:?]
    at com.google.gson.TreeTypeAdapter.read(TreeTypeAdapter.java:54) ~[TreeTypeAdapter.class:?]
    at com.google.gson.Gson.fromJson(Gson.java:803) ~[Gson.class:?]
    at com.google.gson.Gson.fromJson(Gson.java:741) ~[Gson.class:?]
    at net.minecraft.client.renderer.block.model.ModelBlock.deserialize(ModelBlock.java:47) ~[ModelBlock.class:?]
    at net.minecraft.client.resources.model.ModelBakery.loadModel(ModelBakery.java:269) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.access$800(ModelLoader.java:73) ~[ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader$VanillaLoader.loadModel(ModelLoader.java:650) ~[ModelLoader$VanillaLoader.class:?]
    at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:107) [ModelLoaderRegistry.class:?]
    at net.minecraftforge.client.model.ModelLoader.loadAnyModel(ModelLoader.java:228) [ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader.getModel(ModelLoader.java:211) [ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader.loadItems(ModelLoader.java:190) [ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:99) [ModelLoader.class:?]
    at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:29) [ModelManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:130) [SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:511) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:356) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_51]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
    at GradleStart.main(Unknown Source) [start/:?]
    Caused by: com.google.gson.stream.MalformedJsonException: Unterminated object at line 294 column 7
    at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1505) ~[JsonReader.class:?]
    at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:480) ~[JsonReader.class:?]
    at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:403) ~[JsonReader.class:?]
    at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:666) ~[TypeAdapters$25.class:?]
    at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:642) ~[TypeAdapters$25.class:?]
    at com.google.gson.internal.Streams.parse(Streams.java:44) ~[Streams.class:?]
    … 25 more
    [15:47:34] [Client thread/INFO] [FML]: Max texture size: 4096
    [15:47:34] [Client thread/INFO]: Created: 16x16 textures-atlas
    [15:47:35] [Client thread/ERROR] [FML]: Model definition for location mod2:blocktransparent#inventory not found
    [15:47:35] [Client thread/ERROR] [FML]: Model definition for location mod2:LightningGun#inventory not found
    [15:47:35] [Client thread/ERROR] [FML]: Model definition for location mod2:blocktransparent#normal not found
    [15:47:35] [Client thread/INFO] [FML]: Injecting itemstacks
    [15:47:35] [Client thread/INFO] [FML]: Itemstack injection complete
    [15:47:36] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
    [15:47:36] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Projet2
    [15:47:36] [Client thread/INFO]: SoundSystem shutting down…
    [15:47:36] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
    [15:47:36] [Sound Library Loader/INFO]: Starting up SoundSystem…
    [15:47:36] [Thread-11/INFO]: Initializing LWJGL OpenAL
    [15:47:36] [Thread-11/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
    [15:47:37] [Thread-11/INFO]: OpenAL initialized.
    [15:47:37] [Sound Library Loader/INFO]: Sound engine started
    [15:47:39] [Client thread/ERROR] [FML]: Exception loading model mod2:item/LightningGun with loader instance, skipping
    com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unterminated object at line 294 column 7
    at com.google.gson.internal.Streams.parse(Streams.java:56) ~[Streams.class:?]
    at com.google.gson.TreeTypeAdapter.read(TreeTypeAdapter.java:54) ~[TreeTypeAdapter.class:?]
    at com.google.gson.Gson.fromJson(Gson.java:803) ~[Gson.class:?]
    at com.google.gson.Gson.fromJson(Gson.java:741) ~[Gson.class:?]
    at net.minecraft.client.renderer.block.model.ModelBlock.deserialize(ModelBlock.java:47) ~[ModelBlock.class:?]
    at net.minecraft.client.resources.model.ModelBakery.loadModel(ModelBakery.java:269) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.access$800(ModelLoader.java:73) ~[ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader$VanillaLoader.loadModel(ModelLoader.java:650) ~[ModelLoader$VanillaLoader.class:?]
    at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:107) [ModelLoaderRegistry.class:?]
    at net.minecraftforge.client.model.ModelLoader.loadAnyModel(ModelLoader.java:228) [ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader.getModel(ModelLoader.java:211) [ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader.loadItems(ModelLoader.java:190) [ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:99) [ModelLoader.class:?]
    at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:29) [ModelManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:143) [SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:121) [SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:774) [Minecraft.class:?]
    at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:332) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:528) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:356) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_51]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
    at GradleStart.main(Unknown Source) [start/:?]
    Caused by: com.google.gson.stream.MalformedJsonException: Unterminated object at line 294 column 7
    at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1505) ~[JsonReader.class:?]
    at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:480) ~[JsonReader.class:?]
    at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:403) ~[JsonReader.class:?]
    at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:666) ~[TypeAdapters$25.class:?]
    at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:642) ~[TypeAdapters$25.class:?]
    at com.google.gson.internal.Streams.parse(Streams.java:44) ~[Streams.class:?]
    … 28 more
    [15:47:39] [Client thread/INFO] [FML]: Max texture size: 4096
    [15:47:40] [Client thread/INFO]: Created: 512x512 textures-atlas
    [15:47:40] [Client thread/ERROR] [FML]: Model definition for location mod2:blocktransparent#inventory not found
    [15:47:40] [Client thread/ERROR] [FML]: Model definition for location mod2:LightningGun#inventory not found
    [15:47:40] [Client thread/ERROR] [FML]: Model definition for location mod2:blocktransparent#normal not found
    [15:47:40] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
    [15:47:40] [Client thread/ERROR] [TEXTURE ERRORS]: The following texture errors were found.
    [15:47:40] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
    [15:47:40] [Client thread/ERROR] [TEXTURE ERRORS]:   DOMAIN mod2
    [15:47:40] [Client thread/ERROR] [TEXTURE ERRORS]: –------------------------------------------------
    [15:47:40] [Client thread/ERROR] [TEXTURE ERRORS]:   domain mod2 is missing 4 textures
    [15:47:40] [Client thread/ERROR] [TEXTURE ERRORS]:     domain mod2 has 1 location:
    [15:47:40] [Client thread/ERROR] [TEXTURE ERRORS]:       mod mod2 resources at C:\Users\SCS6\Downloads\forge-1.8-11.14.3.1491-src\bin
    [15:47:40] [Client thread/ERROR] [TEXTURE ERRORS]: –-----------------------
    [15:47:40] [Client thread/ERROR] [TEXTURE ERRORS]:     The missing resources for domain mod2 are:
    [15:47:40] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/SuperCasque.png
    [15:47:40] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/SuperPlastron.png
    [15:47:40] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/SuperBotte.png
    [15:47:40] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/SuperPantalon.png
    [15:47:40] [Client thread/ERROR] [TEXTURE ERRORS]: –-----------------------
    [15:47:40] [Client thread/ERROR] [TEXTURE ERRORS]:     No other errors exist for domain mod2
    [15:47:40] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
    [15:47:40] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
    [15:47:46] [Server thread/INFO]: Starting integrated minecraft server version 1.8
    [15:47:46] [Server thread/INFO]: Generating keypair
    [15:47:46] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance
    [15:47:46] [Server thread/INFO] [FML]: Injecting new block and item data into this server instance.
    [15:47:46] [Server thread/INFO] [FML]: Injected new block/item mod2:SuperCasque: 4105 (init) -> 4108 (map).
    [15:47:46] [Server thread/INFO] [FML]: Injected new block/item mod2:SuperBotte: 4104 (init) -> 4109 (map).
    [15:47:46] [Server thread/INFO] [FML]: Injected new block/item mod2:SuperPantalon: 4106 (init) -> 4110 (map).
    [15:47:46] [Server thread/INFO] [FML]: Injected new block/item mod2:SuperPlastron: 4103 (init) -> 4111 (map).
    [15:47:46] [Server thread/INFO] [FML]: Injected new block/item mod2:LightningGun: 4107 (init) -> 4112 (map).
    [15:47:46] [Server thread/INFO] [FML]: Applying holder lookups
    [15:47:46] [Server thread/INFO] [FML]: Holder lookups applied
    [15:47:46] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@5c411745)
    [15:47:46] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@5c411745)
    [15:47:46] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@5c411745)
    [15:47:46] [Server thread/INFO]: Preparing start region for level 0
    [15:47:47] [Server thread/INFO]: Changing view distance to 6, from 10
    [15:47:49] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2
    [15:47:49] [Netty Server IO #1/INFO] [FML]: Client protocol version 2
    [15:47:49] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 4 mods : mod2@1.8,FML@8.0.99.99,Forge@11.14.3.1491,mcp@9.05
    [15:47:49] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established
    [15:47:49] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
    [15:47:49] [Server thread/INFO]: Kriksou[local:E:3358d00b] logged in with entity id 70 at (366.84296521899756, 20.490645200716493, -1008.3285968302496)
    [15:47:49] [Server thread/INFO]: Kriksou joined the game
    [15:47:50] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:47:51] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:47:51] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:47:52] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:47:52] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:47:53] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:47:53] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:47:53] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:47:53] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:47:54] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:47:54] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:47:54] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:47:54] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:47:54] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:47:55] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:47:55] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:47:55] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:47:56] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:47:56] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:47:57] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:47:57] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:47:57] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:47:58] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:47:58] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:47:59] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:47:59] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:47:59] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:00] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:00] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:01] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:01] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:01] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:02] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:02] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:03] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:03] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:03] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:04] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:04] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:05] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:05] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:05] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:06] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:06] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:07] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:07] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:07] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:08] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:08] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:09] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:09] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:09] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:10] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:10] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:11] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:11] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:11] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:12] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:12] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:13] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:13] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:13] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:14] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:14] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:15] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:15] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:15] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:16] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:16] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:17] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:17] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:17] [Server thread/INFO]: [@: Given Speed (ID 1) * 20 to Kriksou for 8000 seconds]
    [15:48:17] [Client thread/ERROR]: Couldn't render entity
    java.lang.NullPointerException
    at net.minecraft.client.renderer.entity.Render.bindTexture(Render.java:96) ~[Render.class:?]
    at net.minecraft.client.renderer.entity.Render.bindEntityTexture(Render.java:89) ~[Render.class:?]
    at net.minecraft.client.renderer.entity.RendererLivingEntity.renderModel(RendererLivingEntity.java:266) ~[RendererLivingEntity.class:?]
    at net.minecraft.client.renderer.entity.RendererLivingEntity.doRender(RendererLivingEntity.java:179) [RendererLivingEntity.class:?]
    at net.minecraft.client.renderer.entity.RenderLiving.doRender(RenderLiving.java:59) [RenderLiving.class:?]
    at net.minecraft.client.renderer.entity.RenderLiving.doRender(RenderLiving.java:199) [RenderLiving.class:?]
    at net.minecraft.client.renderer.entity.RenderManager.doRenderEntity(RenderManager.java:377) [RenderManager.class:?]
    at net.minecraft.client.renderer.entity.RenderManager.renderEntityStatic(RenderManager.java:334) [RenderManager.class:?]
    at net.minecraft.client.renderer.entity.RenderManager.renderEntitySimple(RenderManager.java:301) [RenderManager.class:?]
    at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:657) [RenderGlobal.class:?]
    at net.minecraft.client.renderer.EntityRenderer.renderWorldPass(EntityRenderer.java:1353) [EntityRenderer.class:?]
    at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1266) [EntityRenderer.class:?]
    at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1091) [EntityRenderer.class:?]
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1114) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:376) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_51]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
    at GradleStart.main(Unknown Source) [start/:?]
    [15:48:18] [Server thread/INFO]: Stopping server
    [15:48:18] [Server thread/INFO]: Saving players
    [15:48:18] [Server thread/INFO]: Saving worlds
    [15:48:18] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
    [15:48:18] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
    [15:48:18] [Server thread/INFO]: Saving chunks for level 'New World'/The End
    [15:48:19] [Server thread/INFO] [FML]: Unloading dimension 0
    [15:48:19] [Server thread/INFO] [FML]: Unloading dimension -1
    [15:48:19] [Server thread/INFO] [FML]: Unloading dimension 1
    [15:48:19] [Server thread/INFO] [FML]: Applying holder lookups
    [15:48:19] [Server thread/INFO] [FML]: Holder lookups applied
    [15:48:19] [Client thread/FATAL]: Reported exception thrown!
    net.minecraft.util.ReportedException: Rendering entity in world
    at net.minecraft.client.renderer.entity.RenderManager.doRenderEntity(RenderManager.java:425) ~[RenderManager.class:?]
    at net.minecraft.client.renderer.entity.RenderManager.renderEntityStatic(RenderManager.java:334) ~[RenderManager.class:?]
    at net.minecraft.client.renderer.entity.RenderManager.renderEntitySimple(RenderManager.java:301) ~[RenderManager.class:?]
    at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:657) ~[RenderGlobal.class:?]
    at net.minecraft.client.renderer.EntityRenderer.renderWorldPass(EntityRenderer.java:1353) ~[EntityRenderer.class:?]
    at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1266) ~[EntityRenderer.class:?]
    at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1091) ~[EntityRenderer.class:?]
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1114) ~[Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:376) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_51]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
    at GradleStart.main(Unknown Source) [start/:?]
    Caused by: java.lang.NullPointerException
    at net.minecraft.client.renderer.entity.RendererLivingEntity.canRenderName(RendererLivingEntity.java:599) ~[RendererLivingEntity.class:?]
    at net.minecraft.client.renderer.entity.RenderLiving.canRenderName(RenderLiving.java:31) ~[RenderLiving.class:?]
    at net.minecraft.client.renderer.entity.RenderLiving.canRenderName(RenderLiving.java:172) ~[RenderLiving.class:?]
    at net.minecraft.client.renderer.entity.RendererLivingEntity.passSpecialRender(RendererLivingEntity.java:514) ~[RendererLivingEntity.class:?]
    at net.minecraft.client.renderer.entity.RendererLivingEntity.renderName(RendererLivingEntity.java:614) ~[RendererLivingEntity.class:?]
    at net.minecraft.client.renderer.entity.Render.doRender(Render.java:53) ~[Render.class:?]
    at net.minecraft.client.renderer.entity.RendererLivingEntity.doRender(RendererLivingEntity.java:209) ~[RendererLivingEntity.class:?]
    at net.minecraft.client.renderer.entity.RenderLiving.doRender(RenderLiving.java:59) ~[RenderLiving.class:?]
    at net.minecraft.client.renderer.entity.RenderLiving.doRender(RenderLiving.java:199) ~[RenderLiving.class:?]
    at net.minecraft.client.renderer.entity.RenderManager.doRenderEntity(RenderManager.java:377) ~[RenderManager.class:?]
    … 17 more
    [15:48:19] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:663]: –-- Minecraft Crash Report ----
    // Sorry :(
    
    Time: 09/08/15 15:48
    Description: Rendering entity in world
    
    java.lang.NullPointerException: Rendering entity in world
    at net.minecraft.client.renderer.entity.RendererLivingEntity.canRenderName(RendererLivingEntity.java:599)
    at net.minecraft.client.renderer.entity.RenderLiving.canRenderName(RenderLiving.java:31)
    at net.minecraft.client.renderer.entity.RenderLiving.canRenderName(RenderLiving.java:172)
    at net.minecraft.client.renderer.entity.RendererLivingEntity.passSpecialRender(RendererLivingEntity.java:514)
    at net.minecraft.client.renderer.entity.RendererLivingEntity.renderName(RendererLivingEntity.java:614)
    at net.minecraft.client.renderer.entity.Render.doRender(Render.java:53)
    at net.minecraft.client.renderer.entity.RendererLivingEntity.doRender(RendererLivingEntity.java:209)
    at net.minecraft.client.renderer.entity.RenderLiving.doRender(RenderLiving.java:59)
    at net.minecraft.client.renderer.entity.RenderLiving.doRender(RenderLiving.java:199)
    at net.minecraft.client.renderer.entity.RenderManager.doRenderEntity(RenderManager.java:377)
    at net.minecraft.client.renderer.entity.RenderManager.renderEntityStatic(RenderManager.java:334)
    at net.minecraft.client.renderer.entity.RenderManager.renderEntitySimple(RenderManager.java:301)
    at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:657)
    at net.minecraft.client.renderer.EntityRenderer.renderWorldPass(EntityRenderer.java:1353)
    at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1266)
    at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1091)
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1114)
    at net.minecraft.client.Minecraft.run(Minecraft.java:376)
    at net.minecraft.client.main.Main.main(Main.java:117)
    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(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 net.minecraft.client.renderer.entity.RendererLivingEntity.canRenderName(RendererLivingEntity.java:599)
    at net.minecraft.client.renderer.entity.RenderLiving.canRenderName(RenderLiving.java:31)
    at net.minecraft.client.renderer.entity.RenderLiving.canRenderName(RenderLiving.java:172)
    at net.minecraft.client.renderer.entity.RendererLivingEntity.passSpecialRender(RendererLivingEntity.java:514)
    at net.minecraft.client.renderer.entity.RendererLivingEntity.renderName(RendererLivingEntity.java:614)
    at net.minecraft.client.renderer.entity.Render.doRender(Render.java:53)
    at net.minecraft.client.renderer.entity.RendererLivingEntity.doRender(RendererLivingEntity.java:209)
    at net.minecraft.client.renderer.entity.RenderLiving.doRender(RenderLiving.java:59)
    at net.minecraft.client.renderer.entity.RenderLiving.doRender(RenderLiving.java:199)
    
    -- Entity being rendered --
    Details:
    Entity Type: mobTutoriel (Entity.MonMob)
    Entity ID: 170434
    Entity Name: entity.mobTutoriel.name
    Entity's Exact location: 367,50, 4,00, -1005,50
    Entity's Block location: 367,00,4,00,-1006,00 - World: (367,4,-1006), Chunk: (at 15,0,2 in 22,-63; contains blocks 352,0,-1008 to 367,255,-993), Region: (0,-2; contains chunks 0,-64 to 31,-33, blocks 0,0,-1024 to 511,255,-513)
    Entity's Momentum: 0,00, 0,00, 0,00
    Entity's Rider: ~~ERROR~~ NullPointerException: null
    Entity's Vehicle: ~~ERROR~~ NullPointerException: null
    
    -- Renderer details --
    Details:
    Assigned renderer: Entity.RenderMod2@43542dd7
    Location: 0,66,0,00,2,83 - World: (0,0,2), Chunk: (at 0,0,2 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
    Rotation: 52.03125
    Delta: 0.13109529
    Stacktrace:
    at net.minecraft.client.renderer.entity.RenderManager.doRenderEntity(RenderManager.java:377)
    at net.minecraft.client.renderer.entity.RenderManager.renderEntityStatic(RenderManager.java:334)
    at net.minecraft.client.renderer.entity.RenderManager.renderEntitySimple(RenderManager.java:301)
    at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:657)
    at net.minecraft.client.renderer.EntityRenderer.renderWorldPass(EntityRenderer.java:1353)
    at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1266)
    
    -- Affected level --
    Details:
    Level name: MpServer
    All players: 1 total; [EntityPlayerSP['Kriksou'/70, l='MpServer', x=366,84, y=4,00, z=-1008,33]]
    Chunk stats: MultiplayerChunkCache: 156, 156
    Level seed: 0
    Level generator: ID 01 - flat, ver 0\. Features enabled: false
    Level generator options: 
    Level spawn location: 174,00,4,00,-1067,00 - World: (174,4,-1067), Chunk: (at 14,0,5 in 10,-67; contains blocks 160,0,-1072 to 175,255,-1057), Region: (0,-3; contains chunks 0,-96 to 31,-65, blocks 0,0,-1536 to 511,255,-1025)
    Level time: 219066 game time, 24796 day time
    Level dimension: 0
    Level storage version: 0x00000 - Unknown?
    Level weather: Rain time: 0 (now: true), thunder time: 0 (now: false)
    Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
    Forced entities: 39 total; [EntitySlime['Slime'/128, l='MpServer', x=429,69, y=4,02, z=-1073,72], EntitySlime['Slime'/42944, l='MpServer', x=373,22, y=4,42, z=-1015,25], MonMob['entity.mobTutoriel.name'/170434, l='MpServer', x=367,50, y=4,00, z=-1005,50], EntitySlime['Slime'/75843, l='MpServer', x=350,78, y=4,00, z=-1069,53], EntitySlime['Slime'/67, l='MpServer', x=372,28, y=4,78, z=-1037,81], EntityXPOrb['Experience Orb'/68, l='MpServer', x=354,41, y=4,00, z=-1054,50], EntitySlime['Slime'/29700, l='MpServer', x=326,31, y=4,75, z=-932,84], EntitySlime['Slime'/69, l='MpServer', x=359,88, y=4,02, z=-1048,06], EntitySlime['Slime'/35080, l='MpServer', x=391,38, y=4,00, z=-966,31], EntitySlime['Slime'/130250, l='MpServer', x=383,03, y=4,42, z=-938,94], EntitySlime['Slime'/208, l='MpServer', x=443,32, y=4,90, z=-1038,83], EntitySlime['Slime'/46672, l='MpServer', x=344,47, y=4,02, z=-1058,25], EntitySlime['Slime'/31313, l='MpServer', x=331,28, y=4,78, z=-1048,94], EntitySlime['Slime'/83, l='MpServer', x=394,19, y=4,02, z=-962,78], EntitySlime['Slime'/4632, l='MpServer', x=326,06, y=4,47, z=-943,22], EntitySlime['Slime'/2844, l='MpServer', x=348,19, y=4,00, z=-1074,44], EntitySlime['Slime'/79199, l='MpServer', x=370,09, y=4,02, z=-1050,69], EntitySlime['Slime'/93472, l='MpServer', x=311,75, y=4,02, z=-1058,66], EntitySlime['Slime'/128741, l='MpServer', x=356,19, y=5,16, z=-1046,03], EntitySlime['Slime'/68133, l='MpServer', x=366,94, y=4,55, z=-1085,77], EntitySlime['Slime'/166, l='MpServer', x=388,09, y=4,01, z=-1028,78], EntitySlime['Slime'/103529, l='MpServer', x=301,50, y=4,09, z=-1022,42], EntitySlime['Slime'/44, l='MpServer', x=291,38, y=4,09, z=-1079,66], EntitySlime['Slime'/46, l='MpServer', x=291,72, y=4,02, z=-1013,06], EntityPlayerSP['Kriksou'/70, l='MpServer', x=366,84, y=4,00, z=-1008,33], EntitySlime['Slime'/112, l='MpServer', x=439,41, y=4,76, z=-957,95], EntitySlime['Slime'/179, l='MpServer', x=362,18, y=4,14, z=-1061,39], EntitySlime['Slime'/100404, l='MpServer', x=319,13, y=4,02, z=-1055,69], EntitySlime['Slime'/54, l='MpServer', x=324,59, y=4,09, z=-1070,72], EntitySlime['Slime'/64374, l='MpServer', x=345,38, y=4,02, z=-1059,69], EntitySlime['Slime'/55, l='MpServer', x=324,16, y=4,00, z=-1048,72], EntitySlime['Slime'/98102, l='MpServer', x=351,34, y=4,75, z=-1048,13], EntitySlime['Slime'/56, l='MpServer', x=323,84, y=4,00, z=-941,66], EntityItem['item.item.slimeball'/58, l='MpServer', x=336,19, y=4,00, z=-1063,44], EntitySlime['Slime'/119803, l='MpServer', x=308,72, y=4,02, z=-945,16], EntityXPOrb['Experience Orb'/59, l='MpServer', x=339,00, y=4,00, z=-1057,13], EntityItem['item.item.slimeball'/60, l='MpServer', x=340,31, y=4,00, z=-1059,00], EntitySlime['Slime'/126, l='MpServer', x=428,73, y=5,07, z=-1086,19], EntitySlime['Slime'/127, l='MpServer', x=422,40, y=4,24, z=-1075,26]]
    Retry entities: 0 total; []
    Server brand: fml,forge
    Server type: Integrated singleplayer server
    Stacktrace:
    at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:392)
    at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2614)
    at net.minecraft.client.Minecraft.run(Minecraft.java:398)
    at net.minecraft.client.main.Main.main(Main.java:117)
    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(Unknown Source)
    at GradleStart.main(Unknown Source)
    
    – System Details --
    Details:
    Minecraft Version: 1.8
    Operating System: Windows 7 (amd64) version 6.1
    Java Version: 1.8.0_51, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 894558896 bytes (853 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP v9.10 FML v8.0.99.99 Minecraft Forge 11.14.3.1491 4 mods loaded, 4 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    UCHIJAAAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) 
    UCHIJAAAA FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8-11.14.3.1491.jar) 
    UCHIJAAAA Forge{11.14.3.1491} [Minecraft Forge] (forgeSrc-1.8-11.14.3.1491.jar) 
    UCHIJAAAA mod2{1.8} [Projet2] (bin) 
    Loaded coremods (and transformers): 
    GL info: ' Vendor: 'Intel' Version: '2.1.0 - Build 8.15.10.1872' Renderer: 'Intel(R) 4 Series Internal Chipset'
    Launched Version: 1.8
    LWJGL: 2.9.1
    OpenGL: Intel(R) 4 Series Internal Chipset GL version 2.1.0 - Build 8.15.10.1872, Intel
    GL Caps: Using GL 1.3 multitexturing.
    Using GL 1.3 texture combiners.
    Using framebuffer objects because EXT_framebuffer_object is supported.
    Shaders are available because OpenGL 2.1 is supported.
    VBOs are available because OpenGL 1.5 is supported.
    
    Using VBOs: No
    Is Modded: Definitely; Client brand changed to 'fml,forge'
    Type: Client (map_client.txt)
    Resource Packs: []
    Current Language: English (US)
    Profiler Position: N/A (disabled)
    [15:48:19] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:663]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\SCS6\Downloads\forge-1.8-11.14.3.1491-src\eclipse\.\crash-reports\crash-2015-08-09_15.48.19-client.txt
    [15:48:19] [Client thread/INFO] [FML]: Waiting for the server to terminate/save.
    [15:48:19] [Client thread/INFO] [FML]: Server terminated.
    AL lib: (EE) alc_cleanup: 1 device not closed
    Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
    
    

    :::

    Voila ! Merci de tes réponses !



  • Le problème vient de ton entité, envoi le code de ton entité, et le proxy (et si tu utilises un render custom, envoi le aussi)



  • Je commence a comprendre ce que l'on me demande je crois que c'est un progrès 😃
    Voici la classe de l’entité :
    :::

    package Entity;
    
    import net.minecraft.entity.SharedMonsterAttributes;
    import net.minecraft.entity.monster.EntityMob;
    import net.minecraft.world.World;
    
    public class MonMob extends EntityMob
    {
    
        public MonMob(World worldIn)
        {
            super(worldIn);
            // TODO Auto-generated constructor stub
        }
    
        public void applyEntityAttributes()
        {
            super.applyEntityAttributes();
            this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(40D);
            this.getEntityAttribute(SharedMonsterAttributes.attackDamage).setBaseValue(20D);
            this.getEntityAttribute(SharedMonsterAttributes.knockbackResistance).setBaseValue(10D);
            this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(1D);
    
        }
    }
    
    

    :::

    Le proxy :

    :::

    package com.mod2.proxy;
    
    import com.mod2.init.BlockMod;
    import com.mod2.init.ItemMod;
    
    import Entity.MonMob;
    import Entity.RenderMod2;
    import net.minecraft.client.Minecraft;
    import net.minecraft.client.model.ModelBiped;
    import net.minecraft.client.renderer.entity.RenderItem;
    import net.minecraftforge.fml.client.registry.RenderingRegistry;
    
    public class ClientProxy extends CommonProxy
    {
       RenderItem registerMesher = Minecraft.getMinecraft().getRenderItem(); 
    
       @Override
      public void registerRenders()
      {
          BlockMod.registerRenders();
          ItemMod.registerRenders();
          RenderingRegistry.registerEntityRenderingHandler(MonMob.class, new RenderMod2(null, new ModelBiped(), 0.5F));
      }
    }
    
    

    :::

    Et le RenderMod2(Le render) :

    :::

    package Entity;
    
    import com.mod2.Reference;
    
    import net.minecraft.client.model.ModelBiped;
    import net.minecraft.client.renderer.entity.RenderBiped;
    import net.minecraft.client.renderer.entity.RenderManager;
    import net.minecraft.entity.EntityLiving;
    import net.minecraft.util.ResourceLocation;
    
    public class RenderMod2 extends RenderBiped
    {
    
        public final ResourceLocation texture = new ResourceLocation(Reference.MOD_ID, "textures/entity/MonMobl.png");
        public RenderMod2(RenderManager rendermanager, ModelBiped model, float shadow)
        {
            super(rendermanager, model, shadow);
            // TODO Auto-generated constructor stub
        }
    
        protected ResourceLocation getEntityTexture(EntityLiving living)
        {
            return this.getMobTutorielTexture((MonMob)living);
        }
    
        private ResourceLocation getMobTutorielTexture(MonMob mobTutoriel)
        {
            return texture;
        }
    }
    
    

    :::


  • Moddeurs confirmés Modérateurs

    tu as fail ton paste de la classe proxy tu as mis celle de l'entity ^^



  • J'ai peur de ne pas avoir compris 😞
    Qu'es que j'ai fail dans la classe proxy ? j'ai pourtant recopier la ligne du tutoriel en remplacent ce qu'il fallait remplace


  • Moddeurs confirmés Modérateurs

    copier coller -> copy paste l'habitude d'écrire en anglais désolé



  • Tu as mis la classe de ton entité à la place du proxy



  • Euuh je fais que supposer mais ceci EntityRegistry.registerModEntity(MonMob.class, "mobTutoriel", 420, this, 40, 1, true);

    Le this devrait pas être taclasse.instance ?

    A moins que ce ne soit en 1.8 et que ca change ^^



  • Argh trop de reponse 😃 Je ne comprend vraiment pas desole l'erreur ce situe dans la classe proxy ?
    Dans le tutoriel c'est this et il est dis que l'instance peut être enlever mais oui je suis en 1.8 et le tutoriel en 1.7 peut être que cela a changer
    MY BAD SORRY ! (j'ecris en gras pour que vous le voyiez moi qui cherchais desesperement une erreur dans le code 😃 j'ai coller la bonne classe cette fois)


  • Moddeurs confirmés Modérateurs

    bha a ton message au lieux de coller ta classe proxy tu as mis celle de ton entity



  • Je me permet de refaire un message car je crois que mon édit n'a pas était aperçu j'ai bien mis la bonne classe proxy desole de l'erreur



  • Quand tu instancie ton renderManager, tu mets null en premier paramètre, tu m'étonnes que çà marche pas…


Log in to reply