Class AdvancementProvider

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

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

    • pathResolver

      private final DataOutput.PathResolver pathResolver
      Mappings:
      Namespace Name Mixin selector
      named pathResolver Lnet/minecraft/data/server/advancement/AdvancementProvider;pathResolver:Lnet/minecraft/data/DataOutput$PathResolver;
      intermediary field_39372 Lnet/minecraft/class_2409;field_39372:Lnet/minecraft/class_7784$class_7489;
      official d Lma;d:Llz$a;
    • tabGenerators

      private final List<AdvancementTabGenerator> tabGenerators
      Mappings:
      Namespace Name Mixin selector
      named tabGenerators Lnet/minecraft/data/server/advancement/AdvancementProvider;tabGenerators:Ljava/util/List;
      intermediary field_11289 Lnet/minecraft/class_2409;field_11289:Ljava/util/List;
      official e Lma;e:Ljava/util/List;
    • registryLookupFuture

      private final CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture
      Mappings:
      Namespace Name Mixin selector
      named registryLookupFuture Lnet/minecraft/data/server/advancement/AdvancementProvider;registryLookupFuture:Ljava/util/concurrent/CompletableFuture;
      intermediary field_40949 Lnet/minecraft/class_2409;field_40949:Ljava/util/concurrent/CompletableFuture;
      official f Lma;f:Ljava/util/concurrent/CompletableFuture;
  • Constructor Details

    • AdvancementProvider

      public AdvancementProvider(DataOutput output, CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture, List<AdvancementTabGenerator> tabGenerators)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/data/server/advancement/AdvancementProvider;<init>(Lnet/minecraft/data/DataOutput;Ljava/util/concurrent/CompletableFuture;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_2409;<init>(Lnet/minecraft/class_7784;Ljava/util/concurrent/CompletableFuture;Ljava/util/List;)V
      official <init> Lma;<init>(Llz;Ljava/util/concurrent/CompletableFuture;Ljava/util/List;)V
  • Method Details

    • run

      public CompletableFuture<?> run(DataWriter writer)
      Specified by:
      run in interface DataProvider
      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 Llx;a(Llv;)Ljava/util/concurrent/CompletableFuture;
    • getName

      public final String getName()
      Specified by:
      getName in interface DataProvider
      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 Llx;a()Ljava/lang/String;