Jump to content

Recommended Posts

Posted

Hi,

I want to create a block that can have multiple different textures, but have them dynamically assigned to the block.

Example:

A slab block that will, when right clicked with any other slab block combine into a full block, but with the textures of both slabs (so it looks like one slab is on top of the other, but inside the same block).

I can do this with blockstate and blockmodel files, but I am looking for a different solution as I want to add potentially 100s of slabs and that would obviously result in a huge number of blockstate and block model files.

 

So I thought, maybe I can create a block that holds the registry names of the two slabs its made up of as properties and then write something that applies the correct textures to the block.

I tried looking at the chisels and bits mod, as I thought that it must be doing something simmilar (storing the texture of each pixel of the blocks), but I didn't really understand how that works.

 

Could someone point me in the right direction or explain to me how this is done, please.

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.