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
Modifier and TypeFieldDescriptionprotected static final org.apache.logging.log4j.Logger
protected com.mojang.datafixers.DSL.TypeReference
-
Constructor Summary
ConstructorDescriptionAbstractUUIDFix
(com.mojang.datafixers.schemas.Schema p_i231444_1_, com.mojang.datafixers.DSL.TypeReference p_i231444_2_) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
-
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
-
replaceUUIDString
-
replaceUUIDMLTag
-
replaceUUIDLeastMost
-
createUUIDFromString
-
createUUIDFromML
protected static Optional<com.mojang.serialization.Dynamic<?>> createUUIDFromML(com.mojang.serialization.Dynamic<?> p_233054_0_) -
createUUIDFromLongs
-
createUUIDTag
protected static Optional<com.mojang.serialization.Dynamic<?>> createUUIDTag(com.mojang.serialization.Dynamic<?> p_233055_0_, long p_233055_1_, long p_233055_3_)
-