maruohon / malilib

Library mod for masa's client-side Minecraft mods
GNU Lesser General Public License v3.0
294 stars 124 forks source link

1.20.5-RC.2 Dev Merge #152

Closed sakura-ryoko closed 4 months ago

sakura-ryoko commented 4 months ago

Draft RC.1 Clean Merge from DEV branch.

sakura-ryoko commented 4 months ago

Fixes / Changes:

sakura-ryoko commented 4 months ago

Fixes / Changes:

* Converts MaLiLib to be Multi-Environment for the new Payload Interface by creating a new Server-friendly methods for detecting the CONFIG and RUN directories; and it now uses the new ServerHandler code to launch InitializationHandler and Server Launch, which also has logic to disable the Keybind / Input / GUI elements.

* Introduces the PlayerHandler interfaces, for Server-side and Player-related events (More on this later)

* First and only Payload added so far: ServuxStructuresPayload

* Added the NetworkReference data interface to keep track of all network state information to keep CLIENT and SERVER side code separated correctly.

The Above changes Have Been reverted, in addition to removing all Server-Side functionality of MaLiLib, ultimately making the network API no longer function for any sort of "OpenToLan" scenario.

sakura-ryoko commented 4 months ago

Oops let me fix this.