How would I change the custom block hitboxes (Not Bounding Boxes)

Started by modbroz on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How would I change the custom block hitboxes (Not Bounding Boxes)

If anyone sees this and knows what I mean then I would really appreciate it if you'd help me out

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Could you clarify the…
Mon, 11/10/2025 - 23:05

Could you clarify the difference? I believe they are the same things.

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The issue is that the…
Mon, 11/10/2025 - 23:15

The issue is that the bounding boxes only change the outline and not the actual hitbox. If you put your crosshair on the new bounding box then it won't show or allow you to break it from there and you have to put your crosshair on the hitbox of the actual block to see the outline or break it. So basically the bounding box only effect's the outline mostly and not the actual hitbox of the block

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
hopefully that makes sense  
Mon, 11/10/2025 - 23:16

hopefully that makes sense

 

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Okay I understand now,…
Tue, 11/11/2025 - 00:10

Okay I understand now, however they are one in the same, you can only break the block by hitting its bounding box, it acts a a hitbox as well. What version of MCreator are you using? I can confirm that is how it works with 2025.2 as I have custom blocks and normal blocks with altered bounding boxes.

If you were to set the bounding box to be 16 x 6 x 16 you could not break it or hit it from 10 pixels above, and would act like a slab.

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have another thought as…
Tue, 11/11/2025 - 00:15

I have another thought as well.

Modbroz, is your block's bounding box larger than 16 x 16 x 16? If so, that could be part of the problem.

I'm really not sure about this, just a thought that a larger-than-usual block might be causing problems. (I know vanilla blocks that look larger than usual, like beds and doors, are actually made up of multiple blocks that fit in the 16 x 16 x 16 space.