Jump to content

Recommended Posts

Posted (edited)

I'm stuck I can't think how to fix this I search it up on the web and found nopthing what worked. I first tried 1.12 but the issue there was my iten wasn't even in the game but I tried 1.9 and my item showed up but with out the texture 

package com.scriptingnerd.therealdeal.items;

import com.scriptingnerd.therealdeal.Reference;

import net.minecraft.item.Item;

public class ItemClass extends Item {
	
	public ItemClass() {
		setUnlocalizedName(Reference.DiffrentItems.SLIVERINGOT.getUnlocalizedName());
		setRegistryName(Reference.DiffrentItems.SLIVERINGOT.getRegistryName());
	}
}
{
    "parent": "builtin/generated",
    "textures": {
        "layer0": "trd:items/ItemSilver"
    },
"display": {
    "thirdperson": {
        "rotation": [-90, 0, 0],
        "translation": [0, 1, -3],
        "scale": [0.55, 0.55, 0.55 ]
    },
    "firstperson": {
        "rotation": [0, -135, 25 ],
        "translation": [0, 4, 2 ],
        "scale": [1.7, 1.7, 1.7 ]
    }
}
}
package com.scriptingnerd.therealdeal.init;


import com.scriptingnerd.therealdeal.Reference;
import com.scriptingnerd.therealdeal.items.ItemClass;


import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.item.Item;
import net.minecraftforge.fml.common.registry.GameRegistry;

public class ModItems {
	
	public static Item silveringot;

	public static void init() {
		silveringot = new ItemClass();
	}
	public static void register() {
		GameRegistry.register(silveringot);
	}
	
	public static void registerRenders() {
		registerRender(silveringot);
	}
	
	private static void registerRender(Item item) {
		Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation(item.getRegistryName(), "inventory" ));
	}
	
}
package com.scriptingnerd.therealdeal;

public class Reference {
	
	public static final String MOD_ID = "trd";
	public static final String NAME = "The Real Deal";
	public static final String VERSION = "1.0";
	public static final String ACCEPTED_VERSIONS = "[1.9]";
	
	public static final String CLIENT_PROXY_CLASS = "com.scriptingnerd.therealdeal.proxy.ClientProxy";
	public static final String SERVER_PROXY_CLASS = "com.scriptingnerd.therealdeal.proxy.ServerProxy";
	
	public static enum DiffrentItems 
	{
		SLIVERINGOT("silveringot", "ItemSilver");
		
		private String unlocalizedName;
		private String registryName;
		DiffrentItems(String unlocalizedName, String registryName){
			this.unlocalizedName = unlocalizedName;
			this.registryName = registryName;
		}
		
		public String getUnlocalizedName() 
		{
			return unlocalizedName;
		}
		
		public String getRegistryName() 
		{
			return registryName;
		}
		
	}
	
			
}
Edited by ScriptingNerd
Posted
1 hour ago, ScriptingNerd said:

"parent": "builtin/generated"

use "parent": "item/generated" or "item:handheld", then you don't need to specify the "display" section. Any time you're copy-pasting the same thing over and over, you're doing it wrong.

 

1 hour ago, ScriptingNerd said:

Minecraft.getMinecraft().getRenderItem().getItemModelMesher()

Use ModelLoader instead. I'm pretty sure it exists.

 

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted
15 minutes ago, ScriptingNerd said:

Thanks for trying to help me but sadly it didn't work for me.

Then your probably doing it wrong, can you post your logs & code. This method works perfectly for me and all the other mods I’ve seen

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted

My ModItems:

 

package com.scriptingnerd.therealdeal.init;


import com.scriptingnerd.therealdeal.Reference;
import com.scriptingnerd.therealdeal.items.ItemClass;


import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.item.Item;
import net.minecraftforge.fml.common.registry.GameRegistry;

public class ModItems {
	
	public static Item silveringot;

	public static void init() {
		silveringot = new ItemClass();
	}
	public static void register() {
		GameRegistry.register(silveringot);
	}
	
