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 recently restarted modding and i am a bit confused why this texture won't load (Inventory and hand texture of a modded block)

 

 

 

 

//"vecdiasfeatures" is the mod id

//1) degastrotaparetranotodium_ore.json in src/main/resources/models/block ("degastrotaparetranotodium" is the name of an ore) :

{
    "parent": "block/cube_all",
    "textures": {
        "all": "vecdiasfeatures:blocks/degastrotaparetranotodium_ore"
    }
}

//2) degastrotaparetranotodium_ore.json in src/main/resources/models/items

{
	"parent": "vecdiasfeatures:block/degastrotaparetranotodium_ore"
}

//3) degastrotaparetranotodium_ore.json in src/main/resources/blockstates

{
    "variants": {
        "": { "model": "vecdiasfeatures:block/degastrotaparetranotodium_ore" }
    }
}

The Error is : [Worker-Main-4/WARN] [minecraft/ModelBakery]: Unable to load model: 'vecdiasfeatures:degastroparetranotodium#inventory' referenced from: vecdiasfeatures:degastroparetranotodium#inventory: java.io.FileNotFoundException: vecdiasfeatures:models/item/degastroparetranotodium.json

 

Have a great day and 

Thanks in advance !

Edited by EeXolebgorVecdia
Mispelled a word

4 hours ago, EeXolebgorVecdia said:

vecdiasfeatures:models/item/degastroparetranotodium.json

seems to be the model is in the wrong location 

  • Author
16 hours ago, Luis_ST said:

seems to be the model is in the wrong location 

Hello Luis_ST, I didn't understand why because i just wrote degastrotaparetranotodium_ore.json and not

degastrotaparetranotodium, so I do not know the issue with my code.

 

  • Author

Oh never mind ! I found the error i wrote "degastrotaparetranotratodium" in my ItemInit class. It now Works ! THANKS

 

Edited by EeXolebgorVecdia

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.