类 ItemListProvider

  • 所有已实现的接口:
    DataProvider

    public class ItemListProvider
    extends Object
    implements DataProvider
    Mappings:
    Namespace Name
    official ik
    intermediary net/minecraft/class_2427
    named net/minecraft/data/report/ItemListProvider
    • 字段详细资料

      • GSON

        private static final Gson GSON
        Mappings:
        Namespace Name Mixin selector
        official b Lik;b:Lcom/google/gson/Gson;
        intermediary field_17170 Lnet/minecraft/class_2427;field_17170:Lcom/google/gson/Gson;
        named GSON Lnet/minecraft/data/report/ItemListProvider;GSON:Lcom/google/gson/Gson;
      • root

        private final DataGenerator root
        Mappings:
        Namespace Name Mixin selector
        official c Lik;c:Lhx;
        intermediary field_11323 Lnet/minecraft/class_2427;field_11323:Lnet/minecraft/class_2403;
        named root Lnet/minecraft/data/report/ItemListProvider;root:Lnet/minecraft/data/DataGenerator;
    • 构造器详细资料

      • ItemListProvider

        public ItemListProvider​(DataGenerator dataGenerator)
    • 方法详细资料

      • run

        public void run​(DataCache cache)
                 throws IOException
        指定者:
        run 在接口中 DataProvider
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official a Lhy;a(Lhz;)V
        intermediary method_10319 Lnet/minecraft/class_2405;method_10319(Lnet/minecraft/class_2408;)V
        named run Lnet/minecraft/data/DataProvider;run(Lnet/minecraft/data/DataCache;)V
      • toJson

        private static <T> JsonElement toJson​(Registry<T> registry)
        Mappings:
        Namespace Name Mixin selector
        official a Lik;a(Lgr;)Lcom/google/gson/JsonElement;
        intermediary method_17175 Lnet/minecraft/class_2427;method_17175(Lnet/minecraft/class_2378;)Lcom/google/gson/JsonElement;
        named toJson Lnet/minecraft/data/report/ItemListProvider;toJson(Lnet/minecraft/util/registry/Registry;)Lcom/google/gson/JsonElement;
      • getName

        public String getName()
        指定者:
        getName 在接口中 DataProvider
        Mappings:
        Namespace Name Mixin selector
        official a Lhy;a()Ljava/lang/String;
        intermediary method_10321 Lnet/minecraft/class_2405;method_10321()Ljava/lang/String;
        named getName Lnet/minecraft/data/DataProvider;getName()Ljava/lang/String;