Posted June 26, 20232 yr 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 June 26, 20232 yr by DinoPawz
June 27, 20232 yr Author 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.