Jump to content

[1.11] IModel questions


Kander16

Recommended Posts

Hi,

 

I'm trying to figure out how the IModels work, because I want to import multiple models from JSON files and render them at one time.

I've a few questions:

 

1. What is the difference between IModelCustomData and IModel?

If I look at the interface, it has another method called 'process'. When reading the documentation above it, I still don't get it.

 

2. What does getDependencies?

 

3.  What is TRSRTransformation.identity();

 

4. The method bake(IModelState state, VertexFormat format, Function<ResourceLocation, TextureAtlasSprite> bakedTextureGetter):

 

- What does the VertextFormat parameter do and how do I use it?

- What does the bakedTextureGetter parameter do and how do I use this?

 

Creator of the Master Chef Mod and many more to come.

 

If I helped you, please click the 'thank you' button.

Link to comment
Share on other sites

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.