Changing the hitboxes on mobs

Started by Elastico345 on

Topic category: Help with Minecraft modding (Java Edition)

Active 3 years ago
Joined Apr 2015
Points:
799

User statistics:

  • Modifications: 4
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 30
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

Active 5 years ago
Joined Aug 2014
Points:
910

User statistics:

  • Modifications: 1
  • Forum topics: 16
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 204
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