Citizens2 icon indicating copy to clipboard operation
Citizens2 copied to clipboard

Flying npc's fall

Open SanderCrols opened this issue 11 years ago • 8 comments

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

SanderCrols avatar Jan 24 '15 16:01 SanderCrols

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

mcmonkey4eva avatar Jan 24 '15 19:01 mcmonkey4eva

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

SanderCrols avatar Jan 24 '15 20:01 SanderCrols

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

ryantheleach avatar Jan 25 '15 19:01 ryantheleach

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

SanderCrols avatar Jan 26 '15 16:01 SanderCrols

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

ryantheleach avatar Jan 27 '15 12:01 ryantheleach

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

SanderCrols avatar Jan 27 '15 16:01 SanderCrols

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.

Roos-Skywalker avatar Mar 17 '15 20:03 Roos-Skywalker

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

fullwall avatar Apr 05 '15 09:04 fullwall