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

I've been moving my mod from 1.12.2 to 1.15.2, and I've recently come across an issue with rendering models in game, the model would not show up and would show a pink and blank box instead. I've been following a tutorial online for implementing 3d models, but I can't figure out where I went wrong. As far as I know, a 3d model's blockstate and .json should be the blocks registry name. Help would be appreciated!

 

 

horse_block.json horse_block.json RegistryEvents.java

  • Author

My bad, I thought you were referring to crash logs. Here's latest.log, I tried fiddling with it seeing the error came from the texture not being valid, but im not quite sure why it's showing up as invalid as the texture exists and is in the path. Is the formatting wrong?

latest.log

Quote

[11Mar2020 17:04:50.245] [Server-Worker-2/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to load model: 'moneera_mod:block/horse_block' referenced from: moneera_mod:horse_block#facing=north: com.google.gson.JsonParseException: moneera_mod:block/biral khao is not valid resource location

 

what is  moneera_mod:block/biral khao?

The error below that in the log is it being unable to find your item model.

 

This is why it's good to have a github of your whole project, it's hard not seeing the whole picture (i.e. project layout, package structure, etc)

  • Author

I see I've uploaded the project on github here

moneera_mod:block/biral khao is the custom texture I'm using for the block. It worked fine in 1.12.2, but after switching to 1.15.2 it seems like something's gone wrong...

  • Author
2 minutes ago, diesieben07 said:

Resource locations must not contain spaces.

Thanks, I wasn't aware of that. Refactoring solved the issue.

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.