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

    Fields
    Modifier and Type
    Field
    Description
    private final String
     
    private final String
     
    private final com.mojang.datafixers.DSL.TypeReference
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ChoiceFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType, String name, com.mojang.datafixers.DSL.TypeReference type, String choiceName)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.mojang.datafixers.TypeRewriteRule
     
    protected abstract com.mojang.datafixers.Typed<?>
    transform(com.mojang.datafixers.Typed<?> inputTyped)
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • name

      private final String 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

      private final 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 class com.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;