Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.