Class BlockEntitySignDoubleSidedEditableTextFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.NamedEntityFix
net.minecraft.util.datafix.fixes.BlockEntitySignDoubleSidedEditableTextFix

public class BlockEntitySignDoubleSidedEditableTextFix extends NamedEntityFix
  • Field Summary

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

    Constructors
    Constructor
    Description
    BlockEntitySignDoubleSidedEditableTextFix(com.mojang.datafixers.schemas.Schema p_277789_, String p_278061_, String p_277403_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private static <T> com.mojang.serialization.Dynamic<T>
    createDefaultText(com.mojang.serialization.Dynamic<T> p_299439_)
     
    private static <T> com.mojang.serialization.Dynamic<T>
    createEmptyLines(com.mojang.serialization.Dynamic<T> p_299579_)
     
    protected com.mojang.datafixers.Typed<?>
    fix(com.mojang.datafixers.Typed<?> p_277962_)
     
    private static <T> com.mojang.serialization.Dynamic<T>
    fixFrontTextTag(com.mojang.serialization.Dynamic<T> p_300654_)
     
    private static <T> com.mojang.serialization.Dynamic<T>
    fixTag(com.mojang.serialization.Dynamic<T> p_278110_)
     
    private static <T> Stream<Optional<com.mojang.serialization.Dynamic<T>>>
    getLines(com.mojang.serialization.Dynamic<T> p_298173_, String p_299789_)
     

    Methods inherited from class net.minecraft.util.datafix.fixes.NamedEntityFix

    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

  • Constructor Details

    • BlockEntitySignDoubleSidedEditableTextFix

      public BlockEntitySignDoubleSidedEditableTextFix(com.mojang.datafixers.schemas.Schema p_277789_, String p_278061_, String p_277403_)
  • Method Details

    • fixTag

      private static <T> com.mojang.serialization.Dynamic<T> fixTag(com.mojang.serialization.Dynamic<T> p_278110_)
    • fixFrontTextTag

      private static <T> com.mojang.serialization.Dynamic<T> fixFrontTextTag(com.mojang.serialization.Dynamic<T> p_300654_)
    • getLines

      private static <T> Stream<Optional<com.mojang.serialization.Dynamic<T>>> getLines(com.mojang.serialization.Dynamic<T> p_298173_, String p_299789_)
    • createDefaultText

      private static <T> com.mojang.serialization.Dynamic<T> createDefaultText(com.mojang.serialization.Dynamic<T> p_299439_)
    • createEmptyLines

      private static <T> com.mojang.serialization.Dynamic<T> createEmptyLines(com.mojang.serialization.Dynamic<T> p_299579_)
    • fix

      protected com.mojang.datafixers.Typed<?> fix(com.mojang.datafixers.Typed<?> p_277962_)
      Specified by:
      fix in class NamedEntityFix