Jump to content

Recommended Posts

Posted (edited)

I have just finished some code and there are no errors however when i run it i get the default minecraft boot-screen with no forge logo or anything on it then i get a dirt background where all the options are unprintable characters which then disappears a moment later.

Every bootloop it reprints this error which i cant make sense of i know it has something to do with sound but i cant find sounds.json

 

java.util.concurrent.CompletionException: net.minecraft.util.ResourceLocationException: Non [a-z0-9_.-] character in namespace of location: Hobbit:sounds.json
	at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273) ~[?:1.8.0_241] {}
	at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280) ~[?:1.8.0_241] {}
	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1606) ~[?:1.8.0_241] {}
	at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1596) ~[?:1.8.0_241] {}
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) ~[?:1.8.0_241] {}
	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) ~[?:1.8.0_241] {}
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) ~[?:1.8.0_241] {}
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) ~[?:1.8.0_241] {}
Caused by: net.minecraft.util.ResourceLocationException: Non [a-z0-9_.-] character in namespace of location: Hobbit:sounds.json
	at net.minecraft.util.ResourceLocation.<init>(ResourceLocation.java:28) ~[?:?] {re:classloading}
	at net.minecraft.util.ResourceLocation.<init>(ResourceLocation.java:39) ~[?:?] {re:classloading}
	at net.minecraft.client.audio.SoundHandler.prepare(SoundHandler.java:71) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
	at net.minecraft.client.audio.SoundHandler.prepare(SoundHandler.java:35) ~[?:?] {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:1604) ~[?:1.8.0_241] {}
	... 5 more

and then occasionally this error

