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 aty
intermediary net/minecraft/class_8221
named net/minecraft/datafixer/fix/UpdateSignTextFormatFix
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final String
     
    private static final String
     
    static final String
     
  • 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 <T> com.mojang.serialization.Dynamic<T>
    emptySignData(com.mojang.serialization.Dynamic<T> signData)
     
    private static <T> Stream<Optional<com.mojang.serialization.Dynamic<T>>>
    streamKeys(com.mojang.serialization.Dynamic<T> signData, String prefix)
     
    protected com.mojang.datafixers.Typed<?>
    transform(com.mojang.datafixers.Typed<?> inputType)
    private static <T> com.mojang.serialization.Dynamic<T>
    updateBack(com.mojang.serialization.Dynamic<T> signData)
     
    private static <T> com.mojang.serialization.Dynamic<T>
    updateFront(com.mojang.serialization.Dynamic<T> signData)
     
    private static <T> com.mojang.serialization.Dynamic<T>
    updateSignTextFormat(com.mojang.serialization.Dynamic<T> signData)
     

    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
  • Field Details

    • FILTERED_CORRECT

      public static final String FILTERED_CORRECT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Laty;a:Ljava/lang/String;
      intermediary field_45085 Lnet/minecraft/class_8221;field_45085:Ljava/lang/String;
      named FILTERED_CORRECT Lnet/minecraft/datafixer/fix/UpdateSignTextFormatFix;FILTERED_CORRECT:Ljava/lang/String;
    • DEFAULT_COLOR

      private static final String DEFAULT_COLOR
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Laty;b:Ljava/lang/String;
      intermediary field_45086 Lnet/minecraft/class_8221;field_45086:Ljava/lang/String;
      named DEFAULT_COLOR Lnet/minecraft/datafixer/fix/UpdateSignTextFormatFix;DEFAULT_COLOR:Ljava/lang/String;
    • EMPTY_TEXT_JSON

      private static final String EMPTY_TEXT_JSON
      Mappings:
      Namespace Name Mixin selector
      official c Laty;c:Ljava/lang/String;
      intermediary field_45087 Lnet/minecraft/class_8221;field_45087:Ljava/lang/String;
      named EMPTY_TEXT_JSON Lnet/minecraft/datafixer/fix/UpdateSignTextFormatFix;EMPTY_TEXT_JSON:Ljava/lang/String;
  • Constructor Details

    • UpdateSignTextFormatFix

      public UpdateSignTextFormatFix(com.mojang.datafixers.schemas.Schema outputSchema, String name, String blockEntityId)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laty;<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 <T> com.mojang.serialization.Dynamic<T> updateSignTextFormat(com.mojang.serialization.Dynamic<T> signData)
      Mappings:
      Namespace Name Mixin selector
      official a Laty;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;
    • updateFront

      private static <T> com.mojang.serialization.Dynamic<T> updateFront(com.mojang.serialization.Dynamic<T> signData)
      Mappings:
      Namespace Name Mixin selector
      official b Laty;b(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_52472 Lnet/minecraft/class_8221;method_52472(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      named updateFront Lnet/minecraft/datafixer/fix/UpdateSignTextFormatFix;updateFront(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • streamKeys

      private static <T> Stream<Optional<com.mojang.serialization.Dynamic<T>>> streamKeys(com.mojang.serialization.Dynamic<T> signData, String prefix)
      Mappings:
      Namespace Name Mixin selector
      official a Laty;a(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Ljava/util/stream/Stream;
      intermediary method_52469 Lnet/minecraft/class_8221;method_52469(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Ljava/util/stream/Stream;
      named streamKeys Lnet/minecraft/datafixer/fix/UpdateSignTextFormatFix;streamKeys(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Ljava/util/stream/Stream;
    • updateBack

      private static <T> com.mojang.serialization.Dynamic<T> updateBack(com.mojang.serialization.Dynamic<T> signData)
      Mappings:
      Namespace Name Mixin selector
      official c Laty;c(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_52473 Lnet/minecraft/class_8221;method_52473(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      named updateBack Lnet/minecraft/datafixer/fix/UpdateSignTextFormatFix;updateBack(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • emptySignData

      private static <T> com.mojang.serialization.Dynamic<T> emptySignData(com.mojang.serialization.Dynamic<T> signData)
      Mappings:
      Namespace Name Mixin selector
      official d Laty;d(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_52474 Lnet/minecraft/class_8221;method_52474(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      named emptySignData Lnet/minecraft/datafixer/fix/UpdateSignTextFormatFix;emptySignData(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • 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 Laxz;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;