alRex-U / alRex-U/ParCool

Compatibility layer

Đang mở
#369 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Java
Star
131
Fork
62
Merge trung bình
1 ngày 2 giờ
Pull request đã merge (30 ngày)
2

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.