[m[36m[15:45:29] [Render thread/DEBUG] [ne.mi.fm.cl.ClientModLoader/CORE]: Generating PackInfo named mod:forge for mod file C:\Users\samue\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3\forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar
[m[36m[15:45:29] [Render thread/DEBUG] [ne.mi.fm.cl.ClientModLoader/CORE]: Generating PackInfo named mod:hobbit for mod file F:\Minecraft Mod 1.15.2\forge-1.15.2-31.1.0-mdk\build\resources\main
[m[32m[15:45:29] [Render thread/INFO] [minecraft/SimpleReloadableResourceManager]: Reloading ResourceManager: Default, Mod Resources
[m[33m[15:45:29] [Server-Worker-1/WARN] [minecraft/ModelBakery]: Unable to load model: 'minecraft:block/horn_coral_block' referenced from: minecraft:horn_coral_block#: java.io.FileNotFoundException: minecraft:models/block/horn_coral_block.json
[m[33m[15:45:29] [Server-Worker-2/WARN] [minecraft/ModelBakery]: Unable to load model: 'minecraft:block/wet_sponge' referenced from: minecraft:wet_sponge#: java.io.FileNotFoundException: minecraft:models/block/wet_sponge.json
[m[33m[15:45:29] [Server-Worker-1/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: minecraft:blockstates/dead_tube_coral.json: java.io.FileNotFoundException: minecraft:blockstates/dead_tube_coral.json
[m[33m[15:45:29] [Server-Worker-2/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: minecraft:blockstates/glass.json: java.io.FileNotFoundException: minecraft:blockstates/glass.json
[m[33m[15:45:29] [Server-Worker-1/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: 'minecraft:blockstates/dead_tube_coral.json' missing model for variant: 'minecraft:dead_tube_coral#waterlogged=false'
[m[33m[15:45:29] [Server-Worker-1/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: 'minecraft:blockstates/dead_tube_coral.json' missing model for variant: 'minecraft:dead_tube_coral#waterlogged=true'
[m[33m[15:45:29] [Server-Worker-2/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: 'minecraft:blockstates/glass.json' missing model for variant: 'minecraft:glass#'
[m[33m[15:45:29] [Server-Worker-2/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: minecraft:blockstates/lapis_ore.json: java.io.FileNotFoundException: minecraft:blockstates/lapis_ore.json
[m[33m[15:45:29] [Server-Worker-1/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: minecraft:blockstates/dead_brain_coral.json: java.io.FileNotFoundException: minecraft:blockstates/dead_brain_coral.json
[m[33m[15:45:29] [Server-Worker-2/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: 'minecraft:blockstates/lapis_ore.json' missing model for variant: 'minecraft:lapis_ore#'
[m[33m[15:45:29] [Server-Worker-1/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: 'minecraft:blockstates/dead_brain_coral.json' missing model for variant: 'minecraft:dead_brain_coral#waterlogged=true'
[m[33m[15:45:29] [Server-Worker-1/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: 'minecraft:blockstates/dead_brain_coral.json' missing model for variant: 'minecraft:dead_brain_coral#waterlogged=false'
[m[33m[15:45:33] [Server-Worker-1/WARN] [minecraft/ModelBakery]: Unable to resolve texture reference: #missingno in minecraft:item/horn_coral_block
[m[32m[15:45:33] [Render thread/INFO] [minecraft/Minecraft]: Stopping!
[m[1;31m[15:45:33] [Render thread/ERROR] [minecraft/Minecraft]: Shutdown failure!

 

Fixed just need to not be catapilised sorry

Edited by Spirfire972
Fixed it
Posted (edited)

Your modid must be all lowercase

 

*edit: lol, just noticed you said it was fixed at the bottom. GJ finding it! :)

Edited by Ugdhar

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I can't understand the logs, so I'm hoping someone could tell me what's causing the issues. https://pastebin.com/d1XPxCes
    • Hello I'm currently making an Item that thrusts you to viewing direction, and I referenced riptide code of trident for my item. @Override public InteractionResultHolder<ItemStack> use(Level pLevel, Player pPlayer, InteractionHand pUsedHand) { if(!pLevel.isClientSide() && pUsedHand == InteractionHand.MAIN_HAND && pPlayer.isOnGround()){ Impale(pPlayer, pUsedHand); pPlayer.getCooldowns().addCooldown(this, 40); } return super.use(pLevel, pPlayer, pUsedHand); } public void Impale(Player pPlayer, InteractionHand pUsedHand) { float playerYRot = pPlayer.getYRot(); float xForce = -Mth.sin(playerYRot * ((float)Math.PI / 180F)) * Mth.cos((float)Math.PI / 180F); float yForce = 100.6F; float zForce = Mth.cos(playerYRot * ((float)Math.PI / 180F)) * Mth.cos((float)Math.PI / 180F); float stabilizedForce = Mth.sqrt(xForce * xForce + zForce * zForce); xForce /= stabilizedForce; zForce /= stabilizedForce; pPlayer.push((double)xForce, (double)yForce, (double)zForce); pPlayer.sendSystemMessage(Component.literal(playerYRot + " " + xForce + " " + yForce + " " + zForce + " " + stabilizedForce + "shoo")); } I sure edited a lot from source code but this isn't working somehow? the sendSystemMessage works correctly. It prints value of variables and string, but the force isn't applying to player. how can I make this to work? Thanks.
    • i tried putting a modpack together and cant get this working no matter what i have tried log: https://pastebin.com/uqz1aKiY
    • We have an event for an Entity being struck by lighting, but doesn't look like we have one for Blocks. And unfortunately, looking at it, the LightingBolt entity doesn't have any context on why it was registered, so you wouldn't be able to get the source context. What are you trying to accomplish with this event?
    • Hey guys, I'm trying to use the simple planes mod https://www.curseforge.com/minecraft/mc-mods/simple-planes with a nuclear bombs mod https://www.curseforge.com/minecraft/mc-mods/nuclear-bombs . The simple planes mod has a cargo plane that can drop tnt, and i want it to work with the nuclear bombs. I added this JSON file from chatGPT to the payloads folder in simple planes (because the nukes couldn't even get stored in the plane in the first place), but this only allows the nuke to drop but doesn't explode: https://mclo.gs/3uEQIX2 . This nuke mod requires a redstone signal and then manual activation, which makes this tougher i imagine. If someone could write me a code for the payload folder for simpleplanes, something that even tampers with the nuke mod, or any general suggestions that would be great!  Many Thanks
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.