Skip to content
This repository has been archived by the owner on Jul 6, 2024. It is now read-only.

Commit

Permalink
1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
JustS-js committed Jun 26, 2023
1 parent 7be8d43 commit a265c74
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 12 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ dependencies {

// Fabric API. This is technically optional, but you probably want it anyway.
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
modApi("me.shedaniel.cloth:cloth-config-fabric:10.0.96") {
modApi("me.shedaniel.cloth:cloth-config-fabric:11.0.99") {
exclude(group: "net.fabricmc.fabric-api")
}
modImplementation "com.terraformersmc:modmenu:6.2.2"
modImplementation "com.terraformersmc:modmenu:7.0.1"
}

processResources {
Expand Down
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ org.gradle.jvmargs=-Xmx1G

# Fabric Properties
# check these on https://fabricmc.net/versions.html
minecraft_version=1.19.4
yarn_mappings=1.19.4+build.2
minecraft_version=1.20.1
yarn_mappings=1.20.1+build.8
loader_version=0.14.21

# Mod Properties
mod_version = 1.19.4-1.0.2
mod_version = 1.20-1.0.2
maven_group = com.just_s
archives_base_name = ctp-mod

# Dependencies
fabric_version=0.83.0+1.19.4
fabric_version=0.84.0+1.20.1
2 changes: 1 addition & 1 deletion src/main/java/net/just_s/ctpmod/CTPMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public void cancelReconnect() {
}

public void connectToServer(ServerInfo targetInfo) {
ConnectScreen.connect(new MultiplayerScreen(new TitleScreen()), MC, ServerAddress.parse(targetInfo.address), targetInfo);
ConnectScreen.connect(new MultiplayerScreen(new TitleScreen()), MC, ServerAddress.parse(targetInfo.address), targetInfo, false);
}

public static Text generateFeedback(String message, Object... args) {
Expand Down
4 changes: 0 additions & 4 deletions src/main/java/net/just_s/ctpmod/util/ReconnectThread.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@
import net.fabricmc.api.Environment;
import net.just_s.ctpmod.CTPMod;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.network.ServerAddress;
import net.minecraft.client.network.ServerInfo;
import org.apache.commons.lang3.ArrayUtils;

import java.io.IOException;
import java.net.Socket;
import java.util.Arrays;
import java.util.Collections;

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"depends": {
"fabricloader": ">=0.11.3",
"fabric": "*",
"minecraft": "~1.19",
"minecraft": ">=1.20",
"java": ">=17"
},
"suggests": {
Expand Down

0 comments on commit a265c74

Please sign in to comment.