New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traversing Nether Portals breaks Navigation #1568

Open
SnoFox opened this Issue Sep 19, 2018 · 3 comments

Comments

Projects
None yet
3 participants
@SnoFox

SnoFox commented Sep 19, 2018

The output of command /version on my server is: git-Spigot-6b015b4-94b8708 (MC: 1.13.1) (Implementing API version 1.13.1-R0.1-SNAPSHOT)
The output of command /version citizens on my server is: 2.0.24-SNAPSHOT (build 1570)

When Citizens NPCs move into a Nether portal, Minecraft will teleport them. After teleport, Citizens is still protecting them, but NMS's AI takes over for movement. Doesn't affect Player NPCs; I've only tested with Ocelots so far.

Citizens configuration file is default; all I did was load the latest build.

Here's an example of my plugin pathing and forcing an NPC to stay in the same world, but fails pathing after going through the netherpotal: https://youtu.be/sXaGTIWXabg
Logs: https://gist.github.com/SnoFox/394657ea4f34d0b37e79f069faf9c294#file-2018-09-18-15-log

And another example, using just Citizens commands to create pathing and demonstration of NMS AI taking over: https://youtu.be/b1cLSsSV15c
Logs: https://gist.github.com/SnoFox/394657ea4f34d0b37e79f069faf9c294#file-2018-09-18-16-log

@SnoFox SnoFox changed the title from Traversing Netherportal breaks Navigation to Traversing Nether Portals breaks Navigation Sep 19, 2018

@SnoFox

This comment has been minimized.

Show comment
Hide comment
@SnoFox

SnoFox Sep 21, 2018

Workaround for those who don't want their NPCs to teleport: Cancel EntityPortalEvent if it's your entity

SnoFox commented Sep 21, 2018

Workaround for those who don't want their NPCs to teleport: Cancel EntityPortalEvent if it's your entity

@fullwall

This comment has been minimized.

Show comment
Hide comment
@fullwall

fullwall Oct 1, 2018

Member

Seems like a difficult problem with entities and changing worlds. I pushed a semi-fix for portals but may need more changes to deal with cross-world teleporting.

Member

fullwall commented Oct 1, 2018

Seems like a difficult problem with entities and changing worlds. I pushed a semi-fix for portals but may need more changes to deal with cross-world teleporting.

@mcmonkey4eva

This comment has been minimized.

Show comment
Hide comment
@mcmonkey4eva

mcmonkey4eva Oct 12, 2018

Member

@SnoFox is there still trouble on the latest version?

Member

mcmonkey4eva commented Oct 12, 2018

@SnoFox is there still trouble on the latest version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment