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.

Featured Replies

Posted

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

  • Author

Ok, maybe I misunderstood the problem, I found this in the console: snip.PNG.cc65f4fbecbfff89eb743b834a4f893a.PNG

The last line says

build\resources\pack.mcmeta\pack.mcmeta
  • Author

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.

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.