Jump to content

Recommended Posts

Posted

Hi,

 

I want to make a custom rendered block, where you can put some sorts of cheeses on it to let it ripe.

Now I want to make it visible from the outside (not only in GUI), how much cheeses that are stored inside the block.

There are 8 slots for cheeses inside the ripening rack, and there are currently 3 types of cheese.

If I want to do it with the JSON method, the possible combinations would be 3^8 or 6561 JSON files.

I don't think I'm going to make 6561 JSON files for just one block, so is there another way for rendering a block?

Like before the update 1.8 or so?

 

Thanks!

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

 

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

Posted

Why isn't it accurate?

 

Because:

The Forge Blockstate format should allow you to do this using sub models.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

Another way of doing it, is Building your Model as an .obj, loading it via the OBJLoader, and since i suspect you have a TileEntity as you want to store items inside a Block, you can then dynamicly show the Cheeses as Parts of the Model using the ExtendedBlockState and IModelState. Its a rather Simple way of getting high quality dynamic state Models working, I use it e.g. for my Item Pipes.

 

If you need help ill happily provide an example

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.