Jump to content

Item shows up in creative inventory, but does not have a texture or proper name?


Recommended Posts

Posted

(Note: The string modid within the following bullets represents the actual mod id, and itemid represents the item id, a.k.a the string used in the registry name.)

I am using Forge 1.15.2-31.2.0.

I ensured:

  • The item id is the same in all the cases
  • The texture I made is called the item id, a png file, and in assets:modid:textures:item(all packages)
  • The en_us.json has the item defined as "item:modid:itemid"
  • The model json has the texture as layer0 within textures defined as "modid:item/itemid"

The item within the game has the missing(purple and black checkered) texture and is named "item:modid:itemid", the same as what is defined in the en_us.json. In addition, Minecraft throws a warning that there is no ResourcePackInfo within the built code. If there is any other information that may help with this, please request it. Thank you in advance. What follows is the latest.log.

[20Jun2020 17:00:15.463] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmluserdevclient, --fml.mcpVersion, 20200515.085601, --fml.mcVersion, 1.15.2, --fml.forgeGroup, net.minecraftforge, --fml.forgeVersion, 31.2.0, --version, MOD_DEV, --assetIndex, 1.15, --assetsDir, C:\Users\vijay\.gradle\caches\forge_gradle\assets, --username, Dev, --accessToken, ????????, --userProperties, {}]
[20Jun2020 17:00:15.472] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 5.1.0+69+master.79f13f7 starting: java version 12.0.1 by Oracle Corporation
[20Jun2020 17:00:16.217] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
[20Jun2020 17:00:18.075] [main/INFO] [STDERR/]: [jdk.nashorn.api.scripting.NashornScriptEngine:<init>:143]: Warning: Nashorn engine is planned to be removed from a future JDK release
[20Jun2020 17:00:18.998] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmluserdevclient' with arguments [--version, MOD_DEV, --gameDir, ., --assetsDir, C:\Users\vijay\.gradle\caches\forge_gradle\assets, --assetIndex, 1.15, --username, Dev, --accessToken, ????????, --userProperties, {}]
[20Jun2020 17:00:24.004] [Render thread/INFO] [net.minecraft.client.Minecraft/]: Setting user: Dev
[20Jun2020 17:00:43.056] [Render thread/INFO] [net.minecraft.client.Minecraft/]: Backend library: LWJGL version 3.2.2 build 10
[20Jun2020 17:00:45.394] [modloading-worker-1/INFO] [net.minecraftforge.common.ForgeMod/FORGEMOD]: Forge mod loading, version 31.2.0, for MC 1.15.2 with MCP 20200515.085601
[20Jun2020 17:00:45.395] [modloading-worker-1/INFO] [net.minecraftforge.common.MinecraftForge/FORGE]: MinecraftForge v31.2.0 Initialized
[20Jun2020 17:00:45.918] [Render thread/INFO] [ringsandthings/]: Items registered
[20Jun2020 17:00:46.389] [Render thread/WARN] [net.minecraft.resources.ResourcePackInfo/]: Couldn't get pack info for: java.nio.file.NoSuchFileException: C:\Users\vijay\Documents\Modding\Development\build\resources\main\pack.mcmeta\pack.mcmeta
[20Jun2020 17:00:46.414] [Render thread/WARN] [net.minecraft.resources.ResourcePackInfo/]: Couldn't get pack info for: java.nio.file.NoSuchFileException: C:\Users\vijay\Documents\Modding\Development\build\resources\main\pack.mcmeta\pack.mcmeta
[20Jun2020 17:00:49.754] [Render thread/INFO] [com.mojang.text2speech.NarratorWindows/]: Narrator library for x64 successfully loaded
[20Jun2020 17:00:49.903] [Render thread/INFO] [net.minecraft.resources.SimpleReloadableResourceManager/]: Reloading ResourceManager: Default, Mod Resources
[20Jun2020 17:00:49.955] [modloading-worker-2/INFO] [ringsandthings/]: Setup method registered
[20Jun2020 17:00:50.209] [modloading-worker-2/INFO] [ringsandthings/]: Client registries method registered
[20Jun2020 17:00:50.227] [Forge Version Check/INFO] [net.minecraftforge.fml.VersionChecker/]: [forge] Starting version check at https://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[20Jun2020 17:00:51.217] [Forge Version Check/INFO] [net.minecraftforge.fml.VersionChecker/]: [forge] Found status: UP_TO_DATE Current: 31.2.0 Target: null
[20Jun2020 17:00:58.171] [Server-Worker-7/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to load model: 'ringsandthings:tutorial_item#inventory' referenced from: ringsandthings:tutorial_item#inventory: java.io.FileNotFoundException: ringsandthings:models/item/tutorial_item.json
[20Jun2020 17:01:00.878] [Render thread/INFO] [net.minecraft.client.audio.SoundSystem/]: OpenAL initialized.
[20Jun2020 17:01:00.880] [Render thread/INFO] [net.minecraft.client.audio.SoundEngine/SOUNDS]: Sound engine started
[20Jun2020 17:01:01.129] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 1024x512x4 minecraft:textures/atlas/blocks.png-atlas
[20Jun2020 17:01:01.549] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 128x128x4 minecraft:textures/atlas/signs.png-atlas
[20Jun2020 17:01:01.552] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
[20Jun2020 17:01:01.565] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
[20Jun2020 17:01:01.585] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
[20Jun2020 17:01:01.590] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
[20Jun2020 17:01:01.598] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
[20Jun2020 17:01:02.631] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256x0 minecraft:textures/atlas/particles.png-atlas
[20Jun2020 17:01:02.640] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas
[20Jun2020 17:01:02.642] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 128x128x0 minecraft:textures/atlas/mob_effects.png-atlas

 

Posted
3 minutes ago, General_Ganon said:

java.io.FileNotFoundException: ringsandthings:models/item/tutorial_item.json

It says it cant find this file. Double check folder/package names and that the file exists.

 

3 minutes ago, General_Ganon said:

The en_us.json has the item defined as "item:modid:itemid"

use . instead of : i.e. item.modid.itemid

Posted
3 minutes ago, Ugdhar said:

use . instead of : i.e. item.modid.itemid

Well, sort of. should be item.modid:itemid

Because resource locations are correctly separated by colons.

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

I changed the en_us.json file(dots only) appropriately, and ensured that the tutorial_item.json file was in the right place(it is, somehow). Yet, nothing changed. Not even the item name changed, even though the built file did change. This provides the insight that the broken item name does not come from the en_us.json.

Posted (edited)

Are the folders those packages represent separated by slashes and not dots? Just want to make sure, I've seen them be made using the dots in the folder names, which breaks stuff.

i.e the folder should be assets/ringsandthings, not assets.ringsandthings

Edited by Ugdhar
Posted
1 hour ago, Ugdhar said:

Ah, I had forgotten.

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

SOLVED! I was missing the pack.mcmeta file! For people combing the forums for a solution, the pack.mcmeta is included within the mdk, under src/main/resources, and should be in the same place for your mod.

Join the conversation

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

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

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

×   Your previous content has been restored.   Clear editor

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

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • When I first heard about Bitcoin back in 2018, I was skeptical. The idea of a decentralized, digital currency seemed too good to be true. But I was intrigued as I learned more about the technology behind it and its potential. I started small, investing just a few hundred dollars, dipping my toes into the cryptocurrency waters. At first, it was exhilarating to watch the value of my investment grow exponentially. I felt like I was part of the future, an early adopter of this revolutionary new asset. But that euphoria was short-lived. One day, I logged into my digital wallet only to find it empty - my Bitcoin had vanished without a trace. It turned out that the online exchange I had trusted had been hacked, and my funds were stolen. I was devastated, both financially and emotionally. All the potential I had seen in Bitcoin was tainted by the harsh reality that with decentralization came a lack of regulation and oversight. My hard-earned money was gone, lost to the ether of the digital world. This experience taught me a painful lesson about the price of trust in the uncharted territory of cryptocurrency. While the technology holds incredible promise, the risks can be catastrophic if you don't approach it with extreme caution. My Bitcoin investment gamble had failed, and I was left to pick up the pieces, wiser but poorer for having placed my faith in the wrong hands. My sincere appreciation goes to MUYERN TRUST HACKER. You are my hero in recovering my lost funds. Send a direct m a i l ( muyerntrusted ( @ ) mail-me ( . )c o m ) or message on whats app : + 1 ( 4-4-0 ) ( 3 -3 -5 ) ( 0-2-0-5 )
    • You could try posting a log (if there is no log at all, it may be the launcher you are using, the FAQ may have info on how to enable the log) as described in the FAQ, however this will probably need to be reported to/remedied by the mod author.
    • So me and a couple of friends are playing with a shitpost mod pack and one of the mods in the pack is corail tombstone and for some reason there is a problem with it, where on death to fire the player will get kicked out of the server and the tombstone will not spawn basically deleting an entire inventory, it doesn't matter what type of fire it is, whether it's from vanilla fire/lava, or from modded fire like ice&fire/lycanites and it's common enough to where everyone on the server has experienced at least once or twice and it doesn't give any crash log. a solution to this would be much appreciated thank you!
    • It is 1.12.2 - I have no idea if there is a 1.12 pack
  • Topics

×
×
  • Create New...

Important Information

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