Jump to content

Recommended Posts

Posted (edited)

I know I keep asking questions, but it is because I am new.

I have been trying to give my item a texture but I can not figure out why I keep getting a "No Texture Found" pattern. Here is my model register:


	@SideOnly(Side.CLIENT)
	@SubscribeEvent
	public static void registerModels(ModelRegistryEvent event)
	{
		System.err.print("Registering Models");
		
		for(Item item: ModItems.ITEMS){
			
			ModelLoader.setCustomModelResourceLocation(item, 0, new ModelResourceLocation(item.getRegistryName(), "inventory"));
		
		}
	}

 

The json for the item: 

{    
    "parent": "item/generated",
    "textures": {
       
     },
     
     "variants": {
     
     	"inventory": [{
     	
     	"textures": {
        	
        	"inventory": "examplemod:items/replicator_wand"
     		
     		}
     	
     	}]
     
     }
}

 

 

The file hierarchy:

Capture.PNG.b70bdfcb9c29f76103ca2b62c5d0685c.PNG

In models there are files Item and block with respective jsons

 

No matter what I try I get the signature pink and black patterns instead of my item, can anyone please help! Thanks!

Edited by Bak3dC
Posted

The log contains more information. Both for you to learn how to read and for us to diagnose and point out the pertinent information. 

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

 

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

 

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

Posted (edited)

@Draco18s Here it is: 

Spoiler

2017-07-11 09:43:05,631 main WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-07-11 09:43:05,635 main WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[09:43:05] [main/INFO] [GradleStart]: username: BAK3DCHIPS
[09:43:05] [main/INFO] [GradleStart]: Extra: []
[09:43:05] [main/INFO] [GradleStart]: Password found, attempting login
[09:43:05] [main/INFO]: Logging in with username & password
[09:43:06] [main/INFO] [GradleStart]: Login Succesful!
[09:43:06] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, [], --assetsDir, C:/Users/BAK3DCHIPS/.gradle/caches/minecraft/assets, --assetIndex, 1.12, --userType, mojang, --accessToken{REDACTED}, --version, 1.12, --uuid, d2577e1cc6b7434bb9c80ee9d6a5b6ed, --username, Bak3dChips, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[09:43:06] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[09:43:07] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[09:43:07] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[09:43:07] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[09:43:07] [main/INFO] [FML]: Forge Mod Loader version 14.21.1.2387 for Minecraft 1.12 loading
[09:43:07] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_131, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_131
[09:43:07] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[09:43:07] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[09:43:07] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[09:43:07] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[09:43:07] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[09:43:07] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[09:43:07] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[09:43:07] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[09:43:07] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[09:43:07] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
2017-07-11 09:43:07,433 main WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-07-11 09:43:07,848 main WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-07-11 09:43:07,849 main WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[09:43:07] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[09:43:10] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[09:43:10] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[09:43:10] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[09:43:11] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[09:43:11] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[09:43:11] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[09:43:11] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[09:43:12] [main/INFO]: Setting user: Bak3dChips
[09:43:17] [main/WARN]: Skipping bad option: lastServer:
[09:43:17] [main/INFO]: LWJGL Version: 2.9.4
[09:43:20] [main/INFO] [FML]: -- System Details --
Details:
    Minecraft Version: 1.12
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_131, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 894518000 bytes (853 MB) / 1073217536 bytes (1023 MB) up to 7591165952 bytes (7239 MB)
    JVM Flags: 0 total; 
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: 
    Loaded coremods (and transformers): 
    GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 382.53' Renderer: 'GeForce GTX 1070/PCIe/SSE2'
