Citizens2 icon indicating copy to clipboard operation
Citizens2 copied to clipboard

Horse NPCs Require "/npc controllable" to be mounted at all

Open PaulBGD opened this issue 9 years ago • 10 comments

If I spawn a horse, set the mount to my player, and set the horse's navigation, the horse won't move until the player unmounts it. The horse is not controllable by the player.

1.9 and build 1326

PaulBGD avatar Mar 11 '16 22:03 PaulBGD

Yeah, poked around at this for a while and couldn't get anything to stick. Still looking into it...

fullwall avatar Mar 12 '16 04:03 fullwall

I took a quick peek as well. I couldn't spot anything in Citizens (or NMS for that matter) but I'll probably look into this more once I'm done with my current project.

PaulBGD avatar Mar 12 '16 04:03 PaulBGD

The bug seems to be related to something in minecraft NMS - I tried redefining isVehicle() and has passenger type methods but it must be somewhere else.

fullwall avatar Mar 12 '16 04:03 fullwall

Alright, I'll see what else could be blocking it.

PaulBGD avatar Mar 12 '16 04:03 PaulBGD

@mcmonkey4eva unsure what's causing this, may be specific to pigs/horses though

fullwall avatar Apr 05 '16 17:04 fullwall

For a temporary solution for my project, I created an armor stand that the player rode which was teleported to the horse every time it moved. It's probably not a good solution for this project, but maybe it will help someone else.

PaulBGD avatar Apr 05 '16 22:04 PaulBGD

On current versions, non-controllable horses cannot be mounted at all, which seems wrong.

mcmonkey4eva avatar May 28 '19 00:05 mcmonkey4eva

Is this still an issue?

fullwall avatar Dec 11 '22 11:12 fullwall

Yes this is still an issue

mcmonkey4eva avatar Dec 11 '22 18:12 mcmonkey4eva