You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
NPCs spawned outside of the players' rendering distance will not appear once the player gets closer to the NPC's location if the server is using ViaVersion.
NPCLib usage option
Shaded Maven dependency for npclib-plugin
Server version
This server is running Paper version git-Paper-1618 (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT)
To Reproduce
With a 1.12.2 server running ViaVersion and a 1.16.5 client:
Spawn an NPC far away from the player, far enough that it doesn't / wouldn't render anyway.
In-game, get closer to the NPC
The NPC never spawns (and the NPCShowEvent is never triggered).
Calling npc.show(player) manually after the player is close enough makes the NPC appear (although it's interact event doesn't trigger either ??).
Expected behavior
The NPC should spawn normally once in render distance, and it's interact event should work as intended.
It does work as intended when the client is running 1.12.2 too.
The text was updated successfully, but these errors were encountered:
This seems to be connected to #124. Something is fundamentally wrong with the spawning mechanism. I want to use the chuck request packets supported from 1.9 and forward, but then I have to drop 1.8 support, which would be a bummer...
I'll keep this in mind. Thanks for opening this issue ticket.
It might be related, although in my case the Hologram doesn't spawn either, and isShown(p) returns false (which makes sense so long the NPC is out of render distance)..
Anyway, thanks for taking a look at this!
Describe the bug
NPCs spawned outside of the players' rendering distance will not appear once the player gets closer to the NPC's location if the server is using ViaVersion.
NPCLib usage option
Shaded Maven dependency for npclib-plugin
Server version
This server is running Paper version git-Paper-1618 (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT)
To Reproduce
With a 1.12.2 server running ViaVersion and a 1.16.5 client:
The NPC never spawns (and the NPCShowEvent is never triggered).
Calling npc.show(player) manually after the player is close enough makes the NPC appear (although it's interact event doesn't trigger either ??).
Expected behavior
The NPC should spawn normally once in render distance, and it's interact event should work as intended.
It does work as intended when the client is running 1.12.2 too.
The text was updated successfully, but these errors were encountered: