Résolu Encore problème onUpdate
-
Oui comme tu veux, mais c’est pas très utile vu que le cooldown ne peut pas descendre en dessous de 0. Je connais ce sentiment
-
@‘Eikins’:
Oui comme tu veux, mais c’est pas très utile vu que le cooldown ne peut pas descendre en dessous de 0. Je connais ce sentiment
Aha ^^
Crash x) lorsque je me connecte en solo:
[17:05:50] [main/INFO] [GradleStart]: username: floriangabet [17:05:50] [main/INFO] [GradleStart]: Extra: [] [17:05:50] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/Admin/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --username, floriangabet, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker] [17:05:50] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [17:05:50] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [17:05:50] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [17:05:50] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [17:05:50] [main/INFO] [FML]: Forge Mod Loader version 7.10.85.1291 for Minecraft 1.7.10 loading [17:05:50] [main/INFO] [FML]: Java is Java HotSpot(TM) Client VM, version 1.8.0_45, running on Windows 7:x86:6.1, installed at C:\Program Files (x86)\Java\jdk1.8.0_45\jre [17:05:50] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [17:05:50] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [17:05:50] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin [17:05:50] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [17:05:50] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [17:05:50] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [17:05:50] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [17:05:50] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [17:05:50] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [17:05:50] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [17:05:50] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [17:05:50] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [17:05:50] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [17:05:50] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker [17:05:50] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [17:05:50] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker [17:05:50] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker [17:05:50] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [17:05:51] [main/INFO]: Setting user: floriangabet [17:05:51] [Client thread/INFO]: LWJGL Version: 2.9.1 [17:05:51] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [17:05:51] [Client thread/INFO] [FML]: MinecraftForge v10.13.2.1291 Initialized [17:05:52] [Client thread/INFO] [FML]: Replaced 183 ore recipies [17:05:52] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [17:05:52] [Client thread/INFO] [FML]: Searching C:\Users\Admin\Documents\Modding\LegacyMod\eclipse\mods for mods [17:05:52] [Client thread/INFO] [lc]: Mod lc is missing the required element 'name'. Substituting lc [17:05:53] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [17:05:53] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, lc] at CLIENT [17:05:53] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, lc] at SERVER [17:05:53] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:lc, [1.10] Firewolf v1.36.zip [17:05:53] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [17:05:53] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations [17:05:53] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [17:05:53] [Client thread/INFO] [FML]: Applying holder lookups [17:05:53] [Client thread/INFO] [FML]: Holder lookups applied [17:05:53] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [17:05:53] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem… [17:05:53] [Thread-6/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL [17:05:53] [Thread-6/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [17:05:53] [Thread-6/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized. [17:05:54] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [17:05:54] [Sound Library Loader/INFO]: Sound engine started [17:05:56] [Client thread/INFO]: Created: 2048x2048 textures/blocks-atlas [17:05:56] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/items/.png java.io.FileNotFoundException: minecraft:textures/items/.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.8.0_45] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_45] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45] at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.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/:?] [17:05:56] [Client thread/INFO]: Created: 512x256 textures/items-atlas [17:05:56] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods [17:05:56] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:lc, [1.10] Firewolf v1.36.zip [17:05:58] [Client thread/INFO]: Created: 2048x2048 textures/blocks-atlas [17:05:58] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/items/.png java.io.FileNotFoundException: minecraft:textures/items/.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.8.0_45] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_45] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45] at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.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/:?] [17:05:58] [Client thread/INFO]: Created: 512x256 textures/items-atlas [17:05:58] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [17:05:58] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down… [17:05:59] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]: Author: Paul Lamb, www.paulscode.com [17:05:59] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [17:05:59] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [17:05:59] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem… [17:05:59] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL [17:05:59] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [17:05:59] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized. [17:05:59] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [17:05:59] [Sound Library Loader/INFO]: Sound engine started [17:06:08] [Server thread/INFO]: Starting integrated minecraft server version 1.7.10 [17:06:08] [Server thread/INFO]: Generating keypair [17:06:08] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance [17:06:08] [Server thread/INFO] [FML]: Applying holder lookups [17:06:08] [Server thread/INFO] [FML]: Holder lookups applied [17:06:08] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@ddd539) [17:06:08] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@ddd539) [17:06:08] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@ddd539) [17:06:08] [Server thread/INFO]: Preparing start region for level 0 [17:06:09] [Server thread/INFO]: Changing view distance to 8, from 10 [17:06:09] [Netty Client IO #0/INFO] [FML]: Server protocol version 1 [17:06:09] [Netty IO #1/INFO] [FML]: Client protocol version 1 [17:06:09] [Netty IO #1/INFO] [FML]: Client attempting to join with 4 mods : FML@7.10.85.1291,lc@1.0,Forge@10.13.2.1291,mcp@9.05 [17:06:09] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT [17:06:09] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER [17:06:09] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established [17:06:09] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established [17:06:09] [Server thread/INFO]: floriangabet[local:E:de5eb7bb] logged in with entity id 318 at (-124.44666956204222, 82.60982619511093, -36.52332989261792) [17:06:09] [Server thread/INFO]: floriangabet a rejoint la partie [17:06:10] [Client thread/ERROR] [FML]: Exception caught during firing event cpw.mods.fml.common.gameevent.TickEvent$PlayerTickEvent@80234b: java.lang.NullPointerException at net.legacymod.events.Events.onPlayerTick(Events.java:112) ~[Events.class:?] at cpw.mods.fml.common.eventhandler.ASMEventHandler_12_Events_onPlayerTick_PlayerTickEvent.invoke(.dynamic) ~[?:?] at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) ~[ASMEventHandler.class:?] at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:138) [EventBus.class:?] at cpw.mods.fml.common.FMLCommonHandler.onPlayerPostTick(FMLCommonHandler.java:350) [FMLCommonHandler.class:?] at net.minecraft.entity.player.EntityPlayer.onUpdate(EntityPlayer.java:392) [EntityPlayer.class:?] at net.minecraft.client.entity.EntityClientPlayerMP.onUpdate(EntityClientPlayerMP.java:96) [EntityClientPlayerMP.class:?] at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2298) [World.class:?] at net.minecraft.world.World.updateEntity(World.java:2258) [World.class:?] at net.minecraft.world.World.updateEntities(World.java:2108) [World.class:?] at net.minecraft.client.Minecraft.runTick(Minecraft.java:2086) [Minecraft.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1028) [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.8.0_45] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_45] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45] at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.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/:?] [17:06:10] [Client thread/ERROR] [FML]: Index: 1 Listeners: [17:06:10] [Client thread/ERROR] [FML]: 0: NORMAL [17:06:10] [Client thread/ERROR] [FML]: 1: ASM: net.legacymod.events.Events@115d346 onPlayerTick(Lcpw/mods/fml/common/gameevent/TickEvent$PlayerTickEvent;)V [17:06:10] [Server thread/ERROR] [FML]: Exception caught during firing event cpw.mods.fml.common.gameevent.TickEvent$PlayerTickEvent@1c45aa9: java.lang.NullPointerException at net.legacymod.events.Events.onPlayerTick(Events.java:112) ~[Events.class:?] at cpw.mods.fml.common.eventhandler.ASMEventHandler_12_Events_onPlayerTick_PlayerTickEvent.invoke(.dynamic) ~[?:?] at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) ~[ASMEventHandler.class:?] at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:138) [EventBus.class:?] at cpw.mods.fml.common.FMLCommonHandler.onPlayerPostTick(FMLCommonHandler.java:350) [FMLCommonHandler.class:?] at net.minecraft.entity.player.EntityPlayer.onUpdate(EntityPlayer.java:392) [EntityPlayer.class:?] at net.minecraft.entity.player.EntityPlayerMP.onUpdateEntity(EntityPlayerMP.java:330) [EntityPlayerMP.class:?] at net.minecraft.network.NetHandlerPlayServer.processPlayer(NetHandlerPlayServer.java:329) [NetHandlerPlayServer.class:?] at net.minecraft.network.play.client.C03PacketPlayer.processPacket(C03PacketPlayer.java:37) [C03PacketPlayer.class:?] at net.minecraft.network.play.client.C03PacketPlayer$C06PacketPlayerPosLook.processPacket(C03PacketPlayer.java:271) [C03PacketPlayer$C06PacketPlayerPosLook.class:?] at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:241) [NetworkManager.class:?] at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) [NetworkSystem.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) [MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) [IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?] [17:06:10] [Server thread/ERROR] [FML]: Index: 1 Listeners: [17:06:10] [Server thread/ERROR] [FML]: 0: NORMAL [17:06:10] [Server thread/ERROR] [FML]: 1: ASM: net.legacymod.events.Events@115d346 onPlayerTick(Lcpw/mods/fml/common/gameevent/TickEvent$PlayerTickEvent;)V [17:06:10] [Server thread/ERROR]: Encountered an unexpected exception net.minecraft.util.ReportedException: Ticking player at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:198) ~[NetworkSystem.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) ~[MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) ~[MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) ~[IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?] Caused by: java.lang.NullPointerException at net.legacymod.events.Events.onPlayerTick(Events.java:112) ~[Events.class:?] at cpw.mods.fml.common.eventhandler.ASMEventHandler_12_Events_onPlayerTick_PlayerTickEvent.invoke(.dynamic) ~[?:?] at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) ~[ASMEventHandler.class:?] at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:138) ~[EventBus.class:?] at cpw.mods.fml.common.FMLCommonHandler.onPlayerPostTick(FMLCommonHandler.java:350) ~[FMLCommonHandler.class:?] at net.minecraft.entity.player.EntityPlayer.onUpdate(EntityPlayer.java:392) ~[EntityPlayer.class:?] at net.minecraft.entity.player.EntityPlayerMP.onUpdateEntity(EntityPlayerMP.java:330) ~[EntityPlayerMP.class:?] at net.minecraft.network.NetHandlerPlayServer.processPlayer(NetHandlerPlayServer.java:329) ~[NetHandlerPlayServer.class:?] at net.minecraft.network.play.client.C03PacketPlayer.processPacket(C03PacketPlayer.java:37) ~[C03PacketPlayer.class:?] at net.minecraft.network.play.client.C03PacketPlayer$C06PacketPlayerPosLook.processPacket(C03PacketPlayer.java:271) ~[C03PacketPlayer$C06PacketPlayerPosLook.class:?] at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:241) ~[NetworkManager.class:?] at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) ~[NetworkSystem.class:?] … 5 more [17:06:10] [Server thread/ERROR]: This crash report has been saved to: C:\Users\Admin\Documents\Modding\LegacyMod\eclipse\.\crash-reports\crash-2016-08-01_17.06.10-server.txt [17:06:10] [Server thread/INFO]: Stopping server [17:06:10] [Server thread/INFO]: Saving players [17:06:10] [Server thread/INFO]: Saving worlds [17:06:10] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld [17:06:10] [Server thread/INFO]: Saving chunks for level 'New World'/Nether [17:06:10] [Server thread/INFO]: Saving chunks for level 'New World'/The End [17:06:10] [Server thread/INFO] [FML]: Unloading dimension 0 [17:06:10] [Server thread/INFO] [FML]: Unloading dimension -1 [17:06:10] [Server thread/INFO] [FML]: Unloading dimension 1 [17:06:10] [Server thread/INFO] [FML]: Applying holder lookups [17:06:10] [Server thread/INFO] [FML]: Holder lookups applied [17:06:10] [Server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded. [17:06:10] [Client thread/FATAL]: Reported exception thrown! net.minecraft.util.ReportedException: Ticking entity at net.minecraft.world.World.updateEntities(World.java:2123) ~[World.class:?] at net.minecraft.client.Minecraft.runTick(Minecraft.java:2086) ~[Minecraft.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1028) ~[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.8.0_45] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_45] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45] at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.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 net.legacymod.events.Events.onPlayerTick(Events.java:112) ~[Events.class:?] at cpw.mods.fml.common.eventhandler.ASMEventHandler_12_Events_onPlayerTick_PlayerTickEvent.invoke(.dynamic) ~[?:?] at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) ~[ASMEventHandler.class:?] at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:138) ~[EventBus.class:?] at cpw.mods.fml.common.FMLCommonHandler.onPlayerPostTick(FMLCommonHandler.java:350) ~[FMLCommonHandler.class:?] at net.minecraft.entity.player.EntityPlayer.onUpdate(EntityPlayer.java:392) ~[EntityPlayer.class:?] at net.minecraft.client.entity.EntityClientPlayerMP.onUpdate(EntityClientPlayerMP.java:96) ~[EntityClientPlayerMP.class:?] at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2298) ~[World.class:?] at net.minecraft.world.World.updateEntity(World.java:2258) ~[World.class:?] at net.minecraft.world.World.updateEntities(World.java:2108) ~[World.class:?] … 12 more [17:06:10] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: –-- Minecraft Crash Report ---- // On the bright side, I bought you a teddy bear! Time: 01/08/16 17:06 Description: Ticking entity java.lang.NullPointerException: Ticking entity at net.legacymod.events.Events.onPlayerTick(Events.java:112) at cpw.mods.fml.common.eventhandler.ASMEventHandler_12_Events_onPlayerTick_PlayerTickEvent.invoke(.dynamic) at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:138) at cpw.mods.fml.common.FMLCommonHandler.onPlayerPostTick(FMLCommonHandler.java:350) at net.minecraft.entity.player.EntityPlayer.onUpdate(EntityPlayer.java:392) at net.minecraft.client.entity.EntityClientPlayerMP.onUpdate(EntityClientPlayerMP.java:96) at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2298) at net.minecraft.world.World.updateEntity(World.java:2258) at net.minecraft.world.World.updateEntities(World.java:2108) at net.minecraft.client.Minecraft.runTick(Minecraft.java:2086) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1028) at net.minecraft.client.Minecraft.run(Minecraft.java:951) at net.minecraft.client.main.Main.main(Main.java:164) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at 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.legacymod.events.Events.onPlayerTick(Events.java:112) at cpw.mods.fml.common.eventhandler.ASMEventHandler_12_Events_onPlayerTick_PlayerTickEvent.invoke(.dynamic) at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:138) at cpw.mods.fml.common.FMLCommonHandler.onPlayerPostTick(FMLCommonHandler.java:350) at net.minecraft.entity.player.EntityPlayer.onUpdate(EntityPlayer.java:392) at net.minecraft.client.entity.EntityClientPlayerMP.onUpdate(EntityClientPlayerMP.java:96) at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2298) at net.minecraft.world.World.updateEntity(World.java:2258) -- Entity being ticked -- Details: Entity Type: null (net.minecraft.client.entity.EntityClientPlayerMP) Entity ID: 318 Entity Name: floriangabet Entity's Exact location: -124,45, 84,23, -36,52 Entity's Block location: World: (-125,84,-37), Chunk: (at 3,5,11 in -8,-3; contains blocks -128,0,-48 to -113,255,-33), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1) Entity's Momentum: 0,00, 0,00, 0,00 Stacktrace: at net.minecraft.world.World.updateEntities(World.java:2108) -- Affected level -- Details: Level name: MpServer All players: 1 total; [EntityClientPlayerMP['floriangabet'/318, l='MpServer', x=-124,45, y=84,23, z=-36,52]] Chunk stats: MultiplayerChunkCache: 0, 0 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: 3396886 game time, 1 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: 36 total; [EntitySheep['Mouton'/320, l='MpServer', x=-94,47, y=89,00, z=-48,31], EntityCow['Vache'/448, l='MpServer', x=-200,53, y=66,00, z=-74,94], EntityBat['Chauve-souris'/321, l='MpServer', x=-158,97, y=30,50, z=-65,16], EntitySquid['Poulpe'/322, l='MpServer', x=-175,03, y=58,09, z=-46,47], EntitySheep['Mouton'/323, l='MpServer', x=-171,81, y=63,00, z=-24,56], EntityChicken['Poule'/324, l='MpServer', x=-175,47, y=62,63, z=-21,16], EntitySquid['Poulpe'/325, l='MpServer', x=-171,28, y=56,94, z=-56,44], EntitySquid['Poulpe'/326, l='MpServer', x=-174,66, y=56,38, z=-50,50], EntitySheep['Mouton'/327, l='MpServer', x=-76,75, y=104,00, z=-52,16], EntityCow['Vache'/455, l='MpServer', x=-203,16, y=68,00, z=-101,84], EntityPig['Cochon'/328, l='MpServer', x=-152,88, y=63,00, z=-93,03], EntitySheep['Mouton'/329, l='MpServer', x=-154,84, y=64,00, z=-89,72], EntitySheep['Mouton'/330, l='MpServer', x=-85,47, y=87,00, z=-95,38], EntitySheep['Mouton'/331, l='MpServer', x=-88,75, y=89,00, z=-91,97], EntitySquid['Poulpe'/332, l='MpServer', x=-180,50, y=59,06, z=-44,34], EntitySquid['Poulpe'/333, l='MpServer', x=-176,69, y=56,38, z=-44,56], EntitySquid['Poulpe'/334, l='MpServer', x=-186,84, y=55,94, z=-23,59], EntitySquid['Poulpe'/335, l='MpServer', x=-178,50, y=58,31, z=-23,34], EntitySquid['Poulpe'/336, l='MpServer', x=-176,19, y=56,13, z=-27,09], EntitySquid['Poulpe'/337, l='MpServer', x=-178,81, y=56,00, z=-49,06], EntityZombie['Zombie'/338, l='MpServer', x=-168,50, y=38,00, z=-80,50], EntitySheep['Mouton'/339, l='MpServer', x=-160,66, y=63,00, z=-84,81], EntityChicken['Poule'/340, l='MpServer', x=-182,63, y=65,00, z=-68,41], EntityPig['Cochon'/404, l='MpServer', x=-130,16, y=71,00, z=42,59], EntityCow['Vache'/341, l='MpServer', x=-63,72, y=84,00, z=-6,56], EntityChicken['Poule'/342, l='MpServer', x=-174,59, y=62,50, z=24,13], EntitySheep['Mouton'/343, l='MpServer', x=-164,88, y=65,00, z=24,47], EntityChicken['Poule'/344, l='MpServer', x=-204,41, y=64,00, z=-45,41], EntitySheep['Mouton'/345, l='MpServer', x=-69,38, y=69,00, z=-99,19], EntitySheep['Mouton'/346, l='MpServer', x=-72,50, y=74,00, z=-100,34], EntitySheep['Mouton'/347, l='MpServer', x=-70,72, y=80,00, z=-99,47], EntityPig['Cochon'/475, l='MpServer', x=-78,03, y=69,00, z=43,47], EntityCow['Vache'/415, l='MpServer', x=-165,75, y=68,00, z=-114,97], EntitySquid['Poulpe'/497, l='MpServer', x=-185,72, y=59,34, z=25,75], EntitySquid['Poulpe'/498, l='MpServer', x=-187,31, y=56,41, z=27,84], EntityClientPlayerMP['floriangabet'/318, l='MpServer', x=-124,45, y=84,23, z=-36,52]] 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:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) at GradleStart.main(Unknown Source) – System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 7 (x86) version 6.1 Java Version: 1.8.0_45, Oracle Corporation Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation Memory: 714937136 bytes (681 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: 13, tallocated: 95 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 lc{1.0} [lc] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Launched Version: 1.7.10 LWJGL: 2.9.1 OpenGL: GeForce GTX 960/PCIe/SSE2 GL version 4.5.0 NVIDIA 368.39, NVIDIA Corporation GL Caps: Using GL 1.3 multitexturing. Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported. Anisotropic filtering is supported and maximum anisotropy is 16. Shaders are available because OpenGL 2.1 is supported. Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Packs: [[1.10] Firewolf v1.36.zip] 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) [17:06:10] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:398]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Admin\Documents\Modding\LegacyMod\eclipse\.\crash-reports\crash-2016-08-01_17.06.10-client.txt AL lib: (EE) alc_cleanup: 1 device not closed Java HotSpot(TM) Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
event:
@SubscribeEvent public void onPlayerTick(TickEvent.PlayerTickEvent event) { if(event.phase.equals(Phase.END)) { ExtendedEntityPropTimer.get(event.player).onTickEnd(); } }
tick end et tout:
public void onTickEnd() { if(timer > 0) { timer–; } } public void setTimer(int cooldown) { timer = cooldown; } public boolean canUseFireArrow() { return timer <= 0; } }
-
Il y a une NPE à la ligne 112 de la classe Events, ça correspond à quelle ligne chez toi :
if(event.phase.equals(Phase.END))
ou
ExtendedEntityPropTimer.get(event.player).onTickEnd();
?
EDIT : Ca vient forcément du getter.
Je crois que tu as oublié de register ton ExtendedEntityPropTimer dans les events. Regarde sur le Tutoriel partie EventHandler
-
@‘Eikins’:
Il y a une NPE à la ligne 112 de la classe Events, ça correspond à quelle ligne chez toi :
if(event.phase.equals(Phase.END))
ou
ExtendedEntityPropTimer.get(event.player).onTickEnd();
?
EDIT : Ca vient forcément du getter.
Je crois que tu as oublié de register ton ExtendedEntityPropTimer dans les events. Regarde sur le Tutoriel partie EventHandler
xD exact super merci beaucoup