Class AdvancementsProvider

java.lang.Object
net.minecraft.data.server.AdvancementsProvider
All Implemented Interfaces:
DataProvider

public class AdvancementsProvider extends Object implements DataProvider
Mappings:
Namespace Name
official ig
intermediary net/minecraft/class_2409
named net/minecraft/data/server/AdvancementsProvider
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Lig;b:Lorg/apache/logging/log4j/Logger;
      intermediary field_11290 Lnet/minecraft/class_2409;field_11290:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/data/server/AdvancementsProvider;LOGGER:Lorg/apache/logging/log4j/Logger;
    • GSON

      private static final Gson GSON
      Mappings:
      Namespace Name Mixin selector
      official c Lig;c:Lcom/google/gson/Gson;
      intermediary field_11291 Lnet/minecraft/class_2409;field_11291:Lcom/google/gson/Gson;
      named GSON Lnet/minecraft/data/server/AdvancementsProvider;GSON:Lcom/google/gson/Gson;
    • root

      private final DataGenerator root
      Mappings:
      Namespace Name Mixin selector
      official d Lig;d:Lic;
      intermediary field_11288 Lnet/minecraft/class_2409;field_11288:Lnet/minecraft/class_2403;
      named root Lnet/minecraft/data/server/AdvancementsProvider;root:Lnet/minecraft/data/DataGenerator;
    • tabGenerators

      private final List<Consumer<Consumer<Advancement>>> tabGenerators
      Mappings:
      Namespace Name Mixin selector
      official e Lig;e:Ljava/util/List;
      intermediary field_11289 Lnet/minecraft/class_2409;field_11289:Ljava/util/List;
      named tabGenerators Lnet/minecraft/data/server/AdvancementsProvider;tabGenerators:Ljava/util/List;
  • Constructor Details

    • AdvancementsProvider

      public AdvancementsProvider(DataGenerator root)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lig;<init>(Lic;)V
      intermediary <init> Lnet/minecraft/class_2409;<init>(Lnet/minecraft/class_2403;)V
      named <init> Lnet/minecraft/data/server/AdvancementsProvider;<init>(Lnet/minecraft/data/DataGenerator;)V
  • Method Details

    • run

      public void run(DataCache cache)
      Specified by:
      run in interface DataProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lid;a(Lie;)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
    • getOutput

      private static Path getOutput(Path rootOutput, Advancement advancement)
      Mappings:
      Namespace Name Mixin selector
      official a Lig;a(Ljava/nio/file/Path;Lae;)Ljava/nio/file/Path;
      intermediary method_10334 Lnet/minecraft/class_2409;method_10334(Ljava/nio/file/Path;Lnet/minecraft/class_161;)Ljava/nio/file/Path;
      named getOutput Lnet/minecraft/data/server/AdvancementsProvider;getOutput(Ljava/nio/file/Path;Lnet/minecraft/advancement/Advancement;)Ljava/nio/file/Path;
    • getName

      public String getName()
      Specified by:
      getName in interface DataProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lid;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;