Posted February 11, 201510 yr I am trying to make a 2x1x1 Block, and have managed that, but the block bounds don't work for it. When looking a the left half of the block, you can interact with it and break it and even see that the bounds are 2x1x1, but when I move my mouse over to the right side of the block the hitbox disappears and I can even place a block in the right half. Any idea on how to fix this? -Whyneb360 P.S. I know I'll need to rotate the hitbox, and that parts all settled. Just trying to figure out how to make a functional 2x1x1 hitbox first this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 2.0F);
February 11, 201510 yr Hi I think what you are trying to do is not possible. You need to create a multi block structure instead. For example like the vanilla bed or the door. I think Forge has some inbuilt support to help with this, I know nothing about it. Google may help... -TGG
February 11, 201510 yr There is no inbuilt support for multiblock in forge. So you should code the multiblock structure yourself, using some metadata and onNeighborBlockChange, and so on. The code for vanilla door would be a good example. I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP) II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.
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.