Jump to content

Item texture isn't work


meuix

Recommended Posts

Hi! I have a problem with my one item texture. I have a picture and .json file, but in game i only see black-purple square

there is my file tree for the texture: 
C:\...\mainModsFolder\Peka\src\main\resources\assets\warriorscraft\models\item\greenleaf.json

C:\...\mainModsFolder\Peka\src\main\resources\assets\warriorscraft\textures\items\greenleaf.png

 

PNG file is 16x16.

The content of .json file: 

{
	"parent": "item/generated",
	"textures": {
		"layer0": "warriorscraft:items/greenleaf"
	}
}

 

Is my problem in the code?

 

Link to comment
Share on other sites

1 minute ago, diesieben07 said:

Post the console log and your code.

[20:21:51] [Client thread/INFO] [FML]: MinecraftForge v12.18.3.2185 Initialized
[20:21:51] [Client thread/INFO] [FML]: Replaced 231 ore recipes
[20:21:52] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[20:21:52] [Client thread/INFO] [FML]: Searching C:\Users\Вова\Desktop\mainModsFolder\Peka\run\mods for mods
[20:22:00] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[20:22:01] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, warriorscraft] at CLIENT
[20:22:01] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, warriorscraft] at SERVER
[20:22:04] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:WarriorsCraft
[20:22:04] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[20:22:04] [Client thread/INFO] [FML]: Found 423 ObjectHolder annotations
[20:22:04] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[20:22:04] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[20:22:04] [Client thread/INFO] [FML]: Applying holder lookups
[20:22:05] [Client thread/INFO] [FML]: Holder lookups applied
[20:22:05] [Client thread/INFO] [FML]: Applying holder lookups
[20:22:05] [Client thread/INFO] [FML]: Holder lookups applied
[20:22:05] [Client thread/INFO] [FML]: Applying holder lookups
[20:22:05] [Client thread/INFO] [FML]: Holder lookups applied
[20:22:05] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[20:22:05] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[20:22:05] [Client thread/INFO] [warriorscraft]: Pre initialize
[20:22:05] [Client thread/INFO] [warriorscraft]: Register item Green leaf
[20:22:06] [Client thread/INFO] [warriorscraft]: Register render for Green leaf
[20:22:06] [Client thread/INFO] [FML]: Applying holder lookups
[20:22:06] [Client thread/INFO] [FML]: Holder lookups applied
[20:22:06] [Client thread/INFO] [FML]: Injecting itemstacks
[20:22:06] [Client thread/INFO] [FML]: Itemstack injection complete
[20:22:06] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: UP_TO_DATE Target: null
[20:22:36] [Sound Library Loader/INFO]: Starting up SoundSystem...
[20:22:36] [Thread-8/INFO]: Initializing LWJGL OpenAL
[20:22:36] [Thread-8/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[20:22:37] [Thread-8/INFO]: OpenAL initialized.
[20:22:37] [Sound Library Loader/INFO]: Sound engine started
[20:23:04] [Client thread/INFO] [FML]: Max texture size: 16384
[20:23:04] [Client thread/INFO]: Created: 16x16 textures-atlas
[20:23:08] [Client thread/ERROR] [FML]: Exception loading model for variant warriorscraft:Green leaf#inventory for item "warriorscraft:greenleaf", normal location exception: 
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model warriorscraft:item/Green leaf 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_121]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121]
	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_121]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121]
	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
	at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: java.io.FileNotFoundException: warriorscraft:models/item/Green leaf.json
	at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:69) ~[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
[20:23:08] [Client thread/ERROR] [FML]: Exception loading model for variant warriorscraft:Green leaf#inventory for item "warriorscraft:greenleaf", blockstate location exception: 
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model warriorscraft:Green leaf#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_121]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121]
	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_121]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121]
	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
