Package net.minecraft.datafixer.fix
Class ChoiceFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.ChoiceFix
- Direct Known Subclasses:
BlockEntityBannerColorFix
,BlockEntityBlockStateFix
,BlockEntityJukeboxFix
,BlockEntityKeepPacked
,BlockEntityShulkerBoxColorFix
,BlockEntitySignTextStrictJsonFix
,CatTypeFix
,ColorlessShulkerEntityFix
,EntityArmorStandSilentFix
,EntityHorseSaddleFix
,EntityItemFrameDirectionFix
,EntityPaintingMotiveFix
,EntityShulkerColorFix
,EntityShulkerRotationFix
,EntityWolfColorFix
,EntityZombieVillagerTypeFix
,JigsawPropertiesFix
,MemoryExpiryDataFix
,OminousBannerBlockEntityRenameFix
,RemoveGolemGossipFix
,StriderGravityFix
,VillagerFollowRangeFix
,VillagerGossipFix
,VillagerProfessionFix
,VillagerTradeFix
,ZombieVillagerXpRebuildFix
public abstract class ChoiceFix
extends com.mojang.datafixers.DataFix
- Mappings:
Namespace Name official ans
intermediary net/minecraft/class_1197
named net/minecraft/datafixer/fix/ChoiceFix
-
Field Summary
-
Constructor Summary
-
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
Lans;a:Ljava/lang/String;
intermediary field_5703
Lnet/minecraft/class_1197;field_5703:Ljava/lang/String;
named name
Lnet/minecraft/datafixer/fix/ChoiceFix;name:Ljava/lang/String;
-
choiceName
- Mappings:
Namespace Name Mixin selector official b
Lans;b:Ljava/lang/String;
intermediary field_5705
Lnet/minecraft/class_1197;field_5705:Ljava/lang/String;
named choiceName
Lnet/minecraft/datafixer/fix/ChoiceFix;choiceName:Ljava/lang/String;
-
type
private final com.mojang.datafixers.DSL.TypeReference type- Mappings:
Namespace Name Mixin selector official c
Lans;c:Lcom/mojang/datafixers/DSL$TypeReference;
intermediary field_5704
Lnet/minecraft/class_1197;field_5704:Lcom/mojang/datafixers/DSL$TypeReference;
named type
Lnet/minecraft/datafixer/fix/ChoiceFix;type:Lcom/mojang/datafixers/DSL$TypeReference;
-
-
Constructor Details
-
ChoiceFix
public ChoiceFix(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>
Lans;<init>(Lcom/mojang/datafixers/schemas/Schema;ZLjava/lang/String;Lcom/mojang/datafixers/DSL$TypeReference;Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_1197;<init>(Lcom/mojang/datafixers/schemas/Schema;ZLjava/lang/String;Lcom/mojang/datafixers/DSL$TypeReference;Ljava/lang/String;)V
named <init>
Lnet/minecraft/datafixer/fix/ChoiceFix;<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 com.mojang.datafixers.Typed<?> transform(com.mojang.datafixers.Typed<?> inputType) - Mappings:
Namespace Name Mixin selector official a
Lans;a(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
intermediary method_5105
Lnet/minecraft/class_1197;method_5105(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
named transform
Lnet/minecraft/datafixer/fix/ChoiceFix;transform(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
-