-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to 1.17 and rework Autoconfig to use Jankson #70
base: 1.16-fabric
Are you sure you want to change the base?
Conversation
addGameVersion "1.16.2" | ||
addGameVersion "1.16.1" | ||
addGameVersion "Java 16" | ||
addGameVersion "1.17.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should be
addGameVersion "1.17.1"
addGameVersion "1.17"
instead of 1.17.0
addGameVersion("1.16.3") | ||
addGameVersion("1.16.2") | ||
addGameVersion("1.16.1") | ||
addGameVersion("1.17.0") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here too, see above
@@ -1,5 +1,5 @@ | |||
distributionBase=GRADLE_USER_HOME | |||
distributionPath=wrapper/dists | |||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip | |||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-bin.zip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could update to Gradle 7.2 (released a few days ago)
build.gradle
Outdated
@@ -2,28 +2,27 @@ import com.modrinth.minotaur.TaskModrinthUpload | |||
|
|||
plugins { | |||
id "java-library" | |||
id "fabric-loom" version "0.5-SNAPSHOT" | |||
id "fabric-loom" version "0.8-SNAPSHOT" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to https://fabricmc.net/versions.html "The recommended loom version for Minecraft 1.17 is 0.9.+", so:
id "fabric-loom" version "0.9.+"
.
I've spent some time updating this mod to work on 1.17, currently as far as I can tell it works as intended. The biggest change I made was to switch the AutoConfig to use the built in JSON serializer instead of the custom TOML one, (And split the subclasses of the config into a file called 'config', though that could be reverted if desired) and I also have a custom version of Common Gradle which I updated slightly to point to the latest versions of ModMenu and ClothConfig. (Currently the repo for ModMenu is temporary while they fix issues with their permanent repo, so that would have to change in future)
I also replaced the removed
getUnloadedBlockEntities
with a call to check if theentity.isRemoved()
to determine if the death chest has been removed or unloaded.