alRex-U / alRex-U/ParCool

Compatibility layer

未关闭
#369 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Java
星标
131
派生
62
平均合并
1 天 2 小时
30 天内合并 PR
2

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。