Posted August 3, 20241 yr What would be the best logic to manage a multiple block block? I already know how some use halves like doors, but mine is supposed to be a 2x2x2 block. Is just decor, doesn't do anything special, so what is the recommended way to go about it since bounding boxes have a limit of 1 block?
August 4, 20241 yr I suppose you could use three boolean blockstates to determine which corner the block is in?
August 7, 20241 yr Author On 8/4/2024 at 10:22 PM, scientistknight1 said: I suppose you could use three boolean blockstates to determine which corner the block is in? I've ended up doing it the "dirty" way and had 8 different subblocks spawning from placing the "full block". All of them share the same class and share a small logic block to handle what happens when they're mined. Will check the blockstate thing though. Edited August 7, 20241 yr by chxr
August 7, 20241 yr Author On 8/4/2024 at 10:22 PM, scientistknight1 said: I suppose you could use three boolean blockstates to determine which corner the block is in? Ok it was literally WAAAY easier using blockstates. Thanks for reminding me they exist lmao
August 8, 20241 yr Glad I could help! On 8/7/2024 at 2:03 PM, chxr said: Ok it was literally WAAAY easier using blockstates. Thanks for reminding me they exist lmao
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.