Jump to content

[1.10.2] Error loading Item texture/model


reesercollins

Recommended Posts

I've been mucking around with this for the past day and can't seem to figure out what's wrong.

 

Here is my stacktrace:

2017-07-10 13:26:21,269 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-07-10 13:26:21,271 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[13:26:21] [main/INFO] [GradleStart]: Extra: []
[13:26:21] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/reese/.gradle/caches/minecraft/assets, --assetIndex, 1.10, --accessToken{REDACTED}, --version, 1.10.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[13:26:21] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[13:26:21] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[13:26:21] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[13:26:21] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[13:26:21] [main/INFO] [FML]: Forge Mod Loader version 12.18.3.2185 for Minecraft 1.10.2 loading
[13:26:21] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_131, running on Windows 10:amd64:10.0, installed at E:\Program Files\Java\jre.1.8.0_131 2
[13:26:21] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[13:26:21] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[13:26:21] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[13:26:21] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[13:26:21] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[13:26:21] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[13:26:21] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[13:26:21] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[13:26:21] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[13:26:21] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[13:26:21] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[13:26:22] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[13:26:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[13:26:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[13:26:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[13:26:22] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[13:26:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[13:26:22] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
2017-07-10 13:26:23,460 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-07-10 13:26:23,491 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-07-10 13:26:23,492 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[13:26:23] [Client thread/INFO]: Setting user: Player216
[13:26:26] [Client thread/WARN]: Skipping bad option: lastServer:
[13:26:26] [Client thread/INFO]: LWJGL Version: 2.9.4
[13:26:28] [Client thread/INFO] [STDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:221]: ---- Minecraft Crash Report ----
// Oh - I know what I did wrong!

Time: 10/07/17 1:26 PM
Description: Loading screen debug info

This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
	Minecraft Version: 1.10.2
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 1.8.0_131, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 848421312 bytes (809 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.5.0 NVIDIA 382.33' Renderer: 'GeForce GTX 980/PCIe/SSE2'
[13:26:28] [Client thread/INFO] [FML]: MinecraftForge v12.18.3.2185 Initialized
[13:26:28] [Client thread/INFO] [FML]: Replaced 231 ore recipes
[13:26:28] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[13:26:28] [Client thread/INFO] [FML]: Searching E:\Documents\Factory Overhaul\run\mods for mods
[13:26:30] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[13:26:30] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, fo] at CLIENT
[13:26:30] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, fo] at SERVER
[13:26:30] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Factory Overhaul
[13:26:30] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[13:26:30] [Client thread/INFO] [FML]: Found 423 ObjectHolder annotations
[13:26:30] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[13:26:30] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[13:26:30] [Client thread/INFO] [FML]: Applying holder lookups
[13:26:30] [Client thread/INFO] [FML]: Holder lookups applied
[13:26:30] [Client thread/INFO] [FML]: Applying holder lookups
[13:26:30] [Client thread/INFO] [FML]: Holder lookups applied
[13:26:30] [Client thread/INFO] [FML]: Applying holder lookups
[13:26:30] [Client thread/INFO] [FML]: Holder lookups applied
[13:26:30] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[13:26:30] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[13:26:30] [Client thread/INFO] [FML]: Applying holder lookups
[13:26:30] [Client thread/INFO] [FML]: Holder lookups applied
[13:26:30] [Client thread/INFO] [FML]: Injecting itemstacks
[13:26:30] [Client thread/INFO] [FML]: Itemstack injection complete
[13:26:30] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: UP_TO_DATE Target: null
[13:26:32] [Sound Library Loader/INFO]: Starting up SoundSystem...
[13:26:32] [Thread-8/INFO]: Initializing LWJGL OpenAL
[13:26:32] [Thread-8/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[13:26:32] [Thread-8/INFO]: OpenAL initialized.
[13:26:33] [Sound Library Loader/INFO]: Sound engine started
[13:26:35] [Client thread/INFO] [FML]: Max texture size: 16384
[13:26:35] [Client thread/INFO]: Created: 16x16 textures-atlas
[13:26:35] [Client thread/ERROR] [FML]: Exception loading model for variant fo:conveyer_belt#inventory for item "fo:conveyor_belt", normal location exception: 
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model fo:item/conveyer_belt with loader VanillaLoader.INSTANCE, skipping
	at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:153) ~[ModelLoaderRegistry.class:?]
	at net.minecraftforge.client.model.ModelLoader.loadItemModels(ModelLoader.java:317) ~[ModelLoader.class:?]
	at net.minecraft.client.renderer.block.model.ModelBakery.loadVariantItemModels(ModelBakery.java:170) ~[ModelBakery.class:?]
	at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:147) ~[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:122) [SimpleReloadableResourceManager.class:?]
	at net.minecraft.client.Minecraft.startGame(Minecraft.java:540) [Minecraft.class:?]
	at net.minecraft.client.Minecraft.run(Minecraft.java:386) [Minecraft.class:?]
	at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131]
	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_131]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131]
	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
	at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: java.io.FileNotFoundException: fo:models/item/conveyer_belt.json
	at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:68) ~[FallbackResourceManager.class:?]
	at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:65) ~[SimpleReloadableResourceManager.class:?]
	at net.minecraft.client.renderer.block.model.ModelBakery.loadModel(ModelBakery.java:311) ~[ModelBakery.class:?]
	at net.minecraftforge.client.model.ModelLoader.access$1100(ModelLoader.java:118) ~[ModelLoader.class:?]
	at net.minecraftforge.client.model.ModelLoader$VanillaLoader.loadModel(ModelLoader.java:868) ~[ModelLoader$VanillaLoader.class:?]
	at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:149) ~[ModelLoaderRegistry.class:?]
	... 20 more
