Custom width/depth on entity hitboxes

Started by jupop777 on Tue, 05/04/2021 - 17:11

Topic category: Help with modding (Java Edition)

Last seen on 19:52, 13. May 2021
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Custom width/depth on entity hitboxes
Tue, 05/04/2021 - 17:11

So I noticed that width and depth are set to the same variable, which makes sense enough for bipeds and a few other models- but I have a rather large entity that isn't square shaped and the square hitbox actually makes its behavior wonky and the front clips through walls. I'd like to know how I can set a depth variable separate from the width variable, and I'm not afraid to get my hands on coding a little. Just need someone to point me in the right direction. TIA