Package net.minecraft.datafixer.fix
Class ChoiceWriteReadFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.ChoiceWriteReadFix
- Direct Known Subclasses:
HorseArmorFix
,PrimedTntBlockStateFix
,RemoveEmptyItemInSuspiciousBlockFix
,TippedArrowPotionToItemFix
,TrialSpawnerConfigTagFix
public abstract class ChoiceWriteReadFix
extends com.mojang.datafixers.DataFix
- Mappings:
Namespace Name named net/minecraft/datafixer/fix/ChoiceWriteReadFix
intermediary net/minecraft/class_8877
official bfn
-
Field Summary
-
Constructor Summary
ConstructorDescriptionChoiceWriteReadFix
(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType, String name, com.mojang.datafixers.DSL.TypeReference type, String choiceName) -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.datafixers.TypeRewriteRule
makeRule()
private static <A,
B> com.mojang.datafixers.TypeRewriteRule method_56640
(com.mojang.datafixers.types.Type<A> type, com.mojang.datafixers.types.Type<B> type2) private <S,
T, A, B>
com.mojang.datafixers.TypeRewriteRulemethod_56641
(com.mojang.datafixers.types.Type<S> type, com.mojang.datafixers.types.Type<T> type2, com.mojang.datafixers.OpticFinder<A> opticFinder, com.mojang.datafixers.types.Type<B> type3, com.mojang.datafixers.types.Type<?> type4) protected abstract <T> com.mojang.serialization.Dynamic
<T> transform
(com.mojang.serialization.Dynamic<T> data) Methods inherited from class com.mojang.datafixers.DataFix
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector named name
Lnet/minecraft/datafixer/fix/ChoiceWriteReadFix;name:Ljava/lang/String;
intermediary field_46773
Lnet/minecraft/class_8877;field_46773:Ljava/lang/String;
official a
Lbfn;a:Ljava/lang/String;
-
choiceName
- Mappings:
Namespace Name Mixin selector named choiceName
Lnet/minecraft/datafixer/fix/ChoiceWriteReadFix;choiceName:Ljava/lang/String;
intermediary field_46774
Lnet/minecraft/class_8877;field_46774:Ljava/lang/String;
official b
Lbfn;b:Ljava/lang/String;
-
type
private final com.mojang.datafixers.DSL.TypeReference type- Mappings:
Namespace Name Mixin selector named type
Lnet/minecraft/datafixer/fix/ChoiceWriteReadFix;type:Lcom/mojang/datafixers/DSL$TypeReference;
intermediary field_46775
Lnet/minecraft/class_8877;field_46775:Lcom/mojang/datafixers/DSL$TypeReference;
official c
Lbfn;c:Lcom/mojang/datafixers/DSL$TypeReference;
-
-
Constructor Details
-
ChoiceWriteReadFix
public ChoiceWriteReadFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType, String name, com.mojang.datafixers.DSL.TypeReference type, String choiceName) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/datafixer/fix/ChoiceWriteReadFix;<init>(Lcom/mojang/datafixers/schemas/Schema;ZLjava/lang/String;Lcom/mojang/datafixers/DSL$TypeReference;Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_8877;<init>(Lcom/mojang/datafixers/schemas/Schema;ZLjava/lang/String;Lcom/mojang/datafixers/DSL$TypeReference;Ljava/lang/String;)V
official <init>
Lbfn;<init>(Lcom/mojang/datafixers/schemas/Schema;ZLjava/lang/String;Lcom/mojang/datafixers/DSL$TypeReference;Ljava/lang/String;)V
-
-
Method Details
-
makeRule
public com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
method_56641
private <S,T, com.mojang.datafixers.TypeRewriteRule method_56641A, B> (com.mojang.datafixers.types.Type<S> type, com.mojang.datafixers.types.Type<T> type2, com.mojang.datafixers.OpticFinder<A> opticFinder, com.mojang.datafixers.types.Type<B> type3, com.mojang.datafixers.types.Type<?> type4) - Mappings:
Namespace Name Mixin selector named method_56641
Lnet/minecraft/datafixer/fix/ChoiceWriteReadFix;method_56641(Lcom/mojang/datafixers/types/Type;Lcom/mojang/datafixers/types/Type;Lcom/mojang/datafixers/OpticFinder;Lcom/mojang/datafixers/types/Type;Lcom/mojang/datafixers/types/Type;)Lcom/mojang/datafixers/TypeRewriteRule;
intermediary method_56641
Lnet/minecraft/class_8877;method_56641(Lcom/mojang/datafixers/types/Type;Lcom/mojang/datafixers/types/Type;Lcom/mojang/datafixers/OpticFinder;Lcom/mojang/datafixers/types/Type;Lcom/mojang/datafixers/types/Type;)Lcom/mojang/datafixers/TypeRewriteRule;
official a
Lbfn;a(Lcom/mojang/datafixers/types/Type;Lcom/mojang/datafixers/types/Type;Lcom/mojang/datafixers/OpticFinder;Lcom/mojang/datafixers/types/Type;Lcom/mojang/datafixers/types/Type;)Lcom/mojang/datafixers/TypeRewriteRule;
-
method_56640
private static <A,B> com.mojang.datafixers.TypeRewriteRule method_56640(com.mojang.datafixers.types.Type<A> type, com.mojang.datafixers.types.Type<B> type2) - Mappings:
Namespace Name Mixin selector named method_56640
Lnet/minecraft/datafixer/fix/ChoiceWriteReadFix;method_56640(Lcom/mojang/datafixers/types/Type;Lcom/mojang/datafixers/types/Type;)Lcom/mojang/datafixers/TypeRewriteRule;
intermediary method_56640
Lnet/minecraft/class_8877;method_56640(Lcom/mojang/datafixers/types/Type;Lcom/mojang/datafixers/types/Type;)Lcom/mojang/datafixers/TypeRewriteRule;
official a
Lbfn;a(Lcom/mojang/datafixers/types/Type;Lcom/mojang/datafixers/types/Type;)Lcom/mojang/datafixers/TypeRewriteRule;
-
transform
protected abstract <T> com.mojang.serialization.Dynamic<T> transform(com.mojang.serialization.Dynamic<T> data) - Mappings:
Namespace Name Mixin selector named transform
Lnet/minecraft/datafixer/fix/ChoiceWriteReadFix;transform(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
intermediary method_54447
Lnet/minecraft/class_8877;method_54447(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
official a
Lbfn;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
-