-
Posts
49 -
Joined
-
Last visited
Posts posted by an_awsome_person
-
-
On 4/4/2017 at 9:44 AM, diesieben07 said:
FMLPreInitializationEvent.
How do I move the ModelLoader calls to preInit?
-
On 4/2/2017 at 4:42 AM, diesieben07 said:
Did you move the ModelLoader calls to preInit? Did that change anything?
What's preInit, again?
-
On 3/26/2017 at 3:30 PM, diesieben07 said:
ModelLoader must be used in preInit. It also needs to happen in your client proxy. What does your ItemsModelsHandler class do?
Not much, really. I copied it from someone else's mod.
Spoilerpackage client;
import main.ModItems;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.item.Item;
import net.minecraftforge.client.model.ModelLoader;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;@SideOnly(Side.CLIENT)
public class ItemsModelsHandler {
public static void preInit(){
loadModel(ModItems.chain_mail);
}
private static void loadModel(Item item) {
ModelLoader.setCustomModelResourceLocation(item, 0, new ModelResourceLocation
(item.getRegistryName(), "inventory"));
}
} -
23 hours ago, Draco18s said:
And what does your code look like now?
Spoilerpackage com.renewability.renewabilitymod;
import client.ItemsModelsHandler;
import main.ModItems;
import main.ModRecipes;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraftforge.client.model.ModelLoader;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.relauncher.Side;@Mod(modid = RenewabilityMod.MODID, version = RenewabilityMod.VERSION)
public class RenewabilityMod
{
public static final String MODID = "renewabilitymod";
public static final String VERSION = "1.10";
@EventHandler
public void init(FMLInitializationEvent event)
{
ModItems.items();
ModRecipes.recipes();
if(event.getSide() == Side.CLIENT){
ModelLoader.setCustomModelResourceLocation(ModItems.chain_mail, 0,
new ModelResourceLocation(ModItems.chain_mail.getRegistryName(), "inventory"));
/*Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(ModItems.
chain_mail, 0, new ModelResourceLocation(ModItems.chain_mail.getRegistryName(),
"inventory"));*/
ItemsModelsHandler.preInit();
}
}
}
-
On 3/19/2017 at 7:41 PM, Draco18s said:
Why are you using both the ModelLoader and the ModelMesher?
I told you to replace the one with the other.
Done. I didn't see any difference, though.
-
On 3/13/2017 at 0:56 AM, Jay Avery said:
You said that's the path of your model, but the output log suggests that it can't find a file at that location. Are you certain that's the exact path with no typos? Maybe post a screenshot of your file structure to check.
Here you go.
-
On 3/11/2017 at 6:15 PM, Draco18s said:
Can you teach me how to use proxies?
On 3/11/2017 at 6:15 PM, Draco18s said:
Your blockstate file lacks an inventory variantHow do I fix this?
-
23 hours ago, Draco18s said:
Also also:
The fuk? Use ModelLoader.setCustomModelResourceLocation(...)
Also also also:
Jesus H Christ on a crutch. What nonsense is this?
ModItems.chain_mail.getRegistryName()
This is what my RenewabilityMod class looks like right now.
Spoilerpackage com.renewability.renewabilitymod;
import client.ItemsModelsHandler;
import main.ModItems;
import main.ModRecipes;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraftforge.client.model.ModelLoader;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.relauncher.Side;@Mod(modid = RenewabilityMod.MODID, version = RenewabilityMod.VERSION)
public class RenewabilityMod
{
public static final String MODID = "renewabilitymod";
public static final String VERSION = "1.10";
@EventHandler
public void init(FMLInitializationEvent event)
{
ModItems.items();
ModRecipes.recipes();
if(event.getSide() == Side.CLIENT){
ModelLoader.setCustomModelResourceLocation(ModItems.chain_mail, 0,
new ModelResourceLocation(ModItems.chain_mail.getRegistryName(), "inventory"));
Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(ModItems.
chain_mail, 0, new ModelResourceLocation(ModItems.chain_mail.getRegistryName(),
"inventory"));
ItemsModelsHandler.preInit();
}
}
}
23 hours ago, Draco18s said:Show the game's output log.
The game prints all texture loading problems there.
Here you go. (this is after the changes to RenewabilityMod)
Spoiler2017-03-11 17:52:18,678 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-03-11 17:52:18,680 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[17:52:18] [main/INFO] [GradleStart]: Extra: []
[17:52:18] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Work Hard/.gradle/caches/minecraft/assets, --assetIndex, 1.10, --accessToken{REDACTED}, --version, 1.10, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[17:52:18] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[17:52:18] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[17:52:18] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[17:52:18] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[17:52:18] [main/INFO] [FML]: Forge Mod Loader version 12.18.0.2000 for Minecraft 1.10 loading
[17:52:18] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_91, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_91
[17:52:18] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[17:52:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[17:52:19] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[17:52:19] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[17:52:19] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[17:52:19] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[17:52:19] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[17:52:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[17:52:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[17:52:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[17:52:19] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[17:52:21] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[17:52:21] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[17:52:21] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[17:52:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[17:52:22] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[17:52:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[17:52:22] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
2017-03-11 17:52:22,914 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-03-11 17:52:22,948 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-03-11 17:52:22,952 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[17:52:23] [Client thread/INFO]: Setting user: Player867
[17:52:28] [Client thread/WARN]: Skipping bad option: lastServer:
[17:52:28] [Client thread/INFO]: LWJGL Version: 2.9.4
[17:52:30] [Client thread/INFO] [STDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:221]: ---- Minecraft Crash Report ----
// I'm sorry, Dave.Time: 3/11/17 5:52 PM
Description: Loading screen debug infoThis 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
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_91, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 733948248 bytes (699 MB) / 909639680 bytes (867 MB) up to 2837446656 bytes (2706 MB)
JVM Flags: 0 total;
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML:
Loaded coremods (and transformers):
GL info: ' Vendor: 'Intel' Version: '4.3.0 - Build 20.19.15.4501' Renderer: 'Intel(R) HD Graphics 4400'
[17:52:30] [Client thread/INFO] [FML]: MinecraftForge v12.18.0.2000 Initialized
[17:52:30] [Client thread/INFO] [FML]: Replaced 233 ore recipes
[17:52:30] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[17:52:30] [Client thread/INFO] [FML]: Searching D:\forge\run\mods for mods
[17:52:30] [Client thread/INFO] [renewabilitymod]: Mod renewabilitymod is missing the required element 'name'. Substituting renewabilitymod
[17:52:33] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[17:52:33] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, renewabilitymod] at CLIENT
[17:52:33] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, renewabilitymod] at SERVER
[17:52:34] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:renewabilitymod
[17:52:34] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[17:52:34] [Client thread/INFO] [FML]: Found 423 ObjectHolder annotations
[17:52:34] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[17:52:34] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[17:52:34] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[17:52:34] [Client thread/INFO] [FML]: Applying holder lookups
[17:52:34] [Client thread/INFO] [FML]: Holder lookups applied
[17:52:34] [Client thread/INFO] [FML]: Injecting itemstacks
[17:52:34] [Client thread/INFO] [FML]: Itemstack injection complete
[17:52:34] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[17:52:35] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: BETA Target: null
[17:52:41] [Sound Library Loader/INFO]: Starting up SoundSystem...
[17:52:41] [Thread-8/INFO]: Initializing LWJGL OpenAL
[17:52:41] [Thread-8/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[17:52:42] [Thread-8/INFO]: OpenAL initialized.
[17:52:42] [Sound Library Loader/INFO]: Sound engine started
[17:52:47] [Client thread/INFO] [FML]: Max texture size: 8192
[17:52:47] [Client thread/INFO]: Created: 16x16 textures-atlas
[17:52:49] [Client thread/INFO] [FML]: Injecting itemstacks
[17:52:49] [Client thread/INFO] [FML]: Itemstack injection complete
[17:52:49] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
[17:52:49] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:renewabilitymod
[17:52:55] [Client thread/INFO]: SoundSystem shutting down...
[17:52:55] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[17:52:55] [Sound Library Loader/INFO]: Starting up SoundSystem...
[17:52:55] [Thread-10/INFO]: Initializing LWJGL OpenAL
[17:52:55] [Thread-10/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[17:52:56] [Thread-10/INFO]: OpenAL initialized.
[17:52:56] [Sound Library Loader/INFO]: Sound engine started
[17:52:59] [Client thread/INFO] [FML]: Max texture size: 8192
[17:52:59] [Client thread/INFO]: Created: 1024x512 textures-atlas
[17:53:00] [Client thread/ERROR] [FML]: Exception loading model for variant renewabilitymod:chain_mail#inventory for item "renewabilitymod:chain_mail", normal location exception:
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model renewabilitymod:item/chain_mail 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:338) [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_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
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_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: java.io.FileNotFoundException: renewabilitymod:models/item/chain_mail.json
at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:68) ~[FallbackResourceManager.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:65) ~[SimpleReloadableResourceManager.class:?]
at net.minecraft.client.renderer.block.model.ModelBakery.loadModel(ModelBakery.java:311) ~[ModelBakery.class:?]
at net.minecraftforge.client.model.ModelLoader.access$1100(ModelLoader.java:118) ~[ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader$VanillaLoader.loadModel(ModelLoader.java:868) ~[ModelLoader$VanillaLoader.class:?]
at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:149) ~[ModelLoaderRegistry.class:?]
... 23 more
[17:53:00] [Client thread/ERROR] [FML]: Exception loading model for variant renewabilitymod:chain_mail#inventory for item "renewabilitymod:chain_mail", blockstate location exception:
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model renewabilitymod:chain_mail#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:338) [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_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
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_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
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:1183) ~[ModelLoader$VariantLoader.class:?]
at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:149) ~[ModelLoaderRegistry.class:?]
... 23 more
[17:53:00] [Client thread/WARN]: Skipping bad option: lastServer:
[17:53:02] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id
[17:53:37] [Client thread/INFO]: Stopping!
[17:53:37] [Client thread/INFO]: SoundSystem shutting down...
[17:53:37] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
23 hours ago, Draco18s said:Also:
Don't use event.getSide() == Side.CLIENT, use a ClientProxy class.
Can you be more specific? I know almost nothing about Java.
-
My mod has one non-vanilla item. When I run it, the item displays the "no texture" texture but otherwise behaves like it's supposed to. My texture file is resources\assets\renewabilitymod\textures\item\chain_mail.png. This is my code.
java\com\renewability\renewabilitymod\RenewabilityMod.java
Spoilerpackage com.renewability.renewabilitymod;
import client.ItemsModelsHandler;
import items.ItemChainMail;
import main.ModItems;
import main.ModRecipes;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.RenderItem;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.relauncher.Side;@Mod(modid = RenewabilityMod.MODID, version = RenewabilityMod.VERSION)
public class RenewabilityMod
{
public static final String MODID = "renewabilitymod";
public static final String VERSION = "1.10";
@EventHandler
public void init(FMLInitializationEvent event)
{
ModItems.items();
ModRecipes.recipes();
if(event.getSide() == Side.CLIENT){
RenderItem renderItem = Minecraft.getMinecraft().getRenderItem();
renderItem.getItemModelMesher().register(ModItems.chain_mail, 0,
new ModelResourceLocation(RenewabilityMod.MODID + ":" + ((ItemChainMail)
ModItems.chain_mail).getName(), "inventory"));
ItemsModelsHandler.preInit();
}
}
}java\main\ModItems.java
Spoilerpackage main;
import items.ItemChainMail;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.item.Item;
import net.minecraftforge.client.model.ModelLoader;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.registry.GameRegistry;public class ModItems {
public static final Item chain_mail = new ItemChainMail();
@EventHandler
public static void items(){
GameRegistry.register(chain_mail.setRegistryName("chain_mail"));
ModelResourceLocation chainMailLocation = new ModelResourceLocation
(chain_mail.getRegistryName(), "inventory");
ModelLoader.setCustomModelResourceLocation(chain_mail, 0, chainMailLocation);
}
}java\client\ItemsModelsHandler.java
Spoilerpackage client;
import main.ModItems;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.item.Item;
import net.minecraftforge.client.model.ModelLoader;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;@SideOnly(Side.CLIENT)
public class ItemsModelsHandler {
public static void preInit(){
loadModel(ModItems.chain_mail);
}
private static void loadModel(Item item) {
ModelLoader.setCustomModelResourceLocation(item, 0, new ModelResourceLocation
(item.getRegistryName(), "inventory"));
}
}java\items\ItemChainMail.java
Spoilerpackage items;
import com.renewability.renewabilitymod.RenewabilityMod;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraftforge.client.model.ModelLoader;public class ItemChainMail extends Item{
private final String name = "chain_mail";
public ItemChainMail(){
//GameRegistry.registerItem(this, "chain_mail");
setUnlocalizedName(RenewabilityMod.MODID + "_" + name);
setCreativeTab(CreativeTabs.MATERIALS);
}
public String getName(){
return(name);
}
}resources\assets\renewabilitymod\models\item\chain_mail.json
Spoiler{
"parent": "item/generated",
"textures": {
"layer0": "renewabilitymod:items/chain_mail"
}
}What am I doing wrong?
-
This is what I changed since the last post. The game doesn't run any different. (textures of added items don't show up)
java\com\renewability\renewabilitymod\RenewabilityMod.java
Spoilerpackage com.renewability.renewabilitymod;
import client.ItemsModelsHandler;
import items.ItemChainMail;
import main.ModItems;
import main.ModRecipes;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.RenderItem;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.relauncher.Side;@Mod(modid = RenewabilityMod.MODID, version = RenewabilityMod.VERSION)
public class RenewabilityMod
{
public static final String MODID = "renewabilitymod";
public static final String VERSION = "1.10";
@EventHandler
public void init(FMLInitializationEvent event)
{
ModItems.items();
ModRecipes.recipes();
if(event.getSide() == Side.CLIENT){
RenderItem renderItem = Minecraft.getMinecraft().getRenderItem();
renderItem.getItemModelMesher().register(ModItems.chain_mail, 0,
new ModelResourceLocation(RenewabilityMod.MODID + ":" + ((ItemChainMail)
ModItems.chain_mail).getName(), "inventory"));
ItemsModelsHandler.preInit();
}
}
}java\main\ModItems.java
Spoilerpackage main;
import items.ItemChainMail;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.item.Item;
import net.minecraftforge.client.model.ModelLoader;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.registry.GameRegistry;public class ModItems {
public static final Item chain_mail = new ItemChainMail();
@EventHandler
public static void items(){
GameRegistry.register(chain_mail.setRegistryName("chain_mail"));
ModelResourceLocation chainMailLocation = new ModelResourceLocation
(chain_mail.getRegistryName(), "inventory");
ModelLoader.setCustomModelResourceLocation(chain_mail, 0, chainMailLocation);
}
}java\client\ItemsModelsHandler.java
Spoilerpackage client;
import main.ModItems;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.item.Item;
import net.minecraftforge.client.model.ModelLoader;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;@SideOnly(Side.CLIENT)
public class ItemsModelsHandler {
public static void preInit(){
loadModel(ModItems.chain_mail);
}
private static void loadModel(Item item) {
ModelLoader.setCustomModelResourceLocation(item, 0, new ModelResourceLocation
(item.getRegistryName(), "inventory"));
}
}I didn't change any of the below files. They're copied here for reference.
java\items\ItemChainMail.java
Spoilerpackage items;
import com.renewability.renewabilitymod.RenewabilityMod;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraftforge.client.model.ModelLoader;public class ItemChainMail extends Item{
private final String name = "chain_mail";
public ItemChainMail(){
//GameRegistry.registerItem(this, "chain_mail");
setUnlocalizedName(RenewabilityMod.MODID + "_" + name);
setCreativeTab(CreativeTabs.MATERIALS);
}
public String getName(){
return(name);
}
}resources\assets\renewabilitymod\models\item\chain_mail.json
Spoiler{
"parent": "item/generated",
"textures": {
"layer0": "renewabilitymod:items/chain_mail"
}
}What am I doing wrong?
-
response to your PM (your inbox is full)
Yeah sure. All my code is online knock yourself out https://github.com/trollworkout/technorcery
Also that specific piece of code is found in common
https://github.com/trollworkout/technorcery/tree/master/src/main/java/com/technorcery/common
mod blocks = defining and registering blocks (is always done first before items)
mod items = defining and registering items
also if you wish to chat find me on my technorcery discord page . just google technorcery mod minecraft and find my discord
Can you give the specific files in which I can find each of these lines of code? I'm not good at searching stuff on Github.
-
This is just an addition to what Draco said above
Any item with "inventory" model works fine out of the box if you are using the vanilla MC models as parent.
For ex this will work fine
{
"parent": "item/generated",
"textures": {
"layer0": "technorcery:items/fennel"
}
}
I tried this, and it didn't work. (I replaced technorcery:items/fennel with renewabilitymod:items/chain_mail, of course)
-
the way you're supposed to name your files is based on how you set up the model
generally i do it like this
ingot copper looks like this
definition:
public static final Item INGOT_COPPER = new Item().setUnlocalizedName("ingot_copper").setRegistryName("ingot_copper").setCreativeTab(ModData.CREATIVE_TAB); // ingots
model
ModelLoader.setCustomModelResourceLocation(INGOT_COPPER, 0, new ModelResourceLocation(INGOT_COPPER.getRegistryName(), "inventory"));
Can you show my your entire class? I'm having a hard time following this.
-
Normal item jsons should look like this.
"parent": "item/generated", "textures": { "layer0": "modid:textureName" }, #if you said "inventory" when registering your model with #ModelLoader.setCustomModelResourceLocation(item, meta, new ModelResourceLocation(item.getRegistryName(), "inventory") otherwise use "normal" "inventory":{ #dont need anything in here }
So you're asking me to copy this into my jsons?
-
That's a lot of quotes.
Anyway, this is my interpretation of Draco18s's post
package main;
import items.ItemChainMail;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.item.Item;
import net.minecraftforge.client.model.ModelLoader;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.registry.GameRegistry;
public class ModItems {
public static Item chainMail;
@EventHandler
public static void items(){
chainMail = new ItemChainMail();
GameRegistry.register(chainMail.setRegistryName("chain_mail"));
ModelResourceLocation chainMailLocation = new ModelResourceLocation
(chainMail.getRegistryName().toString());
ModelLoader.setCustomModelResourceLocation(chainMail, 0, chainMailLocation);
}
}
...and my interpretation of SuperHB's post.
package main;
import items.ItemChainMail;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.item.Item;
import net.minecraftforge.client.model.ModelLoader;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.registry.GameRegistry;
public class ModItems {
public static Item chainMail;
@EventHandler
public static void items(){
chainMail = new ItemChainMail();
GameRegistry.register(chainMail.setRegistryName("chain_mail"));
ModelResourceLocation chainMailLocation = new ModelResourceLocation
(chainMail.getRegistryName(),"inventory");
ModelLoader.setCustomModelResourceLocation(chainMail, 0, chainMailLocation);
}
}
I didn't change anything else since I last posted this, but for your convenience, here it is.
class ItemChainMail
package items;
import com.renewability.renewabilitymod.RenewabilityMod;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraftforge.client.model.ModelLoader;
public class ItemChainMail extends Item{
private final String name = "chain_mail";
public ItemChainMail(){
//GameRegistry.registerItem(this, "chain_mail");
setUnlocalizedName(RenewabilityMod.MODID + "_" + name);
setCreativeTab(CreativeTabs.MATERIALS);
}
public String getName(){
return(name);
}
}
chain_mail.json
{
"parent": "builtin/generated",
"textures": {
"layer0": "renewabilitymod:items/chain_mail"
},
"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]
}
}
}
Did I do it right? What should I do now?
Well did the textures load? Were there any errors in the log? warnings in the log?
The textures didn't load properly on either one.
Log from running Draco18s's suggestion:
2016-10-01 09:28:39,316 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2016-10-01 09:28:39,318 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[09:28:39] [main/INFO] [GradleStart]: Extra: []
[09:28:39] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Work Hard/.gradle/caches/minecraft/assets, --assetIndex, 1.10, --accessToken{REDACTED}, --version, 1.10, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[09:28:39] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[09:28:39] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[09:28:39] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[09:28:39] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[09:28:40] [main/INFO] [FML]: Forge Mod Loader version 12.18.0.2000 for Minecraft 1.10 loading
[09:28:40] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.8.0_91, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_91
[09:28:40] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[09:28:40] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[09:28:40] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[09:28:40] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[09:28:40] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[09:28:40] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[09:28:40] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[09:28:40] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[09:28:40] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[09:28:40] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[09:28:40] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[09:28:42] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[09:28:42] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[09:28:42] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[09:28:43] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[09:28:43] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[09:28:43] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[09:28:43] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
2016-10-01 09:28:45,039 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2016-10-01 09:28:45,105 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2016-10-01 09:28:45,109 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[09:28:45] [Client thread/INFO]: Setting user: Player136
[09:28:51] [Client thread/WARN]: Skipping bad option: lastServer:
[09:28:51] [Client thread/INFO]: LWJGL Version: 2.9.4
[09:28:52] [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: 10/1/16 9:28 AM
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
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_91, Oracle Corporation
Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 274846456 bytes (262 MB) / 642252800 bytes (612 MB) up to 2837446656 bytes (2706 MB)
JVM Flags: 0 total;
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML:
Loaded coremods (and transformers):
GL info: ' Vendor: 'Intel' Version: '4.3.0 - Build 20.19.15.4501' Renderer: 'Intel® HD Graphics 4400'
[09:28:53] [Client thread/INFO] [FML]: MinecraftForge v12.18.0.2000 Initialized
[09:28:53] [Client thread/INFO] [FML]: Replaced 233 ore recipes
[09:28:53] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[09:28:53] [Client thread/INFO] [FML]: Searching D:\forge\run\mods for mods
[09:28:53] [Client thread/INFO] [renewabilitymod]: Mod renewabilitymod is missing the required element 'name'. Substituting renewabilitymod
[09:28:56] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[09:28:56] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, renewabilitymod] at CLIENT
[09:28:56] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, renewabilitymod] at SERVER
[09:28:57] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:renewabilitymod
[09:28:57] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[09:28:58] [Client thread/INFO] [FML]: Found 423 ObjectHolder annotations
[09:28:58] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[09:28:58] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[09:28:58] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[09:28:58] [Client thread/INFO] [FML]: Applying holder lookups
[09:28:58] [Client thread/INFO] [FML]: Holder lookups applied
[09:28:58] [Client thread/INFO] [FML]: Injecting itemstacks
[09:28:58] [Client thread/INFO] [FML]: Itemstack injection complete
[09:28:58] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[09:28:59] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: BETA Target: null
[09:29:24] [sound Library Loader/INFO]: Starting up SoundSystem...
[09:29:24] [Thread-8/INFO]: Initializing LWJGL OpenAL
[09:29:24] [Thread-8/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[09:29:25] [Thread-8/INFO]: OpenAL initialized.
[09:29:25] [sound Library Loader/INFO]: Sound engine started
[09:29:31] [Client thread/INFO] [FML]: Max texture size: 8192
[09:29:31] [Client thread/INFO]: Created: 16x16 textures-atlas
[09:29:34] [Client thread/INFO] [FML]: Injecting itemstacks
[09:29:34] [Client thread/INFO] [FML]: Itemstack injection complete
[09:29:34] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
[09:29:34] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:renewabilitymod
[09:29:36] [Client thread/INFO]: SoundSystem shutting down...
[09:29:37] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[09:29:37] [sound Library Loader/INFO]: Starting up SoundSystem...
[09:29:37] [Thread-10/INFO]: Initializing LWJGL OpenAL
[09:29:37] [Thread-10/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[09:29:37] [Thread-10/INFO]: OpenAL initialized.
[09:29:37] [sound Library Loader/INFO]: Sound engine started
[09:29:41] [Client thread/INFO] [FML]: Max texture size: 8192
[09:29:41] [Client thread/INFO]: Created: 1024x512 textures-atlas
[09:29:43] [Client thread/ERROR] [FML]: Exception loading model for variant renewabilitymod:chain_mail#normal for item "renewabilitymod:chain_mail", normal location exception:
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model renewabilitymod:item/chain_mail 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:338) [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_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
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_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: java.io.FileNotFoundException: renewabilitymod:models/item/chain_mail.json
at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:68) ~[FallbackResourceManager.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:65) ~[simpleReloadableResourceManager.class:?]
at net.minecraft.client.renderer.block.model.ModelBakery.loadModel(ModelBakery.java:311) ~[ModelBakery.class:?]
at net.minecraftforge.client.model.ModelLoader.access$1100(ModelLoader.java:118) ~[ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader$VanillaLoader.loadModel(ModelLoader.java:868) ~[ModelLoader$VanillaLoader.class:?]
at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:149) ~[ModelLoaderRegistry.class:?]
... 23 more
[09:29:43] [Client thread/ERROR] [FML]: Exception loading model for variant renewabilitymod:chain_mail#normal for item "renewabilitymod:chain_mail", blockstate location exception:
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model renewabilitymod:chain_mail#normal 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:338) [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_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
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_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
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:1183) ~[ModelLoader$VariantLoader.class:?]
at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:149) ~[ModelLoaderRegistry.class:?]
... 23 more
[09:29:43] [Client thread/WARN]: Skipping bad option: lastServer:
[09:29:44] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id
[09:30:15] [server thread/INFO]: Starting integrated minecraft server version 1.10
[09:30:15] [server thread/INFO]: Generating keypair
[09:30:15] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance
[09:30:16] [server thread/INFO] [FML]: Applying holder lookups
[09:30:16] [server thread/INFO] [FML]: Holder lookups applied
[09:30:16] [server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@3d24558e)
[09:30:16] [server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@3d24558e)
[09:30:16] [server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@3d24558e)
[09:30:16] [server thread/INFO]: Preparing start region for level 0
[09:30:17] [server thread/INFO]: Preparing spawn area: 0%
[09:30:18] [server thread/INFO]: Preparing spawn area: 64%
[09:30:19] [server thread/INFO]: Changing view distance to 8, from 10
[09:30:20] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2
[09:30:20] [Netty Server IO #1/INFO] [FML]: Client protocol version 2
[09:30:20] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 4 mods : [email protected],[email protected],[email protected],[email protected]
[09:30:20] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established
[09:30:20] [server thread/INFO] [FML]: [server thread] Server side modded connection established
[09:30:21] [server thread/INFO]: Player136[local:E:95f34ae1] logged in with entity id 244 at (20.71530238616746, 70.0, 252.52576714200524)
[09:30:21] [server thread/INFO]: Player136 joined the game
[09:30:22] [server thread/INFO]: Saving and pausing game...
[09:30:22] [server thread/INFO]: Saving chunks for level 'New World'/Overworld
[09:30:22] [server thread/INFO]: Saving chunks for level 'New World'/Nether
[09:30:22] [server thread/INFO]: Saving chunks for level 'New World'/The End
[09:30:23] [pool-2-thread-1/WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@76d70390[id=f4642d2b-29f9-34b7-8b90-e6570e856434,name=Player136,properties={},legacy=false]
com.mojang.authlib.exceptions.AuthenticationException: The client has sent too many requests within a certain amount of time
at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:65) ~[YggdrasilAuthenticationService.class:?]
at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:175) [YggdrasilMinecraftSessionService.class:?]
at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:59) [YggdrasilMinecraftSessionService$1.class:?]
at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:56) [YggdrasilMinecraftSessionService$1.class:?]
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache.get(LocalCache.java:3934) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4827) [guava-17.0.jar:?]
at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:165) [YggdrasilMinecraftSessionService.class:?]
at net.minecraft.client.Minecraft.getProfileProperties(Minecraft.java:3060) [Minecraft.class:?]
at net.minecraft.client.resources.SkinManager$3.run(SkinManager.java:131) [skinManager$3.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_91]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_91]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_91]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_91]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_91]
[09:30:30] [server thread/INFO]: Saving and pausing game...
[09:30:30] [server thread/INFO]: Saving chunks for level 'New World'/Overworld
[09:30:30] [server thread/INFO]: Saving chunks for level 'New World'/Nether
[09:30:30] [server thread/INFO]: Saving chunks for level 'New World'/The End
[09:30:33] [server thread/INFO]: Stopping server
[09:30:33] [server thread/INFO]: Saving players
[09:30:33] [server thread/INFO]: Saving worlds
[09:30:33] [server thread/INFO]: Saving chunks for level 'New World'/Overworld
[09:30:33] [server thread/INFO]: Saving chunks for level 'New World'/Nether
[09:30:33] [server thread/INFO]: Saving chunks for level 'New World'/The End
[09:30:33] [server thread/INFO] [FML]: Unloading dimension 0
[09:30:33] [server thread/INFO] [FML]: Unloading dimension -1
[09:30:33] [server thread/INFO] [FML]: Unloading dimension 1
[09:30:34] [server thread/INFO] [FML]: Applying holder lookups
[09:30:34] [server thread/INFO] [FML]: Holder lookups applied
[09:30:36] [Client thread/INFO]: Stopping!
[09:30:36] [Client thread/INFO]: SoundSystem shutting down...
[09:30:36] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
Log from running SuperHB's suggestion:
2016-10-01 09:32:19,428 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2016-10-01 09:32:19,430 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[09:32:19] [main/INFO] [GradleStart]: Extra: []
[09:32:19] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Work Hard/.gradle/caches/minecraft/assets, --assetIndex, 1.10, --accessToken{REDACTED}, --version, 1.10, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[09:32:19] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[09:32:19] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[09:32:19] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[09:32:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[09:32:19] [main/INFO] [FML]: Forge Mod Loader version 12.18.0.2000 for Minecraft 1.10 loading
[09:32:19] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.8.0_91, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_91
[09:32:19] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[09:32:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[09:32:19] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[09:32:19] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[09:32:19] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[09:32:19] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[09:32:19] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[09:32:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[09:32:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[09:32:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[09:32:19] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[09:32:21] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[09:32:21] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[09:32:21] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[09:32:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[09:32:22] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[09:32:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[09:32:22] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
2016-10-01 09:32:23,433 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2016-10-01 09:32:23,509 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2016-10-01 09:32:23,511 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[09:32:23] [Client thread/INFO]: Setting user: Player364
[09:32:31] [Client thread/WARN]: Skipping bad option: lastServer:
[09:32:31] [Client thread/INFO]: LWJGL Version: 2.9.4
[09:32:33] [Client thread/INFO] [sTDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:221]: ---- Minecraft Crash Report ----
// Oh - I know what I did wrong!
Time: 10/1/16 9:32 AM
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
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_91, Oracle Corporation
Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 756043880 bytes (721 MB) / 918028288 bytes (875 MB) up to 2837446656 bytes (2706 MB)
JVM Flags: 0 total;
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML:
Loaded coremods (and transformers):
GL info: ' Vendor: 'Intel' Version: '4.3.0 - Build 20.19.15.4501' Renderer: 'Intel® HD Graphics 4400'
[09:32:33] [Client thread/INFO] [FML]: MinecraftForge v12.18.0.2000 Initialized
[09:32:33] [Client thread/INFO] [FML]: Replaced 233 ore recipes
[09:32:34] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[09:32:34] [Client thread/INFO] [FML]: Searching D:\forge\run\mods for mods
[09:32:34] [Client thread/INFO] [renewabilitymod]: Mod renewabilitymod is missing the required element 'name'. Substituting renewabilitymod
[09:32:36] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[09:32:37] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, renewabilitymod] at CLIENT
[09:32:37] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, renewabilitymod] at SERVER
[09:32:38] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:renewabilitymod
[09:32:38] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[09:32:38] [Client thread/INFO] [FML]: Found 423 ObjectHolder annotations
[09:32:38] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[09:32:38] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[09:32:38] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[09:32:38] [Client thread/INFO] [FML]: Applying holder lookups
[09:32:38] [Client thread/INFO] [FML]: Holder lookups applied
[09:32:38] [Client thread/INFO] [FML]: Injecting itemstacks
[09:32:38] [Client thread/INFO] [FML]: Itemstack injection complete
[09:32:39] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[09:32:39] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: BETA Target: null
[09:32:42] [sound Library Loader/INFO]: Starting up SoundSystem...
[09:32:43] [Thread-8/INFO]: Initializing LWJGL OpenAL
[09:32:43] [Thread-8/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[09:32:43] [Thread-8/INFO]: OpenAL initialized.
[09:32:43] [sound Library Loader/INFO]: Sound engine started
[09:32:49] [Client thread/INFO] [FML]: Max texture size: 8192
[09:32:49] [Client thread/INFO]: Created: 16x16 textures-atlas
[09:32:51] [Client thread/INFO] [FML]: Injecting itemstacks
[09:32:51] [Client thread/INFO] [FML]: Itemstack injection complete
[09:32:51] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
[09:32:51] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:renewabilitymod
[09:32:54] [Client thread/INFO]: SoundSystem shutting down...
[09:32:54] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[09:32:54] [sound Library Loader/INFO]: Starting up SoundSystem...
[09:32:54] [Thread-10/INFO]: Initializing LWJGL OpenAL
[09:32:54] [Thread-10/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[09:32:54] [Thread-10/INFO]: OpenAL initialized.
[09:32:55] [sound Library Loader/INFO]: Sound engine started
[09:32:58] [Client thread/INFO] [FML]: Max texture size: 8192
[09:32:58] [Client thread/INFO]: Created: 1024x512 textures-atlas
[09:32:59] [Client thread/ERROR] [FML]: Exception loading model for variant renewabilitymod:chain_mail#inventory for item "renewabilitymod:chain_mail", normal location exception:
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model renewabilitymod:item/chain_mail 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:338) [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_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
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_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: java.io.FileNotFoundException: renewabilitymod:models/item/chain_mail.json
at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:68) ~[FallbackResourceManager.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:65) ~[simpleReloadableResourceManager.class:?]
at net.minecraft.client.renderer.block.model.ModelBakery.loadModel(ModelBakery.java:311) ~[ModelBakery.class:?]
at net.minecraftforge.client.model.ModelLoader.access$1100(ModelLoader.java:118) ~[ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader$VanillaLoader.loadModel(ModelLoader.java:868) ~[ModelLoader$VanillaLoader.class:?]
at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:149) ~[ModelLoaderRegistry.class:?]
... 23 more
[09:32:59] [Client thread/ERROR] [FML]: Exception loading model for variant renewabilitymod:chain_mail#inventory for item "renewabilitymod:chain_mail", blockstate location exception:
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model renewabilitymod:chain_mail#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:338) [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_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
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_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
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:1183) ~[ModelLoader$VariantLoader.class:?]
at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:149) ~[ModelLoaderRegistry.class:?]
... 23 more
[09:32:59] [Client thread/WARN]: Skipping bad option: lastServer:
[09:33:01] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id
[09:33:12] [server thread/INFO]: Starting integrated minecraft server version 1.10
[09:33:12] [server thread/INFO]: Generating keypair
[09:33:12] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance
[09:33:12] [server thread/INFO] [FML]: Applying holder lookups
[09:33:12] [server thread/INFO] [FML]: Holder lookups applied
[09:33:12] [server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@2c73ba48)
[09:33:12] [server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@2c73ba48)
[09:33:12] [server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@2c73ba48)
[09:33:12] [server thread/INFO]: Preparing start region for level 0
[09:33:13] [server thread/INFO]: Preparing spawn area: 4%
[09:33:14] [server thread/INFO]: Preparing spawn area: 83%
[09:33:15] [server thread/INFO]: Changing view distance to 8, from 10
[09:33:16] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2
[09:33:16] [Netty Server IO #1/INFO] [FML]: Client protocol version 2
[09:33:16] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 4 mods : [email protected],[email protected],[email protected],[email protected]
[09:33:16] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established
[09:33:16] [server thread/INFO] [FML]: [server thread] Server side modded connection established
[09:33:16] [server thread/INFO]: Player364[local:E:6e6a3e02] logged in with entity id 244 at (20.71530238616746, 70.0, 252.52576714200524)
[09:33:16] [server thread/INFO]: Player364 joined the game
[09:33:18] [server thread/INFO]: Saving and pausing game...
[09:33:18] [server thread/INFO]: Saving chunks for level 'New World'/Overworld
[09:33:18] [server thread/INFO]: Saving chunks for level 'New World'/Nether
[09:33:18] [server thread/INFO]: Saving chunks for level 'New World'/The End
[09:33:18] [pool-2-thread-1/WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@65668c6d[id=66212eae-12d0-33f7-bd64-547255e16b3f,name=Player364,properties={},legacy=false]
com.mojang.authlib.exceptions.AuthenticationException: The client has sent too many requests within a certain amount of time
at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:65) ~[YggdrasilAuthenticationService.class:?]
at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:175) [YggdrasilMinecraftSessionService.class:?]
at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:59) [YggdrasilMinecraftSessionService$1.class:?]
at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:56) [YggdrasilMinecraftSessionService$1.class:?]
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache.get(LocalCache.java:3934) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4827) [guava-17.0.jar:?]
at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:165) [YggdrasilMinecraftSessionService.class:?]
at net.minecraft.client.Minecraft.getProfileProperties(Minecraft.java:3060) [Minecraft.class:?]
at net.minecraft.client.resources.SkinManager$3.run(SkinManager.java:131) [skinManager$3.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_91]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_91]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_91]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_91]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_91]
[09:33:23] [server thread/INFO]: Saving and pausing game...
[09:33:24] [server thread/INFO]: Saving chunks for level 'New World'/Overworld
[09:33:24] [server thread/INFO]: Saving chunks for level 'New World'/Nether
[09:33:24] [server thread/INFO]: Saving chunks for level 'New World'/The End
[09:33:25] [server thread/INFO]: Stopping server
[09:33:25] [server thread/INFO]: Saving players
[09:33:25] [server thread/INFO]: Saving worlds
[09:33:25] [server thread/INFO]: Saving chunks for level 'New World'/Overworld
[09:33:25] [server thread/INFO]: Saving chunks for level 'New World'/Nether
[09:33:25] [server thread/INFO]: Saving chunks for level 'New World'/The End
[09:33:25] [server thread/INFO] [FML]: Unloading dimension 0
[09:33:25] [server thread/INFO] [FML]: Unloading dimension -1
[09:33:25] [server thread/INFO] [FML]: Unloading dimension 1
[09:33:26] [server thread/INFO] [FML]: Applying holder lookups
[09:33:26] [server thread/INFO] [FML]: Holder lookups applied
[09:33:26] [Client thread/INFO]: Stopping!
[09:33:26] [Client thread/INFO]: SoundSystem shutting down...
[09:33:27] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
-
getRegistryName().toString()
ResourceLocations aren't implicitly converted to strings.
Change this:
new ModelResourceLocation("renewabilitymod:chain_mail#normal");
to
new ModelResourceLocation(chainMail.getRegistryName());
Here's my code. I hope I did it right.
package main;
import items.ItemChainMail;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.item.Item;
import net.minecraftforge.client.model.ModelLoader;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.registry.GameRegistry;
public class ModItems {
public static Item chainMail;
@EventHandler
public static void items(){
chainMail = new ItemChainMail();
GameRegistry.register(chainMail.setRegistryName("chain_mail"));
ModelResourceLocation chainMailLocation = new ModelResourceLocation
(chainMail.getRegistryName());
ModelLoader.setCustomModelResourceLocation(chainMail, 0, chainMailLocation);
}
}
I got an error message on
new ModelResourceLocation(chainMail.getRegistryName());
It says, "The constructor ModelResourceLocation(ResourceLocation) is undefined". What do I do now?
The constructor your using takes a string and your giving it a ResourceLocation. All you have to do is add a comma and add the string "inventory" after the comma like so:
ModelResourceLocation chainMailLocation = new ModelResourceLocation(chainMail.getRegistryName(), "inventory");
or do what Draco18s suggested
I tried both of them. It fixed the compiler error, but the item still has no texture when I run the game.
Post updated code and JSONs.
That's a lot of quotes.
Anyway, this is my interpretation of Draco18s's post
package main;
import items.ItemChainMail;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.item.Item;
import net.minecraftforge.client.model.ModelLoader;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.registry.GameRegistry;
public class ModItems {
public static Item chainMail;
@EventHandler
public static void items(){
chainMail = new ItemChainMail();
GameRegistry.register(chainMail.setRegistryName("chain_mail"));
ModelResourceLocation chainMailLocation = new ModelResourceLocation
(chainMail.getRegistryName().toString());
ModelLoader.setCustomModelResourceLocation(chainMail, 0, chainMailLocation);
}
}
...and my interpretation of SuperHB's post.
package main;
import items.ItemChainMail;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.item.Item;
import net.minecraftforge.client.model.ModelLoader;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.registry.GameRegistry;
public class ModItems {
public static Item chainMail;
@EventHandler
public static void items(){
chainMail = new ItemChainMail();
GameRegistry.register(chainMail.setRegistryName("chain_mail"));
ModelResourceLocation chainMailLocation = new ModelResourceLocation
(chainMail.getRegistryName(),"inventory");
ModelLoader.setCustomModelResourceLocation(chainMail, 0, chainMailLocation);
}
}
I didn't change anything else since I last posted this, but for your convenience, here it is.
class ItemChainMail
package items;
import com.renewability.renewabilitymod.RenewabilityMod;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraftforge.client.model.ModelLoader;
public class ItemChainMail extends Item{
private final String name = "chain_mail";
public ItemChainMail(){
//GameRegistry.registerItem(this, "chain_mail");
setUnlocalizedName(RenewabilityMod.MODID + "_" + name);
setCreativeTab(CreativeTabs.MATERIALS);
}
public String getName(){
return(name);
}
}
chain_mail.json
{
"parent": "builtin/generated",
"textures": {
"layer0": "renewabilitymod:items/chain_mail"
},
"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]
}
}
}
Did I do it right? What should I do now?
-
getRegistryName().toString()
ResourceLocations aren't implicitly converted to strings.
Change this:
new ModelResourceLocation("renewabilitymod:chain_mail#normal");
to
new ModelResourceLocation(chainMail.getRegistryName());
Here's my code. I hope I did it right.
package main;
import items.ItemChainMail;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.item.Item;
import net.minecraftforge.client.model.ModelLoader;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.registry.GameRegistry;
public class ModItems {
public static Item chainMail;
@EventHandler
public static void items(){
chainMail = new ItemChainMail();
GameRegistry.register(chainMail.setRegistryName("chain_mail"));
ModelResourceLocation chainMailLocation = new ModelResourceLocation
(chainMail.getRegistryName());
ModelLoader.setCustomModelResourceLocation(chainMail, 0, chainMailLocation);
}
}
I got an error message on
new ModelResourceLocation(chainMail.getRegistryName());
It says, "The constructor ModelResourceLocation(ResourceLocation) is undefined". What do I do now?
The constructor your using takes a string and your giving it a ResourceLocation. All you have to do is add a comma and add the string "inventory" after the comma like so:
ModelResourceLocation chainMailLocation = new ModelResourceLocation(chainMail.getRegistryName(), "inventory");
or do what Draco18s suggested
I tried both of them. It fixed the compiler error, but the item still has no texture when I run the game.
-
Change this:
new ModelResourceLocation("renewabilitymod:chain_mail#normal");
to
new ModelResourceLocation(chainMail.getRegistryName());
Here's my code. I hope I did it right.
package main;
import items.ItemChainMail;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.item.Item;
import net.minecraftforge.client.model.ModelLoader;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.registry.GameRegistry;
public class ModItems {
public static Item chainMail;
@EventHandler
public static void items(){
chainMail = new ItemChainMail();
GameRegistry.register(chainMail.setRegistryName("chain_mail"));
ModelResourceLocation chainMailLocation = new ModelResourceLocation
(chainMail.getRegistryName());
ModelLoader.setCustomModelResourceLocation(chainMail, 0, chainMailLocation);
}
}
I got an error message on
new ModelResourceLocation(chainMail.getRegistryName());
It says, "The constructor ModelResourceLocation(ResourceLocation) is undefined". What do I do now?
-
Post your block registration code, in full, along with JSON files.
I'm trying to texture an item. Sorry if there's any confusion. Anyway, here's the code you asked for.
class ItemChainMail
package items;
import com.renewability.renewabilitymod.RenewabilityMod;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraftforge.client.model.ModelLoader;
public class ItemChainMail extends Item{
private final String name = "chain_mail";
public ItemChainMail(){
//GameRegistry.registerItem(this, "chain_mail");
setUnlocalizedName(RenewabilityMod.MODID + "_" + name);
setCreativeTab(CreativeTabs.MATERIALS);
}
public String getName(){
return(name);
}
}
class ModItems
package main;
import items.ItemChainMail;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.item.Item;
import net.minecraftforge.client.model.ModelLoader;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.registry.GameRegistry;
public class ModItems {
public static Item chainMail;
@EventHandler
public static void items(){
chainMail = new ItemChainMail();
GameRegistry.register(chainMail.setRegistryName("chain_mail"));
ModelResourceLocation chainMailLocation = new ModelResourceLocation
("renewabilitymod:chain_mail#normal");
ModelLoader.setCustomModelResourceLocation(chainMail, 0, chainMailLocation);
}
}
chain_mail.json
{
"parent": "builtin/generated",
"textures": {
"layer0": "renewabilitymod:items/chain_mail"
},
"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]
}
}
}
-
That int is the metadata value. For most things, this will be 1.
I think you mean 0.
I already tried 0 and nothing happened. What am I doing wrong? What information do you need in order to answer the previous question?
-
What are domains and paths? How do I find this information for a particular item?
A
ResourceLocation
is composed of a domain and a path. A
ModelResourceLocation
is composed of a domain, a path and a variant.
- The
ModelResourceLocation(String)
takes all three as a string in the format
"[domain]:[path]#[variant]"
.
- The
ModelResourceLocation(String, String)
constructor takes the domain and path in the format
"[domain]:[path]"
as the first argument and the variant as the second argument.
- The
ModelResourceLocation(ResourceLocation, String)
constructor takes the domain and the path as the first argument (a
ResourceLocation
) and the variant as the second argument (a string).
You can set the
ModelResourceLocation
for an item using
ModelLoader.setCustomModelResourceLocation
/
setCustomMeshDefinition
.
Apparently, ModelLoader.setCustomModelResourceLocation requires an int as an argument. What int should I use? I tried using 0 already and nothing happened. I also want to know in which class I'm supposed to call ModelLoader.setCustomModelResourceLocation.
- The
-
[19:54:11] [Client thread/ERROR] [FML]: Exception loading model for variant renewabilitymod:chain_mail#inventory for item "renewabilitymod:chain_mail", normal location exception:
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model renewabilitymod:item/chain_mail with loader VanillaLoader.INSTANCE, skipping
...
Caused by: java.io.FileNotFoundException: renewabilitymod:models/item/chain_mail.json
The item model you've specified doesn't exist.
If an exception occurs when loading the item model, Forge will try to load the model specified by the corresponding variant of a blockstates file. I have a more detailed explanation of the model loading process here.
What are domains and paths? How do I find this information for a particular item?
-
There should be a message in the console if an image file or json file is not located. Please post that.
I posted everything in the console, just in case I missed something.
2016-08-14 19:53:08,577 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2016-08-14 19:53:08,579 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[19:53:08] [main/INFO] [GradleStart]: Extra: []
[19:53:08] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Work Hard/.gradle/caches/minecraft/assets, --assetIndex, 1.10, --accessToken{REDACTED}, --version, 1.10, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[19:53:08] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[19:53:09] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[19:53:09] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[19:53:09] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[19:53:09] [main/INFO] [FML]: Forge Mod Loader version 12.18.0.2000 for Minecraft 1.10 loading
[19:53:09] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.8.0_91, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_91
[19:53:09] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[19:53:09] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[19:53:09] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[19:53:09] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[19:53:09] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[19:53:09] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[19:53:09] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[19:53:09] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[19:53:09] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[19:53:09] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[19:53:11] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[19:53:13] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[19:53:13] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[19:53:13] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[19:53:14] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[19:53:14] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[19:53:14] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[19:53:14] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
2016-08-14 19:53:15,702 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2016-08-14 19:53:15,751 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2016-08-14 19:53:15,755 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[19:53:16] [Client thread/INFO]: Setting user: Player717
[19:53:24] [Client thread/WARN]: Skipping bad option: lastServer:
[19:53:24] [Client thread/INFO]: LWJGL Version: 2.9.4
[19:53:26] [Client thread/INFO] [sTDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:221]: ---- Minecraft Crash Report ----
// Everything's going to plan. No, really, that was supposed to happen.
Time: 8/14/16 7:53 PM
Description: Loading screen debug info
This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.10
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_91, Oracle Corporation
Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 724118000 bytes (690 MB) / 898105344 bytes (856 MB) up to 2837446656 bytes (2706 MB)
JVM Flags: 0 total;
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML:
Loaded coremods (and transformers):
GL info: ' Vendor: 'Intel' Version: '4.3.0 - Build 20.19.15.4463' Renderer: 'Intel® HD Graphics 4400'
[19:53:26] [Client thread/INFO] [FML]: MinecraftForge v12.18.0.2000 Initialized
[19:53:26] [Client thread/INFO] [FML]: Replaced 233 ore recipes
[19:53:27] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[19:53:27] [Client thread/INFO] [FML]: Searching D:\forge\run\mods for mods
[19:53:27] [Client thread/INFO] [renewabilitymod]: Mod renewabilitymod is missing the required element 'name'. Substituting renewabilitymod
[19:53:30] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[19:53:30] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, renewabilitymod] at CLIENT
[19:53:30] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, renewabilitymod] at SERVER
[19:53:31] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:renewabilitymod
[19:53:32] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[19:53:32] [Client thread/INFO] [FML]: Found 423 ObjectHolder annotations
[19:53:32] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[19:53:32] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[19:53:32] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[19:53:32] [Client thread/INFO] [FML]: Applying holder lookups
[19:53:32] [Client thread/INFO] [FML]: Holder lookups applied
[19:53:32] [Client thread/INFO] [FML]: Injecting itemstacks
[19:53:32] [Client thread/INFO] [FML]: Itemstack injection complete
[19:53:32] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[19:53:32] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: BETA Target: null
[19:53:52] [sound Library Loader/INFO]: Starting up SoundSystem...
[19:53:52] [Thread-8/INFO]: Initializing LWJGL OpenAL
[19:53:52] [Thread-8/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[19:53:53] [Thread-8/INFO]: OpenAL initialized.
[19:53:53] [sound Library Loader/INFO]: Sound engine started
[19:54:00] [Client thread/INFO] [FML]: Max texture size: 16384
[19:54:00] [Client thread/INFO]: Created: 16x16 textures-atlas
[19:54:03] [Client thread/INFO] [FML]: Injecting itemstacks
[19:54:03] [Client thread/INFO] [FML]: Itemstack injection complete
[19:54:03] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
[19:54:03] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:renewabilitymod
[19:54:05] [Client thread/INFO]: SoundSystem shutting down...
[19:54:06] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[19:54:06] [sound Library Loader/INFO]: Starting up SoundSystem...
[19:54:06] [Thread-10/INFO]: Initializing LWJGL OpenAL
[19:54:06] [Thread-10/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[19:54:06] [Thread-10/INFO]: OpenAL initialized.
[19:54:06] [sound Library Loader/INFO]: Sound engine started
[19:54:09] [Client thread/INFO] [FML]: Max texture size: 16384
[19:54:09] [Client thread/INFO]: Created: 1024x512 textures-atlas
[19:54:11] [Client thread/ERROR] [FML]: Exception loading model for variant renewabilitymod:chain_mail#inventory for item "renewabilitymod:chain_mail", normal location exception:
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model renewabilitymod:item/chain_mail 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:338) [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_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
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_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: java.io.FileNotFoundException: renewabilitymod:models/item/chain_mail.json
at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:68) ~[FallbackResourceManager.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:65) ~[simpleReloadableResourceManager.class:?]
at net.minecraft.client.renderer.block.model.ModelBakery.loadModel(ModelBakery.java:311) ~[ModelBakery.class:?]
at net.minecraftforge.client.model.ModelLoader.access$1100(ModelLoader.java:118) ~[ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader$VanillaLoader.loadModel(ModelLoader.java:868) ~[ModelLoader$VanillaLoader.class:?]
at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:149) ~[ModelLoaderRegistry.class:?]
... 23 more
[19:54:11] [Client thread/ERROR] [FML]: Exception loading model for variant renewabilitymod:chain_mail#inventory for item "renewabilitymod:chain_mail", blockstate location exception:
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model renewabilitymod:chain_mail#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:338) [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_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
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_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
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:1183) ~[ModelLoader$VariantLoader.class:?]
at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:149) ~[ModelLoaderRegistry.class:?]
... 23 more
[19:54:11] [Client thread/WARN]: Skipping bad option: lastServer:
[19:54:12] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id
-
My .json file is at D:\forge\src\main\resources\assets\renewabilitymod\models\item and is called chain_mail.json. It looks like this.
{
"parent": "builtin/generated",
"textures": {
"layer0": "renewabilitymod:items/chain_mail"
},
"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]
}
}
}
My .png file is at D:\forge\src\main\resources\assets\renewabilitymod\textures\items and is called chain_mail.png.
It's not showing up when I run my mod. Did I give the wrong name to the .png file? If not, what is the problem?
Why are item textures not displaying?
in Modder Support
Posted
I did that, and it didn't change anything.
I know how to use conditionals, loops, methods, single-dimensional arrays, how to make classes, and how to use objects to store information. Is there a particular skill I need to learn to make modding easier?