Class TextFixes

java.lang.Object
net.minecraft.datafixer.fix.TextFixes

public class TextFixes extends Object
Mappings:
Namespace Name
named net/minecraft/datafixer/fix/TextFixes
intermediary net/minecraft/class_8809
official bbr
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static <T> com.mojang.serialization.Dynamic<T>
    empty(com.mojang.serialization.DynamicOps<T> ops)
     
    static <T> com.mojang.serialization.Dynamic<T>
    fixText(com.mojang.serialization.Dynamic<T> dynamic)
     
     
    static com.mojang.serialization.Dynamic<?>
    text(com.mojang.serialization.Dynamic<?> dynamic)
     
    static <T> com.mojang.serialization.Dynamic<T>
    text(com.mojang.serialization.DynamicOps<T> ops, String string)
     
    private static String
    text(String string)
     
    static <T> com.mojang.serialization.Dynamic<T>
    translate(com.mojang.serialization.DynamicOps<T> ops, String key)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • EMPTY_TEXT

      private static final String EMPTY_TEXT
      Mappings:
      Namespace Name Mixin selector
      named EMPTY_TEXT Lnet/minecraft/datafixer/fix/TextFixes;EMPTY_TEXT:Ljava/lang/String;
      intermediary field_46246 Lnet/minecraft/class_8809;field_46246:Ljava/lang/String;
      official a Lbbr;a:Ljava/lang/String;
  • Constructor Details

    • TextFixes

      public TextFixes()
  • Method Details

    • text

      public static <T> com.mojang.serialization.Dynamic<T> text(com.mojang.serialization.DynamicOps<T> ops, String string)
      Mappings:
      Namespace Name Mixin selector
      named text Lnet/minecraft/datafixer/fix/TextFixes;text(Lcom/mojang/serialization/DynamicOps;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
      intermediary method_53961 Lnet/minecraft/class_8809;method_53961(Lcom/mojang/serialization/DynamicOps;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
      official a Lbbr;a(Lcom/mojang/serialization/DynamicOps;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
    • empty

      public static <T> com.mojang.serialization.Dynamic<T> empty(com.mojang.serialization.DynamicOps<T> ops)
      Mappings:
      Namespace Name Mixin selector
      named empty Lnet/minecraft/datafixer/fix/TextFixes;empty(Lcom/mojang/serialization/DynamicOps;)Lcom/mojang/serialization/Dynamic;
      intermediary method_53960 Lnet/minecraft/class_8809;method_53960(Lcom/mojang/serialization/DynamicOps;)Lcom/mojang/serialization/Dynamic;
      official a Lbbr;a(Lcom/mojang/serialization/DynamicOps;)Lcom/mojang/serialization/Dynamic;
    • text

      private static String text(String string)
      Mappings:
      Namespace Name Mixin selector
      named text Lnet/minecraft/datafixer/fix/TextFixes;text(Ljava/lang/String;)Ljava/lang/String;
      intermediary method_53962 Lnet/minecraft/class_8809;method_53962(Ljava/lang/String;)Ljava/lang/String;
      official b Lbbr;b(Ljava/lang/String;)Ljava/lang/String;
    • translate

      public static <T> com.mojang.serialization.Dynamic<T> translate(com.mojang.serialization.DynamicOps<T> ops, String key)
      Mappings:
      Namespace Name Mixin selector
      named translate Lnet/minecraft/datafixer/fix/TextFixes;translate(Lcom/mojang/serialization/DynamicOps;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
      intermediary method_53963 Lnet/minecraft/class_8809;method_53963(Lcom/mojang/serialization/DynamicOps;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
      official b Lbbr;b(Lcom/mojang/serialization/DynamicOps;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
    • fixText

      public static <T> com.mojang.serialization.Dynamic<T> fixText(com.mojang.serialization.Dynamic<T> dynamic)
      Mappings:
      Namespace Name Mixin selector
      named fixText Lnet/minecraft/datafixer/fix/TextFixes;fixText(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_53958 Lnet/minecraft/class_8809;method_53958(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      official a Lbbr;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • text

      public static com.mojang.serialization.Dynamic<?> text(com.mojang.serialization.Dynamic<?> dynamic)
      Mappings:
      Namespace Name Mixin selector
      named text Lnet/minecraft/datafixer/fix/TextFixes;text(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_56629 Lnet/minecraft/class_8809;method_56629(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      official b Lbbr;b(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • getTranslate

      public static Optional<String> getTranslate(String json)
      Mappings:
      Namespace Name Mixin selector
      named getTranslate Lnet/minecraft/datafixer/fix/TextFixes;getTranslate(Ljava/lang/String;)Ljava/util/Optional;
      intermediary method_58596 Lnet/minecraft/class_8809;method_58596(Ljava/lang/String;)Ljava/util/Optional;
      official a Lbbr;a(Ljava/lang/String;)Ljava/util/Optional;