Package net.minecraft.datafixer.fix
Class ChoiceFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.ChoiceFix
- Direct Known Subclasses:
AreaEffectCloudPotionFix
,BannerPatternFormatFix
,BlockEntityBannerColorFix
,BlockEntityBlockStateFix
,BlockEntityJukeboxFix
,BlockEntityKeepPackedFix
,BlockEntityShulkerBoxColorFix
,BlockEntitySignTextStrictJsonFix
,CatTypeFix
,ColorlessShulkerEntityFix
,DropInvalidSignDatafixDataFix
,EntityArmorStandSilentFix
,EntityBrushableBlockFieldsRenameFix
,EntityHorseSaddleFix
,EntityItemFrameDirectionFix
,EntityPaintingFieldsRenameFix
,EntityPaintingMotiveFix
,EntityShulkerColorFix
,EntityShulkerRotationFix
,EntityVariantTypeFix
,EntityWolfColorFix
,EntityZombieVillagerTypeFix
,GoatMissingStateFix
,JigsawPropertiesFix
,JukeboxTicksSinceSongStartedFix
,MemoryExpiryDataFix
,OminousBannerBlockEntityRenameFix
,PlayerHeadBlockProfileFix
,RemoveFilteredSignTextFix
,RemoveGolemGossipFix
,RenameVariantsFix
,StriderGravityFix
,TrialSpawnerConfigInRegistryFix
,UpdateSignTextFormatFix
,VillagerCanPickUpLootFix
,VillagerFollowRangeFix
,VillagerGossipFix
,VillagerProfessionFix
,WeaponsmithChestLootTableFix
,WolfHealthFix
,ZombieVillagerXpRebuildFix
public abstract class ChoiceFix
extends com.mojang.datafixers.DataFix
- Mappings:
Namespace Name named net/minecraft/datafixer/fix/ChoiceFix
intermediary net/minecraft/class_1197
official bhr
-
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 named name
Lnet/minecraft/datafixer/fix/ChoiceFix;name:Ljava/lang/String;
intermediary field_5703
Lnet/minecraft/class_1197;field_5703:Ljava/lang/String;
official a
Lbhr;a:Ljava/lang/String;
-
choiceName
- Mappings:
Namespace Name Mixin selector named choiceName
Lnet/minecraft/datafixer/fix/ChoiceFix;choiceName:Ljava/lang/String;
intermediary field_5705
Lnet/minecraft/class_1197;field_5705:Ljava/lang/String;
official b
Lbhr;b:Ljava/lang/String;
-
type
private final com.mojang.datafixers.DSL.TypeReference type- Mappings:
Namespace Name Mixin selector named type
Lnet/minecraft/datafixer/fix/ChoiceFix;type:Lcom/mojang/datafixers/DSL$TypeReference;
intermediary field_5704
Lnet/minecraft/class_1197;field_5704:Lcom/mojang/datafixers/DSL$TypeReference;
official c
Lbhr;c: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 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
intermediary <init>
Lnet/minecraft/class_1197;<init>(Lcom/mojang/datafixers/schemas/Schema;ZLjava/lang/String;Lcom/mojang/datafixers/DSL$TypeReference;Ljava/lang/String;)V
official <init>
Lbhr;<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<?> inputTyped) - Mappings:
Namespace Name Mixin selector named transform
Lnet/minecraft/datafixer/fix/ChoiceFix;transform(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;
official a
Lbhr;a(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
-