[20:23:11] [Client thread/INFO] [warriorscraft]: Initialize
[20:23:11] [Client thread/INFO] [FML]: Injecting itemstacks
[20:23:11] [Client thread/INFO] [FML]: Itemstack injection complete
[20:23:11] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
[20:23:11] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:WarriorsCraft
[20:23:28] [Client thread/INFO]: SoundSystem shutting down...
[20:23:29] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[20:23:29] [Sound Library Loader/INFO]: Starting up SoundSystem...
[20:23:29] [Thread-10/INFO]: Initializing LWJGL OpenAL
[20:23:29] [Thread-10/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[20:23:31] [Thread-10/INFO]: OpenAL initialized.
[20:23:31] [Sound Library Loader/INFO]: Sound engine started
[20:23:50] [Client thread/INFO] [FML]: Max texture size: 16384
[20:23:51] [Client thread/INFO]: Created: 512x512 textures-atlas
[20:23:56] [Client thread/ERROR] [FML]: Exception loading model for variant warriorscraft:Green leaf#inventory for item "warriorscraft:greenleaf", normal location exception: 
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model warriorscraft:item/Green leaf 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_121]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121]
	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_121]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121]
	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
	at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: java.io.FileNotFoundException: warriorscraft:models/item/Green leaf.json
	at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:69) ~[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
[20:23:56] [Client thread/ERROR] [FML]: Exception loading model for variant warriorscraft:Green leaf#inventory for item "warriorscraft:greenleaf", blockstate location exception: 
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model warriorscraft:Green leaf#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_121]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121]
	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_121]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121]
	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
[20:23:56] [Client thread/WARN]: Skipping bad option: lastServer:
[20:24:01] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id

 

Link to comment
Share on other sites

1 minute ago, Jay Avery said:

This is the file the game is searching for. You need to make your Item's registry name match the file name of your json.

package ru.meuix.modding.items;

import net.minecraft.item.Item;

public class itemGreenLeaf extends Item{
	
	public itemGreenLeaf(String unlocalizedName, String registryName) {
		this.setUnlocalizedName(unlocalizedName);
		this.setRegistryName(registryName);
	}

}

and i do that?
 

public static void init(){
		greenLeaf = new itemGreenLeaf("Green leaf", "greenleaf");
	}
	
	public static void register(){
		registerItem(greenLeaf);
	}

 

Link to comment
Share on other sites

1 minute ago, Jay Avery said:

Post the console log and your update code.

ru.meuix.modding

Spoiler

package ru.meuix.modding;

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;
import ru.meuix.modding.init.modItems;
import ru.meuix.modding.proxy.commonProxy;

@Mod(modid = reference.MODID, name = reference.NAME, version = reference.VERSION)

public class modding {
    
    @Mod.Instance(reference.MODID)
    public static modding instance;
    
    @SidedProxy(serverSide = reference.SERVER_PROXY_CLASS, clientSide = reference.CLIENT_PROXY_CLASS)
    public static commonProxy proxy;
    
    @EventHandler
    public void preInit(FMLPreInitializationEvent event) {
        utils.getLogger().info("Pre initialize");
        
        modItems.init();
        modItems.register();
        
        proxy.registerRenders();
    }
    
    @EventHandler
    public void init(FMLInitializationEvent event) {
        utils.getLogger().info("Initialize");
    }
    
    public void postInit(FMLPostInitializationEvent event) {
        utils.getLogger().info("Post nitialize");
    }

}
 

ru.meuix.modding.reference

Spoiler

package ru.meuix.modding;

public class reference {
    
    public static final String MODID = "warriorscraft";
    public static final String VERSION = "0.1";
    public static final String NAME = "WarriorsCraft";
    public static final String SERVER_PROXY_CLASS = "ru.meuix.modding.proxy.commonProxy";
    public static final String CLIENT_PROXY_CLASS = "ru.meuix.modding.proxy.clientProxy";

}

utils, commonProxy, modinfo i think I think do not need

ru.meuix.modding.init.modItems

Spoiler

package ru.meuix.modding.init;

import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.item.Item;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.client.model.ModelLoader;
import net.minecraftforge.fml.common.registry.GameRegistry;
import ru.meuix.modding.reference;
import ru.meuix.modding.utils;
import ru.meuix.modding.items.itemGreenLeaf;

