Jump to content

Recommended Posts

Posted

Hey, I'm back, and using a version of Minecraft that, as far as I can tell, the forum supports.

 

If you haven't seen my original post, I'm working on a mod that adds, among other things, Niter Ore.  I initially made it a standard stone ore using the Block class.  However, in real life, niter is found in surface deposits in deserts, so I wanted to use the BlockSand class instead.  When I made the switch, the in-world texture for the block stopped working.  It still shows up correctly in the inventory and as a dropped block, however.

 

This seems like a .json problem.  I did some more research and it seems like this has to do with there being multiple versions of sand, but I can't find anything on how to format the .json's

Posted

Ah, yes, I forgot about that.  I noticed last night that it threw an exception with the model loader.  I think what we're looking for is this:

net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model realisticgunpowder:niter_ore#variant=sand with loader VariantLoader.INSTANCE, skipping

 

But here's the rest of the log for context:

[13:35:07] [main/INFO] [GradleStart]: Extra: []
[13:35:08] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Larisa/.gradle/caches/minecraft/assets, --assetIndex, 1.12, --accessToken{REDACTED}, --version, 1.12.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[13:35:08] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[13:35:08] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[13:35:08] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[13:35:08] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[13:35:08] [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2847 for Minecraft 1.12.2 loading
[13:35:08] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_171, running on Windows 10:amd64:10.0, installed at C:\Users\Larisa\eclipse\java-oxygen\eclipse\jre\jre
[13:35:08] [main/ERROR] [FML]: Apache Maven library folder was not in the format expected. Using default libraries directory.
[13:35:08] [main/ERROR] [FML]: Full: C:\Users\Larisa\.gradle\caches\modules-2\files-2.1\org.apache.maven\maven-artifact\3.5.3\7dc72b6d6d8a6dced3d294ed54c2cc3515ade9f4\maven-artifact-3.5.3.jar
[13:35:08] [main/ERROR] [FML]: Trimmed: c:/users/larisa/.gradle/caches/modules-2/files-2.1/org.apache.maven/maven-artifact/3.5.3/
[13:35:08] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[13:35:08] [main/INFO] [FML]: Detected deobfuscated environment, loading log configs for colored console logs.
2020-04-28 13:35:11,289 main WARN Disabling terminal, you're running in an unsupported environment.
[13:35:11] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLCorePlugin (net.minecraftforge.fml.relauncher.FMLCorePlugin), we are in deobf and it's a forge core plugin
[13:35:11] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLForgePlugin (net.minecraftforge.classloading.FMLForgePlugin), we are in deobf and it's a forge core plugin
[13:35:11] [main/INFO] [FML]: Searching C:\Users\Larisa\OneDrive\[Mods]\Realistic Gunpowder\run\.\mods for mods
[13:35:11] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[13:35:11] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[13:35:11] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[13:35:11] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[13:35:11] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[13:35:11] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[13:35:11] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[13:35:11] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[13:35:11] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[13:35:16] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[13:35:16] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[13:35:16] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[13:35:17] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[13:35:17] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[13:35:17] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[13:35:17] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[13:35:18] [Client thread/INFO] [minecraft/Minecraft]: Setting user: Player863
[13:35:24] [Client thread/WARN] [minecraft/GameSettings]: Skipping bad option: lastServer:
[13:35:24] [Client thread/INFO] [minecraft/Minecraft]: LWJGL Version: 2.9.4
[13:35:26] [Client thread/INFO] [FML]: -- System Details --
Details:
	Minecraft Version: 1.12.2
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 1.8.0_171, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 785430696 bytes (749 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
	JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	FML: 
	Loaded coremods (and transformers): 
	GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 445.87' Renderer: 'GeForce GTX 1070 with Max-Q Design/PCIe/SSE2'
[13:35:26] [Client thread/INFO] [FML]: MinecraftForge v14.23.5.2847 Initialized
[13:35:26] [Client thread/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients.
[13:35:26] [Client thread/INFO] [FML]: Invalid recipe found with multiple oredict ingredients in the same ingredient...
[13:35:26] [Client thread/INFO] [FML]: Replaced 1227 ore ingredients
[13:35:27] [Client thread/INFO] [FML]: Searching C:\Users\Larisa\OneDrive\[Mods]\Realistic Gunpowder\run\.\mods for mods
[13:35:29] [Thread-3/INFO] [FML]: Using sync timing. 200 frames of Display.update took 299313200 nanos
[13:35:29] [Client thread/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
[13:35:30] [Client thread/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, realisticgunpowder] at CLIENT
[13:35:30] [Client thread/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, realisticgunpowder] at SERVER
[13:35:32] [Client thread/INFO] [minecraft/SimpleReloadableResourceManager]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Realistic Gunpowder
[13:35:32] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[13:35:32] [Client thread/INFO] [FML]: Found 1168 ObjectHolder annotations
[13:35:32] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[13:35:32] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[13:35:32] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[13:35:33] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[13:35:33] [Client thread/INFO] [FML]: Applying holder lookups
[13:35:33] [Client thread/INFO] [FML]: Holder lookups applied
[13:35:33] [Client thread/INFO] [FML]: Applying holder lookups
[13:35:33] [Client thread/INFO] [FML]: Holder lookups applied
[13:35:33] [Client thread/INFO] [FML]: Applying holder lookups
[13:35:33] [Client thread/INFO] [FML]: Holder lookups applied
[13:35:33] [Client thread/INFO] [FML]: Applying holder lookups
[13:35:33] [Client thread/INFO] [FML]: Holder lookups applied
[13:35:33] [Client thread/INFO] [FML]: Injecting itemstacks
[13:35:33] [Client thread/INFO] [FML]: Itemstack injection complete
[13:35:34] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Found status: AHEAD Target: null
[13:35:42] [Sound Library Loader/INFO] [minecraft/SoundManager]: Starting up SoundSystem...
[13:35:43] [Thread-5/INFO] [minecraft/SoundManager]: Initializing LWJGL OpenAL
[13:35:43] [Thread-5/INFO] [minecraft/SoundManager]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[13:35:43] [Thread-5/INFO] [minecraft/SoundManager]: OpenAL initialized.
[13:35:43] [Sound Library Loader/INFO] [minecraft/SoundManager]: Sound engine started
[13:35:55] [Client thread/INFO] [FML]: Max texture size: 16384
[13:35:56] [Client thread/INFO] [minecraft/TextureMap]: Created: 512x512 textures-atlas
[13:35:56] [Client thread/ERROR] [FML]: Exception loading model for variant realisticgunpowder:niter_ore#variant=sand for blockstate "realisticgunpowder:niter_ore[variant=sand]"
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model realisticgunpowder:niter_ore#variant=sand with loader VariantLoader.INSTANCE, skipping
	at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:161) ~[ModelLoaderRegistry.class:?]
	at net.minecraftforge.client.model.ModelLoader.registerVariant(ModelLoader.java:235) ~[ModelLoader.class:?]
	at net.minecraft.client.renderer.block.model.ModelBakery.loadBlock(ModelBakery.java:153) ~[ModelBakery.class:?]
	at net.minecraftforge.client.model.ModelLoader.loadBlocks(ModelLoader.java:223) ~[ModelLoader.class:?]
	at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:150) ~[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(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_171]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_171]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?: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(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_171]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_171]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_171]
	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
	at GradleStart.main(GradleStart.java:25) [start/:?]