[13:26:35] [Client thread/ERROR] [FML]: Exception loading model for variant fo:conveyer_belt#inventory for item "fo:conveyor_belt", blockstate location exception: 
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model fo:conveyer_belt#inventory with loader VariantLoader.INSTANCE, skipping
	at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:153) ~[ModelLoaderRegistry.class:?]
	at net.minecraftforge.client.model.ModelLoader.loadItemModels(ModelLoader.java:325) ~[ModelLoader.class:?]
	at net.minecraft.client.renderer.block.model.ModelBakery.loadVariantItemModels(ModelBakery.java:170) ~[ModelBakery.class:?]
	at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:147) ~[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:122) [SimpleReloadableResourceManager.class:?]
	at net.minecraft.client.Minecraft.startGame(Minecraft.java:540) [Minecraft.class:?]
	at net.minecraft.client.Minecraft.run(Minecraft.java:386) [Minecraft.class:?]
	at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131]
	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_131]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131]
	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
	at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: net.minecraft.client.renderer.block.model.ModelBlockDefinition$MissingVariantException
	at net.minecraft.client.renderer.block.model.ModelBlockDefinition.getVariant(ModelBlockDefinition.java:78) ~[ModelBlockDefinition.class:?]
	at net.minecraftforge.client.model.ModelLoader$VariantLoader.loadModel(ModelLoader.java:1184) ~[ModelLoader$VariantLoader.class:?]
	at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:149) ~[ModelLoaderRegistry.class:?]
	... 20 more