public class modItems {
    
    public static Item greenLeaf;
    
    public static void init(){
        greenLeaf = new itemGreenLeaf("greenleaf", "greenleaf");
    }
    
    public static void register(){
        registerItem(greenLeaf);
    }
    
    public static void registerRenders(){
        registerRender(greenLeaf);
    }
    
    public static void registerItem(Item item){
        GameRegistry.register(item);
        utils.getLogger().info("Register item " + item.getUnlocalizedName().substring(5));
    }
    
    public static void registerRender(Item item){
        ModelLoader.setCustomModelResourceLocation(item, 0, new ModelResourceLocation(new ResourceLocation(reference.MODID, item.getUnlocalizedName().substring(5)), "inventory"));
        utils.getLogger().info("Register render for " + item.getUnlocalizedName().substring(5));
    }

}

ru.meuix.modding.items

Spoiler

package ru.meuix.modding.items;

import net.minecraft.item.Item;

public class itemGreenLeaf extends Item{
    
    public itemGreenLeaf(String unlocalizedName, String registryName) {
        this.setUnlocalizedName(unlocalizedName);
        this.setRegistryName(registryName);
    }

}
 

 

Link to comment
Share on other sites

1 minute ago, Jay Avery said:

And the console log?

Spoiler

2017-03-19 21:02:17,927 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-03-19 21:02:17,933 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[21:02:18] [main/INFO] [GradleStart]: Extra: []
[21:02:18] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Вова/.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]
[21:02:18] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[21:02:18] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[21:02:18] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[21:02:18] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[21:02:18] [main/INFO] [FML]: Forge Mod Loader version 12.18.3.2185 for Minecraft 1.10.2 loading
[21:02:18] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_121, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_121
[21:02:18] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[21:02:18] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[21:02:18] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[21:02:18] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[21:02:18] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:02:18] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[21:02:18] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[21:02:18] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:02:18] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:02:18] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:02:19] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[21:02:25] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[21:02:25] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:02:25] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[21:02:28] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[21:02:28] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[21:02:28] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[21:02:29] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
2017-03-19 21:02:31,273 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-03-19 21:02:31,397 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-03-19 21:02:31,403 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[21:02:32] [Client thread/INFO]: Setting user: Player394
[21:02:48] [Client thread/WARN]: Skipping bad option: lastServer:
[21:02:48] [Client thread/INFO]: LWJGL Version: 2.9.4
[21:02:51] [Client thread/INFO] [STDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:221]: ---- Minecraft Crash Report ----
// On the bright side, I bought you a teddy bear!

Time: 19.03.17 21:02
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_121, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 47220664 bytes (45 MB) / 385351680 bytes (367 MB) up to 824180736 bytes (786 MB)
    JVM Flags: 0 total; 
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: 
    Loaded coremods (and transformers): 
    GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13418 Compatibility Profile Context 15.301.2301.1002' Renderer: 'AMD Radeon(TM) R2 Graphics'
