类 AddNewChoices

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.AddNewChoices

public class AddNewChoices extends com.mojang.datafixers.DataFix
  • 字段概要

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

    构造器
    构造器
    说明
    AddNewChoices(com.mojang.datafixers.schemas.Schema p_14628_, String p_14629_, com.mojang.datafixers.DSL.TypeReference p_14630_)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    private <K> com.mojang.datafixers.TypeRewriteRule
    cap(com.mojang.datafixers.types.templates.TaggedChoice.TaggedChoiceType<K> p_14639_, com.mojang.datafixers.types.templates.TaggedChoice.TaggedChoiceType<?> p_14640_)
     
    com.mojang.datafixers.TypeRewriteRule
     

    从类继承的方法 com.mojang.datafixers.DataFix

    checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 字段详细资料

    • name

      private final String name
    • type

      private final com.mojang.datafixers.DSL.TypeReference type
  • 构造器详细资料

    • AddNewChoices

      public AddNewChoices(com.mojang.datafixers.schemas.Schema p_14628_, String p_14629_, com.mojang.datafixers.DSL.TypeReference p_14630_)
  • 方法详细资料

    • makeRule

      public com.mojang.datafixers.TypeRewriteRule makeRule()
      指定者:
      makeRule 在类中 com.mojang.datafixers.DataFix
    • cap

      private <K> com.mojang.datafixers.TypeRewriteRule cap(com.mojang.datafixers.types.templates.TaggedChoice.TaggedChoiceType<K> p_14639_, com.mojang.datafixers.types.templates.TaggedChoice.TaggedChoiceType<?> p_14640_)