[13:26:36] [Client thread/INFO] [FML]: Injecting itemstacks
[13:26:36] [Client thread/INFO] [FML]: Itemstack injection complete
[13:26:36] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
[13:26:36] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Factory Overhaul
[13:26:37] [Client thread/INFO]: SoundSystem shutting down...
[13:26:38] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[13:26:38] [Sound Library Loader/INFO]: Starting up SoundSystem...
[13:26:38] [Thread-10/INFO]: Initializing LWJGL OpenAL
[13:26:38] [Thread-10/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[13:26:38] [Thread-10/INFO]: OpenAL initialized.
[13:26:38] [Sound Library Loader/INFO]: Sound engine started
[13:26:40] [Client thread/INFO] [FML]: Max texture size: 16384
[13:26:40] [Client thread/INFO]: Created: 512x512 textures-atlas
[13:26:41] [Client thread/ERROR] [FML]: Exception loading model for variant fo:conveyer_belt#inventory for item "fo:conveyor_belt", normal location exception: 
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model fo:item/conveyer_belt with loader VanillaLoader.INSTANCE, skipping
	at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:153) ~[ModelLoaderRegistry.class:?]
	at net.minecraftforge.client.model.ModelLoader.loadItemModels(ModelLoader.java:317) ~[ModelLoader.class:?]
	at net.minecraft.client.renderer.block.model.ModelBakery.loadVariantItemModels(ModelBakery.java:170) ~[ModelBakery.class:?]
	at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:147) ~[ModelLoader.class:?]
	at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
	at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:132) [SimpleReloadableResourceManager.class:?]
	at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:113) [SimpleReloadableResourceManager.class:?]
	at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:799) [Minecraft.class:?]
	at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:340) [FMLClientHandler.class:?]
	at net.minecraft.client.Minecraft.startGame(Minecraft.java:561) [Minecraft.class:?]
	at net.minecraft.client.Minecraft.run(Minecraft.java:386) [Minecraft.class:?]
	at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131]
	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_131]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131]
	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
	at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: java.io.FileNotFoundException: fo:models/item/conveyer_belt.json
	at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:68) ~[FallbackResourceManager.class:?]
	at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:65) ~[SimpleReloadableResourceManager.class:?]
	at net.minecraft.client.renderer.block.model.ModelBakery.loadModel(ModelBakery.java:311) ~[ModelBakery.class:?]
	at net.minecraftforge.client.model.ModelLoader.access$1100(ModelLoader.java:118) ~[ModelLoader.class:?]
	at net.minecraftforge.client.model.ModelLoader$VanillaLoader.loadModel(ModelLoader.java:868) ~[ModelLoader$VanillaLoader.class:?]
	at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:149) ~[ModelLoaderRegistry.class:?]
	... 23 more
[13:26:41] [Client thread/ERROR] [FML]: Exception loading model for variant fo:conveyer_belt#inventory for item "fo:conveyor_belt", blockstate location exception: 
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model fo:conveyer_belt#inventory with loader VariantLoader.INSTANCE, skipping
	at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:153) ~[ModelLoaderRegistry.class:?]
	at net.minecraftforge.client.model.ModelLoader.loadItemModels(ModelLoader.java:325) ~[ModelLoader.class:?]
	at net.minecraft.client.renderer.block.model.ModelBakery.loadVariantItemModels(ModelBakery.java:170) ~[ModelBakery.class:?]
	at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:147) ~[ModelLoader.class:?]
	at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
	at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:132) [SimpleReloadableResourceManager.class:?]
	at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:113) [SimpleReloadableResourceManager.class:?]
	at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:799) [Minecraft.class:?]
	at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:340) [FMLClientHandler.class:?]
	at net.minecraft.client.Minecraft.startGame(Minecraft.java:561) [Minecraft.class:?]
	at net.minecraft.client.Minecraft.run(Minecraft.java:386) [Minecraft.class:?]
	at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131]
	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_131]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131]
	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
	at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: net.minecraft.client.renderer.block.model.ModelBlockDefinition$MissingVariantException
	at net.minecraft.client.renderer.block.model.ModelBlockDefinition.getVariant(ModelBlockDefinition.java:78) ~[ModelBlockDefinition.class:?]
	at net.minecraftforge.client.model.ModelLoader$VariantLoader.loadModel(ModelLoader.java:1184) ~[ModelLoader$VariantLoader.class:?]
	at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:149) ~[ModelLoaderRegistry.class:?]
	... 23 more
