Git Product home page Git Product logo

Comments (6)

zdwolfe avatar zdwolfe commented on August 28, 2024

For anyone looking for a 1.20 workaround for bobby, until (if ever) it is officially supported, you can apply a small diff and build it yourself, it works great.

git checkout 87ecd40

Then make the diff:

diff --git a/gradle.properties b/gradle.properties
index 8eab32d..249b4ae 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -2,8 +2,8 @@ org.gradle.jvmargs=-Xmx2G

 # Fabric Properties
        # check these on https://fabricmc.net/develop
-       minecraftVersion=1.20.1
-       yarnMappings=1.20.1+build.1
+       minecraftVersion=1.20
+       yarnMappings=1.20+build.1
        loaderVersion=0.14.21

 # Mod Properties
@@ -19,7 +19,7 @@ org.gradle.jvmargs=-Xmx2G
        # modrinth.token = ***

 # Dependencies
-       fabricApiVersion = 0.83.0+1.20.1
+       fabricApiVersion = 0.83.0+1.20
        configurateVersion = 4.1.2
        geantyrefVersion = 1.3.13
        hoconVersion = 1.4.2
diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json
index fcfc7f3..a01b15b 100644
--- a/src/main/resources/fabric.mod.json
+++ b/src/main/resources/fabric.mod.json
@@ -32,7 +32,7 @@

   "depends": {
     "fabricloader": ">=0.14.17",
-    "minecraft": "~1.20.1"
+    "minecraft": "~1.20"
   },
   "suggests": {
     "cloth-config2": "^${clothConfigVersion}",

..and compile with the below commands, the jar will be compiled to build/libs/bobby-5.0.0.jar

./gradlew build

...or if your machine is not set up for java dev, try:

docker run --volume ./:/bobby  --workdir /bobby -it public.ecr.aws/amazoncorretto/amazoncorretto:17 /bobby/gradlew build

from bobby.

allanonmage avatar allanonmage commented on August 28, 2024

What is the bug that this fixes? They have a 1.20 version posted on Modrinth that was posted on 6/13

from bobby.

zdwolfe avatar zdwolfe commented on August 28, 2024

The bobby-5.0.0 version you're referring (link) to only supports 1.20.1. Launching bobby-5.0.0 with minecraft 1.20 (not 1.20.1) crashes with an incompatible version error.

from bobby.

Mugwump-84 avatar Mugwump-84 commented on August 28, 2024

Would love for a 1.20 version too! Lots of servers haven't updated to 1.20.1

from bobby.

Johni0702 avatar Johni0702 commented on August 28, 2024

I am not aware of any legitimate reason for anyone to use 1.20 at this point (or really any point until very shortly after release).
1.20.1 clients can connect to 1.20 servers and vice versa if you weren't aware.

from bobby.

Johni0702 avatar Johni0702 commented on August 28, 2024

Duplicate of #177

from bobby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.