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

Implement better player ticking in AoA #373

Merged
merged 3 commits into from
Feb 10, 2024

Conversation

jchung01
Copy link
Contributor

This tweak improves Advent of Ascension player ticking by only sending inventory changes when necessary. Replaces the old AoA tweak as I don't think anyone would run into the edge case of triggering the inventory change while in those GUIs. The tweak is default enabled now that it specifically mixes into the mod. I talked with Tslat about the potential performance issue and have gotten their permission, see below. A similar fix will be added on their side for the actively developed version of the mod.
aoa_msg

In my singleplayer world with an endgame base in a large modpack, before:
aoa_before
After:
aoa_after
Performance gains should be even larger in multiplayer scenarios, especially if players have rapidly changing items in their inventory (items with changing NBT/energy, i.e. a jetpack).

@jchung01 jchung01 force-pushed the aoa-better-player-tick branch from 9fefa36 to c954785 Compare February 10, 2024 04:54
@ACGaming ACGaming merged commit acec769 into ACGaming:main Feb 10, 2024
1 check passed
@jchung01 jchung01 deleted the aoa-better-player-tick branch February 12, 2024 00:27
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.

2 participants