Class LockComponentPredicateFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.DataComponentRemainderFix
net.minecraft.util.datafix.fixes.LockComponentPredicateFix

public class LockComponentPredicateFix extends DataComponentRemainderFix
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Escaper
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    LockComponentPredicateFix(com.mojang.datafixers.schemas.Schema outputSchema)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected <T> @Nullable com.mojang.serialization.Dynamic<T>
    fixComponent(com.mojang.serialization.Dynamic<T> input)
     
    static <T> @Nullable com.mojang.serialization.Dynamic<T>
    fixLock(com.mojang.serialization.Dynamic<T> input)
     

    Methods inherited from class DataComponentRemainderFix

    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 Object

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

    • ESCAPER

      public static final Escaper ESCAPER
  • Constructor Details

    • LockComponentPredicateFix

      public LockComponentPredicateFix(com.mojang.datafixers.schemas.Schema outputSchema)
  • Method Details

    • fixComponent

      protected <T> @Nullable com.mojang.serialization.Dynamic<T> fixComponent(com.mojang.serialization.Dynamic<T> input)
      Specified by:
      fixComponent in class DataComponentRemainderFix
    • fixLock

      public static <T> @Nullable com.mojang.serialization.Dynamic<T> fixLock(com.mojang.serialization.Dynamic<T> input)