类 ChoiceTypesFix


  • public class ChoiceTypesFix
    extends com.mojang.datafixers.DataFix
    Mappings:
    Namespace Name
    official ahm
    intermediary net/minecraft/class_3553
    named net/minecraft/datafixer/fix/ChoiceTypesFix
    • 字段概要

      字段 
      修饰符和类型 字段 说明
      private String name  
      private com.mojang.datafixers.DSL.TypeReference types  
    • 构造器概要

      构造器 
      构造器 说明
      ChoiceTypesFix​(com.mojang.datafixers.schemas.Schema outputSchema, String name, com.mojang.datafixers.DSL.TypeReference types)  
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      protected <K> com.mojang.datafixers.TypeRewriteRule fixChoiceTypes​(String name, com.mojang.datafixers.types.templates.TaggedChoice.TaggedChoiceType<K> inputChoiceType, com.mojang.datafixers.types.templates.TaggedChoice.TaggedChoiceType<?> outputChoiceType)  
      com.mojang.datafixers.TypeRewriteRule makeRule()  
      • 从类继承的方法 com.mojang.datafixers.DataFix

        checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead
    • 字段详细资料

      • name

        private final String name
        Mappings:
        Namespace Name Mixin selector
        official a Lahm;a:Ljava/lang/String;
        intermediary field_15779 Lnet/minecraft/class_3553;field_15779:Ljava/lang/String;
        named name Lnet/minecraft/datafixer/fix/ChoiceTypesFix;name:Ljava/lang/String;
      • types

        private final com.mojang.datafixers.DSL.TypeReference types
        Mappings:
        Namespace Name Mixin selector
        official b Lahm;b:Lcom/mojang/datafixers/DSL$TypeReference;
        intermediary field_15780 Lnet/minecraft/class_3553;field_15780:Lcom/mojang/datafixers/DSL$TypeReference;
        named types Lnet/minecraft/datafixer/fix/ChoiceTypesFix;types:Lcom/mojang/datafixers/DSL$TypeReference;
    • 构造器详细资料

      • ChoiceTypesFix

        public ChoiceTypesFix​(com.mojang.datafixers.schemas.Schema outputSchema,
                              String name,
                              com.mojang.datafixers.DSL.TypeReference types)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lahm;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Lcom/mojang/datafixers/DSL$TypeReference;)V
        intermediary <init> Lnet/minecraft/class_3553;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Lcom/mojang/datafixers/DSL$TypeReference;)V
        named <init> Lnet/minecraft/datafixer/fix/ChoiceTypesFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Lcom/mojang/datafixers/DSL$TypeReference;)V
    • 方法详细资料

      • makeRule

        public com.mojang.datafixers.TypeRewriteRule makeRule()
        指定者:
        makeRule 在类中 com.mojang.datafixers.DataFix
        Mappings:
        Namespace Name Mixin selector
        official makeRule Lahm;makeRule()Lcom/mojang/datafixers/TypeRewriteRule;
        intermediary makeRule Lnet/minecraft/class_3553;makeRule()Lcom/mojang/datafixers/TypeRewriteRule;
        named makeRule Lnet/minecraft/datafixer/fix/ChoiceTypesFix;makeRule()Lcom/mojang/datafixers/TypeRewriteRule;
      • fixChoiceTypes

        protected final <K> com.mojang.datafixers.TypeRewriteRule fixChoiceTypes​(String name,
                                                                                 com.mojang.datafixers.types.templates.TaggedChoice.TaggedChoiceType<K> inputChoiceType,
                                                                                 com.mojang.datafixers.types.templates.TaggedChoice.TaggedChoiceType<?> outputChoiceType)
        Mappings:
        Namespace Name Mixin selector
        official a Lahm;a(Ljava/lang/String;Lcom/mojang/datafixers/types/templates/TaggedChoice$TaggedChoiceType;Lcom/mojang/datafixers/types/templates/TaggedChoice$TaggedChoiceType;)Lcom/mojang/datafixers/TypeRewriteRule;
        intermediary method_15476 Lnet/minecraft/class_3553;method_15476(Ljava/lang/String;Lcom/mojang/datafixers/types/templates/TaggedChoice$TaggedChoiceType;Lcom/mojang/datafixers/types/templates/TaggedChoice$TaggedChoiceType;)Lcom/mojang/datafixers/TypeRewriteRule;
        named fixChoiceTypes Lnet/minecraft/datafixer/fix/ChoiceTypesFix;fixChoiceTypes(Ljava/lang/String;Lcom/mojang/datafixers/types/templates/TaggedChoice$TaggedChoiceType;Lcom/mojang/datafixers/types/templates/TaggedChoice$TaggedChoiceType;)Lcom/mojang/datafixers/TypeRewriteRule;