	public static void registerRenders() {
		registerRender(silveringot);
	}
	
	private static void registerRender(Item item) {
		Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation(item.getRegistryName(), "inventory" ));
		
	}
	
}

 

my ItemClass:

package com.scriptingnerd.therealdeal.items;

import com.scriptingnerd.therealdeal.Reference;

import net.minecraft.item.Item;

public class ItemClass extends Item {
	
	public ItemClass() {
		setUnlocalizedName(Reference.DiffrentItems.SLIVERINGOT.getUnlocalizedName());
		setRegistryName(Reference.DiffrentItems.SLIVERINGOT.getRegistryName());
	}
}

 

my Main:

 

package com.scriptingnerd.therealdeal;

import com.scriptingnerd.therealdeal.init.ModItems;
import com.scriptingnerd.therealdeal.proxy.CommonProxy;

import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.Mod.Instance;
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.NAME, version = Reference.VERSION, acceptedMinecraftVersions = Reference.ACCEPTED_VERSIONS)

public class Main 
{
	
	@Instance
	public static Main instance;
	
	@SidedProxy(clientSide = Reference.CLIENT_PROXY_CLASS, serverSide = Reference.SERVER_PROXY_CLASS)
	public static CommonProxy proxy;
	
	@EventHandler
	public void PreInit(FMLPreInitializationEvent event)
	{
		System.out.println("Pre Init");
		
		ModItems.init();
		ModItems.register();
	}
	
	@EventHandler
	public void init(FMLInitializationEvent event)
	{
		System.out.println("Init");
		proxy.init();
	}
	
	@EventHandler
	public void PostInit(FMLPostInitializationEvent event)
	{
		System.out.println("Post Init");
	}
}


my reference: 

 

package com.scriptingnerd.therealdeal;

public class Reference {
	
	public static final String MOD_ID = "trd";
	public static final String NAME = "The Real Deal";
	public static final String VERSION = "1.0";
	public static final String ACCEPTED_VERSIONS = "[1.9]";
	
	public static final String CLIENT_PROXY_CLASS = "com.scriptingnerd.therealdeal.proxy.ClientProxy";
	public static final String SERVER_PROXY_CLASS = "com.scriptingnerd.therealdeal.proxy.ServerProxy";
	
	public static enum DiffrentItems 
	{
		SLIVERINGOT("silveringot", "ItemSilver");
		
		private String unlocalizedName;
		private String registryName;
		DiffrentItems(String unlocalizedName, String registryName){
			this.unlocalizedName = unlocalizedName;
			this.registryName = registryName;
		}
		
		public String getUnlocalizedName() 
		{
			return unlocalizedName;
		}
		
		public String getRegistryName() 
		{
			return registryName;
		}
		
	}
	
			
}

 

my ClientProxy:

 

package com.scriptingnerd.therealdeal.proxy;

import com.scriptingnerd.therealdeal.init.ModItems;

public class ClientProxy implements CommonProxy {

	@Override
	public void init() {

		
	}
	

}

 

my ServerProxy:

 

package com.scriptingnerd.therealdeal.proxy;


public class ServerProxy implements CommonProxy {

	@Override
	public void init() {

		
	}


}

 

my CommonProxy:

 

package com.scriptingnerd.therealdeal.proxy;

public interface CommonProxy {
	public void init();
}

 

my en_Us.lang

 

item.silveringot.name=Silver Ingot

 

my ItemClass.json

 

{
    "parent": "item/generated",
    "textures": {
        "layer0": "items/ItemSilver"
    },
"display": {
    "thirdperson": {
        "rotation": [-90, 0, 0],
        "translation": [0, 1, -3],
        "scale": [0.55, 0.55, 0.55 ]
    },
    "firstperson": {
        "rotation": [0, -135, 25 ],
        "translation": [0, 4, 2 ],
        "scale": [1.7, 1.7, 1.7 ]
    }
}
}

 

