Class DropInvalidSignDataFix

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

public class DropInvalidSignDataFix extends NamedEntityFix
  • Field Summary

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

    Constructors
    Constructor
    Description
    DropInvalidSignDataFix(com.mojang.datafixers.schemas.Schema p_297458_, String p_300331_, String p_300869_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.mojang.datafixers.Typed<?>
    fix(com.mojang.datafixers.Typed<?> p_297432_)
     
    private static <T> com.mojang.serialization.Dynamic<T>
    fix(com.mojang.serialization.Dynamic<T> p_297398_)
     
    private static <T> com.mojang.serialization.Dynamic<T>
    fixText(com.mojang.serialization.Dynamic<T> p_299128_)
     

    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

    • EMPTY_COMPONENT

      private static final String EMPTY_COMPONENT
    • FIELDS_TO_DROP

      private static final String[] FIELDS_TO_DROP
  • Constructor Details

    • DropInvalidSignDataFix

      public DropInvalidSignDataFix(com.mojang.datafixers.schemas.Schema p_297458_, String p_300331_, String p_300869_)
  • Method Details

    • fix

      private static <T> com.mojang.serialization.Dynamic<T> fix(com.mojang.serialization.Dynamic<T> p_297398_)
    • fixText

      private static <T> com.mojang.serialization.Dynamic<T> fixText(com.mojang.serialization.Dynamic<T> p_299128_)
    • fix

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