Jump to content

[1.16.5] Modify Block Model in Data Generation


em_niss

Recommended Posts

I'm trying to generate a BlockState where each model depends on three properties: horizontal facing, if the block is powered (on or off) and the amount of power (0-10).

I'm currently trying to generate one custom model (not cube) for each resulting block state (22 ignoring rotation) where the only difference is one texture that depends on "powered" and "power", but I can't figure out how to modify my existing model that I've created in Blockbench. Anyone know how I can do this?

I have already got it to work by manually creating the BlockState and models but would like to do it by data generation for similar blocks.

If there are other better ways to achieve what I'm trying to do I'm open to suggestions!

Any help is greatly appreciated!

 

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.