[13:26:41] [Client thread/WARN]: Skipping bad option: lastServer:
[13:26:41] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id

 

Here is my main file, FactoryOverhaul.java:

package com.reesercollins.factoryoverhaul;

import com.reesercollins.factoryoverhaul.init.FactoryOverhaulItems;
import com.reesercollins.factoryoverhaul.proxy.CommonProxy;

import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.SidedProxy;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;

@Mod(modid = Reference.MOD_ID, name = Reference.MOD_NAME, version = Reference.VERSION)
public class FactoryOverhaul {
	
	@SidedProxy(clientSide = Reference.CLIENT_PROXY_CLASS, serverSide = Reference.SERVER_PROXY_CLASS)
	public static CommonProxy proxy;
	
	@EventHandler
	public static void preInit(FMLPreInitializationEvent event) {
		FactoryOverhaulItems.init();
		FactoryOverhaulItems.register();
		proxy.registerRenders();
	}
	
	@EventHandler
	public static void init(FMLInitializationEvent event) {
		
	}
	
	@EventHandler
	public static void postInit(FMLPostInitializationEvent event) {
		
	}
}

 

Here is my Item file, FactoryOverhaulItems:

package com.reesercollins.factoryoverhaul.init;

import com.reesercollins.factoryoverhaul.Reference;

import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.client.model.ModelLoader;
import net.minecraftforge.fml.common.registry.GameRegistry;

public class FactoryOverhaulItems {
	
	public static Item conveyor_belt;
	
	public static void init() {
		conveyor_belt = new Item().setRegistryName("conveyor_belt").setCreativeTab(CreativeTabs.MATERIALS).setUnlocalizedName("conveyer_belt");
	}
	
	public static void register() {
		GameRegistry.register(conveyor_belt);
	}
	
	public static void registerRenders() {
		registerRender(conveyor_belt);
	}
	
	public static void registerRender(Item item) {
		ModelLoader.setCustomModelResourceLocation(item, 0, new ModelResourceLocation(new ResourceLocation(Reference.MOD_ID + ":" + item.getUnlocalizedName().substring(5)), "inventory"));
	}
}

 

And here is my model file:

 

{
    "parent": "item/generated",
    "textures": {
        "0": "fo:items/conveyor_belt"
    }
}

 

And finally, here is my file structure:

 

ixZrTrr.png

 

Any help would be appreciated.

 

Thanks,

Reese

Link to comment
Share on other sites

10 minutes ago, diesieben07 said:
  • Do not use the unlocalized name to determine the model name.
  • "fo" is a terrible Mod ID.
  • Models must be registered from your client proxy, not a common class.
  • The game is (like it says in the log) looking for "fo:models/item/conveyer_belt.json", which is where you told it to look. There is no such file there. "conveyor_belt.json" exists, but that is something else.

1. How do you suggest I get the model name from the supplied item variable in the function?

2. Yes I realize :/

3. What is wrong with just only calling the register function from the client proxy?

4. Huh?

 

Thanks,
Reese

Link to comment
Share on other sites

5 minutes ago, diesieben07 said:

You can use getRegistryName.

 

The server will load the common class, see the ModelLoader reference in there and crash, because it does not know that class.

 

"conveyer" != "conveyor".

Umm...now the item has no texture. Like blank. Not purple and black

Link to comment
Share on other sites

10 minutes ago, diesieben07 said:

Post updated code and log.

FactoryOverhaulItems:

package com.reesercollins.factoryoverhaul.init;

import com.reesercollins.factoryoverhaul.Reference;

import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.client.model.ModelLoader;
import net.minecraftforge.fml.common.registry.GameRegistry;

public class FactoryOverhaulItems {
	
	public static Item conveyor_belt;
	
	public static void init() {
		conveyor_belt = new Item().setRegistryName("conveyor_belt").setCreativeTab(CreativeTabs.MATERIALS);
	}
	
