aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2020-06-06 20:05:16 +0800
committershedaniel <daniel@shedaniel.me>2020-06-06 20:05:16 +0800
commitaaafd4655fbf078f4b2231abc58d01e2a831adaa (patch)
tree8c7164f74629ff723d6a836664d6a647534566fd
parent821930bbaab21c8257cd1e5638f4499f9403244e (diff)
downloadRoughlyEnoughItems-aaafd4655fbf078f4b2231abc58d01e2a831adaa.tar.gz
RoughlyEnoughItems-aaafd4655fbf078f4b2231abc58d01e2a831adaa.tar.bz2
RoughlyEnoughItems-aaafd4655fbf078f4b2231abc58d01e2a831adaa.zip
fix cf and deprecate TextTest
Signed-off-by: shedaniel <daniel@shedaniel.me>
-rwxr-xr-xbuild.gradle2
-rw-r--r--gradle.properties2
-rw-r--r--src/main/java/me/shedaniel/rei/api/TextTest.java3
3 files changed, 5 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle
index 63d1eac01..7c7b1ede7 100755
--- a/build.gradle
+++ b/build.gradle
@@ -175,7 +175,7 @@ curseforge {
addGameVersion "Fabric"
relations {
requiredDependency "fabric-api"
- embeddedLibrary "cloth"
+ embeddedLibrary "cloth-api"
embeddedLibrary "cloth-config"
embeddedLibrary "auto-config-updated-api"
}
diff --git a/gradle.properties b/gradle.properties
index 788016f28..0cdd1209a 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,5 +1,5 @@
org.gradle.jvmargs=-Xmx3G
-mod_version=4.4.0
+mod_version=4.4.1
supported_version=1.16-pre1/2
minecraft_version=1.16-pre2
yarn_version=1.16-pre2+build.2+legacy.20w09a+build.8
diff --git a/src/main/java/me/shedaniel/rei/api/TextTest.java b/src/main/java/me/shedaniel/rei/api/TextTest.java
index 9b8b4b031..ab5289f78 100644
--- a/src/main/java/me/shedaniel/rei/api/TextTest.java
+++ b/src/main/java/me/shedaniel/rei/api/TextTest.java
@@ -26,7 +26,10 @@ package me.shedaniel.rei.api;
import net.minecraft.text.LiteralText;
import net.minecraft.text.MutableText;
import net.minecraft.util.Formatting;
+import org.jetbrains.annotations.ApiStatus;
+@ApiStatus.ScheduledForRemoval(inVersion = "1.17")
+@Deprecated
public class TextTest {
public static void main(String[] args) {
MutableText text = new LiteralText("adaw").append("dawdwdaw").formatted(Formatting.RED);