[09:43:20] [main/INFO] [FML]: MinecraftForge v14.21.1.2387 Initialized
[09:43:20] [main/INFO] [FML]: Replaced 921 ore ingredients
[09:43:20] [main/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[09:43:20] [main/INFO] [FML]: Searching C:\Users\Bak3DCHIPS\Desktop\Programing\Modding\1.12\run\mods for mods
[09:43:22] [main/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
[09:43:22] [Thread-3/INFO] [FML]: Using sync timing. 200 frames of Display.update took 121088313 nanos
[09:43:22] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, stsu_stevensuniverse] at CLIENT
[09:43:22] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, stsu_stevensuniverse] at SERVER
[09:43:23] [main/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Steven's Universe
[09:43:23] [main/INFO] [FML]: Processing ObjectHolder annotations
[09:43:23] [main/INFO] [FML]: Found 1168 ObjectHolder annotations
[09:43:23] [main/INFO] [FML]: Identifying ItemStackHolder annotations
[09:43:23] [main/INFO] [FML]: Found 0 ItemStackHolder annotations
[09:43:24] [main/INFO] [FML]: Configured a dormant chunk cache size of 0
[09:43:24] [Forge Version Check/INFO] [ForgeVersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[09:43:24] [main/INFO]: [STDERR]: PreINIT started
[09:43:24] [main/INFO] [FML]: Applying holder lookups
[09:43:24] [main/INFO] [FML]: Holder lookups applied
[09:43:24] [main/INFO] [FML]: Applying holder lookups
Registered Items[09:43:24] [main/INFO] [FML]: Holder lookups applied
[09:43:24] [main/INFO] [FML]: Applying holder lookups
[09:43:24] [main/INFO] [FML]: Holder lookups applied
Registering Models[09:43:24] [main/INFO] [FML]: Applying holder lookups
[09:43:24] [main/INFO] [FML]: Holder lookups applied
[09:43:24] [main/INFO] [FML]: Injecting itemstacks
[09:43:24] [main/INFO] [FML]: Itemstack injection complete
[09:43:24] [Forge Version Check/INFO] [ForgeVersionCheck]: [forge] Found status: UP_TO_DATE Target: null
[09:43:30] [Sound Library Loader/INFO]: Starting up SoundSystem...
[09:43:30] [Thread-5/INFO]: Initializing LWJGL OpenAL
[09:43:30] [Thread-5/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[09:43:30] [Thread-5/INFO]: OpenAL initialized.
[09:43:30] [Sound Library Loader/INFO]: Sound engine started
[09:43:38] [main/INFO] [FML]: Max texture size: 16384
[09:43:38] [main/INFO]: Created: 512x512 textures-atlas
[09:43:41] [main/INFO]: [STDERR]: INIT started
[09:43:41] [main/INFO] [FML]: Injecting itemstacks
[09:43:41] [main/INFO] [FML]: Itemstack injection complete
[09:43:41] [main/INFO]: [STDERR]: PostINIT started
[09:43:41] [main/INFO] [FML]: Forge Mod Loader has successfully loaded 5 mods
[09:43:41] [main/WARN]: Skipping bad option: lastServer:
[09:43:41] [main/INFO]: Narrator library for x64 successfully loaded
[09:43:49] [Server thread/INFO]: Starting integrated minecraft server version 1.12
[09:43:49] [Server thread/INFO]: Generating keypair
[09:43:49] [Server thread/INFO] [FML]: Injecting existing registry data into this server instance
[09:43:49] [Server thread/INFO] [FML]: Applying holder lookups
[09:43:49] [Server thread/INFO] [FML]: Holder lookups applied
[09:43:49] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@6e79f6ee)
[09:43:50] [Server thread/INFO]: Loaded 488 advancements
[09:43:50] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@6e79f6ee)
[09:43:50] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@6e79f6ee)
[09:43:50] [Server thread/INFO]: Preparing start region for level 0
[09:43:51] [Server thread/INFO]: Preparing spawn area: 10%
[09:43:52] [Server thread/INFO]: Changing view distance to 32, from 10
[09:43:54] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2
[09:43:54] [Netty Server IO #1/INFO] [FML]: Client protocol version 2
[09:43:54] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 5 mods : [email protected],[email protected],[email protected],[email protected],[email protected]
[09:43:54] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established
[09:43:54] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
[09:43:54] [Server thread/INFO]: Bak3dChips[local:E:ab1be234] logged in with entity id 99 at (1826.6026069479162, 63.0, 1558.1203683677272)
[09:43:54] [Server thread/INFO]: Bak3dChips joined the game
[09:43:55] [Server thread/WARN]: Keeping entity minecraft:cow that already exists with UUID 15e806fe-8a1b-4bf8-9db2-735687c0e2f2
[09:43:57] [Server thread/INFO]: Saving and pausing game...
[09:43:57] [Server thread/INFO]: Saving chunks for level 'New World'/overworld
[09:43:57] [Server thread/INFO]: Saving chunks for level 'New World'/the_nether
[09:43:57] [Server thread/INFO]: Saving chunks for level 'New World'/the_end
[09:43:57] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 2223ms behind, skipping 44 tick(s)
[09:43:57] [Server thread/WARN]: Keeping entity minecraft:villager that already exists with UUID 72aba6be-27ee-4983-996b-c8264335e9b1
[09:43:58] [Server thread/WARN]: Keeping entity minecraft:bat that already exists with UUID ad25a56e-79a9-44ff-8669-4ae0c132b269
[09:43:58] [Server thread/WARN]: Keeping entity minecraft:bat that already exists with UUID 1fbddec4-cdf9-4c5b-bdf6-49044358bfa0
[09:43:58] [Server thread/WARN]: Keeping entity minecraft:chicken that already exists with UUID 109ae415-4f75-450d-9f6b-aa2383777972
[09:43:58] [Server thread/WARN]: Keeping entity minecraft:sheep that already exists with UUID 3b8cb81b-fa97-49b1-90e6-0410a09613aa
[09:43:59] [Server thread/WARN]: Keeping entity minecraft:chicken that already exists with UUID 8f1f2b29-4242-4326-bba1-5a1f7691d657
[09:43:59] [Server thread/WARN]: Keeping entity minecraft:cow that already exists with UUID 4adfc559-21ce-4188-8fc9-03331078e2a9
[09:43:59] [Server thread/WARN]: Keeping entity minecraft:cow that already exists with UUID a2a39ee4-9853-4453-bdea-1c1d91fbd9a0
[09:44:50] [Server thread/INFO]: Saving and pausing game...
[09:44:50] [Server thread/INFO]: Saving chunks for level 'New World'/overworld
[09:44:50] [Server thread/INFO]: Saving chunks for level 'New World'/the_nether
[09:44:50] [Server thread/INFO]: Saving chunks for level 'New World'/the_end
[09:45:02] [Server thread/INFO]: Saving and pausing game...
[09:45:02] [Server thread/INFO]: Saving chunks for level 'New World'/overworld
[09:45:03] [Server thread/INFO]: Saving chunks for level 'New World'/the_nether
[09:45:03] [Server thread/INFO]: Saving chunks for level 'New World'/the_end
[09:53:16] [Server thread/INFO]: Stopping server
[09:53:16] [Server thread/INFO]: Saving players
[09:53:16] [Server thread/INFO]: Bak3dChips lost connection: Disconnected
[09:53:16] [Server thread/INFO]: Bak3dChips left the game
[09:53:16] [Server thread/INFO]: Stopping singleplayer server as player logged out
[09:53:16] [Server thread/INFO]: Saving worlds
[09:53:16] [Server thread/INFO]: Saving chunks for level 'New World'/overworld
[09:53:16] [Server thread/INFO]: Saving chunks for level 'New World'/the_nether
[09:53:16] [Server thread/INFO]: Saving chunks for level 'New World'/the_end
[09:53:16] [Server thread/INFO] [FML]: Unloading dimension 0
[09:53:16] [Server thread/INFO] [FML]: Unloading dimension -1
[09:53:16] [Server thread/INFO] [FML]: Unloading dimension 1
[09:53:16] [Server thread/INFO] [FML]: Applying holder lookups
[09:53:16] [Server thread/INFO] [FML]: Holder lookups applied

 

Edited by diesieben07
spoiler
Posted

The logging of missing models was broken in Forge 1.12-14.21.0.2363 (commit dc043ac) and fixed in Forge 1.12-14.21.1.2390 (commit ede05a2). Update Forge and run Minecraft again to see the model errors.

 

In future, please post the full FML log (logs/fml-client-latest.log in the game directory) using Gist or Pastebin.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted
4 hours ago, Bak3dC said:

"textures": { "inventory": "examplemod:items/replicator_wand" }

Items that use item/generated don't have an inventory variable you can assign a texture to. They instead have layerX, where X is the tint index.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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