Console:

 

2018-08-18 16:05:58,611 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2018-08-18 16:05:58,613 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[16:05:58] [main/INFO] [GradleStart]: Extra: []
[16:05:58] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/jolke/.gradle/caches/minecraft/assets, --assetIndex, 1.9, --accessToken{REDACTED}, --version, 1.9, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[16:05:58] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[16:05:58] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[16:05:58] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[16:05:58] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[16:05:58] [main/INFO] [FML]: Forge Mod Loader version 12.16.1.1887 for Minecraft 1.9 loading
[16:05:58] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_181, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_181
[16:05:58] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[16:05:58] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[16:05:58] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[16:05:58] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[16:05:58] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[16:05:58] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[16:05:58] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[16:05:58] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[16:05:58] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[16:05:58] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[16:05:59] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[16:06:02] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[16:06:02] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[16:06:02] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[16:06:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[16:06:03] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[16:06:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[16:06:03] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
2018-08-18 16:06:04,861 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2018-08-18 16:06:04,914 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2018-08-18 16:06:04,917 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[16:06:05] [Client thread/INFO]: Setting user: Player148
[16:06:13] [Client thread/INFO]: LWJGL Version: 2.9.4
[16:06:14] [Client thread/INFO] [STDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:200]: ---- Minecraft Crash Report ----
// Oh - I know what I did wrong!

Time: 8/18/18 4:06 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.9
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 1.8.0_181, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 657328384 bytes (626 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 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: 'ATI Technologies Inc.' Version: '4.5.13492 Compatibility Profile Context 22.19.677.257' Renderer: 'AMD Radeon R9 200 Series'
[16:06:14] [Client thread/INFO] [FML]: MinecraftForge v12.16.1.1887 Initialized
[16:06:14] [Client thread/INFO] [FML]: Replaced 232 ore recipes
[16:06:15] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[16:06:15] [Client thread/INFO] [FML]: Searching C:\Users\jolke\Desktop\Minecraft Modding\TheRealDeal 1.0\run\mods for mods
[16:06:16] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[16:06:17] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, trd] at CLIENT
[16:06:17] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, trd] at SERVER
[16:06:18] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:The Real Deal
[16:06:18] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[16:06:18] [Client thread/INFO] [FML]: Found 418 ObjectHolder annotations
[16:06:18] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[16:06:18] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[16:06:18] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[16:06:18] [Client thread/INFO] [STDOUT]: [com.scriptingnerd.therealdeal.Main:PreInit:28]: Pre Init
[16:06:18] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[16:06:18] [Client thread/INFO] [FML]: Applying holder lookups
[16:06:18] [Client thread/INFO] [FML]: Holder lookups applied
[16:06:18] [Client thread/INFO] [FML]: Injecting itemstacks
[16:06:18] [Client thread/INFO] [FML]: Itemstack injection complete
[16:06:18] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: UP_TO_DATE Target: null
[16:06:22] [Sound Library Loader/INFO]: Starting up SoundSystem...
[16:06:23] [Thread-8/INFO]: Initializing LWJGL OpenAL
[16:06:23] [Thread-8/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[16:06:23] [Thread-8/INFO]: OpenAL initialized.
[16:06:23] [Sound Library Loader/INFO]: Sound engine started
[16:06:30] [Client thread/INFO] [FML]: Max texture size: 16384
[16:06:30] [Client thread/INFO]: Created: 16x16 textures-atlas
[16:06:31] [Client thread/ERROR] [FML]: Exception loading model for variant trd:ItemSilver#inventory for item "trd:ItemSilver", normal location exception: 
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model trd:item/ItemSilver with loader VanillaLoader.INSTANCE, skipping
	at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:134) ~[ModelLoaderRegistry.class:?]
	at net.minecraftforge.client.model.ModelLoader.loadItemModels(ModelLoader.java:298) ~[ModelLoader.class:?]
	at net.minecraft.client.renderer.block.model.ModelBakery.loadVariantItemModels(ModelBakery.java:169) ~[ModelBakery.class:?]
	at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:128) ~[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:120) [SimpleReloadableResourceManager.class:?]
	at net.minecraft.client.Minecraft.startGame(Minecraft.java:535) [Minecraft.class:?]
	at net.minecraft.client.Minecraft.run(Minecraft.java:381) [Minecraft.class:?]
	at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_181]
	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_181]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_181]
	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
	at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: java.io.FileNotFoundException: trd:models/item/ItemSilver.json
	at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:68) ~[FallbackResourceManager.class:?]
	at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:64) ~[SimpleReloadableResourceManager.class:?]
	at net.minecraft.client.renderer.block.model.ModelBakery.loadModel(ModelBakery.java:310) ~[ModelBakery.class:?]
	at net.minecraftforge.client.model.ModelLoader.access$1100(ModelLoader.java:99) ~[ModelLoader.class:?]
	at net.minecraftforge.client.model.ModelLoader$VanillaLoader.loadModel(ModelLoader.java:844) ~[ModelLoader$VanillaLoader.class:?]
	at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:130) ~[ModelLoaderRegistry.class:?]
	... 20 more
