Class AbstractUUIDFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.AbstractUUIDFix
Direct Known Subclasses:
BlockEntityUUID, EntityUUID, ItemStackUUID, LevelUUID, PlayerUUID, SavedDataUUID

public abstract class AbstractUUIDFix extends com.mojang.datafixers.DataFix
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final org.apache.logging.log4j.Logger
     
    protected com.mojang.datafixers.DSL.TypeReference
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    AbstractUUIDFix(com.mojang.datafixers.schemas.Schema p_i231444_1_, com.mojang.datafixers.DSL.TypeReference p_i231444_2_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected static Optional<com.mojang.serialization.Dynamic<?>>
    createUUIDFromLongs(com.mojang.serialization.Dynamic<?> p_233065_0_, String p_233065_1_, String p_233065_2_)
     
    protected static Optional<com.mojang.serialization.Dynamic<?>>
    createUUIDFromML(com.mojang.serialization.Dynamic<?> p_233054_0_)
     
    protected static Optional<com.mojang.serialization.Dynamic<?>>
    createUUIDFromString(com.mojang.serialization.Dynamic<?> p_233057_0_, String p_233057_1_)
     
    protected static Optional<com.mojang.serialization.Dynamic<?>>
    createUUIDTag(com.mojang.serialization.Dynamic<?> p_233055_0_, long p_233055_1_, long p_233055_3_)
     
    protected static Optional<com.mojang.serialization.Dynamic<?>>
    replaceUUIDLeastMost(com.mojang.serialization.Dynamic<?> p_233064_0_, String p_233064_1_, String p_233064_2_)
     
    protected static Optional<com.mojang.serialization.Dynamic<?>>
    replaceUUIDMLTag(com.mojang.serialization.Dynamic<?> p_233062_0_, String p_233062_1_, String p_233062_2_)
     
    protected static Optional<com.mojang.serialization.Dynamic<?>>
    replaceUUIDString(com.mojang.serialization.Dynamic<?> p_233058_0_, String p_233058_1_, String p_233058_2_)
     
    protected com.mojang.datafixers.Typed<?>
    updateNamedChoice(com.mojang.datafixers.Typed<?> p_233053_1_, String p_233053_2_, Function<com.mojang.serialization.Dynamic<?>,com.mojang.serialization.Dynamic<?>> p_233053_3_)
     

    Methods inherited from class com.mojang.datafixers.DataFix

    checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, makeRule, onFail, writeAndRead, writeFixAndRead

    Methods inherited from class java.lang.Object

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

    • LOGGER

      protected static final org.apache.logging.log4j.Logger LOGGER
    • typeReference

      protected com.mojang.datafixers.DSL.TypeReference typeReference
  • Constructor Details

    • AbstractUUIDFix

      public AbstractUUIDFix(com.mojang.datafixers.schemas.Schema p_i231444_1_, com.mojang.datafixers.DSL.TypeReference p_i231444_2_)
  • Method Details

    • updateNamedChoice

      protected com.mojang.datafixers.Typed<?> updateNamedChoice(com.mojang.datafixers.Typed<?> p_233053_1_, String p_233053_2_, Function<com.mojang.serialization.Dynamic<?>,com.mojang.serialization.Dynamic<?>> p_233053_3_)
    • replaceUUIDString

      protected static Optional<com.mojang.serialization.Dynamic<?>> replaceUUIDString(com.mojang.serialization.Dynamic<?> p_233058_0_, String p_233058_1_, String p_233058_2_)
    • replaceUUIDMLTag

      protected static Optional<com.mojang.serialization.Dynamic<?>> replaceUUIDMLTag(com.mojang.serialization.Dynamic<?> p_233062_0_, String p_233062_1_, String p_233062_2_)
    • replaceUUIDLeastMost

      protected static Optional<com.mojang.serialization.Dynamic<?>> replaceUUIDLeastMost(com.mojang.serialization.Dynamic<?> p_233064_0_, String p_233064_1_, String p_233064_2_)
    • createUUIDFromString

      protected static Optional<com.mojang.serialization.Dynamic<?>> createUUIDFromString(com.mojang.serialization.Dynamic<?> p_233057_0_, String p_233057_1_)
    • createUUIDFromML

      protected static Optional<com.mojang.serialization.Dynamic<?>> createUUIDFromML(com.mojang.serialization.Dynamic<?> p_233054_0_)
    • createUUIDFromLongs

      protected static Optional<com.mojang.serialization.Dynamic<?>> createUUIDFromLongs(com.mojang.serialization.Dynamic<?> p_233065_0_, String p_233065_1_, String p_233065_2_)
    • createUUIDTag

      protected static Optional<com.mojang.serialization.Dynamic<?>> createUUIDTag(com.mojang.serialization.Dynamic<?> p_233055_0_, long p_233055_1_, long p_233055_3_)