Slimefun / Slimefun4

Slimefun 4 - A unique Spigot/Paper plugin that looks and feels like a modpack. We've been giving you backpacks, jetpacks, reactors and much more since 2013.
GNU General Public License v3.0
943 stars 536 forks source link

Update to 1.20.5 #4186

Open WalshyDev opened 2 months ago

WalshyDev commented 2 months ago

Description

Relatively easy update just a bunch of enum changes for which we can just provide a compatible API for.

Proposed changes

Created a bunch of VersionedX classes, I don't really like this but it works for now. Ideally, we build a proper mapping system but for now, I think this is fine. These names have been wrong a long time, I don't see them changing much from here.

Related Issues (if applicable)

N/A

Checklist

Still to do

github-actions[bot] commented 2 months ago

Your Pull Request was automatically labelled as: "🧹 Chores" Thank you for contributing to this project! ❤️

WalshyDev commented 2 months ago

Also should this be something we maybe put in dough instead of SF itself?

MinecraftVersion or the versioned stuff? We have a MinecraftVersion in dough, just not with the actual MC vers. The versioned classes, maybe but I don't intend for them to be around forever or widely used.

JustAHuman-xD commented 2 months ago

Also should this be something we maybe put in dough instead of SF itself?

MinecraftVersion or the versioned stuff? We have a MinecraftVersion in dough, just not with the actual MC vers. The versioned classes, maybe but I don't intend for them to be around forever or widely used.

I was meaning the versioned stuff but yeah if they're temp then it's probably fine

WalshyDev commented 2 months ago

Tests are due to mix of 1.20.6 and 1.20.4, will wait for MockBukkit

This looks alright to me on 1.20.4, not tested 1.20.6 yet since Paper is broken

J3fftw1 commented 2 months ago

https://github.com/MockBukkit/MockBukkit/pull/1008

ybw0014 commented 1 month ago

MockBukkit/MockBukkit#1008

PR is merged, time to have some progress?

J3fftw1 commented 1 month ago

A billion tests have failed

JustAHuman-xD commented 1 month ago

Java version issue by the look of the errors

J3fftw1 commented 1 month ago

Ah I saw an open PR for that on mockbukkit

JustAHuman-xD commented 1 month ago

I think we need to bump Java up to 21 for tests since that's what mockbukkits Java is now... Could be wrong tho

ybw0014 commented 1 month ago

nvm there are a lot of errors, need a dough update as well.