	public static void register() {
		GameRegistry.register(conveyor_belt);
	}
	
	public static void registerRenders() {
		registerRender(conveyor_belt);
	}
	
	public static void registerRender(Item item) {
		ModelLoader.setCustomModelResourceLocation(item, 0, new ModelResourceLocation(new ResourceLocation(item.getRegistryName().toString()), "inventory"));
	}
}

 

New stacktrace:

2017-07-10 16:36:01,614 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-07-10 16:36:01,616 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[16:36:01] [main/INFO] [GradleStart]: Extra: []
[16:36:01] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/reese/.gradle/caches/minecraft/assets, --assetIndex, 1.10, --accessToken{REDACTED}, --version, 1.10.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[16:36:01] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[16:36:01] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[16:36:01] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[16:36:01] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[16:36:01] [main/INFO] [FML]: Forge Mod Loader version 12.18.3.2185 for Minecraft 1.10.2 loading
[16:36:01] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_131, running on Windows 10:amd64:10.0, installed at E:\Program Files\Java\jre.1.8.0_131 2
[16:36:01] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[16:36:01] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[16:36:01] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[16:36:01] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[16:36:01] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[16:36:01] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[16:36:01] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[16:36:01] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[16:36:01] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[16:36:01] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[16:36:01] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[16:36:02] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[16:36:02] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[16:36:02] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[16:36:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[16:36:03] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[16:36:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[16:36:03] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
2017-07-10 16:36:03,527 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-07-10 16:36:03,551 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-07-10 16:36:03,552 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[16:36:03] [Client thread/INFO]: Setting user: Player280
[16:36:06] [Client thread/WARN]: Skipping bad option: lastServer:
[16:36:06] [Client thread/INFO]: LWJGL Version: 2.9.4
[16:36:08] [Client thread/INFO] [STDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:221]: ---- Minecraft Crash Report ----
// You should try our sister game, Minceraft!

Time: 10/07/17 4:36 PM
Description: Loading screen debug info

This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
	Minecraft Version: 1.10.2
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 1.8.0_131, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 874915216 bytes (834 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.5.0 NVIDIA 382.33' Renderer: 'GeForce GTX 980/PCIe/SSE2'
[16:36:08] [Client thread/INFO] [FML]: MinecraftForge v12.18.3.2185 Initialized
[16:36:08] [Client thread/INFO] [FML]: Replaced 231 ore recipes
[16:36:08] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[16:36:08] [Client thread/INFO] [FML]: Searching E:\Documents\Factory Overhaul\run\mods for mods
[16:36:10] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[16:36:10] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, fo] at CLIENT
[16:36:10] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, fo] at SERVER
[16:36:10] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Factory Overhaul
[16:36:10] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[16:36:10] [Client thread/INFO] [FML]: Found 423 ObjectHolder annotations
[16:36:10] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[16:36:10] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[16:36:10] [Client thread/INFO] [FML]: Applying holder lookups
[16:36:10] [Client thread/INFO] [FML]: Holder lookups applied
[16:36:10] [Client thread/INFO] [FML]: Applying holder lookups
[16:36:10] [Client thread/INFO] [FML]: Holder lookups applied
[16:36:10] [Client thread/INFO] [FML]: Applying holder lookups
[16:36:10] [Client thread/INFO] [FML]: Holder lookups applied
[16:36:10] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[16:36:10] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[16:36:10] [Client thread/INFO] [FML]: Applying holder lookups
[16:36:10] [Client thread/INFO] [FML]: Holder lookups applied
[16:36:10] [Client thread/INFO] [FML]: Injecting itemstacks
[16:36:10] [Client thread/INFO] [FML]: Itemstack injection complete
[16:36:10] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: UP_TO_DATE Target: null
[16:36:12] [Sound Library Loader/INFO]: Starting up SoundSystem...
[16:36:12] [Thread-8/INFO]: Initializing LWJGL OpenAL
[16:36:12] [Thread-8/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[16:36:12] [Thread-8/INFO]: OpenAL initialized.
[16:36:13] [Sound Library Loader/INFO]: Sound engine started
[16:36:15] [Client thread/INFO] [FML]: Max texture size: 16384
[16:36:15] [Client thread/INFO]: Created: 16x16 textures-atlas
[16:36:16] [Client thread/INFO] [FML]: Injecting itemstacks
[16:36:16] [Client thread/INFO] [FML]: Itemstack injection complete
[16:36:16] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
[16:36:16] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Factory Overhaul
[16:36:18] [Client thread/INFO]: SoundSystem shutting down...
[16:36:18] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[16:36:18] [Sound Library Loader/INFO]: Starting up SoundSystem...
[16:36:18] [Thread-10/INFO]: Initializing LWJGL OpenAL
[16:36:18] [Thread-10/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[16:36:18] [Thread-10/INFO]: OpenAL initialized.
[16:36:18] [Sound Library Loader/INFO]: Sound engine started
[16:36:20] [Client thread/INFO] [FML]: Max texture size: 16384
[16:36:20] [Client thread/INFO]: Created: 512x512 textures-atlas
[16:36:21] [Client thread/WARN]: Skipping bad option: lastServer:
[16:36:21] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id
[16:36:24] [Server thread/INFO]: Starting integrated minecraft server version 1.10.2
[16:36:24] [Server thread/INFO]: Generating keypair
[16:36:24] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance
[16:36:24] [Server thread/INFO] [FML]: Applying holder lookups
[16:36:24] [Server thread/INFO] [FML]: Holder lookups applied
[16:36:24] [Server thread/INFO] [FML]: Loading dimension 0 (Test) (net.minecraft.server.integrated.IntegratedServer@36f71f50)
[16:36:24] [Server thread/INFO] [FML]: Loading dimension 1 (Test) (net.minecraft.server.integrated.IntegratedServer@36f71f50)
[16:36:24] [Server thread/INFO] [FML]: Loading dimension -1 (Test) (net.minecraft.server.integrated.IntegratedServer@36f71f50)
[16:36:24] [Server thread/INFO]: Preparing start region for level 0
[16:36:25] [Server thread/INFO]: Preparing spawn area: 70%
[16:36:25] [Server thread/INFO]: Changing view distance to 12, from 10
[16:36:26] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2
[16:36:26] [Netty Server IO #1/INFO] [FML]: Client protocol version 2
[16:36:26] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 4 mods : [email protected],[email protected],[email protected],[email protected]
[16:36:26] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established
[16:36:26] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
[16:36:26] [Server thread/INFO]: Player280[local:E:33fb5ac9] logged in with entity id 303 at (106.07532907746987, 83.0, 242.31022402006803)
[16:36:26] [Server thread/INFO]: Player280 joined the game
[16:36:27] [Server thread/INFO]: Saving and pausing game...
[16:36:27] [Server thread/INFO]: Saving chunks for level 'Test'/Overworld
[16:36:27] [Server thread/INFO]: Saving chunks for level 'Test'/Nether
[16:36:27] [Server thread/INFO]: Saving chunks for level 'Test'/The End
[16:36:27] [pool-2-thread-1/WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@3b44c0c7[id=c71f5be7-d736-3c74-8462-9246a49acdfd,name=Player280,properties={},legacy=false]
com.mojang.authlib.exceptions.AuthenticationException: The client has sent too many requests within a certain amount of time
	at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:65) ~[YggdrasilAuthenticationService.class:?]
	at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:175) [YggdrasilMinecraftSessionService.class:?]
	at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:59) [YggdrasilMinecraftSessionService$1.class:?]
	at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:56) [YggdrasilMinecraftSessionService$1.class:?]
	at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524) [guava-17.0.jar:?]
	at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317) [guava-17.0.jar:?]
	at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280) [guava-17.0.jar:?]
	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195) [guava-17.0.jar:?]
	at com.google.common.cache.LocalCache.get(LocalCache.java:3934) [guava-17.0.jar:?]
	at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938) [guava-17.0.jar:?]
	at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821) [guava-17.0.jar:?]
	at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4827) [guava-17.0.jar:?]
	at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:165) [YggdrasilMinecraftSessionService.class:?]
	at net.minecraft.client.Minecraft.getProfileProperties(Minecraft.java:3060) [Minecraft.class:?]
	at net.minecraft.client.resources.SkinManager$3.run(SkinManager.java:131) [SkinManager$3.class:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_131]
	at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_131]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_131]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_131]
	at java.lang.Thread.run(Unknown Source) [?:1.8.0_131]
