
naturaGodhead
Members-
Posts
63 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
naturaGodhead's Achievements

Stone Miner (3/8)
0
Reputation
-
[1.12] Build path issues/Assets folder not being loaded
naturaGodhead replied to naturaGodhead's topic in Modder Support
I finally got the build path working, but now it seems like my ModelManager class is not being registered. -
[1.12] Build path issues/Assets folder not being loaded
naturaGodhead replied to naturaGodhead's topic in Modder Support
Shrug. Just the way I learned it by example. Will it break anything doing it the way I have? Or is it just inconvenience? https://imgur.com/BzGF6GH It looks like it to me, but maybe I'm not looking hard enough. I have issues reading strings of letters/number sometimes. Thanks for the heads up, but that didn't fix anything. Still no localization in the game. I double checked the unlocalized and registry names as well. -
[1.12] Build path issues/Assets folder not being loaded
naturaGodhead replied to naturaGodhead's topic in Modder Support
[12:56:20] [Client thread/ERROR] [FML]: Exception loading model for variant survivalgear:fire_starter#inventory for item "survivalgear:fire_starter", normal location exception: net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model survivalgear:item/fire_starter with loader VanillaLoader.INSTANCE, skipping at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:161) ~[ModelLoaderRegistry.class:?] at net.minecraftforge.client.model.ModelLoader.loadItemModels(ModelLoader.java:302) ~[ModelLoader.class:?] at net.minecraft.client.renderer.block.model.ModelBakery.loadVariantItemModels(ModelBakery.java:175) ~[ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:151) ~[ModelLoader.class:?] at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:121) [SimpleReloadableResourceManager.class:?] at net.minecraft.client.Minecraft.init(Minecraft.java:560) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:422) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_171] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_171] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:25) [start/:?] Caused by: java.io.FileNotFoundException: survivalgear:models/item/fire_starter.json at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:69) ~[SimpleReloadableResourceManager.class:?] at net.minecraft.client.renderer.block.model.ModelBakery.loadModel(ModelBakery.java:334) ~[ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.access$1400(ModelLoader.java:115) ~[ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader$VanillaLoader.loadModel(ModelLoader.java:861) ~[ModelLoader$VanillaLoader.class:?] at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:157) ~[ModelLoaderRegistry.class:?] -
I'm working on a small mod for a modpack, and having issues getting the assets to load. I've never really had this issue before, so I'm not sure what's going on. The textures, models, and lang files are not being loaded, so I know its affecting the entire assets folder. My file structure is this: https://imgur.com/XO2YfBI I've checked to make sure the modid is "survivalgear". All my code for loading models is the same as other mods I've written. I was getting a "FileNotFoundException" for my item's model in the console, but its no longer showing me that when I restart after I tried setupDecompWorkspace again. SurvivalGear.java ModelHandler.java The one line from my en_US.lang: item.fireStarter.name=Survivalist's Fire Starter EDIT: Build path here https://imgur.com/U8F1OoN
-
I recently found out how to generate structures using structure blocks and the nbt files it creates. I noticed it begins generating on the position relative to where the corner structure block was, though and that creates floating structures on hills. Is there a way to start generating from the middle instead? (Bottom of the structure, not center)
-
I haven't really started playing around with it yet, but I feel very limited by the need to generate a structure inside one chunk. Is the way that vanilla generates villages and strongholds the best way of doing this? What if the structure is one large building? Just wondering if anyone has done something similar and can help out with a little advice before I start digging into it, thanks!
-
[1.12.2] Java Out of Memory Crash with 5gb allocated.
naturaGodhead replied to naturaGodhead's topic in Support & Bug Reports
Update: Instead of crashing while making a new world, I get the "Minecraft has run out of memory" screen and it boots me back to the main menu. -
I'm kind of tired so maybe I'm overlooking something but I've been playing a custom group of mods for a few days now and have had no issues with crashes. Today I went to load up my world and Minecraft immediately hangs and crashes every time without fail. There is no crash report generated, only what I could find in the debug log. The log talks about an OutOfMemoryError, but I've had 5 GB of ram allocated since I first started playing. I've also never had this world crash and I haven't recently made any major changes or placed anything important down so I'm at a loss. Thanks for the help. latest.log
-
"It works" as in it functions without immediately crashing. Obviously I'm trying to fix it, so let's stay on topic. The methods for saving and loading nbt don't accept a player as a parameter, and that's where my issue is, as I need those methods to be completely server side, so I can't grab the world from the client to check the time.
-
I'm using nbt tags to create a cooldown for an item I made. It works fine in singleplayer when I was getting the minecraft instance and grabbing the world time from there, but obviously that doesn't work on servers. Is there a simple way I can use server side to get the world an item's holder is in?
-
EntityPlayer.getName() returning null [1.12.2]
naturaGodhead replied to naturaGodhead's topic in Modder Support
One of those changes seems to have fixed my problem -
EntityPlayer.getName() returning null [1.12.2]
naturaGodhead replied to naturaGodhead's topic in Modder Support
Okay, that makes sense. Thank you