now working API, show me analog #105
Labels
No labels
documentation
good first issue
help wanted
resolution: duplicate
resolution: invalid
resolution: won't fix
status: needs triage
type: bug
type: feature
type: performance
type: question
version: 1.19.4
version: 1.20
version: 1.20.1
version: 1.20.2
version: 1.20.4
version: 1.20.6
version: 1.21.11
version: 1.21.4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Minecraft/Folia#105
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Is your feature request related to a problem?
Describe the solution you'd like.
I figured out how to get around this (PlayerRespawnEvent event)
Describe alternatives you've considered.
I did not receive any message in the chat, following these steps, show me an analogue of this
Other
No response
Did you register the events?
yes, I have other events, and they are in the 1st class, they work, but these do not
Those events aren't called by Folia, the API will be completed someday
Thank you
The respawn and teleport APIs are very awkward since the target region for the respawn position or teleport location are not actually owned during the event invocation, which may make modifying the event outcome or even reading from it very challenging. It requires a different event system to properly facilitate this, which is not a priority currently.
EntityPortalEvent doesn't work either
For anyone who really needs PlayerRespawnEvent, here is the alternative (tested on Folia 1.21):
To listen and/or cancel entity entering a portal, looks like only EntityPortalEnterEvent can be used.