EvilTwin Posted November 16, 2017 Share Posted November 16, 2017 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.