[16:36:28] [Server thread/INFO]: Player280 has just earned the achievement [Taking Inventory]
[16:36:28] [Client thread/INFO]: [CHAT] Player280 has just earned the achievement [Taking Inventory]
[16:36:43] [Server thread/INFO]: Saving and pausing game...
[16:36:43] [Server thread/INFO]: Saving chunks for level 'Test'/Overworld
[16:36:43] [Server thread/INFO]: Saving chunks for level 'Test'/Nether
[16:36:43] [Server thread/INFO]: Saving chunks for level 'Test'/The End

That's all I've changed

 

Thanks,
Reese

Link to comment
Share on other sites

new ModelResourceLocation(new ResourceLocation(...))?

ModelLoader.setCustomModelResourceLocation(item, 0, new ModelResourceLocation(new ResourceLocation(item.getRegistryName().toString()), "inventory"));

It should be

ModelLoader.setCustomModelResourceLocation(item, 0, new ModelResourceLocation(item.getRegistryName(), "inventory"));

 

Link to comment
Share on other sites

1 hour ago, MrBendelScrolls said:

new ModelResourceLocation(new ResourceLocation(...))?


ModelLoader.setCustomModelResourceLocation(item, 0, new ModelResourceLocation(new ResourceLocation(item.getRegistryName().toString()), "inventory"));

