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_296288_, String p_294804_, String p_295913_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.mojang.datafixers.Typed<?>
    fix(com.mojang.datafixers.Typed<?> p_295043_)
     
    private static <T> com.mojang.serialization.Dynamic<T>
    fix(com.mojang.serialization.Dynamic<T> p_295232_)
     
    private static <T> com.mojang.serialization.Dynamic<T>
    fixText(com.mojang.serialization.Dynamic<T> p_296074_)
     

    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_296288_, String p_294804_, String p_295913_)
  • Method Details

    • fix

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

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

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