[21:02:51] [Client thread/INFO] [FML]: MinecraftForge v12.18.3.2185 Initialized
[21:02:51] [Client thread/INFO] [FML]: Replaced 231 ore recipes
[21:02:53] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[21:02:53] [Client thread/INFO] [FML]: Searching C:\Users\Вова\Desktop\mainModsFolder\Peka\run\mods for mods
[21:02:59] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[21:03:00] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, warriorscraft] at CLIENT
[21:03:00] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, warriorscraft] at SERVER
[21:03:02] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:WarriorsCraft
[21:03:03] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[21:03:03] [Client thread/INFO] [FML]: Found 423 ObjectHolder annotations
[21:03:03] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[21:03:03] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[21:03:03] [Client thread/INFO] [FML]: Applying holder lookups
[21:03:03] [Client thread/INFO] [FML]: Holder lookups applied
[21:03:03] [Client thread/INFO] [FML]: Applying holder lookups
[21:03:03] [Client thread/INFO] [FML]: Holder lookups applied
[21:03:03] [Client thread/INFO] [FML]: Applying holder lookups
[21:03:03] [Client thread/INFO] [FML]: Holder lookups applied
[21:03:04] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[21:03:04] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[21:03:04] [Client thread/INFO] [warriorscraft]: Pre initialize
[21:03:04] [Client thread/INFO] [warriorscraft]: Register item GREEN LEAF
[21:03:04] [Client thread/INFO] [warriorscraft]: Register render for GREEN LEAF
[21:03:04] [Client thread/INFO] [FML]: Applying holder lookups
[21:03:04] [Client thread/INFO] [FML]: Holder lookups applied
[21:03:04] [Client thread/INFO] [FML]: Injecting itemstacks
[21:03:04] [Client thread/INFO] [FML]: Itemstack injection complete
[21:03:04] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: UP_TO_DATE Target: null
[21:03:20] [Sound Library Loader/INFO]: Starting up SoundSystem...
[21:03:21] [Thread-8/INFO]: Initializing LWJGL OpenAL
[21:03:21] [Thread-8/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[21:03:22] [Thread-8/INFO]: OpenAL initialized.
[21:03:22] [Sound Library Loader/INFO]: Sound engine started
[21:03:48] [Client thread/INFO] [FML]: Max texture size: 16384
[21:03:48] [Client thread/INFO]: Created: 16x16 textures-atlas
[21:03:52] [Client thread/ERROR] [FML]: Exception loading model for variant warriorscraft:GREEN LEAF#inventory for item "warriorscraft:greenleaf", normal location exception: 
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model warriorscraft:item/GREEN LEAF 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_121]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121]
    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_121]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: java.io.FileNotFoundException: warriorscraft:models/item/GREEN LEAF.json
    at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:69) ~[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
[21:03:52] [Client thread/ERROR] [FML]: Exception loading model for variant warriorscraft:GREEN LEAF#inventory for item "warriorscraft:greenleaf", blockstate location exception: 
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model warriorscraft:GREEN LEAF#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_121]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121]
    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_121]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121]
    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
[21:03:55] [Client thread/INFO] [warriorscraft]: Initialize
[21:03:55] [Client thread/INFO] [FML]: Injecting itemstacks
[21:03:55] [Client thread/INFO] [FML]: Itemstack injection complete
[21:03:56] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
[21:03:56] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:WarriorsCraft
[21:04:10] [Client thread/INFO]: SoundSystem shutting down...
[21:04:11] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[21:04:11] [Sound Library Loader/INFO]: Starting up SoundSystem...
[21:04:11] [Thread-10/INFO]: Initializing LWJGL OpenAL
[21:04:11] [Thread-10/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[21:04:11] [Thread-10/INFO]: OpenAL initialized.
[21:04:11] [Sound Library Loader/INFO]: Sound engine started
[21:04:32] [Client thread/INFO] [FML]: Max texture size: 16384
[21:04:33] [Client thread/INFO]: Created: 512x512 textures-atlas
[21:04:37] [Client thread/ERROR] [FML]: Exception loading model for variant warriorscraft:GREEN LEAF#inventory for item "warriorscraft:greenleaf", normal location exception: 
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model warriorscraft:item/GREEN LEAF 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_121]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121]
    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_121]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: java.io.FileNotFoundException: warriorscraft:models/item/GREEN LEAF.json
    at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:69) ~[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
[21:04:37] [Client thread/ERROR] [FML]: Exception loading model for variant warriorscraft:GREEN LEAF#inventory for item "warriorscraft:greenleaf", blockstate location exception: 
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model warriorscraft:GREEN LEAF#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_121]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121]
    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_121]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121]
    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
[21:04:37] [Client thread/WARN]: Skipping bad option: lastServer:
[21:04:40] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id
 

it takes me time to wait

Edited by meuix
Link to comment
Share on other sites

7 minutes ago, meuix said:

ModelResourceLocation(new ResourceLocation(reference.MODID, item.getUnlocalizedName().substring(5)), "inventory"));

