Commit 771c5cb 1 parent bccb252 commit 771c5cb Copy full SHA for 771c5cb
File tree 7 files changed +29
-17
lines changed
java/dev/redcarlos26/widertab
7 files changed +29
-17
lines changed Original file line number Diff line number Diff line change 3
3
[ ![ GitHub license] ( https://img.shields.io/github/license/RedCarlos26/wider-tab?style=flat-square )] ( https://github.com/RedCarlos26/WiderTab/blob/main/LICENCE )
4
4
![ Environment: Client] ( https://img.shields.io/badge/environment-Client-1976d2?style=flat-square )
5
5
[ ![ 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 )
7
7
<!-- modrinth_exclude.end -->
8
8
9
9
Original file line number Diff line number Diff line change 1
1
plugins {
2
- id ' fabric-loom' version ' 1.5 -SNAPSHOT'
2
+ id ' fabric-loom' version ' 1.6 -SNAPSHOT'
3
3
}
4
4
5
- sourceCompatibility = targetCompatibility = JavaVersion . VERSION_17
6
-
7
5
archivesBaseName = project. archives_base_name
8
6
version = project. mod_version
9
7
group = project. maven_group
@@ -20,11 +18,25 @@ dependencies {
20
18
}
21
19
22
20
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)
23
28
filesMatching(" fabric.mod.json" ) {
24
- expand " version " : project . version, " mc_version " : project . minecraft_version
29
+ expand(propertyMap)
25
30
}
26
31
}
27
32
33
+ java {
34
+ sourceCompatibility = JavaVersion . VERSION_21
35
+ targetCompatibility = JavaVersion . VERSION_21
36
+
37
+ withSourcesJar()
38
+ }
39
+
28
40
tasks. withType(JavaCompile ). configureEach {
29
41
it. options. encoding(" UTF-8" )
30
42
}
Original file line number Diff line number Diff line change 1
1
org.gradle.jvmargs =-Xmx2G
2
2
3
3
# 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
7
7
8
8
# Mod Properties
9
- mod_version =1.0.0+1.20.4
9
+ mod_version =1.0.0+1.20.5
10
10
maven_group =dev.redcarlos26
11
11
archives_base_name =widertab
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
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
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ public void onInitializeClient() {
25
25
}
26
26
27
27
public void log (String info ) {
28
- this .logger .info ("[WiderTab] " + info );
28
+ this .logger .info ("[WiderTab] {}" , info );
29
29
}
30
30
31
31
public void warn (String info ) {
32
- this .logger .warn ("[WiderTab] " + info );
32
+ this .logger .warn ("[WiderTab] {}" , info );
33
33
}
34
34
35
35
public static WiderTab get () {
Original file line number Diff line number Diff line change 2
2
"schemaVersion" : 1 ,
3
3
"id" : " widertab" ,
4
4
"name" : " WiderTab" ,
5
- "version" : " 1.0.0+1.20.4 " ,
5
+ "version" : " 1.0.0+1.20.5 " ,
6
6
"description" : " Extends the tablist to fit more players." ,
7
7
"authors" : [
8
8
" RedCarlos26"
25
25
" widertab.mixins.json"
26
26
],
27
27
"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} "
31
31
}
32
32
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"required" : true ,
3
3
"package" : " dev.redcarlos26.widertab.mixin" ,
4
- "compatibilityLevel" : " JAVA_17 " ,
4
+ "compatibilityLevel" : " JAVA_21 " ,
5
5
"client" : [
6
6
" PlayerListHudMixin"
7
7
],
You can’t perform that action at this time.
0 commit comments