Started by
bnoid_1
on
Topic category: Help with MCreator software
Hello. I am having trouble trying to figure out bounding boxes.
The values and parameters are all very confusing for me and I don't know how to use them - when I try and fiddle around with them either the bounding box doesn't look how I want it to or it completely dissapears, making the block indestructable and impossible to interact with.
For reference, I am trying to figure out how to make a bounding box similar to the 4 stages of amethyst crystals: Small Amethyst Bud, Medium Amethyst Bud, Large Amethyst Bud and Amethyst cluster.
I would appreciate if someone knew how to make sense of all these parameters and such.
Edited by bnoid_1 on Sun, 02/16/2025 - 16:11
UPDATE: After careful tinkering I seem to have found out how things work, however it would be very nice if anyone at lease explained it thoroughly so that I can improve on it.
Hey, can you elaborate on what you did and how you figured it out? I believe I have similarly discovered a decent bit, but I'm struggling to get my boundary box centered as I think it would require putting the minimum coords above 0, which seems to send the entire box to the shadow realm
Yeah, I think if any of the values go higher than 16 the bounding box dissapears into thin air...
If I remember correctly, this should be how I figured it out:
However, for the min X and Z coords, what I've noticed is that instead of setting them like you would for the max X and Z coords, it's kind of in reverse. Hold on, let me elaborate on this a bit further...
For example, if you wanted a small bounding box that is centered, and is 5 x 5 pixels in size and 2 pixels tall, the following values should be something like this:
Min X: 11 Min Y: 0 Min Z: 11 Max X: 5 Max Y: 2 Max Z: 5
As for what I meant by the Min X and Z values being "reversed", I've noticed that instead of setting the values to 5 as well, you instead take away the value of the Max X / Max Z from 16, giving you, in this case, 11. Basically, for each time you add one to the Max X and Z values, you take away one from your Min X and Z values. Here's a representation to hopefully make this seem less complicated:
Min X / Z: 16 Max X / Z: 0
Min X / Z: 15 Max X / Z: 1
Min X / Z: 14 Max X / Z: 2
Min X / Z: 13 Max X / Z: 3
Min X / Z: 12 Max X / Z: 4
Min X / Z: 11 Max X / Z: 5
Min X / Z: 10 Max X / Z: 6
Min X / Z: 9 Max X / Z: 7
Min X / Z: 8 Max X / Z: 8
Min X / Z: 7 Max X / Z: 9
Min X / Z: 6 Max X / Z: 10
Min X / Z: 5 Max X / Z: 11
Min X / Z: 4 Max X / Z: 12
Min X / Z: 3 Max X / Z: 13
Min X / Z: 2 Max X / Z: 14
Min X / Z: 1 Max X / Z: 15
Min X / Z: 0 Max X / Z: 16
I do hope this has helped. Keep in mind that the mod project that I was working on - where I seemed to have figured it all out - was on the latest 2025.1 snapshot of MCreator, so it may be a bit buggy...
*0 - 16 pixels in size