alRex-U / alRex-U/ParCool

Compatibility layer

Offen
#369 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Java
Sterne
131
Forks
62
Ø Merge
1 T. 2 Std.
Gemergte PRs (30 T.)
2

Beschreibung

There are some differences between Minecraft versions that make it harder to port mod updates from one version to the others, like ClientPlayerEntity that changed to LocalPlayer in recent versions, and other things very noticeable as well. I think that, maybe a solution for this is to create wrapper classes that serve the purpose of translating the commands to the one that you need, in a way that you focus the version adaptation on them, and in the code injections each mod requires.
It may be challenging to do so, and it may require different strategies for each problem, but I'm willing to try this if you agree. We wouldn't need to do it all at once, but maybe progressively make this adaptation until all the code that needs conflict resolution will be concentrated in those wrappers.

I've started this work [here](https://github.com/alRex-U/ParCool/compare/main...Farenheith:ParCool:compatibility-layer?expand=1), if you want to take a look athow I'm suggesting to do it. This is a massive refactor, though

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.