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

Hello,

I want to be able to rightclick with an item on a block (any block in a 3x3x3 structure for example), this should check if the other Blocks are set, and if they are it should change their Texture, if any of the Blocks get destroyed afterwards, they all should turn back.
How would one go on to do this, I have been looking into the Immersive Engineering mod but isn't there a more simple method to implement this?

My thought was to make the item rightclick on a specific block call an event that checks the surrounding blocks in a loop until it finds one that is wrong, if the loop finishes it returns a true boolean, if not then false, but how can I change the textures of all the blocks if it returns true? Are Blockstates the way to go here, even if I want to use vanilla blocks for this? And should the structure constantly check if it's still correct or can an event be triggered when a block breaks, that changes the textures back?

Can someone please point me to some methods to read through for this?

Thanks in advance.

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.