Started by
Griseth
on
Topic category: Troubleshooting, bugs, and solutions
I use mcreator 2019.5 to make mod.When I doesn't make any mod elements,I run test client and it can normally work.But when I had made some mod elements,I run test cilent and the game quit when load this mod,Why?
Description: Rendering overlay
net.minecraft.util.ResourceLocationException: Non [a-z0-9/._-] character in path of location: griseth_rpgcraft:items/emerald hoe
at net.minecraft.util.ResourceLocation.<init>(ResourceLocation.java:30) ~[?:?] {re:classloading}
at net.minecraft.util.ResourceLocation.<init>(ResourceLocation.java:35) ~[?:?] {re:classloading}
at net.minecraft.client.renderer.model.BlockModel.lambda$getTextures$1(BlockModel.java:163) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at java.util.ArrayList.forEach(ArrayList.java:1257) ~[?:?] {}
at net.minecraft.client.renderer.model.BlockModel.getTextures(BlockModel.java:162) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.renderer.model.ModelBakery.lambda$processLoading$6(ModelBakery.java:162) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:269) ~[?:?] {}
at java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1628) ~[?:?] {}
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) ~[?:?] {}
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[?:?] {}
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[?:?] {}
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?] {}
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566) ~[?:?] {}
at net.minecraft.client.renderer.model.ModelBakery.processLoading(ModelBakery.java:163) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraftforge.client.model.ModelLoader.<init>(ModelLoader.java:143) ~[?:?] {re:classloading}
at net.minecraft.client.renderer.model.ModelManager.prepare(ModelManager.java:49) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.client.renderer.model.ModelManager.prepare(ModelManager.java:17) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.client.resources.ReloadListener.lambda$reload$0(ReloadListener.java:12) ~[?:?] {re:classloading}
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590) ~[?:?] {}
at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1582) ~[?:?] {}
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) ~[?:?] {}
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) ~[?:?] {}
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) ~[?:?] {}
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) ~[?:?] {}
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Client thread
Stacktrace:
at net.minecraft.util.ResourceLocation.<init>(ResourceLocation.java:30)
at net.minecraft.util.ResourceLocation.<init>(ResourceLocation.java:35)
at net.minecraft.client.renderer.model.BlockModel.lambda$getTextures$1(BlockModel.java:163)
at java.util.ArrayList.forEach(ArrayList.java:1257)
at net.minecraft.client.renderer.model.BlockModel.getTextures(BlockModel.java:162)
at net.minecraft.client.renderer.model.ModelBakery.lambda$processLoading$6(ModelBakery.java:162)
at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:269)
at java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1628)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
-- Overlay render details --
Details:
Overlay name: net.minecraft.client.gui.ResourceLoadProgressGui
Stacktrace:
at net.minecraft.client.renderer.GameRenderer.updateCameraAndRender(GameRenderer.java:559)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:925)
at net.minecraft.client.Minecraft.run(Minecraft.java:384)
at net.minecraft.client.main.Main.main(Main.java:128)
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:498)
at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55)
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54)
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72)
at cpw.mods.modlauncher.Launcher.run(Launcher.java:81)
at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)
at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:101)
-- System Details --
Details:
Minecraft Version: 1.14.4
Minecraft Version ID: 1.14.4
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_222, BellSoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode),
Memory: 276347424 bytes (263 MB) / 674758656 bytes (643 MB) up to 921174016 bytes (878 MB)
CPUs: 4
JVM Flags: 1 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump
ModLauncher: 4.1.0+62+5bfa59b
ModLauncher launch target: fmluserdevclient
ModLauncher naming: mcp
ModLauncher services:
/eventbus-1.0.0-service.jar eventbus PLUGINSERVICE
/forge-1.14.4-28.1.106_mapped_snapshot_20190719-1.14.3-launcher.jar object_holder_definalize PLUGINSERVICE
/forge-1.14.4-28.1.106_mapped_snapshot_20190719-1.14.3-launcher.jar runtime_enum_extender PLUGINSERVICE
/accesstransformers-1.0.1-milestone.0.1+94458e7-shadowed.jar accesstransformer PLUGINSERVICE
/forge-1.14.4-28.1.106_mapped_snapshot_20190719-1.14.3-launcher.jar capability_inject_definalize PLUGINSERVICE
/forge-1.14.4-28.1.106_mapped_snapshot_20190719-1.14.3-launcher.jar runtimedistcleaner PLUGINSERVICE
/forge-1.14.4-28.1.106_mapped_snapshot_20190719-1.14.3-launcher.jar fml TRANSFORMATIONSERVICE
FML: 28.1
Forge: net.minecraftforge:28.1.106
FML Language Providers:
javafml@28.1
minecraft@1
Mod List:
client-extra.jar Minecraft {minecraft@1.14.4 ENQUEUE_IMC}
main griseth rpgcraft {griseth_rpgcraft@1.0.0 ENQUEUE_IMC}
forge-1.14.4-28.1.106_mapped_snapshot_20190719-1.14.3-recomp.jar Forge {forge@28.1.106 ENQUEUE_IMC}
Launched Version: MOD_DEV
LWJGL: 3.2.2 build 10
OpenGL: Intel(R) UHD Graphics 610 GL version 4.5.0 - Build 24.20.100.6287, Intel
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: Yes
Is Modded: Definitely; Client brand changed to 'forge'
Type: Client (map_client.txt)
Resource Packs:
Current Language: English (US)
CPU: 4x Intel(R) Pentium(R) Gold G5400T CPU @ 3.10GHz
griseth rpgcraft is my mod's name
The name of the texture "emerald hoe" has a space, which isn't allowed. You should rename the texture to "emerald_hoe'
The solution to this problem and many other problems can be found in our knowledge base: https://mcreator.net/support/knowledgebase Please check the knowledge base before opening a new topic on the issue which has a known fix.
https://mcreator.net/wiki/minecraft-1144-resourcelocationexception-non-z0-9-character-path-location