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
official jg
intermediary net/minecraft/class_2409
named net/minecraft/data/server/advancement/AdvancementProvider
  • Field Details

    • pathResolver

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

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

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

    • AdvancementProvider

      public AdvancementProvider(DataOutput output, CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture, List<AdvancementTabGenerator> tabGenerators)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ljg;<init>(Ljf;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
      named <init> Lnet/minecraft/data/server/advancement/AdvancementProvider;<init>(Lnet/minecraft/data/DataOutput;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
      official a Ljd;a(Ljb;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_10319 Lnet/minecraft/class_2405;method_10319(Lnet/minecraft/class_7403;)Ljava/util/concurrent/CompletableFuture;
      named run Lnet/minecraft/data/DataProvider;run(Lnet/minecraft/data/DataWriter;)Ljava/util/concurrent/CompletableFuture;
    • getName

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