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 mk
  • 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 Lmk;d:Lmj$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 Lmk;e:Ljava/util/List;
    • registriesFuture

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

    • AdvancementProvider

      public AdvancementProvider(DataOutput output, CompletableFuture<RegistryWrapper.WrapperLookup> registriesFuture, 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> Lmk;<init>(Lmj;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 Lmh;a(Lmf;)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 Lmh;a()Ljava/lang/String;