Skip to content
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

Player Loaded World API #1466

Open
Timongcraft opened this issue Dec 3, 2024 · 1 comment
Open

Player Loaded World API #1466

Timongcraft opened this issue Dec 3, 2024 · 1 comment
Labels
type: feature New feature or request

Comments

@Timongcraft
Copy link
Contributor

Timongcraft commented Dec 3, 2024

Requested Feature

An event which is fired when the new minecraft:player_loaded packet is received from the client.
This would only be possible in 1.21.4+.

Why is this needed?

To better time actions like titles or play animations and not needing to "guess" when the player is actually in the world.

@Timongcraft Timongcraft added the type: feature New feature or request label Dec 3, 2024
@Timongcraft Timongcraft changed the title World Joined API Player Loaded World API Dec 3, 2024
@Timongcraft
Copy link
Contributor Author

It would probably need security mechanisms to prevent spamming.
And, as the packet is also sent on respawn, it would be great if some form of indicator would be provided to show whether the event was triggered from a 'server switch' or 'respawn.'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant