Skip to content

Conversation

@HaHaWTH
Copy link
Contributor

@HaHaWTH HaHaWTH commented Jan 2, 2025

This pull request makes CubicChunks able to run on Forge+Bukkit server environment while keeping normal Forge compatibility.

Changes

  • Split Forge mixins methods to a separate mixin class
  • Add Bukkit side mixins
  • Hybrid environment detection to apply mixins dynamically
  • Include Spigot API dependency for some CraftBukkit method call usages
  • Updated workflow

Copy link
Member

@Niko-sk2x Niko-sk2x left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While I'm overall fine with bukkit compat the current provided implementation isn't very maintainable.

I also have some concerns about bukkit API license being GPL, while CC being MIT

@Niko-sk2x
Copy link
Member

This also needs vanilla client compatibility tested.

@HaHaWTH
Copy link
Contributor Author

HaHaWTH commented Jan 5, 2025

Tested on Vanilla Forge client and hybrid servers, works fine.

Copy link
Member

@Niko-sk2x Niko-sk2x left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One last minor thing - we generally prefer to explain something like this that isn't entirely obvious in comments.

My last remaining concern is license, but other than that looks good. I'm going to accept it once this one comment is added, if licensing ever becomes an issue bukkit support can still be removed.

@Niko-sk2x Niko-sk2x merged commit 2f45b0d into OpenCubicChunks:MC_1.12 Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants