Package net.minecraft.util.datafix.fixes
Class AbstractUUIDFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.AbstractUUIDFix
- Direct Known Subclasses:
BlockEntityUUIDFix
,EntityUUIDFix
,ItemStackUUIDFix
,LevelUUIDFix
,PlayerUUIDFix
,SavedDataUUIDFix
public abstract class AbstractUUIDFix
extends com.mojang.datafixers.DataFix
-
Field Summary
Modifier and TypeFieldDescriptionprotected static org.apache.logging.log4j.Logger
protected com.mojang.datafixers.DSL.TypeReference
-
Constructor Summary
ConstructorDescriptionAbstractUUIDFix(com.mojang.datafixers.schemas.Schema p_14572_, com.mojang.datafixers.DSL.TypeReference p_14573_)
-
Method Summary
Modifier and TypeMethodDescriptionprotected static Optional<com.mojang.serialization.Dynamic<?>>
createUUIDFromLongs(com.mojang.serialization.Dynamic<?> p_14622_, String p_14623_, String p_14624_)
protected static Optional<com.mojang.serialization.Dynamic<?>>
createUUIDFromML(com.mojang.serialization.Dynamic<?> p_14579_)
protected static Optional<com.mojang.serialization.Dynamic<?>>
createUUIDFromString(com.mojang.serialization.Dynamic<?> p_14588_, String p_14589_)
protected static Optional<com.mojang.serialization.Dynamic<?>>
createUUIDTag(com.mojang.serialization.Dynamic<?> p_14581_, long p_14582_, long p_14583_)
protected static Optional<com.mojang.serialization.Dynamic<?>>
replaceUUIDLeastMost(com.mojang.serialization.Dynamic<?> p_14618_, String p_14619_, String p_14620_)
protected static Optional<com.mojang.serialization.Dynamic<?>>
replaceUUIDMLTag(com.mojang.serialization.Dynamic<?> p_14609_, String p_14610_, String p_14611_)
protected static Optional<com.mojang.serialization.Dynamic<?>>
replaceUUIDString(com.mojang.serialization.Dynamic<?> p_14591_, String p_14592_, String p_14593_)
protected com.mojang.datafixers.Typed<?>
updateNamedChoice(com.mojang.datafixers.Typed<?> p_14575_, String p_14576_, Function<com.mojang.serialization.Dynamic<?>,com.mojang.serialization.Dynamic<?>> p_14577_)
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_14572_, com.mojang.datafixers.DSL.TypeReference p_14573_)
-
-
Method Details
-
updateNamedChoice
-
replaceUUIDString
-
replaceUUIDMLTag
-
replaceUUIDLeastMost
-
createUUIDFromString
-
createUUIDFromML
protected static Optional<com.mojang.serialization.Dynamic<?>> createUUIDFromML(com.mojang.serialization.Dynamic<?> p_14579_) -
createUUIDFromLongs
-
createUUIDTag
protected static Optional<com.mojang.serialization.Dynamic<?>> createUUIDTag(com.mojang.serialization.Dynamic<?> p_14581_, long p_14582_, long p_14583_)
-