Jump to content

Recommended Posts

Posted

Hello mcforge forums,

It has been a while since i were online,

 

Anyways,

My mod has different kinds of slabs; generators, machines etc.

I want to make it so you can place a generator and a machine in the same block, i figured that shouldn't be that hard.

But i want to render them too, and because of 1.13 im not wanting to make blockstates and all that stuff.

So i figured i would need to make a TESR to render everything.

 

But how?

Is there any way i can for example,

Get both block's IBakedModels, and combine them into one and render it?

Or anything else?

Or do i need to make some image manipulation code, making a custom texture combining the two existing textures?

 

Thanks,

Ewan Arends (tebreca)

Posted (edited)
2 minutes ago, diesieben07 said:

I have no idea how this makes any sense.

As far as im aware, blockstates are getting a complete remake in 1.13,

also i forgot to say but i want it to be dynamic, so other mods can add their slab machines too,

 meaning that a PropertyEnum won't work as a enum should be final, or am i wrong?

Edited by tebreca
Posted
42 minutes ago, diesieben07 said:

Yes, you do need a custom IModel then, loaded through a ICustomModelLoader. Then you can assemble IBakedModel instances as needed.

allright thanks! ill take a look at it!

Posted (edited)
1 hour ago, diesieben07 said:

Yes, you do need a custom IModel then, loaded through a ICustomModelLoader. Then you can assemble IBakedModel instances as needed.

Do you have any good examples on the ICustomModelLoader & IBakedModel?

 

EDIT: nvm i found out there were docs on it

Edited by tebreca

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.