接口 DataProvider
-
- 所有已知实现类:
AbstractTagProvider,AdvancementsProvider,BiomeListProvider,BlockListProvider,BlockStateDefinitionProvider,BlockTagsProvider,CommandSyntaxProvider,EntityTypeTagsProvider,FluidTagsProvider,GameEventTagsProvider,ItemListProvider,ItemTagsProvider,LootTablesProvider,NbtProvider,RecipesProvider,SnbtProvider
public interface DataProvider- Mappings:
Namespace Name official hyintermediary net/minecraft/class_2405named net/minecraft/data/DataProvider
-
-
字段概要
字段 修饰符和类型 字段 说明 static HashFunctionSHA1
-
-
-
字段详细资料
-
SHA1
static final HashFunction SHA1
- Mappings:
Namespace Name Mixin selector official aLhy;a:Lcom/google/common/hash/HashFunction;intermediary field_11280Lnet/minecraft/class_2405;field_11280:Lcom/google/common/hash/HashFunction;named SHA1Lnet/minecraft/data/DataProvider;SHA1:Lcom/google/common/hash/HashFunction;
-
-
方法详细资料
-
run
void run(DataCache cache) throws IOException
- 抛出:
IOException- Mappings:
Namespace Name Mixin selector official aLhy;a(Lhz;)Vintermediary method_10319Lnet/minecraft/class_2405;method_10319(Lnet/minecraft/class_2408;)Vnamed runLnet/minecraft/data/DataProvider;run(Lnet/minecraft/data/DataCache;)V
-
getName
String getName()
- Mappings:
Namespace Name Mixin selector official aLhy;a()Ljava/lang/String;intermediary method_10321Lnet/minecraft/class_2405;method_10321()Ljava/lang/String;named getNameLnet/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 aLhy;a(Lcom/google/gson/Gson;Lhz;Lcom/google/gson/JsonElement;Ljava/nio/file/Path;)Vintermediary method_10320Lnet/minecraft/class_2405;method_10320(Lcom/google/gson/Gson;Lnet/minecraft/class_2408;Lcom/google/gson/JsonElement;Ljava/nio/file/Path;)Vnamed writeToPathLnet/minecraft/data/DataProvider;writeToPath(Lcom/google/gson/Gson;Lnet/minecraft/data/DataCache;Lcom/google/gson/JsonElement;Ljava/nio/file/Path;)V
-
-