Class AdvancementProvider

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

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

    • LOGGER

      private static final org.slf4j.Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Lin;b:Lorg/slf4j/Logger;
      intermediary field_11290 Lnet/minecraft/class_2409;field_11290:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/data/server/AdvancementProvider;LOGGER:Lorg/slf4j/Logger;
    • GSON

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

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

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

    • AdvancementProvider

      public AdvancementProvider(DataGenerator root)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lin;<init>(Lik;)V
      intermediary <init> Lnet/minecraft/class_2409;<init>(Lnet/minecraft/class_2403;)V
      named <init> Lnet/minecraft/data/server/AdvancementProvider;<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 Lil;a(Lim;)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 Lin;a(Ljava/nio/file/Path;Laf;)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/AdvancementProvider;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 Lil;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;