Package net.minecraft.datafixer.fix
Class AbstractUuidFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.AbstractUuidFix
- Direct Known Subclasses:
BlockEntityUuidFix
,EntityUuidFix
,ItemStackUuidFix
,PersistentStateUuidFix
,PlayerUuidFix
,WorldUuidFix
public abstract class AbstractUuidFix
extends com.mojang.datafixers.DataFix
- Mappings:
Namespace Name official aht
intermediary net/minecraft/class_4958
named net/minecraft/datafixer/fix/AbstractUuidFix
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final Logger
protected com.mojang.datafixers.DSL.TypeReference
-
Constructor Summary
ConstructorDescriptionAbstractUuidFix
(com.mojang.datafixers.schemas.Schema outputSchema, com.mojang.datafixers.DSL.TypeReference typeReference) -
Method Summary
Modifier and TypeMethodDescriptionprotected static Optional<com.mojang.serialization.Dynamic<?>>
createArray
(com.mojang.serialization.Dynamic<?> dynamic, long mostBits, long leastBits) protected static Optional<com.mojang.serialization.Dynamic<?>>
createArrayFromCompoundUuid
(com.mojang.serialization.Dynamic<?> dynamic) protected static Optional<com.mojang.serialization.Dynamic<?>>
createArrayFromMostLeastTags
(com.mojang.serialization.Dynamic<?> dynamic, String mostBitsKey, String leastBitsKey) protected static Optional<com.mojang.serialization.Dynamic<?>>
createArrayFromStringUuid
(com.mojang.serialization.Dynamic<?> dynamic, String key) protected static Optional<com.mojang.serialization.Dynamic<?>>
updateCompoundUuid
(com.mojang.serialization.Dynamic<?> dynamic, String oldKey, String newKey) protected static Optional<com.mojang.serialization.Dynamic<?>>
updateRegularMostLeast
(com.mojang.serialization.Dynamic<?> dynamic, String oldKey, String newKey) protected static Optional<com.mojang.serialization.Dynamic<?>>
updateStringUuid
(com.mojang.serialization.Dynamic<?> dynamic, String oldKey, String newKey) protected com.mojang.datafixers.Typed<?>
updateTyped
(com.mojang.datafixers.Typed<?> typed, String name, Function<com.mojang.serialization.Dynamic<?>, com.mojang.serialization.Dynamic<?>> updater) 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
- Mappings:
Namespace Name Mixin selector official a
Laht;a:Lorg/apache/logging/log4j/Logger;
intermediary field_23120
Lnet/minecraft/class_4958;field_23120:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/datafixer/fix/AbstractUuidFix;LOGGER:Lorg/apache/logging/log4j/Logger;
-
typeReference
protected com.mojang.datafixers.DSL.TypeReference typeReference- Mappings:
Namespace Name Mixin selector official b
Laht;b:Lcom/mojang/datafixers/DSL$TypeReference;
intermediary field_23121
Lnet/minecraft/class_4958;field_23121:Lcom/mojang/datafixers/DSL$TypeReference;
named typeReference
Lnet/minecraft/datafixer/fix/AbstractUuidFix;typeReference:Lcom/mojang/datafixers/DSL$TypeReference;
-
-
Constructor Details
-
AbstractUuidFix
public AbstractUuidFix(com.mojang.datafixers.schemas.Schema outputSchema, com.mojang.datafixers.DSL.TypeReference typeReference) - Mappings:
Namespace Name Mixin selector official <init>
Laht;<init>(Lcom/mojang/datafixers/schemas/Schema;Lcom/mojang/datafixers/DSL$TypeReference;)V
intermediary <init>
Lnet/minecraft/class_4958;<init>(Lcom/mojang/datafixers/schemas/Schema;Lcom/mojang/datafixers/DSL$TypeReference;)V
named <init>
Lnet/minecraft/datafixer/fix/AbstractUuidFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Lcom/mojang/datafixers/DSL$TypeReference;)V
-
-
Method Details
-
updateTyped
protected com.mojang.datafixers.Typed<?> updateTyped(com.mojang.datafixers.Typed<?> typed, String name, Function<com.mojang.serialization.Dynamic<?>, com.mojang.serialization.Dynamic<?>> updater) - Mappings:
Namespace Name Mixin selector official a
Laht;a(Lcom/mojang/datafixers/Typed;Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/datafixers/Typed;
intermediary method_26009
Lnet/minecraft/class_4958;method_26009(Lcom/mojang/datafixers/Typed;Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/datafixers/Typed;
named updateTyped
Lnet/minecraft/datafixer/fix/AbstractUuidFix;updateTyped(Lcom/mojang/datafixers/Typed;Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/datafixers/Typed;
-
updateStringUuid
protected static Optional<com.mojang.serialization.Dynamic<?>> updateStringUuid(com.mojang.serialization.Dynamic<?> dynamic, String oldKey, String newKey) - Mappings:
Namespace Name Mixin selector official a
Laht;a(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Optional;
intermediary method_26006
Lnet/minecraft/class_4958;method_26006(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Optional;
named updateStringUuid
Lnet/minecraft/datafixer/fix/AbstractUuidFix;updateStringUuid(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Optional;
-
updateCompoundUuid
protected static Optional<com.mojang.serialization.Dynamic<?>> updateCompoundUuid(com.mojang.serialization.Dynamic<?> dynamic, String oldKey, String newKey) - Mappings:
Namespace Name Mixin selector official b
Laht;b(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Optional;
intermediary method_26011
Lnet/minecraft/class_4958;method_26011(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Optional;
named updateCompoundUuid
Lnet/minecraft/datafixer/fix/AbstractUuidFix;updateCompoundUuid(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Optional;
-
updateRegularMostLeast
protected static Optional<com.mojang.serialization.Dynamic<?>> updateRegularMostLeast(com.mojang.serialization.Dynamic<?> dynamic, String oldKey, String newKey) - Mappings:
Namespace Name Mixin selector official c
Laht;c(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Optional;
intermediary method_26013
Lnet/minecraft/class_4958;method_26013(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Optional;
named updateRegularMostLeast
Lnet/minecraft/datafixer/fix/AbstractUuidFix;updateRegularMostLeast(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Optional;
-
createArrayFromStringUuid
protected static Optional<com.mojang.serialization.Dynamic<?>> createArrayFromStringUuid(com.mojang.serialization.Dynamic<?> dynamic, String key) - Mappings:
Namespace Name Mixin selector official a
Laht;a(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Ljava/util/Optional;
intermediary method_26005
Lnet/minecraft/class_4958;method_26005(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Ljava/util/Optional;
named createArrayFromStringUuid
Lnet/minecraft/datafixer/fix/AbstractUuidFix;createArrayFromStringUuid(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Ljava/util/Optional;
-
createArrayFromCompoundUuid
protected static Optional<com.mojang.serialization.Dynamic<?>> createArrayFromCompoundUuid(com.mojang.serialization.Dynamic<?> dynamic) - Mappings:
Namespace Name Mixin selector official a
Laht;a(Lcom/mojang/serialization/Dynamic;)Ljava/util/Optional;
intermediary method_26002
Lnet/minecraft/class_4958;method_26002(Lcom/mojang/serialization/Dynamic;)Ljava/util/Optional;
named createArrayFromCompoundUuid
Lnet/minecraft/datafixer/fix/AbstractUuidFix;createArrayFromCompoundUuid(Lcom/mojang/serialization/Dynamic;)Ljava/util/Optional;
-
createArrayFromMostLeastTags
protected static Optional<com.mojang.serialization.Dynamic<?>> createArrayFromMostLeastTags(com.mojang.serialization.Dynamic<?> dynamic, String mostBitsKey, String leastBitsKey) - Mappings:
Namespace Name Mixin selector official d
Laht;d(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Optional;
intermediary method_26014
Lnet/minecraft/class_4958;method_26014(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Optional;
named createArrayFromMostLeastTags
Lnet/minecraft/datafixer/fix/AbstractUuidFix;createArrayFromMostLeastTags(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Optional;
-
createArray
protected static Optional<com.mojang.serialization.Dynamic<?>> createArray(com.mojang.serialization.Dynamic<?> dynamic, long mostBits, long leastBits) - Mappings:
Namespace Name Mixin selector official a
Laht;a(Lcom/mojang/serialization/Dynamic;JJ)Ljava/util/Optional;
intermediary method_26003
Lnet/minecraft/class_4958;method_26003(Lcom/mojang/serialization/Dynamic;JJ)Ljava/util/Optional;
named createArray
Lnet/minecraft/datafixer/fix/AbstractUuidFix;createArray(Lcom/mojang/serialization/Dynamic;JJ)Ljava/util/Optional;
-