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 named net/minecraft/datafixer/fix/AbstractUuidFix
intermediary net/minecraft/class_4958
official ban
-
Field Summary
-
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
-
typeReference
protected com.mojang.datafixers.DSL.TypeReference typeReference- Mappings:
Namespace Name Mixin selector named typeReference
Lnet/minecraft/datafixer/fix/AbstractUuidFix;typeReference:Lcom/mojang/datafixers/DSL$TypeReference;
intermediary field_23121
Lnet/minecraft/class_4958;field_23121:Lcom/mojang/datafixers/DSL$TypeReference;
official a
Lban;a: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 named <init>
Lnet/minecraft/datafixer/fix/AbstractUuidFix;<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
official <init>
Lban;<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 named updateTyped
Lnet/minecraft/datafixer/fix/AbstractUuidFix;updateTyped(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;
official a
Lban;a(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 named updateStringUuid
Lnet/minecraft/datafixer/fix/AbstractUuidFix;updateStringUuid(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;
official a
Lban;a(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 named updateCompoundUuid
Lnet/minecraft/datafixer/fix/AbstractUuidFix;updateCompoundUuid(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;
official b
Lban;b(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 named updateRegularMostLeast
Lnet/minecraft/datafixer/fix/AbstractUuidFix;updateRegularMostLeast(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;
official c
Lban;c(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 named createArrayFromStringUuid
Lnet/minecraft/datafixer/fix/AbstractUuidFix;createArrayFromStringUuid(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;
official a
Lban;a(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 named createArrayFromCompoundUuid
Lnet/minecraft/datafixer/fix/AbstractUuidFix;createArrayFromCompoundUuid(Lcom/mojang/serialization/Dynamic;)Ljava/util/Optional;
intermediary method_26002
Lnet/minecraft/class_4958;method_26002(Lcom/mojang/serialization/Dynamic;)Ljava/util/Optional;
official a
Lban;a(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 named createArrayFromMostLeastTags
Lnet/minecraft/datafixer/fix/AbstractUuidFix;createArrayFromMostLeastTags(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;
official d
Lban;d(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 named createArray
Lnet/minecraft/datafixer/fix/AbstractUuidFix;createArray(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;
official a
Lban;a(Lcom/mojang/serialization/Dynamic;JJ)Ljava/util/Optional;
-