[16:06:31] [Client thread/ERROR] [FML]: Exception loading model for variant trd:ItemSilver#inventory for item "trd:ItemSilver", blockstate location exception: 
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model trd:ItemSilver#inventory with loader VariantLoader.INSTANCE, skipping
	at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:134) ~[ModelLoaderRegistry.class:?]
	at net.minecraftforge.client.model.ModelLoader.loadItemModels(ModelLoader.java:306) ~[ModelLoader.class:?]
	at net.minecraft.client.renderer.block.model.ModelBakery.loadVariantItemModels(ModelBakery.java:169) ~[ModelBakery.class:?]
	at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:128) ~[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:120) [SimpleReloadableResourceManager.class:?]
	at net.minecraft.client.Minecraft.startGame(Minecraft.java:535) [Minecraft.class:?]
	at net.minecraft.client.Minecraft.run(Minecraft.java:381) [Minecraft.class:?]
	at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_181]
	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_181]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_181]
	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:75) ~[ModelBlockDefinition.class:?]
	at net.minecraftforge.client.model.ModelLoader$VariantLoader.loadModel(ModelLoader.java:1159) ~[ModelLoader$VariantLoader.class:?]
	at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:130) ~[ModelLoaderRegistry.class:?]
	... 20 more
[16:06:32] [Client thread/INFO] [STDOUT]: [com.scriptingnerd.therealdeal.Main:init:37]: Init
[16:06:32] [Client thread/INFO] [FML]: Injecting itemstacks
[16:06:32] [Client thread/INFO] [FML]: Itemstack injection complete
[16:06:32] [Client thread/INFO] [STDOUT]: [com.scriptingnerd.therealdeal.Main:PostInit:44]: Post Init
[16:06:32] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
[16:06:32] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:The Real Deal
[16:06:36] [Client thread/INFO]: SoundSystem shutting down...
[16:06:36] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[16:06:36] [Sound Library Loader/INFO]: Starting up SoundSystem...
[16:06:36] [Thread-10/INFO]: Initializing LWJGL OpenAL
[16:06:36] [Thread-10/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[16:06:36] [Thread-10/INFO]: OpenAL initialized.
[16:06:36] [Sound Library Loader/INFO]: Sound engine started
[16:06:42] [Client thread/INFO] [FML]: Max texture size: 16384
[16:06:42] [Client thread/INFO]: Created: 1024x512 textures-atlas
[16:06:43] [Client thread/ERROR] [FML]: Exception loading model for variant trd:ItemSilver#inventory for item "trd:ItemSilver", normal location exception: 
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model trd:item/ItemSilver with loader VanillaLoader.INSTANCE, skipping
	at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:134) ~[ModelLoaderRegistry.class:?]
	at net.minecraftforge.client.model.ModelLoader.loadItemModels(ModelLoader.java:298) ~[ModelLoader.class:?]
	at net.minecraft.client.renderer.block.model.ModelBakery.loadVariantItemModels(ModelBakery.java:169) ~[ModelBakery.class:?]
	at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:128) ~[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:130) [SimpleReloadableResourceManager.class:?]
	at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:111) [SimpleReloadableResourceManager.class:?]
	at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:792) [Minecraft.class:?]
	at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:332) [FMLClientHandler.class:?]
	at net.minecraft.client.Minecraft.startGame(Minecraft.java:554) [Minecraft.class:?]
	at net.minecraft.client.Minecraft.run(Minecraft.java:381) [Minecraft.class:?]
	at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_181]
	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_181]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_181]
	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
	at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: java.io.FileNotFoundException: trd:models/item/ItemSilver.json
	at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:68) ~[FallbackResourceManager.class:?]
	at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:64) ~[SimpleReloadableResourceManager.class:?]
	at net.minecraft.client.renderer.block.model.ModelBakery.loadModel(ModelBakery.java:310) ~[ModelBakery.class:?]
	at net.minecraftforge.client.model.ModelLoader.access$1100(ModelLoader.java:99) ~[ModelLoader.class:?]
	at net.minecraftforge.client.model.ModelLoader$VanillaLoader.loadModel(ModelLoader.java:844) ~[ModelLoader$VanillaLoader.class:?]
	at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:130) ~[ModelLoaderRegistry.class:?]
	... 23 more
