Skip to content
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

Draft
wants to merge 4 commits into
base: 1.16-fabric
Choose a base branch
from

Conversation

jhbuchanan45
Copy link

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 the entity.isRemoved() to determine if the death chest has been removed or unloaded.

@jhbuchanan45 jhbuchanan45 marked this pull request as draft July 8, 2021 17:53
addGameVersion "1.16.2"
addGameVersion "1.16.1"
addGameVersion "Java 16"
addGameVersion "1.17.0"

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")

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

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"

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.+".

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