Package net.minecraft.util.datafix.fixes
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 org.apache.logging.log4j.Logger
LOGGER
protected com.mojang.datafixers.DSL.TypeReference
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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static java.util.Optional<com.mojang.serialization.Dynamic<?>>
createUUIDFromLongs(com.mojang.serialization.Dynamic<?> p_233065_0_, java.lang.String p_233065_1_, java.lang.String p_233065_2_)
protected static java.util.Optional<com.mojang.serialization.Dynamic<?>>
createUUIDFromML(com.mojang.serialization.Dynamic<?> p_233054_0_)
protected static java.util.Optional<com.mojang.serialization.Dynamic<?>>
createUUIDFromString(com.mojang.serialization.Dynamic<?> p_233057_0_, java.lang.String p_233057_1_)
protected static java.util.Optional<com.mojang.serialization.Dynamic<?>>
createUUIDTag(com.mojang.serialization.Dynamic<?> p_233055_0_, long p_233055_1_, long p_233055_3_)
protected static java.util.Optional<com.mojang.serialization.Dynamic<?>>
replaceUUIDLeastMost(com.mojang.serialization.Dynamic<?> p_233064_0_, java.lang.String p_233064_1_, java.lang.String p_233064_2_)
protected static java.util.Optional<com.mojang.serialization.Dynamic<?>>
replaceUUIDMLTag(com.mojang.serialization.Dynamic<?> p_233062_0_, java.lang.String p_233062_1_, java.lang.String p_233062_2_)
protected static java.util.Optional<com.mojang.serialization.Dynamic<?>>
replaceUUIDString(com.mojang.serialization.Dynamic<?> p_233058_0_, java.lang.String p_233058_1_, java.lang.String p_233058_2_)
protected com.mojang.datafixers.Typed<?>
updateNamedChoice(com.mojang.datafixers.Typed<?> p_233053_1_, java.lang.String p_233053_2_, java.util.function.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
-
-
-
-
Method Detail
-
updateNamedChoice
protected com.mojang.datafixers.Typed<?> updateNamedChoice(com.mojang.datafixers.Typed<?> p_233053_1_, java.lang.String p_233053_2_, java.util.function.Function<com.mojang.serialization.Dynamic<?>,com.mojang.serialization.Dynamic<?>> p_233053_3_)
-
replaceUUIDString
protected static java.util.Optional<com.mojang.serialization.Dynamic<?>> replaceUUIDString(com.mojang.serialization.Dynamic<?> p_233058_0_, java.lang.String p_233058_1_, java.lang.String p_233058_2_)
-
replaceUUIDMLTag
protected static java.util.Optional<com.mojang.serialization.Dynamic<?>> replaceUUIDMLTag(com.mojang.serialization.Dynamic<?> p_233062_0_, java.lang.String p_233062_1_, java.lang.String p_233062_2_)
-
replaceUUIDLeastMost
protected static java.util.Optional<com.mojang.serialization.Dynamic<?>> replaceUUIDLeastMost(com.mojang.serialization.Dynamic<?> p_233064_0_, java.lang.String p_233064_1_, java.lang.String p_233064_2_)
-
createUUIDFromString
protected static java.util.Optional<com.mojang.serialization.Dynamic<?>> createUUIDFromString(com.mojang.serialization.Dynamic<?> p_233057_0_, java.lang.String p_233057_1_)
-
createUUIDFromML
protected static java.util.Optional<com.mojang.serialization.Dynamic<?>> createUUIDFromML(com.mojang.serialization.Dynamic<?> p_233054_0_)
-
createUUIDFromLongs
protected static java.util.Optional<com.mojang.serialization.Dynamic<?>> createUUIDFromLongs(com.mojang.serialization.Dynamic<?> p_233065_0_, java.lang.String p_233065_1_, java.lang.String p_233065_2_)
-
createUUIDTag
protected static java.util.Optional<com.mojang.serialization.Dynamic<?>> createUUIDTag(com.mojang.serialization.Dynamic<?> p_233055_0_, long p_233055_1_, long p_233055_3_)
-
-