Tablock_ Posted August 8, 2023 Posted August 8, 2023 I would like to create blocks that switch between different models without using block states. I am creating a mod that improves the speed of redstone, and limiting block updates and placements is crucial for large redstone contraptions. Block states require an entirely new block to be placed to function, which I want to avoid. I have developed a method that determines what model I want to render for each particular block via a HashMap. The problem I am having is rendering these models as they change. Imagine a lever connected to a redstone lamp using 5 redstone dust. After flipping the lever, I wish to change the models of each redstone dust and lamp without using block states. A redstone contraption with thousands of redstone dust, torches, etc. will cause lag and may approach the block update limit. Is there a way to do this? It does not matter whether it is possible client-side only or not. The compass item can switch between models, and I was wondering if this is also possible with blocks. If it's impossible, I will resort to block states, only updating the blocks close to the player. Quote
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.