Posted December 9, 20177 yr Hi everyone, I know this is going to be really simple but i can't seem to figure it out. First problem is that my mod doesn't appear when run with eclipse and crashes when built into a .jar with gradlew build. second problem is the main problem I think my file structure is correct but in theory it should play a sound when a message in chat is said "Player was killed by" it doesn't do anything, no errors in console or anything, again I think this stems from the first problem of it not appearing. Now I will add screenshots of code/filestructure: Edited December 12, 20177 yr by Zillex_
December 10, 20177 yr Your sounds directory should be "assets/zillexcm/*" instead of "zillexcm/*". Also, there's no reason to blur out your mod name. If anything, it makes it look like you're infringing copyrights (Jigglypuff -> Pokémon?). Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
December 10, 20177 yr Author Thanks lars, I'm developing a private mod and wasn't sure if the person i made it for wanted his name in there I'll test out your suggestion. also here is the crash report: The game crashed whilst initializing game Error: java.lang.NullPointerException: Initializing game Edit I still hear no sounds and the mod still doesn't appear here is my new directory and sounds.json Edited December 10, 20177 yr by Zillex_
December 10, 20177 yr 1 hour ago, Zillex_ said: here is the crash report: The game crashed whilst initializing game Error: java.lang.NullPointerException: Initializing game This is only a (small) part of the crash report, as it only says what went wrong, not where. Please post the full report (in a spoiler). 1 hour ago, Zillex_ said: I haven't worked with sounds in a long time, but I think you only need to specify all the possible sounds (jigglypuff0, jigglypuff1 etc), and they need to be all lowercase, and IIRC the path is relative to "assets\*modid*\sounds\". Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
December 10, 20177 yr Author Here: Spoiler ---- Minecraft Crash Report ---- WARNING: coremods are present: FMLLoadingPlugin (MouseDelayFix-1.0.jar) FMLLoadingPlugin (MemoryFix-0.2.jar) Contact their authors BEFORE contacting forge // This doesn't make any sense! Time: 12/10/17 2:42 PM Description: Initializing game java.lang.NullPointerException: Initializing game at net.minecraftforge.fml.common.Loader.sortModList(Loader.java:220) at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:492) at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:208) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:417) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:329) at net.minecraft.client.main.Main.main(SourceFile:124) 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:483) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at net.minecraftforge.fml.common.Loader.sortModList(Loader.java:220) at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:492) at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:208) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:417) -- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:329) at net.minecraft.client.main.Main.main(SourceFile:124) 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:483) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) -- System Details -- Details: Minecraft Version: 1.8.9 Operating System: Windows 10 (amd64) version 10.0 CPU: 8x Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz Java Version: 1.8.0_25, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 365998224 bytes (349 MB) / 553648128 bytes (528 MB) up to 1073741824 bytes (1024 MB) JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=16M IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP 9.19 Powered by Forge 11.15.1.1722 Optifine OptiFine_1.8.9_HD_U_I3 17 mods loaded, 17 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored U mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) U FML{8.0.99.99} [Forge Mod Loader] (forge-1.8.9-11.15.1.1722.jar) U Forge{11.15.1.1722} [Minecraft Forge] (forge-1.8.9-11.15.1.1722.jar) U memoryfix{0.2} [MemoryFix] (minecraft.jar) U mousedelayfix{1.0} [MouseDelayFix] (minecraft.jar) U fpsdisplaymod{1.0} [FPSDisplayMod] ([1.8.9] CheatBreakerHUD v4.jar) U cpsmod{1.0} [CPSMod] ([1.8.9] CheatBreakerHUD v4.jar) U keystrokesmod{0.1} [KeystrokesMod] ([1.8.9] CheatBreakerHUD v4.jar) U DJTastyMod{1.0} [DJTastyMod] ([1.8.9] DJTastyMod PORT by OFP.jar) U AutoGG{1.0} [Auto GG] (AutoGG-1.0.jar) U autotip{2.0.3} [Autotip] (Autotip-2.0.3 [1.8-1.11.2].jar) U fbtoggle{1.0.0} [FBToggle] (fbtoggle-1.8.9-1.1.jar) U zillexcm{0.1} [Cerni] (modid-1.0.jar) U animations{6.7} [Orange's 1.7 Animations] (Orange's 1.7 Animations-6.7.jar) U orangesimplemod{1.0} [orangesimplemod] (Orange's Simple Mods-1.2.jar) U ResourcePackOrganizer{1.0.3} [Resource Pack Organizer] (ResourcePackOrganizer MC-1.8.9 v1.0.3.jar) U enhancements{7.5} [Vanilla Enhancements] (Vanilla Enhancements-7.5.jar) Loaded coremods (and transformers): FMLLoadingPlugin (MouseDelayFix-1.0.jar) io.prplz.mousedelayfix.ClassTransformer FMLLoadingPlugin (MemoryFix-0.2.jar) io.prplz.memoryfix.ClassTransformer GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 388.13' Renderer: 'GeForce GTX 1070/PCIe/SSE2' Launched Version: 1.8.9-forge1.8.9-11.15.1.1722 LWJGL: 2.9.4 OpenGL: GeForce GTX 1070/PCIe/SSE2 GL version 4.6.0 NVIDIA 388.13, NVIDIA Corporation GL Caps: Using GL 1.3 multitexturing. Using GL 1.3 texture combiners. Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported. Shaders are available because OpenGL 2.1 is supported. VBOs are available because OpenGL 1.5 is supported. Using VBOs: No Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Packs: §9breeZe v2.zip, §bShant §8[§7V4§8] §7Revamp §8[§bBlue§8] Current Language: English (US) Profiler Position: N/A (disabled) CPU: 8x Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz OptiFine Version: OptiFine_1.8.9_HD_U_I3 Render Distance Chunks: 32 Mipmaps: 0 Anisotropic Filtering: 1 Antialiasing: 0 Multitexture: false Shaders: null OpenGlVersion: 4.6.0 NVIDIA 388.13 OpenGlRenderer: GeForce GTX 1070/PCIe/SSE2 OpenGlVendor: NVIDIA Corporation CpuCount: 8 Edited December 10, 20177 yr by Zillex_
December 10, 20177 yr Author Edit 2: I now have succesfully loaded the mod through eclipse, but no sound yet
December 10, 20177 yr Author 1 hour ago, larsgerrits said: This is only a (small) part of the crash report, as it only says what went wrong, not where. Please post the full report (in a spoiler). I haven't worked with sounds in a long time, but I think you only need to specify all the possible sounds (jigglypuff0, jigglypuff1 etc), and they need to be all lowercase, and IIRC the path is relative to "assets\*modid*\sounds\". tag
December 11, 20177 yr Author Edit: I have everything working, now all i need to do is register more than one sound lol Edit 2: I now have everything working properly, thanks guys Edit 3: everything works, when i chat, but if the server says that i was killed it does nothing Edited December 11, 20177 yr by Zillex_
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.