I've got confused with Bounding Boxes in MCreator 2021.1

Started by BastianCraftFuture on

Topic category: Help with MCreator software

Last seen on 20:57, 18. Nov 2022
Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I've got confused with Bounding Boxes in MCreator 2021.1

So, here's the problem, i think i screwed it up, i tried to use the new bounding boxes but the result isn't what i need, so, please help me

 

Here is the 3D Model i made on Blockbench

The 3D Model in Blockbench

How i have the bounding boxes

Bounding Boxes in MCreator

How does it looks like in Minecraft

This bounding box isn't working properly right there

If you know more about this and you think you can help, please tell me below, i'm so confused with this right now

Last seen on 16:18, 11. Feb 2024
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The bounding box uses a…
Sun, 07/18/2021 - 15:31

The bounding box uses a coordinate system that extends from the corners. You will need to do some math and changing around the minimum coordinates. This is hard to explain in words so I'm going to make some equations.
(For centring bounding box at x = 8, z = 8 / half a block):
Min_x = (model_x_length / 2) - 8
Max_x = (model_x_length / 2) + 8
Min_z = (model_z_length / 2) - 8
Max_z = (model_z_length / 2) + 8
You do not need to change the Y values, they look alright.

Last seen on 20:57, 18. Nov 2022
Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thank you so much, now it…
Fri, 07/30/2021 - 12:49

thank you so much, now it looks good, actually, how i wanted to, really, thank you