Class TextFixes

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

public class TextFixes extends Object
Mappings:
Namespace Name
official avv
intermediary net/minecraft/class_8809
named net/minecraft/datafixer/fix/TextFixes
  • 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 <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
      official a Lavv;a:Ljava/lang/String;
      intermediary field_46246 Lnet/minecraft/class_8809;field_46246:Ljava/lang/String;
      named EMPTY_TEXT Lnet/minecraft/datafixer/fix/TextFixes;EMPTY_TEXT: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
      official a Lavv;a(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;
      named text Lnet/minecraft/datafixer/fix/TextFixes;text(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
      official a Lavv;a(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;
      named empty Lnet/minecraft/datafixer/fix/TextFixes;empty(Lcom/mojang/serialization/DynamicOps;)Lcom/mojang/serialization/Dynamic;
    • text

      private static String text(String string)
      Mappings:
      Namespace Name Mixin selector
      official a Lavv;a(Ljava/lang/String;)Ljava/lang/String;
      intermediary method_53962 Lnet/minecraft/class_8809;method_53962(Ljava/lang/String;)Ljava/lang/String;
      named text Lnet/minecraft/datafixer/fix/TextFixes;text(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
      official b Lavv;b(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;
      named translate Lnet/minecraft/datafixer/fix/TextFixes;translate(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
      official a Lavv;a(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;
      named fixText Lnet/minecraft/datafixer/fix/TextFixes;fixText(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;