Caused by: net.minecraft.client.renderer.block.model.ModelBlockDefinition$MissingVariantException
	at net.minecraft.client.renderer.block.model.ModelBlockDefinition.getVariant(ModelBlockDefinition.java:83) ~[ModelBlockDefinition.class:?]
	at net.minecraftforge.client.model.ModelLoader$VariantLoader.loadModel(ModelLoader.java:1175) ~[ModelLoader$VariantLoader.class:?]
	at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:157) ~[ModelLoaderRegistry.class:?]
	... 21 more
[13:35:56] [Client thread/ERROR] [FML]: Exception loading model for variant realisticgunpowder:niter_ore#variant=red_sand for blockstate "realisticgunpowder:niter_ore[variant=red_sand]"
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model realisticgunpowder:niter_ore#variant=red_sand with loader VariantLoader.INSTANCE, skipping
	at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:161) ~[ModelLoaderRegistry.class:?]
	at net.minecraftforge.client.model.ModelLoader.registerVariant(ModelLoader.java:235) ~[ModelLoader.class:?]
	at net.minecraft.client.renderer.block.model.ModelBakery.loadBlock(ModelBakery.java:153) ~[ModelBakery.class:?]
	at net.minecraftforge.client.model.ModelLoader.loadBlocks(ModelLoader.java:223) ~[ModelLoader.class:?]
	at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:150) ~[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(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_171]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_171]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?: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(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_171]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_171]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_171]
	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
	at GradleStart.main(GradleStart.java:25) [start/:?]
Caused by: net.minecraft.client.renderer.block.model.ModelBlockDefinition$MissingVariantException
	at net.minecraft.client.renderer.block.model.ModelBlockDefinition.getVariant(ModelBlockDefinition.java:83) ~[ModelBlockDefinition.class:?]
	at net.minecraftforge.client.model.ModelLoader$VariantLoader.loadModel(ModelLoader.java:1175) ~[ModelLoader$VariantLoader.class:?]
	at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:157) ~[ModelLoaderRegistry.class:?]
	... 21 more
[13:35:58] [Client thread/INFO] [FML]: Applying holder lookups
[13:35:58] [Client thread/INFO] [FML]: Holder lookups applied
[13:35:58] [Client thread/INFO] [FML]: Injecting itemstacks
[13:35:58] [Client thread/INFO] [FML]: Itemstack injection complete
[13:35:58] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 5 mods
[13:35:58] [Client thread/WARN] [minecraft/GameSettings]: Skipping bad option: lastServer:
[13:35:58] [Client thread/INFO] [mojang/NarratorWindows]: Narrator library for x64 successfully loaded
[13:36:00] [Realms Notification Availability checker #1/INFO] [mojang/RealmsClient]: Could not authorize you against Realms server: Invalid session id
[13:36:04] [Client thread/INFO] [minecraft/Minecraft]: Stopping!
[13:36:04] [Client thread/INFO] [minecraft/SoundManager]: SoundSystem shutting down...
[13:36:04] [Client thread/WARN] [minecraft/SoundManager]: Author: Paul Lamb, www.paulscode.com

 

Posted

That's... odd.

 

Apparently I don't actually know how to port a project to 1.14.4 from 1.12.2.  I guess I'll try a different approach and get back to you.  Sorry about that.

Posted

I still don't know what the problem is but honestly I'm tired of trying to figure it out and my understanding of where niter is actually found has evolved to the point where I'll be converting it back into a stone ore.  Hopefully I won't need to waste any more of your collective time, haha.

 

Thank you!

Posted

I lied.  I tried again, this time with the BlockFalling class, and now it works—no update or BlockSand needed.  Thanks anyway and hopefully this helps somebody else.

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



×
×
  • Create New...

Important Information

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