CitizensDev / Citizens2

Citizens - the premier plugin and API for creating server-side NPCs in Minecraft.
https://citizensnpcs.co
Open Software License 3.0
602 stars 317 forks source link

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

Open PaulBGD opened 8 years ago

PaulBGD commented 8 years ago

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

fullwall commented 8 years ago

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

PaulBGD commented 8 years ago

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.

fullwall commented 8 years ago

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.

PaulBGD commented 8 years ago

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

fullwall commented 8 years ago

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

PaulBGD commented 8 years ago

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.

mcmonkey4eva commented 5 years ago

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

fullwall commented 1 year ago

Is this still an issue?

mcmonkey4eva commented 1 year ago

Yes this is still an issue

SNWCreations commented 3 weeks ago

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

Can no longer replicate this on 1.20.6 (as it is a supportable version) But horses marked as controllable will take no effect on mark non-controllable actions as the saddle added to it was not removed.