Skip to content

Commit 771c5cb

Browse files
committed
Update to 1.20.5
1 parent bccb252 commit 771c5cb

File tree

7 files changed

+29
-17
lines changed

7 files changed

+29
-17
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![GitHub license](https://img.shields.io/github/license/RedCarlos26/wider-tab?style=flat-square)](https://github.com/RedCarlos26/WiderTab/blob/main/LICENCE)
44
![Environment: Client](https://img.shields.io/badge/environment-Client-1976d2?style=flat-square)
55
[![Mod loader: Fabric]][fabric] <!-- modrinth_exclude.start -->
6-
![Version](https://img.shields.io/badge/version-1.0.0+1.20.4-blue?style=flat-square)
6+
![Version](https://img.shields.io/badge/version-1.0.0+1.20.5-blue?style=flat-square)
77
<!-- modrinth_exclude.end -->
88

99

build.gradle

+16-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
plugins {
2-
id 'fabric-loom' version '1.5-SNAPSHOT'
2+
id 'fabric-loom' version '1.6-SNAPSHOT'
33
}
44

5-
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_17
6-
75
archivesBaseName = project.archives_base_name
86
version = project.mod_version
97
group = project.maven_group
@@ -20,11 +18,25 @@ dependencies {
2018
}
2119

2220
processResources {
21+
def propertyMap = [
22+
"version" : project.version,
23+
"minecraft_version": project.minecraft_version,
24+
"loader_version" : project.loader_version
25+
]
26+
27+
inputs.properties(propertyMap)
2328
filesMatching("fabric.mod.json") {
24-
expand "version": project.version, "mc_version": project.minecraft_version
29+
expand(propertyMap)
2530
}
2631
}
2732

33+
java {
34+
sourceCompatibility = JavaVersion.VERSION_21
35+
targetCompatibility = JavaVersion.VERSION_21
36+
37+
withSourcesJar()
38+
}
39+
2840
tasks.withType(JavaCompile).configureEach {
2941
it.options.encoding("UTF-8")
3042
}

gradle.properties

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
org.gradle.jvmargs=-Xmx2G
22

33
# Fabric Properties (https://fabricmc.net/develop/)
4-
minecraft_version=1.20.4
5-
yarn_version=1.20.4+build.3
6-
loader_version=0.15.6
4+
minecraft_version=1.20.5
5+
yarn_version=1.20.5+build.1
6+
loader_version=0.15.10
77

88
# Mod Properties
9-
mod_version=1.0.0+1.20.4
9+
mod_version=1.0.0+1.20.5
1010
maven_group=dev.redcarlos26
1111
archives_base_name=widertab
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

src/main/java/dev/redcarlos26/widertab/WiderTab.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ public void onInitializeClient() {
2525
}
2626

2727
public void log(String info) {
28-
this.logger.info("[WiderTab] " + info);
28+
this.logger.info("[WiderTab] {}", info);
2929
}
3030

3131
public void warn(String info) {
32-
this.logger.warn("[WiderTab] " + info);
32+
this.logger.warn("[WiderTab] {}", info);
3333
}
3434

3535
public static WiderTab get() {

src/main/resources/fabric.mod.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"schemaVersion": 1,
33
"id": "widertab",
44
"name": "WiderTab",
5-
"version": "1.0.0+1.20.4",
5+
"version": "1.0.0+1.20.5",
66
"description": "Extends the tablist to fit more players.",
77
"authors": [
88
"RedCarlos26"
@@ -25,8 +25,8 @@
2525
"widertab.mixins.json"
2626
],
2727
"depends": {
28-
"fabricloader": ">=0.15.0",
29-
"minecraft": "1.20.4",
30-
"java": ">=17"
28+
"java": ">=21",
29+
"minecraft": "${minecraft_version}",
30+
"fabricloader": ">=${loader_version}"
3131
}
3232
}

src/main/resources/widertab.mixins.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"required": true,
33
"package": "dev.redcarlos26.widertab.mixin",
4-
"compatibilityLevel": "JAVA_17",
4+
"compatibilityLevel": "JAVA_21",
55
"client": [
66
"PlayerListHudMixin"
77
],

0 commit comments

Comments
 (0)