Package net.minecraft.data
Interface DataProvider
- All Known Implementing Classes:
AdvancementProvider
,BiomeParametersProvider
,BlockListProvider
,BundleRecipeProvider
,CommandSyntaxProvider
,DynamicRegistriesProvider
,ItemTagProvider
,LootTableProvider
,MetadataProvider
,ModelProvider
,NbtProvider
,OneTwentyBiomeTagProvider
,OneTwentyBlockTagProvider
,OneTwentyItemTagProvider
,OneTwentyRecipeProvider
,RecipeProvider
,RegistryDumpProvider
,SnbtProvider
,TagProvider
,ValueLookupTagProvider
,VanillaBannerPatternTagProvider
,VanillaBiomeTagProvider
,VanillaBlockTagProvider
,VanillaCatVariantTagProvider
,VanillaDamageTypeTagProvider
,VanillaEntityTypeTagProvider
,VanillaFlatLevelGeneratorPresetTagProvider
,VanillaFluidTagProvider
,VanillaGameEventTagProvider
,VanillaInstrumentTagProvider
,VanillaItemTagProvider
,VanillaPaintingVariantTagProvider
,VanillaPointOfInterestTypeTagProvider
,VanillaRecipeProvider
,VanillaStructureTagProvider
,VanillaWorldPresetTagProvider
public interface DataProvider
- Mappings:
Namespace Name official jh
intermediary net/minecraft/class_2405
named net/minecraft/data/DataProvider
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
DataProvider.Factory<T extends DataProvider>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ToIntFunction<String>
static final Comparator<String>
static final Logger
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
run
(DataWriter writer) static CompletableFuture<?>
writeToPath
(DataWriter writer, JsonElement json, Path path)
-
Field Details
-
JSON_KEY_SORT_ORDER
- Mappings:
Namespace Name Mixin selector official a
Ljh;a:Ljava/util/function/ToIntFunction;
intermediary field_39212
Lnet/minecraft/class_2405;field_39212:Ljava/util/function/ToIntFunction;
named JSON_KEY_SORT_ORDER
Lnet/minecraft/data/DataProvider;JSON_KEY_SORT_ORDER:Ljava/util/function/ToIntFunction;
-
JSON_KEY_SORTING_COMPARATOR
- Mappings:
Namespace Name Mixin selector official b
Ljh;b:Ljava/util/Comparator;
intermediary field_39213
Lnet/minecraft/class_2405;field_39213:Ljava/util/Comparator;
named JSON_KEY_SORTING_COMPARATOR
Lnet/minecraft/data/DataProvider;JSON_KEY_SORTING_COMPARATOR:Ljava/util/Comparator;
-
LOGGER
- Mappings:
Namespace Name Mixin selector official c
Ljh;c:Lorg/slf4j/Logger;
intermediary field_40831
Lnet/minecraft/class_2405;field_40831:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/data/DataProvider;LOGGER:Lorg/slf4j/Logger;
-
-
Method Details
-
run
- Mappings:
Namespace Name Mixin selector official a
Ljh;a(Ljf;)Ljava/util/concurrent/CompletableFuture;
intermediary method_10319
Lnet/minecraft/class_2405;method_10319(Lnet/minecraft/class_7403;)Ljava/util/concurrent/CompletableFuture;
named run
Lnet/minecraft/data/DataProvider;run(Lnet/minecraft/data/DataWriter;)Ljava/util/concurrent/CompletableFuture;
-
getName
String getName()- Mappings:
Namespace Name Mixin selector official a
Ljh;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
- Mappings:
Namespace Name Mixin selector official a
Ljh;a(Ljf;Lcom/google/gson/JsonElement;Ljava/nio/file/Path;)Ljava/util/concurrent/CompletableFuture;
intermediary method_10320
Lnet/minecraft/class_2405;method_10320(Lnet/minecraft/class_7403;Lcom/google/gson/JsonElement;Ljava/nio/file/Path;)Ljava/util/concurrent/CompletableFuture;
named writeToPath
Lnet/minecraft/data/DataProvider;writeToPath(Lnet/minecraft/data/DataWriter;Lcom/google/gson/JsonElement;Ljava/nio/file/Path;)Ljava/util/concurrent/CompletableFuture;
-