[16:06:43] [Client thread/ERROR] [FML]: Exception loading model for variant trd:ItemSilver#inventory for item "trd:ItemSilver", blockstate location exception: 
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model trd:ItemSilver#inventory with loader VariantLoader.INSTANCE, skipping
	at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:134) ~[ModelLoaderRegistry.class:?]
	at net.minecraftforge.client.model.ModelLoader.loadItemModels(ModelLoader.java:306) ~[ModelLoader.class:?]
	at net.minecraft.client.renderer.block.model.ModelBakery.loadVariantItemModels(ModelBakery.java:169) ~[ModelBakery.class:?]
	at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:128) ~[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:130) [SimpleReloadableResourceManager.class:?]
	at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:111) [SimpleReloadableResourceManager.class:?]
	at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:792) [Minecraft.class:?]
	at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:332) [FMLClientHandler.class:?]
	at net.minecraft.client.Minecraft.startGame(Minecraft.java:554) [Minecraft.class:?]
	at net.minecraft.client.Minecraft.run(Minecraft.java:381) [Minecraft.class:?]
	at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_181]
	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_181]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_181]
	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:75) ~[ModelBlockDefinition.class:?]
	at net.minecraftforge.client.model.ModelLoader$VariantLoader.loadModel(ModelLoader.java:1159) ~[ModelLoader$VariantLoader.class:?]
	at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:130) ~[ModelLoaderRegistry.class:?]
	... 23 more
