Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (โ‹ฎ) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

Featured Replies

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

ย 

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

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.

  • Author

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.

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

  • Author

Yes, the folders are just represented like that in Eclipse. If the filepath is assets/ringsandthings, and there is only one package in assets, it will show up as that.

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.

  • Author

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions โ†’ Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.