Jump to content

[1.14.3][Solved] Missing/Unrecognized texture and name of Item


Okmeis

Recommended Posts

Hello there ^^/

 

I didn't mod for, uhm, I think two or three years now.

When I tried to write a simple 1.14.3 Mod (which should just add an item to the game) this week, the following appeared:lollll.PNG.faa563c9340394ffd7a321717f54b405.PNG

 

So I opened the log and found this:

"[04Jul2019 22:25:56.748] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to load model: 'okismod:coin#inventory' referenced from: okismod:coin#inventory: java.io.FileNotFoundException: okismod:models/item/coin.json"

 

But

\Desktop\Mods\src\main\resources\assets\okismod\models\item\coin.json

{
    "parent": "item/generated",
    "textures": {
        "layer0": "okismod:items/coin"
    }
}

and/or (i tried both)

{
    "parent": "item/generated",
    "textures": {
        "layer0": "okismod:item/coin"
    }
}

 

\Desktop\Mods\src\main\resources\assets\okismod\textures\items and/or \Desktop\Mods\src\main\resources\assets\okismod\textures\item\coin.png (16x16 pixels) (i tried both)

 

\Desktop\Mods\src\main\resources\assets\okismod\lang.en_us.json

{
    "item.okismod.coin": "Golden Coin"
}

do exist.

 

The result of my coin ingame is:

- missing texture (purple/black block)

- missing name

 

So, uhm, does anyone know what I did wrong?

Edited by Okmeis
Link to comment
Share on other sites

Ok, omg, I solved it, you don't know how happy I'm now.

I simply copied the pack.mcmeta file from my 11.2 mod to my 14.3 mod into Desktop\Mods\src\main\resourcesresources and it worked.

Omg. Problem solved!

Have a wonderfull night everyone.

Link to comment
Share on other sites

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.