GeyserMC / Floodgate-Modded

Port of the hybrid mode plugin called Floodgate for Fabric and NeoForge to allow for connections from Geyser to join online mode servers.
MIT License
52 stars 18 forks source link

Move to using architectury, support neoforge platform #125

Closed onebeastchris closed 1 month ago

onebeastchris commented 5 months ago

Note: This PR targets this Floodgate branch: https://github.com/GeyserMC/Floodgate/tree/core-repackage - it just repackages floodgate's core module into a package suffixed by .core. Otherwise, NeoForge complains about it shipping a package that clashes with geyser-common. hurray.

Changes made:

Most code can be shared between the two platforms, which is neat. One curiousity of neoforge is that it has its own event when (plugin message) listeners are registered, which this PR accounts for by starting the floodgate plugin message module only once we're able to register those.

TODO

onebeastchris commented 3 months ago

modded-floodgate.zip Here are the floodgate-neoforge and fabric-neoforge builds produced by this PR