java - Minecraft Item Texture Not Loading - Forge 1.8 -
i getting minecraft modding, , when try load texture item (refined_iron) shows black , purple square.
what notice in log this
[client thread/error] [fml]: model definition location skistone:refined_iron#inventory not found
appears twice in whole log. here is:
java hotspot(tm) 64-bit server vm warning: using incremental cms deprecated , removed in future release [12:34:18] [main/info] [gradlestart]: extra: [] [12:34:18] [main/info] [gradlestart]: running arguments: [--userproperties, {}, --assetsdir, /users/hillfamily/.gradle/caches/minecraft/assets, --assetindex, 1.8, --accesstoken, {redacted}, --version, 1.8, --tweakclass, net.minecraftforge.fml.common.launcher.fmltweaker, --tweakclass, net.minecraftforge.gradle.tweakers.coremodtweaker] [12:34:18] [main/info] [launchwrapper]: loading tweak class name net.minecraftforge.fml.common.launcher.fmltweaker [12:34:18] [main/info] [launchwrapper]: using primary tweak class name net.minecraftforge.fml.common.launcher.fmltweaker [12:34:18] [main/info] [launchwrapper]: loading tweak class name net.minecraftforge.gradle.tweakers.coremodtweaker [12:34:18] [main/info] [launchwrapper]: calling tweak class net.minecraftforge.fml.common.launcher.fmltweaker [12:34:18] [main/info] [fml]: forge mod loader version 8.99.124.1450 minecraft 1.8 loading [12:34:18] [main/info] [fml]: java java hotspot(tm) 64-bit server vm, version 1.8.0_31, running on mac os x:x86_64:10.10.4, installed @ /library/java/javavirtualmachines/jdk1.8.0_31.jdk/contents/home/jre [12:34:18] [main/info] [fml]: managed load deobfuscated minecraft name- in deobfuscated environment. skipping runtime deobfuscation [12:34:18] [main/info] [launchwrapper]: calling tweak class net.minecraftforge.gradle.tweakers.coremodtweaker [12:34:18] [main/info] [gradlestart]: injecting location in coremod net.minecraftforge.fml.relauncher.fmlcoreplugin [12:34:18] [main/info] [gradlestart]: injecting location in coremod net.minecraftforge.classloading.fmlforgeplugin [12:34:18] [main/info] [launchwrapper]: loading tweak class name net.minecraftforge.fml.common.launcher.fmlinjectionandsortingtweaker [12:34:18] [main/info] [launchwrapper]: loading tweak class name net.minecraftforge.fml.common.launcher.fmldeobftweaker [12:34:18] [main/info] [launchwrapper]: loading tweak class name net.minecraftforge.gradle.tweakers.accesstransformertweaker [12:34:18] [main/info] [launchwrapper]: calling tweak class net.minecraftforge.fml.common.launcher.fmlinjectionandsortingtweaker [12:34:18] [main/info] [launchwrapper]: calling tweak class net.minecraftforge.fml.common.launcher.fmlinjectionandsortingtweaker [12:34:18] [main/info] [launchwrapper]: calling tweak class net.minecraftforge.fml.relauncher.coremodmanager$fmlpluginwrapper [12:34:18] [main/error] [fml]: binary patch set missing. either in development environment, or things not going work! [12:34:19] [main/error] [fml]: fml appears missing signature data. not thing [12:34:19] [main/info] [launchwrapper]: calling tweak class net.minecraftforge.fml.relauncher.coremodmanager$fmlpluginwrapper [12:34:19] [main/info] [launchwrapper]: calling tweak class net.minecraftforge.fml.common.launcher.fmldeobftweaker [12:34:19] [main/info] [launchwrapper]: calling tweak class net.minecraftforge.gradle.tweakers.accesstransformertweaker [12:34:19] [main/info] [launchwrapper]: loading tweak class name net.minecraftforge.fml.common.launcher.terminaltweaker [12:34:19] [main/info] [launchwrapper]: calling tweak class net.minecraftforge.fml.common.launcher.terminaltweaker [12:34:19] [main/info] [launchwrapper]: launching wrapped minecraft {net.minecraft.client.main.main} [12:34:20] [client thread/info]: setting user: player563 [12:34:23] [client thread/info]: lwjgl version: 2.9.2 [12:34:24] [client thread/info] [stdout]: [net.minecraftforge.fml.client.splashprogress:start:235]: ---- minecraft crash report ---- // there 4 lights! time: 8/7/15 12:34 pm description: loading screen debug info prompt computer specs printed. not error detailed walkthrough of error, code path , known details follows: --------------------------------------------------------------------------------------- -- system details -- details: minecraft version: 1.8 operating system: mac os x (x86_64) version 10.10.4 java version: 1.8.0_31, oracle corporation java vm version: java hotspot(tm) 64-bit server vm (mixed mode), oracle corporation memory: 713043144 bytes (680 mb) / 1038876672 bytes (990 mb) 1038876672 bytes (990 mb) jvm flags: 3 total; -xincgc -xmx1024m -xms1024m intcache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 fml: loaded coremods (and transformers): gl info: ' vendor: 'intel inc.' version: '2.1 intel-10.6.31' renderer: 'intel iris opengl engine' [12:34:24] [client thread/info] [minecraftforge]: attempting minecraftforge initialization [12:34:24] [client thread/info] [fml]: minecraftforge v11.14.3.1450 initialized [12:34:24] [client thread/info] [fml]: replaced 204 ore recipies [12:34:24] [client thread/info] [minecraftforge]: completed minecraftforge initialization [12:34:24] [client thread/info] [fml]: found 0 mods command line. injecting mod discoverer [12:34:24] [client thread/info] [fml]: searching /users/hillfamily/desktop/modding/forge-1.8-11.14.3.1450-src/eclipse/mods mods [12:34:26] [client thread/info] [fml]: forge mod loader has identified 4 mods load [12:34:27] [client thread/info] [fml]: attempting connection missing mods [mcp, fml, forge, skistone] @ client [12:34:27] [client thread/info] [fml]: attempting connection missing mods [mcp, fml, forge, skistone] @ server [12:34:27] [client thread/info]: reloading resourcemanager: default, fmlfileresourcepack:forge mod loader, fmlfileresourcepack:minecraft forge, fmlfileresourcepack:skistone [12:34:27] [client thread/info] [fml]: processing objectholder annotations [12:34:27] [client thread/info] [fml]: found 384 objectholder annotations [12:34:27] [client thread/info] [fml]: identifying itemstackholder annotations [12:34:27] [client thread/info] [fml]: found 0 itemstackholder annotations [12:34:27] [client thread/info] [fml]: configured dormant chunk cache size of 0 [12:34:27] [client thread/info] [fml]: applying holder lookups [12:34:27] [client thread/info] [fml]: holder lookups applied [12:34:27] [client thread/info] [fml]: injecting itemstacks [12:34:27] [client thread/info] [fml]: itemstack injection complete [12:34:27] [sound library loader/info]: starting soundsystem... [12:34:28] [thread-8/info]: initializing lwjgl openal [12:34:28] [thread-8/info]: (the lwjgl binding of openal. more information, see http://www.lwjgl.org) [12:34:28] [thread-8/info]: openal initialized. [12:34:28] [sound library loader/info]: sound engine started [12:34:30] [client thread/info]: created: 512x512 textures-atlas [12:34:31] [client thread/error] [fml]: model definition location skistone:refined_iron#inventory not found [12:34:31] [client thread/info] [fml]: injecting itemstacks [12:34:31] [client thread/info] [fml]: itemstack injection complete [12:34:31] [client thread/info] [fml]: forge mod loader has loaded 4 mods [12:34:31] [client thread/info]: reloading resourcemanager: default, fmlfileresourcepack:forge mod loader, fmlfileresourcepack:minecraft forge, fmlfileresourcepack:skistone [12:34:31] [client thread/info]: soundsystem shutting down... [12:34:32] [client thread/warn]: author: paul lamb, www.paulscode.com [12:34:32] [sound library loader/info]: starting soundsystem... [12:34:32] [thread-10/info]: initializing lwjgl openal [12:34:32] [thread-10/info]: (the lwjgl binding of openal. more information, see http://www.lwjgl.org) [12:34:32] [thread-10/info]: openal initialized. [12:34:32] [sound library loader/info]: sound engine started [12:34:33] [client thread/info]: created: 512x512 textures-atlas [12:34:33] [client thread/error] [fml]: model definition location skistone:refined_iron#inventory not found [12:35:32] [client thread/info]: stopping! [12:35:32] [client thread/info]: soundsystem shutting down... al lib: (ww) freedevice: (0x7fb866dfa800) deleting 3 buffer(s) [12:35:32] [client thread/warn]: author: paul lamb, www.paulscode.com
my code (i left imports out): skistone.java:
@mod(modid = reference.modid, name = reference.name, version = reference.version) public class skistone { public static item refined_iron; @eventhandler public void preinit(fmlpreinitializationevent event) { refined_iron = new refinediron(); } @eventhandler public void init(fmlinitializationevent event) { if(event.getside() == side.client) { renderitem renderitem = minecraft.getminecraft().getrenderitem(); renderitem.getitemmodelmesher().register(refined_iron, 0, new modelresourcelocation(reference.modid + ":" + ((refinediron) refined_iron).getname(), "inventory")); } } @eventhandler public void postinit(fmlpostinitializationevent event) { } }
reference.java:
public class reference { public static final string modid = "skistone"; public static final string version = "1.0"; public static final string name = "skistone"; }
refinediron.java
public class refinediron extends item { private final string name = "refined_iron"; public refinediron() { gameregistry.registeritem(this, name); setunlocalizedname(reference.modid + "_" + name); setcreativetab(creativetabs.tabmisc); } public string getname() { return name; } }
refined_iron.json:
{ "parent": "builtin/generated", "textures": { "layer0": "skistone:items/refined_iron" }, "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 file paths:
your resources folder nested deep. should have:
skippymn/skistone/items skippymn/resources/assets/skistone/<asset folders>
i don't know if part necessary want name folders this:
skippymn/java/<mod_packages>/<mod_classes>
Comments
Post a Comment