Jump to content

Recommended Posts

Posted (edited)

I have created a mob that needs to ride an entity in order to kill it. It can successfully ride and kill a cow, a horse, and sheep, but when it comes to a player it fails. The mob cannot visually mount the player, and yet it kills the player. I have checked in the doHurt function that the target is indeed a passenger and that the target is the vehicle. The player passes the passenger/vehicle checks yet the mob fails to visually ride the player, nor does it appear to be aggressive toward the player, or even be within killing range. Why does Minecraft skip the mount the player animation? Is there a later version of Forge/MC that would do the animation?

Edited by DinoPawz
  • DinoPawz changed the title to Forge 1.19.3 Mob cannot visually ride a Player
Posted

I tried my mob in 1.18.2 and got exactly the same result. Still cannot visually mount a player in 1.18.2 either.

A mob mounting a player worked in 1.12.2. 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.