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'm working on a 1.8 mod and I want to use B3D models because the JSON models can't do triangles.

 

I have used the code from here:

https://github.com/MinecraftForge/MinecraftForge/blob/b45fd787f36626ef84f26e881848167fec5957b5/src/test/java/net/minecraftforge/debug/ModelLoaderRegistryDebug.java

 

But when I start the game it tells me there are no models defined

[16:02:38] [Client thread/ERROR] [FML]: Model definition for location appliedautomation:block_analyzer#facing=up not found

[16:02:38] [Client thread/ERROR] [FML]: Model definition for location appliedautomation:block_analyzer#facing=down not

..and so on for every side

 

I have a b3d file in appliedautomation and appliedautomation#model#block but neither seem to work.

 

Is this a thing with my code or with my model file? (which is saved as block_analyzer.b3d )

 

ClientProxy:

http://pastebin.com/YcHPLF51

 

BlockAnalyzer:

http://pastebin.com/3g0W0zQC

 

The model file is this, converted into b3d through Blender. Yes, it is a model from EnderIO, I will not be using this model in the mod, it's just to test with.

http://pastebin.com/b3xNug0h

 

It is just a bunch of numbers - it's an Obj file.

 

Thanks for any help

 

 

 

 

 

 

 

 

 

Blockstates files work with any format of baked model. Just specify the .obj or .b3d extension in your model paths to use an OBJ or B3D model.

 

If you want to use OBJ models, you need to tell the loader to look in your domain like you did for the B3D loader.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

  • Author

You mean like this in the blockstates file? Because this doesn't work:

 

{

    "variants": {

        "normal": { "model": "appliedautomation:ModelTest.b3d" }

    }

}

 

If there is a decent tutorial on this for 1.8 that would be great.

You haven't defined a variant for each value of the

facing

property. The

normal

variant is only used if your block doesn't have any properties.

 

I don't know of any tutorials, only Forge's debug code.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

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.