AzureDoom / customportalapi-reforged

Forge fork of https://github.com/kyrptonaught/customportalapi based off https://github.com/Mysticpasta1/customportalapi
MIT License
2 stars 2 forks source link

NeoForge network refactor #6

Closed AnonymousHacker1279 closed 8 months ago

AnonymousHacker1279 commented 8 months ago

This PR updates to support the recent NeoForge network refactor. The two packets under networking (ForcePlacePortalPacket and PortalRegistrySyncPacket) were removed as no usages were found where they are ever sent. If needed for some reason, I can reimplement them.

It also includes a related NeoGradle update to 7.0.78 and NeoForge to 20.4.73-beta. While the newer NG now supports Parchment mappings I have not included them; however, I can easily change the mappings channel if you'd like.

IntelliJ's Optimize Imports task was run to clean up the workspace.

Tested using the portal example in CustomPortalsMod.java on both singleplayer and dedicated server. Also tested in one of my local dev environments for another mod. image

AzureDoom commented 8 months ago

Thank you! Been busy with work and porting azurelibs network as well so this helps a ton!

AnonymousHacker1279 commented 8 months ago

Glad I was able to help 👍