Skip to content

Commit

Permalink
Update to 1.20.5
Browse files Browse the repository at this point in the history
  • Loading branch information
RedCarlos26 committed Apr 27, 2024
1 parent bccb252 commit 771c5cb
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 17 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![GitHub license](https://img.shields.io/github/license/RedCarlos26/wider-tab?style=flat-square)](https://github.com/RedCarlos26/WiderTab/blob/main/LICENCE)
![Environment: Client](https://img.shields.io/badge/environment-Client-1976d2?style=flat-square)
[![Mod loader: Fabric]][fabric] <!-- modrinth_exclude.start -->
![Version](https://img.shields.io/badge/version-1.0.0+1.20.4-blue?style=flat-square)
![Version](https://img.shields.io/badge/version-1.0.0+1.20.5-blue?style=flat-square)
<!-- modrinth_exclude.end -->


Expand Down
20 changes: 16 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
plugins {
id 'fabric-loom' version '1.5-SNAPSHOT'
id 'fabric-loom' version '1.6-SNAPSHOT'
}

sourceCompatibility = targetCompatibility = JavaVersion.VERSION_17

archivesBaseName = project.archives_base_name
version = project.mod_version
group = project.maven_group
Expand All @@ -20,11 +18,25 @@ dependencies {
}

processResources {
def propertyMap = [
"version" : project.version,
"minecraft_version": project.minecraft_version,
"loader_version" : project.loader_version
]

inputs.properties(propertyMap)
filesMatching("fabric.mod.json") {
expand "version": project.version, "mc_version": project.minecraft_version
expand(propertyMap)
}
}

java {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21

withSourcesJar()
}

tasks.withType(JavaCompile).configureEach {
it.options.encoding("UTF-8")
}
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
org.gradle.jvmargs=-Xmx2G

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

# Mod Properties
mod_version=1.0.0+1.20.4
mod_version=1.0.0+1.20.5
maven_group=dev.redcarlos26
archives_base_name=widertab
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
4 changes: 2 additions & 2 deletions src/main/java/dev/redcarlos26/widertab/WiderTab.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ public void onInitializeClient() {
}

public void log(String info) {
this.logger.info("[WiderTab] " + info);
this.logger.info("[WiderTab] {}", info);
}

public void warn(String info) {
this.logger.warn("[WiderTab] " + info);
this.logger.warn("[WiderTab] {}", info);
}

public static WiderTab get() {
Expand Down
8 changes: 4 additions & 4 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"schemaVersion": 1,
"id": "widertab",
"name": "WiderTab",
"version": "1.0.0+1.20.4",
"version": "1.0.0+1.20.5",
"description": "Extends the tablist to fit more players.",
"authors": [
"RedCarlos26"
Expand All @@ -25,8 +25,8 @@
"widertab.mixins.json"
],
"depends": {
"fabricloader": ">=0.15.0",
"minecraft": "1.20.4",
"java": ">=17"
"java": ">=21",
"minecraft": "${minecraft_version}",
"fabricloader": ">=${loader_version}"
}
}
2 changes: 1 addition & 1 deletion src/main/resources/widertab.mixins.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"required": true,
"package": "dev.redcarlos26.widertab.mixin",
"compatibilityLevel": "JAVA_17",
"compatibilityLevel": "JAVA_21",
"client": [
"PlayerListHudMixin"
],
Expand Down

0 comments on commit 771c5cb

Please sign in to comment.