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

[Fabric] Fix initial sync on join, defer syncing to entity load, add client-sided hurt sounds #117

Conversation

celestialfault
Copy link
Contributor

@celestialfault celestialfault commented Apr 13, 2023

This pull request resolves #116, along with fixing the initial sync not occurring on dedicated servers due to the server join event being registered along with client events, and deferring syncing settings to other players until they're within render distance.

This additionally resolves #83 by adding client-sided hurt sounds; this also replaces the hurt packet with sending the hurt sound itself from the server.

There's been some testing of this PR, but not extensively; the sync changes have only seen extremely minimal testing (read: the mod doesn't break in singleplayer and servers without the mod), while the hurt sound changes have been fairly reasonably well tested.

@celestialfault celestialfault changed the base branch from fabric-1.19.3 to fabric-1.19.4 May 26, 2023 04:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant