Interface DataProvider

All Known Implementing Classes:
AdvancementProvider, BiomeParametersProvider, BlockListProvider, CommandSyntaxProvider, DataPackStructureProvider, DynamicRegistriesProvider, EnchantmentTagProvider, EquipmentModelProvider, ItemListProvider, ItemTagProvider, LootTableProvider, MetadataProvider, ModelProvider, NbtProvider, PacketReportProvider, RecipeGenerator.RecipeProvider, RegistryDumpProvider, SnbtProvider, TagProvider, TradeRebalanceEnchantmentTagProvider, TradeRebalanceStructureTagProvider, ValueLookupTagProvider, VanillaBannerPatternTagProvider, VanillaBiomeTagProvider, VanillaBlockTagProvider, VanillaCatVariantTagProvider, VanillaDamageTypeTagProvider, VanillaEnchantmentTagProvider, VanillaEntityTypeTagProvider, VanillaFlatLevelGeneratorPresetTagProvider, VanillaFluidTagProvider, VanillaGameEventTagProvider, VanillaInstrumentTagProvider, VanillaItemTagProvider, VanillaPaintingVariantTagProvider, VanillaPointOfInterestTypeTagProvider, VanillaRecipeGenerator.Provider, VanillaStructureTagProvider, VanillaWorldPresetTagProvider, WinterDropBiomeTagProvider, WinterDropBlockTagProvider, WinterDropEntityTypeTagProvider, WinterDropItemTagProvider, WinterDropRecipeGenerator.Provider

