Interface DataProvider

All Known Implementing Classes:
AbstractTagProvider, AdvancementProvider, BannerPatternTagProvider, BiomeParametersProvider, BiomeTagProvider, BlockListProvider, BlockTagProvider, CatVariantTagProvider, CommandSyntaxProvider, ConfiguredStructureFeatureTagProvider, EntityTypeTagProvider, FlatLevelGeneratorPresetTagProvider, FluidTagProvider, GameEventTagProvider, InstrumentTagProvider, ItemTagProvider, LootTableProvider, ModelProvider, NbtProvider, PaintingVariantTagProvider, PointOfInterestTypeTagProvider, RecipeProvider, RegistryDumpProvider, SnbtProvider, WorldgenProvider, WorldPresetTagProvider

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

    • JSON_KEY_SORT_ORDER

      static final ToIntFunction<String> JSON_KEY_SORT_ORDER
      Mappings:
      Namespace Name Mixin selector
      official a Liz;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

      static final Comparator<String> JSON_KEY_SORTING_COMPARATOR
      Mappings:
      Namespace Name Mixin selector
      official b Liz;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;
  • Method Details

    • run

      void run(DataWriter writer) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Liz;a(Lix;)V
      intermediary method_10319 Lnet/minecraft/class_2405;method_10319(Lnet/minecraft/class_7403;)V
      named run Lnet/minecraft/data/DataProvider;run(Lnet/minecraft/data/DataWriter;)V
    • getName

      String getName()
      Mappings:
      Namespace Name Mixin selector
      official a Liz;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(DataWriter writer, JsonElement json, Path path) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Liz;a(Lix;Lcom/google/gson/JsonElement;Ljava/nio/file/Path;)V
      intermediary method_10320 Lnet/minecraft/class_2405;method_10320(Lnet/minecraft/class_7403;Lcom/google/gson/JsonElement;Ljava/nio/file/Path;)V
      named writeToPath Lnet/minecraft/data/DataProvider;writeToPath(Lnet/minecraft/data/DataWriter;Lcom/google/gson/JsonElement;Ljava/nio/file/Path;)V