Skip to content

Update to Minecraft 1.17.1 - #8

Open
Fourmisain wants to merge 3 commits into
dzwdz:masterfrom
Fourmisain:master
Open

Update to Minecraft 1.17.1#8
Fourmisain wants to merge 3 commits into
dzwdz:masterfrom
Fourmisain:master

Conversation

@Fourmisain

@Fourmisain Fourmisain commented Jul 20, 2021

Copy link
Copy Markdown

Since the old build was using ancient Gradle, Loom and dependencies and was missing repositories, I couldn't even get it to build (so no gradlew migrateMappings), so I ended up updating everything in one go / one commit.
Luckily the code changes turned out to be extremely simple (there were only 2 one-liner breaking changes).

Changelog

  • update to Gradle 7.1.1, update wrapper files
  • update to Loom 0.8, Java 16
  • add newest repositories
  • switch from old autoconfig1u and cloth:config-2 to new cloth-config-fabric (which contains the "new" Auto Config)
  • don't include Cloth/Auto Config anymore

Cloth Config is huge and updates pretty often (people likely already have it too), it's better to simply add is as a requirement on CurseForge

  • switch to new modmenu
  • fix breaking changes:
    • use Screen.addSelectableChild() instead of children.add()
    • ScreenshotRecorder.saveScreenshot() takes 2 less parameters

And finally

  • bump version to 0.4.0

Old version 0.3.0 is compatible with 1.16.5 and this version is compatible with 1.17 too, so everything is covered.

 - update to Loom 0.8, Java 16
 - add newest repositories
 - switch from old autoconfig1u and cloth:config-2 to new cloth-config-fabric
 - don't include Cloth/Auto Config anymore
 - switch to new modmenu
 - fix breaking changes:
  - use Screen.addSelectableChild() instead of children.add()
  - ScreenshotRecorder.saveScreenshot() takes 2 less parameters
@Madis0

Madis0 commented Oct 8, 2021

Copy link
Copy Markdown
Contributor

I compiled it and I am unable to scroll my hotbar with this version enabled.

@Fourmisain

Copy link
Copy Markdown
Author

Can confirm, it's actually caused by Amecs API and it was already fixed: https://togithub.com/Siphalor/amecs-api/pull/12
The amecsapi version wasn't bumped so it'll use the version in your gradle cache instead - to update amecsapi it should be enough to run gradlew build --refresh-dependencies.

@NebelNidas

Copy link
Copy Markdown

Could you give this a look, @dzwdz?

@Gjum

Gjum commented Dec 31, 2021

Copy link
Copy Markdown

based on your great work I've updated this further to 1.18.1 #9

haven't tested all the integrations yet but it works in my simple setup

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.

4 participants