接口 DataProvider

    • 字段详细资料

      • SHA1

        static final HashFunction SHA1
        Mappings:
        Namespace Name Mixin selector
        official a Lhy;a:Lcom/google/common/hash/HashFunction;
        intermediary field_11280 Lnet/minecraft/class_2405;field_11280:Lcom/google/common/hash/HashFunction;
        named SHA1 Lnet/minecraft/data/DataProvider;SHA1:Lcom/google/common/hash/HashFunction;
    • 方法详细资料

      • run

        void run​(DataCache cache)
          throws IOException
        抛出:
        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
      • getName

        String getName()
        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;
      • writeToPath

        static void writeToPath​(Gson gson,
                                DataCache cache,
                                JsonElement output,
                                Path path)
                         throws IOException
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official a Lhy;a(Lcom/google/gson/Gson;Lhz;Lcom/google/gson/JsonElement;Ljava/nio/file/Path;)V
        intermediary method_10320 Lnet/minecraft/class_2405;method_10320(Lcom/google/gson/Gson;Lnet/minecraft/class_2408;Lcom/google/gson/JsonElement;Ljava/nio/file/Path;)V
        named writeToPath Lnet/minecraft/data/DataProvider;writeToPath(Lcom/google/gson/Gson;Lnet/minecraft/data/DataCache;Lcom/google/gson/JsonElement;Ljava/nio/file/Path;)V