It should be


ModelLoader.setCustomModelResourceLocation(item, 0, new ModelResourceLocation(item.getRegistryName(), "inventory"));

 

Didn't seem to work :/ I should also mention the item is now called item.null.name when it turned blank before

 

New code:

package com.reesercollins.factoryoverhaul.init;

import com.reesercollins.factoryoverhaul.Reference;

import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.client.model.ModelLoader;
import net.minecraftforge.fml.common.registry.GameRegistry;

public class FactoryOverhaulItems {
	
	public static Item conveyor_belt;
	
	public static void init() {
		conveyor_belt = new Item().setRegistryName("conveyor_belt").setCreativeTab(CreativeTabs.MATERIALS);
	}
	
	public static void register() {
		GameRegistry.register(conveyor_belt);
	}
	
	public static void registerRenders() {
		registerRender(conveyor_belt);
	}
	
	public static void registerRender(Item item) {
		ModelLoader.setCustomModelResourceLocation(item, 0, new ModelResourceLocation(item.getRegistryName(), "inventory"));
	}
}

 

Edited by reesercollins
Link to comment
Share on other sites

I don't see a texture for them in your first post, that is why it is purple and black.

 

Edit: Never mind your package explorer is different from mine I see it.

Edited by Animefan8888

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

5 hours ago, reesercollins said:

"textures": { "0": "fo:items/conveyor_belt" }

Did you mean layer0, not 0

 

13 minutes ago, reesercollins said:

I should also mention the item is now called item.null.name when it turned blank before

You have never set the unlocalized name for your item.

Link to comment
Share on other sites

5 minutes ago, reesercollins said:

They haven't changed since the original post:


{
    "parent": "item/generated",
    "textures": {
        "0": "fo:items/conveyor_belt"
    }
}

 

Change "0" to "layer0"

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

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.