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, i only started to learn Forge modding. I followed to guide here www.youtube.com/watch?v=qX-nyprSDAM

 to create item (for instance, sun_crystal). I created item, gave it name, created .json files in .../lang, .../models and .../textures. For some reason, when i compile and run project in intellij, it says [Server-Worker-3/WARN] [minecraft/ModelBakery]: Unable to load model: 'mom:sun_crystal#inventory' referenced from: mom:sun_crystal#inventory: java.io.FileNotFoundException: mom:models/item/sun_crystal.json

, and so it does not register model for sun crystal and does not register texture fore it, despite I clearly see sun_crystal.json in .../models/item/

main.zip

Edited by Monroth

You're passing com.monroth.arcanapp.master_of_magic.MOD_ID as the deferred registry's ID, which is "arcpp" from the sounds of it. However, your mod's id is "mom".

Also, your assets aren't in the right directory for either of those ids, as that's titled "master_of_magic".

My recommendation would be to pick one of those three and stick with it.

I'm eager to learn and am prone to mistakes. Don't hesitate to tell me how I can improve.

  • Author

Somewhere between posting first time and creating github i tried to change modname\modId from arcanapp\arcpp to master_of_magic\mom, and it seems that there was some unchanged parts left ) ok, i fixed that. However, i thought that folder in /assets/ is not necessary named as modId, as otherwise how did it found en_us.json in /lang/? Name of item was shown correctly.

 

Anyway, that solved problem only partially. After fixing name of folder in assets, model started to register, but texture

[03:07:52] [Server-Worker-4/ERROR] [minecraft/AtlasTexture]: Using missing texture, unable to load mom:textures/items/sun_crystal.png : java.io.FileNotFoundException: mom:textures/items/sun_crystal.png


is still missing, for unclear reasons

 

Edited by Monroth

The model JSON is looking for a texture in items, but the actual folder is Items; it's case-sensitive.

I'm eager to learn and am prone to mistakes. Don't hesitate to tell me how I can improve.

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.