Class UpdateSignTextFormatFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.ChoiceFix
net.minecraft.datafixer.fix.UpdateSignTextFormatFix

public class UpdateSignTextFormatFix extends ChoiceFix
Mappings:
Namespace Name
official ara
intermediary net/minecraft/class_8221
named net/minecraft/datafixer/fix/UpdateSignTextFormatFix
  • Constructor Summary

    Constructors
    Constructor
    Description
    UpdateSignTextFormatFix(com.mojang.datafixers.schemas.Schema outputSchema, String name, String blockEntityId)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private static String
     
    protected com.mojang.datafixers.Typed<?>
    transform(com.mojang.datafixers.Typed<?> inputType)
    private static <T> com.mojang.serialization.Dynamic<T>
    updateBackText(com.mojang.serialization.Dynamic<T> dynamic)
     
    private static <T> com.mojang.serialization.Dynamic<T>
    updateFrontText(com.mojang.serialization.Dynamic<T> dynamic, String textKey)
     
    private static com.mojang.serialization.Dynamic<?>
    updateSignTextFormat(com.mojang.serialization.Dynamic<?> dynamic)
     

    Methods inherited from class net.minecraft.datafixer.fix.ChoiceFix

    makeRule

    Methods inherited from class com.mojang.datafixers.DataFix

    checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead

    Methods inherited from class java.lang.Object

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

    • UpdateSignTextFormatFix

      public UpdateSignTextFormatFix(com.mojang.datafixers.schemas.Schema outputSchema, String name, String blockEntityId)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lara;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_8221;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/lang/String;)V
      named <init> Lnet/minecraft/datafixer/fix/UpdateSignTextFormatFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/lang/String;)V
  • Method Details

    • updateSignTextFormat

      private static com.mojang.serialization.Dynamic<?> updateSignTextFormat(com.mojang.serialization.Dynamic<?> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official a Lara;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_49760 Lnet/minecraft/class_8221;method_49760(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      named updateSignTextFormat Lnet/minecraft/datafixer/fix/UpdateSignTextFormatFix;updateSignTextFormat(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • updateFrontText

      private static <T> com.mojang.serialization.Dynamic<T> updateFrontText(com.mojang.serialization.Dynamic<T> dynamic, String textKey)
      Mappings:
      Namespace Name Mixin selector
      official a Lara;a(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
      intermediary method_49761 Lnet/minecraft/class_8221;method_49761(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
      named updateFrontText Lnet/minecraft/datafixer/fix/UpdateSignTextFormatFix;updateFrontText(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
    • updateBackText

      private static <T> com.mojang.serialization.Dynamic<T> updateBackText(com.mojang.serialization.Dynamic<T> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official b Lara;b(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_49762 Lnet/minecraft/class_8221;method_49762(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      named updateBackText Lnet/minecraft/datafixer/fix/UpdateSignTextFormatFix;updateBackText(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • getEmptyText

      private static String getEmptyText()
      Mappings:
      Namespace Name Mixin selector
      official a Lara;a()Ljava/lang/String;
      intermediary method_49759 Lnet/minecraft/class_8221;method_49759()Ljava/lang/String;
      named getEmptyText Lnet/minecraft/datafixer/fix/UpdateSignTextFormatFix;getEmptyText()Ljava/lang/String;
    • transform

      protected com.mojang.datafixers.Typed<?> transform(com.mojang.datafixers.Typed<?> inputType)
      Specified by:
      transform in class ChoiceFix
      Mappings:
      Namespace Name Mixin selector
      official a Lauz;a(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
      intermediary method_5105 Lnet/minecraft/class_1197;method_5105(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
      named transform Lnet/minecraft/datafixer/fix/ChoiceFix;transform(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;