Skip to content

How to build the 1.20.1 branch from source today? #818

@Kondrashka177

Description

@Kondrashka177

Describe

Hi.

This is not an in-game bug report, but a build reproducibility issue for the public 1.20.1 source branch.

I’m trying to prepare a small 1.20.1 source-level patch related to UTF-8 / Unicode support for Chat Box, and because of that I need a working local build/test setup for this branch.

Environment:

  • JDK 17
  • Gradle wrapper from the repository
  • clean clone of the public source
  • branch/tag tested: release/1.20.1 / 1.20.1-0.7.46r

Problems I hit:

  • Refined Storage resolves through GitHub Packages and initially fails with 401 Unauthorized
  • several CurseMaven dependencies appear to be unavailable now
  • after removing/commenting those dependencies, compileJava fails because some optional integration source files still reference those classes directly

Examples of missing dependencies/classes:

  • curse.maven:ae2things
  • curse.maven:ae-additions
  • curse.maven:createaddition
  • curse.maven:applied-mekanistics
  • curse.maven:powah
  • direct imports in AppEngApi / Powah integration code

Could you please clarify:

  1. Is release/1.20.1 still expected to build successfully from a clean public checkout?
  2. If yes, what repositories / credentials / setup are required?
  3. If no, is there a recommended minimal dependency set or patch set for getting a buildable 1.20.1 dev environment?

I’m only trying to make a small UTF-8 / Unicode-related source patch for 1.20.1 and would prefer to do that as a proper fork/build rather than editing built jars manually.

Thanks.

Steps to reproduce

  1. Clone the public 1.20.1 branch (or checkout tag 1.20.1-0.7.46r).
  2. Use JDK 17 and the Gradle wrapper included in the repository.
  3. Run gradlew.bat build on a clean checkout.
  4. Observe dependency resolution / compilation failures.

Multiplayer?

Yes

Version

Own compiled build.

Minecraft, Forge and maybe other related mods versions

release/1.20.1 / 1.20.1-0.7.46r

Screenshots or Videos

No response

Crashlog/log

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds reviewNeeds review from an Contributor

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions