Browse Source

fix cf and deprecate TextTest

Signed-off-by: shedaniel <daniel@shedaniel.me>
shedaniel 5 years ago
parent
commit
a9d365ecd0
3 changed files with 5 additions and 2 deletions
  1. 1 1
      build.gradle
  2. 1 1
      gradle.properties
  3. 3 0
      src/main/java/me/shedaniel/rei/api/TextTest.java

+ 1 - 1
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"
             }

+ 1 - 1
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

+ 3 - 0
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);