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 com.google.common.escape.Escaper
     
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    protected <T> com.mojang.serialization.Dynamic<T>
    fixComponent(com.mojang.serialization.Dynamic<T> p_376828_)
     
    static <T> com.mojang.serialization.Dynamic<T>
    fixLock(com.mojang.serialization.Dynamic<T> p_376818_)
     

    Methods inherited from class net.minecraft.util.datafix.fixes.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 java.lang.Object

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

    • ESCAPER

      public static final com.google.common.escape.Escaper ESCAPER
  • Constructor Details

    • LockComponentPredicateFix

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

    • fixComponent

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

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