Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Spirfire972

Members
  • Joined

  • Last visited

  1. 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
  2. Sorry i meant when all players log out and when a player joins thank you but how do i get the current overworld
  3. To generate a structure (right now substituted for a cube) When the player joins somewhere random on the map with loot inside it. Then it gets destroyed when the player leaves and a new one generates somewhere random
  4. So surely the event i've used is the best one if you don't know when the player will join
  5. Huh this code worked in 1.12 and it generated fine. i want to write blocks into the over world before the player joins ideally as soon as possible
  6. sorry its in: @Mod("hobbit") public class EventHandlerCommon { @SubscribeEvent public void serverLoad(FMLServerStartingEvent event){
  7. I am currently working on one of my first mods as i'm quite new to modding. I have run into an issue when i am trying to place blocks. I need to have a world varible however i do not know how to get current world. my code is as follows: System.out.println("Testing");; Block blk = Blocks.STONE; BlockState block0 = blk.getDefaultState(); BlockPos pos1 = new BlockPos(100000, 255 , 100000); World.this.setBlockState(pos1, block0); ArrayList<Integer> posflat = getflat(); int x = posflat.get(0); int z = posflat.get(1); int y = get_y(x, z); for(int i=10; i>1; i--){ for(int j=10; j>1; j--){ for(int k=10; k>1; k--){ BlockPos pos0 = new BlockPos(j+x, i+y , k+z); World.this.setBlockState(pos0, block0); } } } I apologise ahead of time for any inefficiencies in my code
  8. Could you send your code please or a link to the tutorial you're following
  9. I am currently attempting to generate a custom structure (a sort of hobbit hole) (MC 1.12.2). I've managed to make a stone cube generate only on world generation. Now I want to know if there is a way to test whether a structure can generate (e.g. in the side of a cliff) so all blocks it generates in are stone apart from the front which will be air (for an entrance). I know I can do this by testing every block it will generate in but this will take a long time during world generation and will be very difficult to code. Please could someone help me if there is an easier way

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.