public interface DataProvider
Mappings:
Namespace Name
named net/minecraft/data/DataProvider
intermediary net/minecraft/class_2405
official mh
  • Field Details

    • JSON_KEY_SORT_ORDER

      static final ToIntFunction<String> JSON_KEY_SORT_ORDER
      Mappings:
      Namespace Name Mixin selector
      named JSON_KEY_SORT_ORDER Lnet/minecraft/data/DataProvider;JSON_KEY_SORT_ORDER:Ljava/util/function/ToIntFunction;
      intermediary field_39212 Lnet/minecraft/class_2405;field_39212:Ljava/util/function/ToIntFunction;
      official a Lmh;a:Ljava/util/function/ToIntFunction;
    • JSON_KEY_SORTING_COMPARATOR

      static final Comparator<String> JSON_KEY_SORTING_COMPARATOR
      Mappings:
      Namespace Name Mixin selector
      named JSON_KEY_SORTING_COMPARATOR Lnet/minecraft/data/DataProvider;JSON_KEY_SORTING_COMPARATOR:Ljava/util/Comparator;
      intermediary field_39213 Lnet/minecraft/class_2405;field_39213:Ljava/util/Comparator;
      official b Lmh;b:Ljava/util/Comparator;
    • LOGGER

      static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/data/DataProvider;LOGGER:Lorg/slf4j/Logger;
      intermediary field_40831 Lnet/minecraft/class_2405;field_40831:Lorg/slf4j/Logger;
      official c Lmh;c:Lorg/slf4j/Logger;
  • Method Details

    • run

      CompletableFuture<?> run(DataWriter writer)
      Mappings:
      Namespace Name Mixin selector
      named run Lnet/minecraft/data/DataProvider;run(Lnet/minecraft/data/DataWriter;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_10319 Lnet/minecraft/class_2405;method_10319(Lnet/minecraft/class_7403;)Ljava/util/concurrent/CompletableFuture;
      official a Lmh;a(Lmf;)Ljava/util/concurrent/CompletableFuture;
    • getName

      String getName()
      Mappings:
      Namespace Name Mixin selector
      named getName Lnet/minecraft/data/DataProvider;getName()Ljava/lang/String;
      intermediary method_10321 Lnet/minecraft/class_2405;method_10321()Ljava/lang/String;
      official a Lmh;a()Ljava/lang/String;
    • writeAllToPath

      static <T> CompletableFuture<?> writeAllToPath(DataWriter writer, com.mojang.serialization.Codec<T> codec, DataOutput.PathResolver pathResolver, Map<Identifier,T> idsToValues)
      Mappings:
      Namespace Name Mixin selector
      named writeAllToPath Lnet/minecraft/data/DataProvider;writeAllToPath(Lnet/minecraft/data/DataWriter;Lcom/mojang/serialization/Codec;Lnet/minecraft/data/DataOutput$PathResolver;Ljava/util/Map;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_64110 Lnet/minecraft/class_2405;method_64110(Lnet/minecraft/class_7403;Lcom/mojang/serialization/Codec;Lnet/minecraft/class_7784$class_7489;Ljava/util/Map;)Ljava/util/concurrent/CompletableFuture;
      official a Lmh;a(Lmf;Lcom/mojang/serialization/Codec;Lmj$a;Ljava/util/Map;)Ljava/util/concurrent/CompletableFuture;
    • writeCodecToPath

      static <T> CompletableFuture<?> writeCodecToPath(DataWriter writer, RegistryWrapper.WrapperLookup registries, com.mojang.serialization.Codec<T> codec, T value, Path path)
      Mappings:
      Namespace Name Mixin selector
      named writeCodecToPath Lnet/minecraft/data/DataProvider;writeCodecToPath(Lnet/minecraft/data/DataWriter;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;Lcom/mojang/serialization/Codec;Ljava/lang/Object;Ljava/nio/file/Path;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_53496 Lnet/minecraft/class_2405;method_53496(Lnet/minecraft/class_7403;Lnet/minecraft/class_7225$class_7874;Lcom/mojang/serialization/Codec;Ljava/lang/Object;Ljava/nio/file/Path;)Ljava/util/concurrent/CompletableFuture;
      official a Lmh;a(Lmf;Ljs$a;Lcom/mojang/serialization/Codec;Ljava/lang/Object;Ljava/nio/file/Path;)Ljava/util/concurrent/CompletableFuture;
    • writeCodecToPath

      static <T> CompletableFuture<?> writeCodecToPath(DataWriter writer, com.mojang.serialization.Codec<T> codec, T value, Path path)
      Mappings:
      Namespace Name Mixin selector
      named writeCodecToPath Lnet/minecraft/data/DataProvider;writeCodecToPath(Lnet/minecraft/data/DataWriter;Lcom/mojang/serialization/Codec;Ljava/lang/Object;Ljava/nio/file/Path;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_64108 Lnet/minecraft/class_2405;method_64108(Lnet/minecraft/class_7403;Lcom/mojang/serialization/Codec;Ljava/lang/Object;Ljava/nio/file/Path;)Ljava/util/concurrent/CompletableFuture;
      official a Lmh;a(Lmf;Lcom/mojang/serialization/Codec;Ljava/lang/Object;Ljava/nio/file/Path;)Ljava/util/concurrent/CompletableFuture;
    • writeCodecToPath

      private static <T> CompletableFuture<?> writeCodecToPath(DataWriter writer, com.mojang.serialization.DynamicOps<JsonElement> ops, com.mojang.serialization.Codec<T> codec, T value, Path path)
      Mappings:
      Namespace Name Mixin selector
      named writeCodecToPath Lnet/minecraft/data/DataProvider;writeCodecToPath(Lnet/minecraft/data/DataWriter;Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/Codec;Ljava/lang/Object;Ljava/nio/file/Path;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_64111 Lnet/minecraft/class_2405;method_64111(Lnet/minecraft/class_7403;Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/Codec;Ljava/lang/Object;Ljava/nio/file/Path;)Ljava/util/concurrent/CompletableFuture;
      official a Lmh;a(Lmf;Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/Codec;Ljava/lang/Object;Ljava/nio/file/Path;)Ljava/util/concurrent/CompletableFuture;
    • writeToPath

      static CompletableFuture<?> writeToPath(DataWriter writer, JsonElement json, Path path)
      Mappings:
      Namespace Name Mixin selector
      named writeToPath Lnet/minecraft/data/DataProvider;writeToPath(Lnet/minecraft/data/DataWriter;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;
      official a Lmh;a(Lmf;Lcom/google/gson/JsonElement;Ljava/nio/file/Path;)Ljava/util/concurrent/CompletableFuture;