You shouldn't use the unlocalized name for this, instead use the registry name:

ModelResourceLocation(item.getRegistryName(), "inventory")

 

Link to comment
Share on other sites

19 minutes ago, Jay Avery said:

You shouldn't use the unlocalized name for this, instead use the registry name:


ModelResourceLocation(item.getRegistryName(), "inventory")

 

No, it isn't work. Console said that all ok but then gives me error. Why?

Spoiler

[21:25:50] [Client thread/INFO] [warriorscraft]: Pre initialize
[21:25:50] [Client thread/INFO] [warriorscraft]: Register item GREEN LEAF
[21:25:50] [Client thread/INFO] [warriorscraft]: Register render for GREEN LEAF
[21:25:51] [Client thread/INFO] [FML]: Applying holder lookups
[21:25:51] [Client thread/INFO] [FML]: Holder lookups applied
[21:25:51] [Client thread/INFO] [FML]: Injecting itemstacks
[21:25:51] [Client thread/INFO] [FML]: Itemstack injection complete
[21:25:54] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: UP_TO_DATE Target: null
[21:26:07] [Sound Library Loader/INFO]: Starting up SoundSystem...
[21:26:07] [Thread-8/INFO]: Initializing LWJGL OpenAL
[21:26:07] [Thread-8/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[21:26:08] [Thread-8/INFO]: OpenAL initialized.
[21:26:08] [Sound Library Loader/INFO]: Sound engine started
[21:26:33] [Client thread/INFO] [FML]: Max texture size: 16384
[21:26:33] [Client thread/INFO]: Created: 16x16 textures-atlas
[21:26:37] [Client thread/ERROR] [FML]: Exception loading model for variant warriorscraft:greenleaf#inventory for item "warriorscraft:greenleaf", normal location exception: 
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model warriorscraft:item/greenleaf with loader VanillaLoader.INSTANCE, skipping

It is new (no) code:

Spoiler

public class modItems {
    
    public static Item greenLeaf;
    
    public static void init(){
        greenLeaf = new itemGreenLeaf("GREEN LEAF", "greenleaf");
    }
    
    public static void register(){
        registerItem(greenLeaf);
    }
    
    public static void registerRenders(){
        registerRender(greenLeaf);
    }
    
    public static void registerItem(Item item){
        GameRegistry.register(item);
        utils.getLogger().info("Register item " + item.getUnlocalizedName().substring(5));
    }
    
    public static void registerRender(Item item){
        ModelLoader.setCustomModelResourceLocation(item, 0, new ModelResourceLocation(item.getRegistryName(), "inventory"));
        utils.getLogger().info("Register render for " + item.getUnlocalizedName().substring(5));
    }
    

}

i think problem isn't at the code?

 

 

Link to comment
Share on other sites

8 minutes ago, meuix said:

No, it isn't work. Console said that all ok but then gives me error. Why?

  Hide contents

[21:25:50] [Client thread/INFO] [warriorscraft]: Pre initialize
[21:25:50] [Client thread/INFO] [warriorscraft]: Register item GREEN LEAF
[21:25:50] [Client thread/INFO] [warriorscraft]: Register render for GREEN LEAF
[21:25:51] [Client thread/INFO] [FML]: Applying holder lookups
[21:25:51] [Client thread/INFO] [FML]: Holder lookups applied
[21:25:51] [Client thread/INFO] [FML]: Injecting itemstacks
[21:25:51] [Client thread/INFO] [FML]: Itemstack injection complete
[21:25:54] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: UP_TO_DATE Target: null
[21:26:07] [Sound Library Loader/INFO]: Starting up SoundSystem...
[21:26:07] [Thread-8/INFO]: Initializing LWJGL OpenAL
[21:26:07] [Thread-8/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[21:26:08] [Thread-8/INFO]: OpenAL initialized.
[21:26:08] [Sound Library Loader/INFO]: Sound engine started
[21:26:33] [Client thread/INFO] [FML]: Max texture size: 16384
[21:26:33] [Client thread/INFO]: Created: 16x16 textures-atlas
[21:26:37] [Client thread/ERROR] [FML]: Exception loading model for variant warriorscraft:greenleaf#inventory for item "warriorscraft:greenleaf", normal location exception: 
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model warriorscraft:item/greenleaf with loader VanillaLoader.INSTANCE, skipping

It is new (no) code:

  Reveal hidden contents

public class modItems {
    
    public static Item greenLeaf;
    
    public static void init(){
        greenLeaf = new itemGreenLeaf("GREEN LEAF", "greenleaf");
    }
    
    public static void register(){
        registerItem(greenLeaf);
    }
    
    public static void registerRenders(){
        registerRender(greenLeaf);
    }
    
    public static void registerItem(Item item){
        GameRegistry.register(item);
        utils.getLogger().info("Register item " + item.getUnlocalizedName().substring(5));
    }
    
    public static void registerRender(Item item){
        ModelLoader.setCustomModelResourceLocation(item, 0, new ModelResourceLocation(item.getRegistryName(), "inventory"));
        utils.getLogger().info("Register render for " + item.getUnlocalizedName().substring(5));
    }
    

}

i think problem isn't at the code?

 

 

That's not a full console log - can you post the whole thing?

Link to comment
Share on other sites

4 minutes ago, Jay Avery said:

That's not a full console log - can you post the whole thing?

 

Ready

Spoiler

2017-03-19 21:38:02,207 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-03-19 21:38:02,213 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[21:38:02] [main/INFO] [GradleStart]: Extra: []
[21:38:02] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Вова/.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]
[21:38:02] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[21:38:02] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[21:38:02] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[21:38:02] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[21:38:03] [main/INFO] [FML]: Forge Mod Loader version 12.18.3.2185 for Minecraft 1.10.2 loading
[21:38:03] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_121, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_121
[21:38:03] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[21:38:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[21:38:03] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[21:38:03] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[21:38:03] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:38:03] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[21:38:03] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[21:38:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:38:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:38:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:38:04] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[21:38:10] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[21:38:10] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:38:10] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[21:38:12] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[21:38:12] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[21:38:12] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[21:38:13] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
2017-03-19 21:38:15,122 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-03-19 21:38:15,283 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-03-19 21:38:15,290 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[21:38:16] [Client thread/INFO]: Setting user: Player293
[21:38:30] [Client thread/WARN]: Skipping bad option: lastServer:
[21:38:30] [Client thread/INFO]: LWJGL Version: 2.9.4
[21:38:34] [Client thread/INFO] [STDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:221]: ---- Minecraft Crash Report ----
// Ouch. That hurt :(

