-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Add Point Of Interest API #12117
base: main
Are you sure you want to change the base?
Add Point Of Interest API #12117
Conversation
paper-server/src/main/java/io/papermc/paper/util/PaperPoiSearchResult.java
Outdated
Show resolved
Hide resolved
paper-server/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java
Outdated
Show resolved
Hide resolved
Is there any way in specific we should handle this case
I got this comment on spigot a few months ago. Do we either
|
I think that documenting the fact that some POITypes are used more as "markers" for the block rather than storing occupancy would be useful. Could maybe even add a method onto the poi type class if it has 0 max tickets so people can check themselves. |
The goal of this Pull Request is to add a basic level of support for Point of Interest in the API. This more used within entity AI, however, there can be exposed a useful detect Point of interests in the world. I want to flesh this out if possible, however I also want testing to be done on the current API to make sure it works as intended.
I will work more on testing and seeing if this API can be fleshed out more in the coming days/weeks.