Changing the hitboxes on mobs

Started by Elastico345 on Sun, 10/07/2018 - 07:48

Topic category: Help with modding (Java Edition)

Last seen on 17:38, 28. Jan 2020
Joined Apr 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Changing the hitboxes on mobs
Sun, 10/07/2018 - 07:48

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
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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