Time: 19.03.17 21:38
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_121, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 239914040 bytes (228 MB) / 386924544 bytes (369 MB) up to 824180736 bytes (786 MB)
    JVM Flags: 0 total; 
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: 
    Loaded coremods (and transformers): 
    GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13418 Compatibility Profile Context 15.301.2301.1002' Renderer: 'AMD Radeon(TM) R2 Graphics'
[21:38:34] [Client thread/INFO] [FML]: MinecraftForge v12.18.3.2185 Initialized
[21:38:34] [Client thread/INFO] [FML]: Replaced 231 ore recipes
[21:38:36] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[21:38:36] [Client thread/INFO] [FML]: Searching C:\Users\Вова\Desktop\mainModsFolder\Peka\run\mods for mods
[21:38:42] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[21:38:43] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, warriorscraft] at CLIENT
[21:38:43] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, warriorscraft] at SERVER
[21:38:46] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:WarriorsCraft
[21:38:47] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[21:38:47] [Client thread/INFO] [FML]: Found 423 ObjectHolder annotations
[21:38:47] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[21:38:47] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[21:38:47] [Client thread/INFO] [FML]: Applying holder lookups
[21:38:47] [Client thread/INFO] [FML]: Holder lookups applied
[21:38:47] [Client thread/INFO] [FML]: Applying holder lookups
[21:38:47] [Client thread/INFO] [FML]: Holder lookups applied
[21:38:47] [Client thread/INFO] [FML]: Applying holder lookups
[21:38:47] [Client thread/INFO] [FML]: Holder lookups applied
[21:38:47] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[21:38:47] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[21:38:47] [Client thread/INFO] [warriorscraft]: Pre initialize
[21:38:47] [Client thread/INFO] [warriorscraft]: Register item GREEN LEAF
[21:38:48] [Client thread/INFO] [warriorscraft]: Register render for GREEN LEAF
[21:38:48] [Client thread/INFO] [FML]: Applying holder lookups
[21:38:48] [Client thread/INFO] [FML]: Holder lookups applied
[21:38:48] [Client thread/INFO] [FML]: Injecting itemstacks
[21:38:48] [Client thread/INFO] [FML]: Itemstack injection complete
[21:38:57] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: UP_TO_DATE Target: null
[21:39:04] [Sound Library Loader/INFO]: Starting up SoundSystem...
[21:39:05] [Thread-8/INFO]: Initializing LWJGL OpenAL
[21:39:05] [Thread-8/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[21:39:05] [Thread-8/INFO]: OpenAL initialized.
[21:39:05] [Sound Library Loader/INFO]: Sound engine started
[21:39:30] [Client thread/INFO] [FML]: Max texture size: 16384
[21:39:30] [Client thread/INFO]: Created: 16x16 textures-atlas
[21:39:35] [Client thread/ERROR] [FML]: Exception loading model for variant warriorscraft:greenleaf#inventory for item "warriorscraft:greenleaf", normal location exception: 
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model warriorscraft:item/greenleaf 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_121]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121]
    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_121]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: java.io.FileNotFoundException: warriorscraft:models/item/greenleaf.json
    at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:69) ~[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
[21:39:35] [Client thread/ERROR] [FML]: Exception loading model for variant warriorscraft:greenleaf#inventory for item "warriorscraft:greenleaf", blockstate location exception: 
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model warriorscraft:greenleaf#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_121]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121]
    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_121]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121]
    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
