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

Move reusable methods to a separate helper class #863

Merged

Conversation

AlexProgrammerDE
Copy link
Contributor

This way we allow other apps such as Geyser LocalSession to use these currently private methods without needing to copy over the code.

This way we allow other apps such as Geyser LocalSession to use these currently private methods without needing to copy over the code.
@AlexProgrammerDE AlexProgrammerDE force-pushed the feature/shared-netty-helper branch from 1dac349 to f49b668 Compare October 11, 2024 05:36
Copy link
Member

@onebeastchris onebeastchris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@onebeastchris onebeastchris merged commit 9037cb3 into GeyserMC:master Nov 27, 2024
1 check passed
onebeastchris added a commit that referenced this pull request Dec 5, 2024
* Move reusable methods to a separate helper class (#863)

* Move reusable methods to a separate helper class

This way we allow other apps such as Geyser LocalSession to use these currently private methods without needing to copy over the code.

* Remove unused field

* Improve MCPL ticking data and behaviour (#865)

* Move packets to proper packages & implement game thread metadata for every packet

* Add new ticking info for 1.21.3

Notable info:
ServerboundSelectBundleItemPacket is not ticked, it's instant
ClientboundSetHeldSlotPacket is already ticked as it is just renamed ClientboundSetCarriedItemPacket

* Expose packet handler executor

* Do not tick delimiter packet

* Allow server to define packet handler executor factory

* Update protocol/src/main/java/org/geysermc/mcprotocollib/network/packet/Packet.java

Co-authored-by: chris <[email protected]>

---------

Co-authored-by: chris <[email protected]>

* Implement missing ticking

---------

Co-authored-by: chris <[email protected]>
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