Package net.minecraft.datafixer.fix
Class ChoiceWriteReadFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.ChoiceWriteReadFix
- Direct Known Subclasses:
PrimedTntBlockStateFix
public abstract class ChoiceWriteReadFix
extends com.mojang.datafixers.DataFix
- Mappings:
Namespace Name official bax
intermediary net/minecraft/class_8877
named net/minecraft/datafixer/fix/ChoiceWriteReadFix
-
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
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 official a
Lbax;a:Ljava/lang/String;
intermediary field_46773
Lnet/minecraft/class_8877;field_46773:Ljava/lang/String;
named name
Lnet/minecraft/datafixer/fix/ChoiceWriteReadFix;name:Ljava/lang/String;
-
choiceName
- Mappings:
Namespace Name Mixin selector official b
Lbax;b:Ljava/lang/String;
intermediary field_46774
Lnet/minecraft/class_8877;field_46774:Ljava/lang/String;
named choiceName
Lnet/minecraft/datafixer/fix/ChoiceWriteReadFix;choiceName:Ljava/lang/String;
-
type
private final com.mojang.datafixers.DSL.TypeReference type- Mappings:
Namespace Name Mixin selector official c
Lbax;c:Lcom/mojang/datafixers/DSL$TypeReference;
intermediary field_46775
Lnet/minecraft/class_8877;field_46775:Lcom/mojang/datafixers/DSL$TypeReference;
named type
Lnet/minecraft/datafixer/fix/ChoiceWriteReadFix;type: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 official <init>
Lbax;<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
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
-
-
Method Details
-
makeRule
public com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
transform
protected abstract <T> com.mojang.serialization.Dynamic<T> transform(com.mojang.serialization.Dynamic<T> data) - Mappings:
Namespace Name Mixin selector official a
Lbax;a(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;
named transform
Lnet/minecraft/datafixer/fix/ChoiceWriteReadFix;transform(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
-