How to move a hitbox

Started by OrionLion8 on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined Feb 2023
Points:
291

User statistics:

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