Where can I change the player's X and Z positions when riding a mob?

Started by June55 on

Topic category: Help with Minecraft modding (Java Edition)

Active 3 years ago
Joined Jan 2022
Points:
509

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
Where can I change the player's X and Z positions when riding a mob?

I know that the Y position is determined by the hitbox values, but is it even possible to change the other directions of the player's position?

I have a mob that is rideable but when clicked, the player sits in the head of the model and clips through. I used blockbench to create the model, is there something there I need to change? or is there a value in the code I can edit, or a line to add to change the player position beyond the Y value? 

I already messed with the hitbox values a bunch and I couldn't seem to get it right. 

Thanks,