[16:15:42] [Server thread/INFO]: Starting integrated minecraft server version 1.9
[16:15:42] [Server thread/INFO]: Generating keypair
[16:15:42] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance
[16:15:42] [Server thread/INFO] [FML]: Applying holder lookups
[16:15:42] [Server thread/INFO] [FML]: Holder lookups applied
[16:15:42] [Server thread/INFO] [FML]: Loading dimension 0 (Test world) (net.minecraft.server.integrated.IntegratedServer@90f77ae)
[16:15:42] [Server thread/INFO] [FML]: Loading dimension 1 (Test world) (net.minecraft.server.integrated.IntegratedServer@90f77ae)
[16:15:42] [Server thread/INFO] [FML]: Loading dimension -1 (Test world) (net.minecraft.server.integrated.IntegratedServer@90f77ae)
[16:15:42] [Server thread/INFO]: Preparing start region for level 0
[16:15:43] [Server thread/INFO]: Changing view distance to 12, from 10
[16:15:44] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2
[16:15:44] [Netty Server IO #1/INFO] [FML]: Client protocol version 2
[16:15:44] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 4 mods : [email protected],[email protected],[email protected],[email protected]
[16:15:44] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established
[16:15:44] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
[16:15:44] [Server thread/INFO]: Player148[local:E:356ef06b] logged in with entity id 0 at (19.235315966032065, 4.0, 1.5418103407307386)
[16:15:44] [Server thread/INFO]: Player148 joined the game
[16:15:45] [Server thread/INFO]: Saving and pausing game...
[16:15:45] [Server thread/INFO]: Saving chunks for level 'Test world'/Overworld
[16:15:45] [Server thread/INFO]: Saving chunks for level 'Test world'/Nether
[16:15:45] [Server thread/INFO]: Saving chunks for level 'Test world'/The End
[16:15:46] [pool-2-thread-1/WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@3d4291a7[id=a5b1456e-d1e7-3e67-9fba-f1c12baf4d45,name=Player148,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:3038) [Minecraft.class:?]
	at net.minecraft.client.resources.SkinManager$3.run(SkinManager.java:130) [SkinManager$3.class:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_181]
	at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_181]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_181]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_181]
	at java.lang.Thread.run(Unknown Source) [?:1.8.0_181]
[16:15:53] [Server thread/INFO]: [Player148: Given [Silver Ingot] * 1 to Player148]
[16:15:53] [Client thread/INFO]: [CHAT] Given [Silver Ingot] * 1 to Player148
[16:15:54] [Server thread/INFO]: Player148 has just earned the achievement [Taking Inventory]
[16:15:54] [Client thread/INFO]: [CHAT] Player148 has just earned the achievement [Taking Inventory]

 

Posted
1 hour ago, ScriptingNerd said:

Caused by: java.io.FileNotFoundException: trd:models/item/ItemSilver.json

Your file is improperly named or located.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

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 was trying to find a mod that added something specific, and was unable to find it with what limited memory I had of seeing it. I don't know why there isn't an option to include words in overviews of mods. I could see it being in the sort tab near filters on the app in my opinion. It might help someone trying to find something specific, only based off something from the overview tab, but idk
    • Please read the FAQ and post logs as described there.   Also, do not just add a post onto someone else's thread with your issue, create a new one please.
    • I am creating a server with mods but when i try tostart it it say in the logs:   [29Jan2025 20:36:50.715] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /server/libraries/net/minecraftforge/fmlcore/1.20.1-47.3.27/fmlcore-1.20.1-47.3.27.jar is missing mods.toml file 159[29Jan2025 20:36:50.717] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate /server/libraries/net/minecraftforge/javafmllanguage/1.20.1-47.3.27/javafmllanguage-1.20.1-47.3.27.jar 160[29Jan2025 20:36:50.717] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /server/libraries/net/minecraftforge/javafmllanguage/1.20.1-47.3.27/javafmllanguage-1.20.1-47.3.27.jar is missing mods.toml file 161[29Jan2025 20:36:50.718] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate /server/libraries/net/minecraftforge/lowcodelanguage/1.20.1-47.3.27/lowcodelanguage-1.20.1-47.3.27.jar 162[29Jan2025 20:36:50.718] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /server/libraries/net/minecraftforge/lowcodelanguage/1.20.1-47.3.27/lowcodelanguage-1.20.1-47.3.27.jar is missing mods.toml file 163[29Jan2025 20:36:50.719] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate /server/libraries/net/minecraftforge/mclanguage/1.20.1-47.3.27/mclanguage-1.20.1-47.3.27.jar 164[29Jan2025 20:36:50.719] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /server/libraries/net/minecraftforge/mclanguage/1.20.1-47.3.27/mclanguage-1.20.1-47.3.27.jar is missing mods.toml file
    • How do you configure the entity reach of a custom weapon? Asking for 1.21 Minecraft parchment
  • Topics

×
×
  • Create New...

Important Information

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