Aide pour ajouter un nouveau CD
-
Ah tu parle du code pour l’item du cd ?
Tu as juste à mettre ça dedans :public ResourceLocation getRecordResource(String name) { return new ResourceLocation("modid:records.nom"); } -
merci
-
Re
Désolé mais je ne sais pas si sais du faite que ya aucun sounds qui sort du jeux ou sais moi qui a mal fait le truc mais quand je mais le cd j’entends rien .
mon item cd :import net.minecraft.item.ItemRecord; import net.minecraft.util.ResourceLocation; public class itemCdAnaxia1 extends ItemRecord { protected itemCdAnaxia1(String name) { super(name); } public ResourceLocation getRecordResource(String name) { return new ResourceLocation("ModAnaxia:records.Music1"); } }mon fichier sounds:
"records.Music1": { "category": "record", "sounds": [ { "name": "records/Music1", "stream": true } ] } }J’ai mis le .ogg dans le dossier sounds
-
Il faut mettre le .ogg dans le dossier sounds/records/
Et remplace :
return new ResourceLocation(“ModAnaxia:records.Music1”);
par :
return new ResourceLocation(“modanaxia:records.Music1”);
Il faut pas mettre les majuscules au modid. -
Sa marche toujours pas j’ai mis le ogg dans le dossier sounds/records/ et remplacer les majuscules mais quand je test de mettre le cd j’entends aucun son.
Comment la class du cd vas voir dans le fichier sounds.json? -
Il est sensé le détecté automatiquement. Envoie les logs du jeu.
-
[14:06:25] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [14:06:25] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [14:06:25] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [14:06:25] [main/INFO] [FML]: Forge Mod Loader version 7.2.211.1121 for Minecraft 1.7.2 loading [14:06:25] [main/INFO] [FML]: Java is Java HotSpot(TM) Client VM, version 1.7.0_71, running on Windows 7:x86:6.1, installed at C:\Program Files\Java\jre7 [14:06:25] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [14:06:25] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [14:06:25] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [14:06:25] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [14:06:25] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [14:06:25] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [14:06:25] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [14:06:26] [main/ERROR] [FML]: The minecraft jar file:/C:/Users/Cedric/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.2.1121/forgeSrc-1.7.2-10.12.2.1121.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again! [14:06:26] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem! [14:06:26] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/Cedric/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.2.1121/forgeSrc-1.7.2-10.12.2.1121.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it [14:06:26] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [14:06:26] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [14:06:26] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker [14:06:27] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [14:06:28] [main/INFO]: Setting user: Player695 Completely ignored arguments: [username=FairyOne] [14:06:30] [Client thread/INFO]: LWJGL Version: 2.9.0 [14:06:30] [Client thread/ERROR]: Couldn't set icon javax.imageio.IIOException: Can't read input file! at javax.imageio.ImageIO.read(Unknown Source) ~[?:1.7.0_71] at net.minecraft.client.Minecraft.readImage(Minecraft.java:629) ~[Minecraft.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:458) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:880) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] [14:06:30] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [14:06:31] [Client thread/INFO] [FML]: MinecraftForge v10.12.2.1121 Initialized [14:06:31] [Client thread/INFO] [FML]: Replaced 182 ore recipies [14:06:31] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [14:06:31] [Client thread/INFO] [FML]: Searching C:\Users\Cedric\Desktop\forge-1.7.2-src\eclipse\mods for mods [14:06:32] [Client thread/ERROR] [FML]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.FMLRenderAccessLibrary. This is generally a severe programming error. There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW! [14:06:35] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [14:06:35] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Anaxia Mod [14:06:35] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [14:06:36] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations [14:06:36] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [14:06:36] [Client thread/INFO] [FML]: Applying holder lookups [14:06:36] [Client thread/INFO] [FML]: Holder lookups applied [14:06:36] [Client thread/WARN]: Invalid sounds.json com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 4 at com.google.gson.Gson.fromJson(Gson.java:815) ~[Gson.class:?] at com.google.gson.Gson.fromJson(Gson.java:768) ~[Gson.class:?] at net.minecraft.client.audio.SoundHandler.onResourceManagerReload(SoundHandler.java:83) [SoundHandler.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:124) [SimpleReloadableResourceManager.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:515) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:880) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 4 at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:374) ~[JsonReader.class:?] at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:183) ~[MapTypeAdapterFactory$Adapter.class:?] at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:145) ~[MapTypeAdapterFactory$Adapter.class:?] at com.google.gson.Gson.fromJson(Gson.java:803) ~[Gson.class:?] … 12 more Starting up SoundSystem... Initializing LWJGL OpenAL (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) OpenAL initialized. [14:06:38] [Sound Library Loader/INFO]: Sound engine started [14:06:39] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas [14:06:39] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/items/MISSING_ICON_ITEM_4101_record.png java.io.FileNotFoundException: minecraft:textures/items/MISSING_ICON_ITEM_4101_record.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:570) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:880) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] [14:06:39] [Client thread/INFO]: Created: 512x256 textures/items-atlas [14:06:40] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods [14:06:40] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Anaxia Mod [14:06:41] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/items/MISSING_ICON_ITEM_4101_record.png java.io.FileNotFoundException: minecraft:textures/items/MISSING_ICON_ITEM_4101_record.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:614) [Minecraft.class:?] at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:573) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:880) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] [14:06:41] [Client thread/INFO]: Created: 512x256 textures/items-atlas [14:06:41] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas SoundSystem shutting down… Author: Paul Lamb, www.paulscode.com [14:06:41] [Client thread/WARN]: Invalid sounds.json com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 4 at com.google.gson.Gson.fromJson(Gson.java:815) ~[Gson.class:?] at com.google.gson.Gson.fromJson(Gson.java:768) ~[Gson.class:?] at net.minecraft.client.audio.SoundHandler.onResourceManagerReload(SoundHandler.java:83) [SoundHandler.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:614) [Minecraft.class:?] at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:573) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:880) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 4 at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:374) ~[JsonReader.class:?] at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:183) ~[MapTypeAdapterFactory$Adapter.class:?] at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:145) ~[MapTypeAdapterFactory$Adapter.class:?] at com.google.gson.Gson.fromJson(Gson.java:803) ~[Gson.class:?] … 15 more Starting up SoundSystem... Initializing LWJGL OpenAL (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) OpenAL initialized. [14:06:42] [Sound Library Loader/INFO]: Sound engine started [14:06:43] [MCO Availability Checker #1/ERROR]: Couldn't connect to Realms [14:06:47] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:music.menu [14:06:58] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:gui.button.press [14:06:59] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:gui.button.press [14:06:59] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:gui.button.press [14:07:01] [Server thread/INFO]: Starting integrated minecraft server version 1.7.2 [14:07:01] [Server thread/INFO]: Generating keypair [14:07:01] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance [14:07:02] [Server thread/INFO] [FML]: Applying holder lookups [14:07:02] [Server thread/INFO] [FML]: Holder lookups applied [14:07:02] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@a3e662) [14:07:02] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@a3e662) [14:07:02] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@a3e662) [14:07:02] [Server thread/INFO]: Preparing start region for level 0 [14:07:04] [Netty Client IO #0/INFO] [FML]: Server protocol version 1 [14:07:04] [Netty IO #1/INFO] [FML]: Client protocol version 1 [14:07:04] [Netty IO #1/INFO] [FML]: Client attempting to join with 4 mods : modanaxia@1.0,mcp@9.03,FML@7.2.211.1121,Forge@10.12.2.1121 [14:07:04] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT [14:07:04] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER [14:07:04] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established [14:07:04] [Server thread/INFO]: Player695[local:E:af64506c] logged in with entity id 157 at (988.22116095241, 4.0, -525.3314510098452) [14:07:04] [Server thread/INFO]: Player695 joined the game [14:07:04] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established [14:07:07] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 2843ms behind, skipping 56 tick(s) [14:07:07] [Server thread/INFO]: Saving and pausing game… [14:07:07] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld [14:07:07] [Server thread/INFO]: Saving chunks for level 'New World'/Nether [14:07:07] [Server thread/INFO]: Saving chunks for level 'New World'/The End [14:07:10] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:mob.pig.say [14:07:17] [Server thread/INFO]: Saving and pausing game… [14:07:17] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld [14:07:17] [Server thread/INFO]: Saving chunks for level 'New World'/Nether [14:07:17] [Server thread/INFO]: Saving chunks for level 'New World'/The End [14:07:18] [Client thread/WARN]: Unable to play unknown soundEvent: modanaxia:sounds.json [14:07:21] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:mob.pig.say [14:07:25] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:random.pop [14:07:26] [Client thread/WARN]: Unable to play unknown soundEvent: modanaxia:sounds.json [14:07:28] [Client thread/INFO]: Stopping! [14:07:28] [Server thread/INFO]: Stopping server [14:07:28] [Server thread/INFO]: Saving players SoundSystem shutting down… [14:07:28] [Server thread/INFO]: Saving worlds [14:07:28] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld [14:07:28] [Server thread/INFO]: Saving chunks for level 'New World'/Nether [14:07:28] [Server thread/INFO]: Saving chunks for level 'New World'/The End Author: Paul Lamb, www.paulscode.com Exception in thread "Client Shutdown Thread" java.lang.NullPointerException at net.minecraftforge.common.ForgeChunkManager.saveWorld(ForgeChunkManager.java:819) at net.minecraftforge.common.ForgeInternalHandler.onDimensionSave(ForgeInternalHandler.java:70) at cpw.mods.fml.common.eventhandler.ASMEventHandler_2_ForgeInternalHandler_onDimensionSave_Save.invoke(.dynamic) at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:51) at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:122) at net.minecraft.world.WorldServer.saveAllChunks(WorldServer.java:874) at net.minecraft.server.MinecraftServer.saveAllWorlds(MinecraftServer.java:360) at net.minecraft.server.MinecraftServer.stopServer(MinecraftServer.java:393) at net.minecraft.server.integrated.IntegratedServer.stopServer(IntegratedServer.java:255) at net.minecraft.client.Minecraft.stopIntegratedServer(Minecraft.java:2656) at net.minecraft.client.main.Main$2.run(Main.java:102) -
[14:28:57] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [14:28:57] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [14:28:57] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [14:28:57] [main/INFO] [FML]: Forge Mod Loader version 7.2.211.1121 for Minecraft 1.7.2 loading [14:28:58] [main/INFO] [FML]: Java is Java HotSpot(TM) Client VM, version 1.7.0_71, running on Windows 7:x86:6.1, installed at C:\Program Files\Java\jre7 [14:28:58] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [14:28:58] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [14:28:58] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [14:28:58] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [14:28:58] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [14:28:58] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [14:28:58] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [14:29:00] [main/ERROR] [FML]: The minecraft jar file:/C:/Users/FairyOne/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.2.1121/forgeSrc-1.7.2-10.12.2.1121.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again! [14:29:00] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem! [14:29:00] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/FairyOne/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.2.1121/forgeSrc-1.7.2-10.12.2.1121.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it [14:29:00] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [14:29:00] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [14:29:00] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker [14:29:02] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [14:29:05] [main/INFO]: Setting user: Player855 Completely ignored arguments: [username=FairyOne] [14:29:07] [Client thread/INFO]: LWJGL Version: 2.9.0 [14:29:07] [Client thread/ERROR]: Couldn't set icon javax.imageio.IIOException: Can't read input file! at javax.imageio.ImageIO.read(Unknown Source) ~[?:1.7.0_71] at net.minecraft.client.Minecraft.readImage(Minecraft.java:629) ~[Minecraft.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:458) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:880) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] [14:29:09] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [14:29:09] [Client thread/INFO] [FML]: MinecraftForge v10.12.2.1121 Initialized [14:29:09] [Client thread/INFO] [FML]: Replaced 182 ore recipies [14:29:09] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [14:29:09] [Client thread/INFO] [FML]: Searching C:\Users\FairyOne\Desktop\forge-1.7.2-src\eclipse\mods for mods [14:29:10] [Client thread/ERROR] [FML]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.FMLRenderAccessLibrary. This is generally a severe programming error. There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW! [14:29:15] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [14:29:16] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Anaxia Mod [14:29:16] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [14:29:16] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations [14:29:16] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [14:29:16] [Client thread/INFO] [FML]: Applying holder lookups [14:29:16] [Client thread/INFO] [FML]: Holder lookups applied [14:29:16] [Client thread/WARN]: Invalid sounds.json com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 4 at com.google.gson.Gson.fromJson(Gson.java:815) ~[Gson.class:?] at com.google.gson.Gson.fromJson(Gson.java:768) ~[Gson.class:?] at net.minecraft.client.audio.SoundHandler.onResourceManagerReload(SoundHandler.java:83) [SoundHandler.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:124) [SimpleReloadableResourceManager.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:515) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:880) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 4 at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:374) ~[JsonReader.class:?] at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:183) ~[MapTypeAdapterFactory$Adapter.class:?] at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:145) ~[MapTypeAdapterFactory$Adapter.class:?] at com.google.gson.Gson.fromJson(Gson.java:803) ~[Gson.class:?] … 12 more Starting up SoundSystem... Initializing LWJGL OpenAL (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [14:29:17] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas [14:29:17] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/items/MISSING_ICON_ITEM_4101_record.png java.io.FileNotFoundException: minecraft:textures/items/MISSING_ICON_ITEM_4101_record.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:570) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:880) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] [14:29:17] [Client thread/INFO]: Created: 512x256 textures/items-atlas [14:29:18] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods [14:29:18] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Anaxia Mod [14:29:18] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/items/MISSING_ICON_ITEM_4101_record.png java.io.FileNotFoundException: minecraft:textures/items/MISSING_ICON_ITEM_4101_record.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:614) [Minecraft.class:?] at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:573) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:880) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] [14:29:18] [Client thread/INFO]: Created: 512x256 textures/items-atlas [14:29:18] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas [14:29:18] [Client thread/WARN]: Invalid sounds.json com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 4 at com.google.gson.Gson.fromJson(Gson.java:815) ~[Gson.class:?] at com.google.gson.Gson.fromJson(Gson.java:768) ~[Gson.class:?] at net.minecraft.client.audio.SoundHandler.onResourceManagerReload(SoundHandler.java:83) [SoundHandler.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:614) [Minecraft.class:?] at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:573) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:880) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 4 at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:374) ~[JsonReader.class:?] at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:183) ~[MapTypeAdapterFactory$Adapter.class:?] at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:145) ~[MapTypeAdapterFactory$Adapter.class:?] at com.google.gson.Gson.fromJson(Gson.java:803) ~[Gson.class:?] … 15 more Starting up SoundSystem... OpenAL initialized. Initializing LWJGL OpenAL (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) Exception in thread "Thread-8" java.lang.IllegalStateException: Only one OpenAL context may be instantiated at any one time. at org.lwjgl.openal.AL.create(AL.java:113) at org.lwjgl.openal.AL.create(AL.java:102) at org.lwjgl.openal.AL.create(AL.java:201) at paulscode.sound.libraries.LibraryLWJGLOpenAL.init(LibraryLWJGLOpenAL.java:164) at paulscode.sound.SoundSystem.CommandNewLibrary(SoundSystem.java:1576) at paulscode.sound.SoundSystem.CommandQueue(SoundSystem.java:2572) at paulscode.sound.CommandThread.run(CommandThread.java:121) [14:29:20] [MCO Availability Checker #1/ERROR]: Couldn't connect to Realms [14:29:30] [Server thread/INFO]: Starting integrated minecraft server version 1.7.2 [14:29:30] [Server thread/INFO]: Generating keypair [14:29:31] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance [14:29:31] [Server thread/INFO] [FML]: Applying holder lookups [14:29:31] [Server thread/INFO] [FML]: Holder lookups applied [14:29:31] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@116ad58) [14:29:31] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@116ad58) [14:29:31] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@116ad58) [14:29:31] [Server thread/INFO]: Preparing start region for level 0 [14:29:33] [Netty Client IO #0/INFO] [FML]: Server protocol version 1 [14:29:33] [Netty IO #1/INFO] [FML]: Client protocol version 1 [14:29:33] [Netty IO #1/INFO] [FML]: Client attempting to join with 4 mods : modanaxia@1.0,mcp@9.03,FML@7.2.211.1121,Forge@10.12.2.1121 [14:29:33] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT [14:29:33] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER [14:29:33] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established [14:29:33] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established [14:29:33] [Server thread/INFO]: Player855[local:E:e4754e98] logged in with entity id 157 at (989.5888831120207, 4.0, -525.9509534466055) [14:29:33] [Server thread/INFO]: Player855 joined the game [14:29:41] [Server thread/INFO]: Saving and pausing game… [14:29:41] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld [14:29:41] [Server thread/INFO]: Saving chunks for level 'New World'/Nether [14:29:41] [Server thread/INFO]: Saving chunks for level 'New World'/The End [14:29:43] [Client thread/INFO]: Stopping! [14:29:43] [Server thread/INFO]: Stopping server [14:29:43] [Server thread/INFO]: Saving players [14:29:43] [Client Shutdown Thread/INFO]: Stopping server [14:29:43] [Client Shutdown Thread/INFO]: Saving players [14:29:43] [Client Shutdown Thread/WARN]: Failed to save player data for Player855 [14:29:43] [Client Shutdown Thread/INFO]: Saving worlds [14:29:43] [Client Shutdown Thread/INFO]: Saving chunks for level 'New World'/Overworld Exception in thread "Client Shutdown Thread" java.lang.NullPointerException at net.minecraftforge.common.ForgeChunkManager.saveWorld(ForgeChunkManager.java:819) at net.minecraftforge.common.ForgeInternalHandler.onDimensionSave(ForgeInternalHandler.java:70) at cpw.mods.fml.common.eventhandler.ASMEventHandler_2_ForgeInternalHandler_onDimensionSave_Save.invoke(.dynamic) at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:51) at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:122) at net.minecraft.world.WorldServer.saveAllChunks(WorldServer.java:874) at net.minecraft.server.MinecraftServer.saveAllWorlds(MinecraftServer.java:360) at net.minecraft.server.MinecraftServer.stopServer(MinecraftServer.java:393) at net.minecraft.server.integrated.IntegratedServer.stopServer(IntegratedServer.java:255) at net.minecraft.client.Minecraft.stopIntegratedServer(Minecraft.java:2656) at net.minecraft.client.main.Main$2.run(Main.java:102) AL lib: (EE) alc_cleanup: 1 device not closed -
[14:06:36] [Client thread/WARN]: Invalid sounds.json
Vérifie ton fichier avec http://jsonlint.com/
Visiblement il n’est pas bon. -
j’ai tester mais j’ai rien compris de se qu’il me disse :
Parse error on line 1:
“records.Music1”: {
^
Expecting ‘{’, ‘[’j’ai essayer de remplacer { par [
-
Le problème c’est qu’un fichier json doit toujours commencer par {
{ "records.Music1": { "category": "record", "sounds": [ { "name": "records/Music1", "stream": true } ] } }Comme ça c’est bon
-
nop toujours pas je comprend pas pourquoi :S
-
Renvoie les logs après modification ?
Essaye sinon de virer les majuscules :{ "records.music1": { "category": "record", "sounds": [ { "name": "records/Music1", "stream": true } ] } }Et :
public ResourceLocation getRecordResource(String name) { return new ResourceLocation("modanaxia:records.music1"); } -
J’ai essayer sans les majuscules mais rien
voila les logs :
[16:14:28] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker[16:14:28] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[16:14:28] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[16:14:28] [main/INFO] [FML]: Forge Mod Loader version 7.2.211.1121 for Minecraft 1.7.2 loading
[16:14:28] [main/INFO] [FML]: Java is Java HotSpot
Client VM, version 1.7.0_71, running on Windows 7:x86:6.1, installed at C:\Program Files\Java\jre7
[16:14:28] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[16:14:28] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[16:14:28] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[16:14:28] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[16:14:28] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[16:14:28] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[16:14:28] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[16:14:29] [main/ERROR] [FML]: The minecraft jar file:/C:/Users/FairyOne/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.2.1121/forgeSrc-1.7.2-10.12.2.1121.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again!
[16:14:29] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem!
[16:14:29] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/FairyOne/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.2.1121/forgeSrc-1.7.2-10.12.2.1121.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it
[16:14:29] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[16:14:29] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[16:14:29] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[16:14:30] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[16:14:30] [main/INFO]: Setting user: Player392
Completely ignored arguments: [username=FairyOne]
[16:14:32] [Client thread/INFO]: LWJGL Version: 2.9.0
[16:14:32] [Client thread/ERROR]: Couldn’t set icon
javax.imageio.IIOException: Can’t read input file!
at javax.imageio.ImageIO.read(Unknown Source) ~[?:1.7.0_71]
at net.minecraft.client.Minecraft.readImage(Minecraft.java:629) ~[Minecraft.class:?]
at net.minecraft.client.Minecraft.startGame(Minecraft.java:458) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:880) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
[16:14:33] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[16:14:33] [Client thread/INFO] [FML]: MinecraftForge v10.12.2.1121 Initialized
[16:14:33] [Client thread/INFO] [FML]: Replaced 182 ore recipies
[16:14:33] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[16:14:33] [Client thread/INFO] [FML]: Searching C:\Users\FairyOne\Desktop\forge-1.7.2-src\eclipse\mods for mods
[16:14:34] [Client thread/ERROR] [FML]: FML has detected a mod that is using a package name based on ‘net.minecraft.src’ : net.minecraft.src.FMLRenderAccessLibrary. This is generally a severe programming error. There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you’re in eclipse, select your source code and ‘refactor’ it into a new package. Go on. DO IT NOW!
[16:14:37] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[16:14:38] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Anaxia Mod
[16:14:38] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[16:14:38] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
[16:14:38] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[16:14:38] [Client thread/INFO] [FML]: Applying holder lookups
[16:14:38] [Client thread/INFO] [FML]: Holder lookups appliedStarting up SoundSystem…
[16:14:38] [Client thread/WARN]: Invalid sounds.json
com.google.gson.JsonSyntaxException: java.io.EOFException: End of input at line 11 column 6
at com.google.gson.Gson.fromJson(Gson.java:813) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:768) ~[Gson.class:?]
at net.minecraft.client.audio.SoundHandler.onResourceManagerReload(SoundHandler.java:83) [SoundHandler.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:124) [SimpleReloadableResourceManager.class:?]
at net.minecraft.client.Minecraft.startGame(Minecraft.java:515) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:880) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
Caused by: java.io.EOFException: End of input at line 11 column 6
at com.google.gson.stream.JsonReader.nextNonWhitespace(JsonReader.java:1377) ~[JsonReader.class:?]
at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:471) ~[JsonReader.class:?]
at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:403) ~[JsonReader.class:?]
at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:184) ~[MapTypeAdapterFactory$Adapter.class:?]
at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:145) ~[MapTypeAdapterFactory$Adapter.class:?]
at com.google.gson.Gson.fromJson(Gson.java:803) ~[Gson.class:?]
… 12 more
Initializing LWJGL OpenAL
(The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[16:14:40] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
[16:14:40] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/items/MISSING_ICON_ITEM_4101_record.png
java.io.FileNotFoundException: minecraft:textures/items/MISSING_ICON_ITEM_4101_record.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:570) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:880) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
[16:14:40] [Client thread/INFO]: Created: 512x256 textures/items-atlas
[16:14:40] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
[16:14:40] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Anaxia Mod
[16:14:41] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/items/MISSING_ICON_ITEM_4101_record.png
java.io.FileNotFoundException: minecraft:textures/items/MISSING_ICON_ITEM_4101_record.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:614) [Minecraft.class:?]
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.startGame(Minecraft.java:573) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:880) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
[16:14:41] [Client thread/INFO]: Created: 512x256 textures/items-atlas
OpenAL initialized.[16:14:41] [Sound Library Loader/INFO]: Sound engine started
[16:14:41] [Client thread/INFO]: Created: 512x256 textures/blocks-atlasSoundSystem shutting down…
Author: Paul Lamb, www.paulscode.com[16:14:42] [Client thread/WARN]: Invalid sounds.json
com.google.gson.JsonSyntaxException: java.io.EOFException: End of input at line 11 column 6
at com.google.gson.Gson.fromJson(Gson.java:813) ~[Gson.class:?]
at com.google.gson.Gson.fromJson(Gson.java:768) ~[Gson.class:?]
at net.minecraft.client.audio.SoundHandler.onResourceManagerReload(SoundHandler.java:83) [SoundHandler.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:614) [Minecraft.class:?]
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.startGame(Minecraft.java:573) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:880) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
Caused by: java.io.EOFException: End of input at line 11 column 6
at com.google.gson.stream.JsonReader.nextNonWhitespace(JsonReader.java:1377) ~[JsonReader.class:?]
at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:471) ~[JsonReader.class:?]
at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:403) ~[JsonReader.class:?]
at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:184) ~[MapTypeAdapterFactory$Adapter.class:?]
at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:145) ~[MapTypeAdapterFactory$Adapter.class:?]
at com.google.gson.Gson.fromJson(Gson.java:803) ~[Gson.class:?]
… 15 moreStarting up SoundSystem…
Initializing LWJGL OpenAL
(The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
OpenAL initialized.[16:14:43] [Sound Library Loader/INFO]: Sound engine started
[16:14:43] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:gui.button.press
[16:14:44] [MCO Availability Checker #1/ERROR]: Couldn’t connect to Realms
[16:14:45] [Server thread/INFO]: Starting integrated minecraft server version 1.7.2
[16:14:45] [Server thread/INFO]: Generating keypair
[16:14:45] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance
[16:14:45] [Server thread/INFO] [FML]: Applying holder lookups
[16:14:45] [Server thread/INFO] [FML]: Holder lookups applied
[16:14:45] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@381095)
[16:14:45] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@381095)
[16:14:45] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@381095)
[16:14:45] [Server thread/INFO]: Preparing start region for level 0
[16:14:47] [Netty Client IO #0/INFO] [FML]: Server protocol version 1
[16:14:47] [Netty IO #1/INFO] [FML]: Client protocol version 1
[16:14:47] [Netty IO #1/INFO] [FML]: Client attempting to join with 4 mods : modanaxia@1.0,mcp@9.03,FML@7.2.211.1121,Forge@10.12.2.1121
[16:14:47] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT
[16:14:47] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER
[16:14:47] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established
[16:14:47] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
[16:14:47] [Server thread/INFO]: Player392[local:E:78167d0d] logged in with entity id 131 at (325.97069847784053, 4.0, 1544.0571163081243)
[16:14:47] [Server thread/INFO]: Player392 joined the game
[16:14:52] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:music.game.creative
[16:14:53] [Client thread/WARN]: Unable to play unknown soundEvent: modanaxia:records.music1
[16:14:55] [Server thread/INFO]: Saving and pausing game…
[16:14:55] [Server thread/INFO]: Saving chunks for level ‘New World’/Overworld
[16:14:56] [Server thread/INFO]: Saving chunks for level ‘New World’/Nether
[16:14:56] [Server thread/INFO]: Saving chunks for level ‘New World’/The End
[16:14:57] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:random.pop
[16:14:57] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:step.grass
[16:14:57] [Server thread/INFO]: Saving and pausing game…
[16:14:57] [Server thread/INFO]: Saving chunks for level ‘New World’/Overworld
[16:14:57] [Server thread/INFO]: Saving chunks for level ‘New World’/Nether
[16:14:57] [Server thread/INFO]: Saving chunks for level ‘New World’/The End
[16:14:58] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:gui.button.press
[16:14:58] [Server thread/INFO]: Stopping server
[16:14:58] [Server thread/INFO]: Saving players
[16:14:58] [Server thread/INFO]: Saving worlds
[16:14:58] [Server thread/INFO]: Saving chunks for level ‘New World’/Overworld
[16:14:58] [Server thread/INFO]: Saving chunks for level ‘New World’/Nether
[16:14:58] [Server thread/INFO]: Saving chunks for level ‘New World’/The End
[16:14:58] [Server thread/INFO] [FML]: Unloading dimension 0
[16:14:58] [Server thread/INFO] [FML]: Unloading dimension -1
[16:14:58] [Server thread/INFO] [FML]: Unloading dimension 1
[16:14:58] [Server thread/INFO] [FML]: Applying holder lookups
[16:14:58] [Server thread/INFO] [FML]: Holder lookups applied -
[16:14:42] [Client thread/WARN]: Invalid sounds.json
com.google.gson.JsonSyntaxException: java.io.EOFException: End of input at line 11 column 6
Toujours invalide, ligne 11, 6ème caractère cette fois. -
je doit faire quoi?
-
Renvoie ton fichier.
-
ma class principale :
public static Item itemCdAnaxia1;
itemCdAnaxia1 = new itemCdAnaxia1(“cd”).setUnlocalizedName(“record”).setCreativeTab(ModAnaxia.AnaxiaCreativeTab);
GameRegistry.registerItem(itemCdAnaxia1, “item_CdAnaxia1”);class itemCdAnaxia1 :
import net.minecraft.item.ItemRecord;
import net.minecraft.util.ResourceLocation;
public class itemCdAnaxia1 extends ItemRecord
{
protected itemCdAnaxia1(String name)
{
super(name);
}
public ResourceLocation getRecordResource(String name)
{
return new ResourceLocation(“modanaxia:records.music1”);
}
}sounds.json
{
“records.music1”: {
“category”: “record”,
“sounds”: [
{
“name”: “records/Music1”,
“stream”: true
}
]
} -
Je t’en envoyé le json correct avant, comment tu as fait pour avoir à nouveau une erreur dessus x)
Il te manque } tout à la fin :
@‘robin4002’:Le problème c’est qu’un fichier json doit toujours commencer par {
{ "records.Music1": { "category": "record", "sounds": [ { "name": "records/Music1", "stream": true } ] } }Comme ça c’est bon
-
A désolé xD
Je corrige sa .Non sa marche toujours pas en jeux tout est bien je mais le cd dans je jukebox ya le texte qui s’écrit mais ya pas de son