I need help figuring out how to use the bounding box

Started by Matt The Banana on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I need help figuring out how to use the bounding box
Wed, 04/10/2019 - 00:30 (edited)

I have a block that has a bounding box 6 x 6 x 9 but I don't know what values to put into the boxes.

https://imgur.com/gallery/riqX521

Edited by Matt The Banana on Wed, 04/10/2019 - 00:30
Joined Jan 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well, the value you input is…
Wed, 04/10/2019 - 03:01

Well, the value you input is decimal, but Minecraft uses 16ths; so in your case, the minimums should be (assuming you want it centered) .31,0,.31 and your maximums would be .69,.56,.69. Hope this helps

Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How did you get these values…
Wed, 04/10/2019 - 22:28

How did you get these values? (thank you by the way)

Joined Jan 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I divided the number of…
Fri, 04/12/2019 - 18:22

I divided the number of pixels by sixteen.

Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I also did that but I got…
Fri, 04/12/2019 - 21:04

I also did that but I got different values

Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh wait I did it backwards…
Fri, 04/12/2019 - 21:04

Oh wait I did it backwards. Nevermind (smh)

Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have been trying to figure…
Wed, 06/02/2021 - 15:33

I have been trying to figure this out for like 4 days, somebody please help, I have 7 x 5 x 7 for my block but nothings working and if you get numbers please tell me how you got them in the most simple way possible

Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have been trying to figure…
Wed, 06/02/2021 - 15:50

I have been trying to figure this out for like 4 days, somebody please help, I have 7 x 5 x 7 for my block but nothings working and if you get numbers please tell me how you got them in the most simple way possible

 I think you have to divide the numbers of of pixels you want by 16, so for a 7x5x7 block, it would be .4375, .3125, .4375. (7/16, 5/16, 7/16). This may be wrong, and I haven't made a custom bounding box in a while, so I don't remember if there are sections for offsetting the box or not. Hopefully, this was I helpful, and I wish you good luck, JustDorkyy!

Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
...it would be .4375, .3125,…
Wed, 06/02/2021 - 15:53

...it would be .4375, .3125, .4375. (7/16, 5/16, 7/16)...

 You can round these to the hundredths or thousandths places, and it'll still work I believe.

Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you! i will try this…
Wed, 06/02/2021 - 16:01

Thank you! i will try this but one more thing, what is the minimum? is it the position? sorry I'm kind of dumb

Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(adding on to my reply about…
Wed, 06/02/2021 - 16:02

(adding on to my reply about minimum) also what is the maximum? im so dumb i dont understand anything

Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you! i will try this…
Wed, 06/02/2021 - 16:40

Thank you! i will try this but one more thing, what is the minimum? is it the position? sorry I'm kind of dumb
(adding on to my reply about minimum) also what is the maximum? im so dumb i dont understand anything

I honestly don't know, I haven't used it in so long I forgot, I guess, I'm assuming it doesn't have to do with the the position, though, because the position has three variables, x,y and z. Min and max is only two so I'm not sure to be honest.

Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yea im just very confused,…
Wed, 06/02/2021 - 16:42

yea im just very confused, well thanks for trying to help im just gonna give up on it

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yo! I'm trying to do an…
Wed, 06/16/2021 - 15:31

Yo!

I'm trying to do an asymmetrical bounding box... I haven't found anything that sounds remotely like my problem except this thread. Help would be much appreciated.

Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yo! I'm trying to do an…
Fri, 06/18/2021 - 13:38

Yo!

I'm trying to do an asymmetrical bounding box... I haven't found anything that sounds remotely like my problem except this thread. Help would be much appreciated.

Hi, I'm unsure if this is even a thing, but I bet it's probably possible, but I personally am clueless on this topic and can't help you.