Package net.minecraft.data
Interface DataProvider
- All Known Implementing Classes:
AbstractTagProvider
,AdvancementsProvider
,BiomeListProvider
,BlockListProvider
,BlockStateDefinitionProvider
,BlockTagsProvider
,CommandSyntaxProvider
,EntityTypeTagsProvider
,FluidTagsProvider
,GameEventTagsProvider
,ItemListProvider
,ItemTagsProvider
,LootTablesProvider
,NbtProvider
,RecipesProvider
,SnbtProvider
public interface DataProvider
- Mappings:
Namespace Name official ht
intermediary net/minecraft/class_2405
named net/minecraft/data/DataProvider
-
Field Summary
Fields Modifier and Type Field Description static HashFunction
SHA1
-
Method Summary
Modifier and Type Method Description String
getName()
void
run(DataCache cache)
static void
writeToPath(Gson gson, DataCache cache, JsonElement output, Path path)
-
Field Details
-
SHA1
- Mappings:
Namespace Name Mixin selector official a
Lht;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;
-
-
Method Details
-
run
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lht;a(Lhu;)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
Lht;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- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lht;a(Lcom/google/gson/Gson;Lhu;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
-