Class ServerAdvancementLoader

All Implemented Interfaces:
ResourceReloader

public class ServerAdvancementLoader extends JsonDataLoader<Advancement>
Mappings:
Namespace Name
named net/minecraft/server/ServerAdvancementLoader
intermediary net/minecraft/class_2989
official amm
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/server/ServerAdvancementLoader;LOGGER:Lorg/slf4j/Logger;
      intermediary field_13406 Lnet/minecraft/class_2989;field_13406:Lorg/slf4j/Logger;
      official a Lamm;a:Lorg/slf4j/Logger;
    • advancements

      private Map<Identifier,AdvancementEntry> advancements
      Mappings:
      Namespace Name Mixin selector
      named advancements Lnet/minecraft/server/ServerAdvancementLoader;advancements:Ljava/util/Map;
      intermediary field_13404 Lnet/minecraft/class_2989;field_13404:Ljava/util/Map;
      official b Lamm;b:Ljava/util/Map;
    • manager

      private AdvancementManager manager
      Mappings:
      Namespace Name Mixin selector
      named manager Lnet/minecraft/server/ServerAdvancementLoader;manager:Lnet/minecraft/advancement/AdvancementManager;
      intermediary field_46076 Lnet/minecraft/class_2989;field_46076:Lnet/minecraft/class_163;
      official c Lamm;c:Lam;
    • registries

      private final RegistryWrapper.WrapperLookup registries
      Mappings:
      Namespace Name Mixin selector
      named registries Lnet/minecraft/server/ServerAdvancementLoader;registries:Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;
      intermediary field_48787 Lnet/minecraft/class_2989;field_48787:Lnet/minecraft/class_7225$class_7874;
      official d Lamm;d:Ljs$a;
  • Constructor Details

    • ServerAdvancementLoader

      public ServerAdvancementLoader(RegistryWrapper.WrapperLookup registries)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/server/ServerAdvancementLoader;<init>(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)V
      intermediary <init> Lnet/minecraft/class_2989;<init>(Lnet/minecraft/class_7225$class_7874;)V
      official <init> Lamm;<init>(Ljs$a;)V
  • Method Details

    • apply

      protected void apply(Map<Identifier,Advancement> map, ResourceManager resourceManager, Profiler profiler)
      Description copied from class: SinglePreparationResourceReloader
      Handles the prepared intermediate object.

      This method is called in the apply executor, or the game engine, in a reload.

      Specified by:
      apply in class SinglePreparationResourceReloader<Map<Identifier,Advancement>>
      Parameters:
      map - the prepared object
      resourceManager - the resource manager
      profiler - the apply profiler
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/server/ServerAdvancementLoader;apply(Ljava/util/Map;Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/profiler/Profiler;)V
      intermediary method_20724 Lnet/minecraft/class_2989;method_20724(Ljava/util/Map;Lnet/minecraft/class_3300;Lnet/minecraft/class_3695;)V
      official a Lamm;a(Ljava/util/Map;Lavv;Lbps;)V
    • validate

      private void validate(Identifier id, Advancement advancement)
      Mappings:
      Namespace Name Mixin selector
      named validate Lnet/minecraft/server/ServerAdvancementLoader;validate(Lnet/minecraft/util/Identifier;Lnet/minecraft/advancement/Advancement;)V
      intermediary method_54921 Lnet/minecraft/class_2989;method_54921(Lnet/minecraft/class_2960;Lnet/minecraft/class_161;)V
      official a Lamm;a(Lalz;Lag;)V
    • get

      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/server/ServerAdvancementLoader;get(Lnet/minecraft/util/Identifier;)Lnet/minecraft/advancement/AdvancementEntry;
      intermediary method_12896 Lnet/minecraft/class_2989;method_12896(Lnet/minecraft/class_2960;)Lnet/minecraft/class_8779;
      official a Lamm;a(Lalz;)Lah;
    • getManager

      public AdvancementManager getManager()
      Mappings:
      Namespace Name Mixin selector
      named getManager Lnet/minecraft/server/ServerAdvancementLoader;getManager()Lnet/minecraft/advancement/AdvancementManager;
      intermediary method_53646 Lnet/minecraft/class_2989;method_53646()Lnet/minecraft/class_163;
      official a Lamm;a()Lam;
    • getAdvancements

      public Collection<AdvancementEntry> getAdvancements()
      Mappings:
      Namespace Name Mixin selector
      named getAdvancements Lnet/minecraft/server/ServerAdvancementLoader;getAdvancements()Ljava/util/Collection;
      intermediary method_12893 Lnet/minecraft/class_2989;method_12893()Ljava/util/Collection;
      official b Lamm;b()Ljava/util/Collection;