Changing the hitboxes on mobs

Started by Elastico345 on

Topic category: Help with modding (Java Edition)

Last seen on 17:50, 15. Sep 2021
Joined Apr 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Changing the hitboxes on mobs

Anyone know how to change the size of the hitboxes in mobs? Because no matter the shape or size of the mob I created is always set the hitboxes on 1x2x1 (LxHxW) I use techne btw for modeling my mobs

Last seen on 12:58, 23. Sep 2019
Joined Aug 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use setSize(x, y) But…
Sun, 10/14/2018 - 15:37

Use setSize(x, y)

But remember that they'll always have a square base hitbox (minecraft "law") and if you want to change that, you have to go in coding more deeply