[21:39:39] [Client thread/INFO] [warriorscraft]: Initialize
[21:39:39] [Client thread/INFO] [FML]: Injecting itemstacks
[21:39:39] [Client thread/INFO] [FML]: Itemstack injection complete
[21:39:39] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
[21:39:39] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:WarriorsCraft
[21:39:56] [Client thread/INFO]: SoundSystem shutting down...
[21:39:56] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[21:39:56] [Sound Library Loader/INFO]: Starting up SoundSystem...
[21:39:56] [Thread-10/INFO]: Initializing LWJGL OpenAL
[21:39:56] [Thread-10/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[21:39:56] [Thread-10/INFO]: OpenAL initialized.
[21:39:56] [Sound Library Loader/INFO]: Sound engine started
[21:40:17] [Client thread/INFO] [FML]: Max texture size: 16384
[21:40:17] [Client thread/INFO]: Created: 512x512 textures-atlas
[21:40:23] [Client thread/ERROR] [FML]: Exception loading model for variant warriorscraft:greenleaf#inventory for item "warriorscraft:greenleaf", normal location exception: 
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model warriorscraft:item/greenleaf 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_121]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121]
    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_121]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: java.io.FileNotFoundException: warriorscraft:models/item/greenleaf.json
    at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:69) ~[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
[21:40:23] [Client thread/ERROR] [FML]: Exception loading model for variant warriorscraft:greenleaf#inventory for item "warriorscraft:greenleaf", blockstate location exception: 
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model warriorscraft:greenleaf#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_121]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121]
    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_121]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121]
    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
[21:40:23] [Client thread/WARN]: Skipping bad option: lastServer:
[21:40:26] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id
 

 

Edited by meuix
Link to comment
Share on other sites

22 minutes ago, meuix said:

Caused by: java.io.FileNotFoundException: warriorscraft:models/item/greenleaf.json

It's now searching in the place you said you put your json, but apparently can't find it. Can you post a screenshot of your whole source file structure?

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.