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

Flying npc's fall #216

Closed SanderCrols closed 9 years ago

SanderCrols commented 9 years ago

when i spawn any npc (flying)(tested with players and bats) the npc's fall down slowly. if they are walking to a location everything is fine but when they reached their target they fall down again. Also tried stacking entities both flying without result. please fix this

using v2.0.14 build 1206 and spigot 1.8

mcmonkey4eva commented 9 years ago

For some reason, Minecraft strongly enforces gravity. It's kinda difficult to make this work.

SanderCrols commented 9 years ago

is there any way of stopping it because my npc's have to hang in the air

ryantheleach commented 9 years ago

Can you make a NPC ride an armorstand that has no gravity?

SanderCrols commented 9 years ago

can armorstands have a velocity? I already tried setting a player(setFlying(true)) on a bat npc (setFlying(true)) without result. it still falls down

ryantheleach commented 9 years ago

I'm not sure, but armor stands specifically have the ability to be invisible, and have an option to not be effected by gravity.

SanderCrols commented 9 years ago

tried it and my armorstand npc doesn't spawn...

Roos-Skywalker commented 9 years ago

It's not a bug fix but you can place a barrier below the NPC and spawn it on that. It will look like as if the NPC flies.

fullwall commented 9 years ago

/npc gravity - if this doesn't work then it could be clientside predicted...