final prod version fo 1.20

This commit is contained in:
Szum123321 2023-06-04 11:54:36 +02:00
parent bb34166ba3
commit 4b4d42cda6
5 changed files with 10 additions and 12 deletions

View File

@ -7,7 +7,7 @@ sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17
archivesBaseName = project.archives_base_name archivesBaseName = project.archives_base_name
version = "${project.mod_version}-${project.minecraft_version}" version = "${project.mod_version}-${getMcMinor(project.minecraft_version)}"
group = project.maven_group group = project.maven_group
repositories { repositories {
@ -105,7 +105,7 @@ publishing {
} }
static def getMcMinor(ver) { static def getMcMinor(ver) {
String[] arr = ((String)ver).split("\\.") String[] arr = ((String)ver).split("[.-]")
if(arr.length < 2) return ver if(arr.length < 2) return ver

View File

@ -1,15 +1,15 @@
# Done to increase the memory available to gradle. # Done to increase the memory available to gradle.
org.gradle.jvmargs=-Xmx1G org.gradle.jvmargs=-Xmx1G
minecraft_version=1.20-pre1 minecraft_version=1.20-rc1
yarn_mappings=1.20-pre1+build.2 yarn_mappings=1.20-rc1+build.2
loader_version=0.14.19 loader_version=0.14.21
#Fabric api #Fabric api
fabric_version=0.80.2+1.20 fabric_version=0.83.0+1.20
#Cloth Config #Cloth Config
cloth_version=11.0.97 cloth_version=11.0.98
#ModMenu #ModMenu
modmenu_version=7.0.0-beta.2 modmenu_version=7.0.0-beta.2
@ -20,6 +20,6 @@ databreaker_version=0.2.10
pgzip_commit_hash=af5f5c297e735f3f2df7aa4eb0e19a5810b8aff6 pgzip_commit_hash=af5f5c297e735f3f2df7aa4eb0e19a5810b8aff6
# Mod Properties # Mod Properties
mod_version = 3.0.0-b mod_version = 3.0.0
maven_group = net.szum123321 maven_group = net.szum123321
archives_base_name = textile_backup archives_base_name = textile_backup

View File

@ -94,7 +94,7 @@ public class TextileLogger {
else if(level.intLevel() <= Level.WARN.intLevel()) text.formatted(Formatting.RED); else if(level.intLevel() <= Level.WARN.intLevel()) text.formatted(Formatting.RED);
else text.formatted(Formatting.WHITE); else text.formatted(Formatting.WHITE);
source.sendFeedback(prefixText.copy().append(text), false); source.sendFeedback(() -> prefixText.copy().append(text), false);
return true; return true;
} else { } else {

View File

@ -115,8 +115,6 @@ public class ConfigPOJO implements ConfigData {
\nAvailable formats are: \nAvailable formats are:
ZIP - normal zip archive using standard deflate compression ZIP - normal zip archive using standard deflate compression
GZIP - tar.gz using gzip compression GZIP - tar.gz using gzip compression
BZIP2 - tar.bz2 archive using bzip2 compression
LZMA - tar.xz using lzma compression
TAR - .tar with no compression TAR - .tar with no compression
""") """)
@ConfigEntry.Gui.Tooltip() @ConfigEntry.Gui.Tooltip()

View File

@ -40,7 +40,7 @@
"depends": { "depends": {
"fabricloader": ">=0.14.0", "fabricloader": ">=0.14.0",
"fabric": "*", "fabric": "*",
"minecraft": "1.20-beta.1", "minecraft": "^1.20-",
"cloth-config2": "*", "cloth-config2": "*",
"java": ">=16" "java": ">=16"
}, },