How to move a hitbox

Started by OrionLion8 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to move a hitbox

Hello,

I have a recreation of the headcrab from Half-Life 1 that I animated using Geckolib+Blockbench. I was going to try to do all the mob ai and logic and stuff to get it to jump at the player, but I ended up just animating a jump that plays when the headcrab attacks. However, the hitbox of the headcrab stays on the ground/ Is it possible to move the hitbox with the animation somehow? Alternatively, if someone has a better idea that would work let me know. Thanks!