Class PlayerAdvancementTracker

java.lang.Object
net.minecraft.advancement.PlayerAdvancementTracker

public class PlayerAdvancementTracker extends Object
Mappings:
Namespace Name
official acy
intermediary net/minecraft/class_2985
named net/minecraft/advancement/PlayerAdvancementTracker
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lacy;a:Lorg/slf4j/Logger;
      intermediary field_13394 Lnet/minecraft/class_2985;field_13394:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/advancement/PlayerAdvancementTracker;LOGGER:Lorg/slf4j/Logger;
    • GSON

      private static final Gson GSON
      Mappings:
      Namespace Name Mixin selector
      official b Lacy;b:Lcom/google/gson/Gson;
      intermediary field_13395 Lnet/minecraft/class_2985;field_13395:Lcom/google/gson/Gson;
      named GSON Lnet/minecraft/advancement/PlayerAdvancementTracker;GSON:Lcom/google/gson/Gson;
    • JSON_TYPE

      private static final TypeToken<Map<Identifier,AdvancementProgress>> JSON_TYPE
      Mappings:
      Namespace Name Mixin selector
      official c Lacy;c:Lcom/google/gson/reflect/TypeToken;
      intermediary field_13392 Lnet/minecraft/class_2985;field_13392:Lcom/google/gson/reflect/TypeToken;
      named JSON_TYPE Lnet/minecraft/advancement/PlayerAdvancementTracker;JSON_TYPE:Lcom/google/gson/reflect/TypeToken;
    • dataFixer

      private final com.mojang.datafixers.DataFixer dataFixer
      Mappings:
      Namespace Name Mixin selector
      official d Lacy;d:Lcom/mojang/datafixers/DataFixer;
      intermediary field_25324 Lnet/minecraft/class_2985;field_25324:Lcom/mojang/datafixers/DataFixer;
      named dataFixer Lnet/minecraft/advancement/PlayerAdvancementTracker;dataFixer:Lcom/mojang/datafixers/DataFixer;
    • playerManager

      private final PlayerManager playerManager
      Mappings:
      Namespace Name Mixin selector
      official e Lacy;e:Lali;
      intermediary field_25325 Lnet/minecraft/class_2985;field_25325:Lnet/minecraft/class_3324;
      named playerManager Lnet/minecraft/advancement/PlayerAdvancementTracker;playerManager:Lnet/minecraft/server/PlayerManager;
    • filePath

      private final Path filePath
      Mappings:
      Namespace Name Mixin selector
      official f Lacy;f:Ljava/nio/file/Path;
      intermediary field_41734 Lnet/minecraft/class_2985;field_41734:Ljava/nio/file/Path;
      named filePath Lnet/minecraft/advancement/PlayerAdvancementTracker;filePath:Ljava/nio/file/Path;
    • progress

      private final Map<Advancement,AdvancementProgress> progress
      Mappings:
      Namespace Name Mixin selector
      official g Lacy;g:Ljava/util/Map;
      intermediary field_41735 Lnet/minecraft/class_2985;field_41735:Ljava/util/Map;
      named progress Lnet/minecraft/advancement/PlayerAdvancementTracker;progress:Ljava/util/Map;
    • visibleAdvancements

      private final Set<Advancement> visibleAdvancements
      Mappings:
      Namespace Name Mixin selector
      official h Lacy;h:Ljava/util/Set;
      intermediary field_13390 Lnet/minecraft/class_2985;field_13390:Ljava/util/Set;
      named visibleAdvancements Lnet/minecraft/advancement/PlayerAdvancementTracker;visibleAdvancements:Ljava/util/Set;
    • progressUpdates

      private final Set<Advancement> progressUpdates
      Mappings:
      Namespace Name Mixin selector
      official i Lacy;i:Ljava/util/Set;
      intermediary field_13388 Lnet/minecraft/class_2985;field_13388:Ljava/util/Set;
      named progressUpdates Lnet/minecraft/advancement/PlayerAdvancementTracker;progressUpdates:Ljava/util/Set;
    • updatedRoots

      private final Set<Advancement> updatedRoots
      Mappings:
      Namespace Name Mixin selector
      official j Lacy;j:Ljava/util/Set;
      intermediary field_41736 Lnet/minecraft/class_2985;field_41736:Ljava/util/Set;
      named updatedRoots Lnet/minecraft/advancement/PlayerAdvancementTracker;updatedRoots:Ljava/util/Set;
    • owner

      private ServerPlayerEntity owner
      Mappings:
      Namespace Name Mixin selector
      official k Lacy;k:Laie;
      intermediary field_13391 Lnet/minecraft/class_2985;field_13391:Lnet/minecraft/class_3222;
      named owner Lnet/minecraft/advancement/PlayerAdvancementTracker;owner:Lnet/minecraft/server/network/ServerPlayerEntity;
    • currentDisplayTab

      @Nullable private @Nullable Advancement currentDisplayTab
      Mappings:
      Namespace Name Mixin selector
      official l Lacy;l:Lae;
      intermediary field_13387 Lnet/minecraft/class_2985;field_13387:Lnet/minecraft/class_161;
      named currentDisplayTab Lnet/minecraft/advancement/PlayerAdvancementTracker;currentDisplayTab:Lnet/minecraft/advancement/Advancement;
    • dirty

      private boolean dirty
      Mappings:
      Namespace Name Mixin selector
      official m Lacy;m:Z
      intermediary field_13396 Lnet/minecraft/class_2985;field_13396:Z
      named dirty Lnet/minecraft/advancement/PlayerAdvancementTracker;dirty:Z
  • Constructor Details

    • PlayerAdvancementTracker

      public PlayerAdvancementTracker(com.mojang.datafixers.DataFixer dataFixer, PlayerManager playerManager, ServerAdvancementLoader advancementLoader, Path filePath, ServerPlayerEntity owner)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lacy;<init>(Lcom/mojang/datafixers/DataFixer;Lali;Ladc;Ljava/nio/file/Path;Laie;)V
      intermediary <init> Lnet/minecraft/class_2985;<init>(Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/class_3324;Lnet/minecraft/class_2989;Ljava/nio/file/Path;Lnet/minecraft/class_3222;)V
      named <init> Lnet/minecraft/advancement/PlayerAdvancementTracker;<init>(Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/server/PlayerManager;Lnet/minecraft/server/ServerAdvancementLoader;Ljava/nio/file/Path;Lnet/minecraft/server/network/ServerPlayerEntity;)V
  • Method Details

    • setOwner

      public void setOwner(ServerPlayerEntity owner)
      Mappings:
      Namespace Name Mixin selector
      official a Lacy;a(Laie;)V
      intermediary method_12875 Lnet/minecraft/class_2985;method_12875(Lnet/minecraft/class_3222;)V
      named setOwner Lnet/minecraft/advancement/PlayerAdvancementTracker;setOwner(Lnet/minecraft/server/network/ServerPlayerEntity;)V
    • clearCriteria

      public void clearCriteria()
      Mappings:
      Namespace Name Mixin selector
      official a Lacy;a()V
      intermediary method_12881 Lnet/minecraft/class_2985;method_12881()V
      named clearCriteria Lnet/minecraft/advancement/PlayerAdvancementTracker;clearCriteria()V
    • reload

      public void reload(ServerAdvancementLoader advancementLoader)
      Mappings:
      Namespace Name Mixin selector
      official a Lacy;a(Ladc;)V
      intermediary method_12886 Lnet/minecraft/class_2985;method_12886(Lnet/minecraft/class_2989;)V
      named reload Lnet/minecraft/advancement/PlayerAdvancementTracker;reload(Lnet/minecraft/server/ServerAdvancementLoader;)V
    • beginTrackingAllAdvancements

      private void beginTrackingAllAdvancements(ServerAdvancementLoader advancementLoader)
      Mappings:
      Namespace Name Mixin selector
      official b Lacy;b(Ladc;)V
      intermediary method_12889 Lnet/minecraft/class_2985;method_12889(Lnet/minecraft/class_2989;)V
      named beginTrackingAllAdvancements Lnet/minecraft/advancement/PlayerAdvancementTracker;beginTrackingAllAdvancements(Lnet/minecraft/server/ServerAdvancementLoader;)V
    • rewardEmptyAdvancements

      private void rewardEmptyAdvancements(ServerAdvancementLoader advancementLoader)
      Mappings:
      Namespace Name Mixin selector
      official c Lacy;c(Ladc;)V
      intermediary method_12872 Lnet/minecraft/class_2985;method_12872(Lnet/minecraft/class_2989;)V
      named rewardEmptyAdvancements Lnet/minecraft/advancement/PlayerAdvancementTracker;rewardEmptyAdvancements(Lnet/minecraft/server/ServerAdvancementLoader;)V
    • load

      private void load(ServerAdvancementLoader advancementLoader)
      Mappings:
      Namespace Name Mixin selector
      official d Lacy;d(Ladc;)V
      intermediary method_12873 Lnet/minecraft/class_2985;method_12873(Lnet/minecraft/class_2989;)V
      named load Lnet/minecraft/advancement/PlayerAdvancementTracker;load(Lnet/minecraft/server/ServerAdvancementLoader;)V
    • save

      public void save()
      Mappings:
      Namespace Name Mixin selector
      official b Lacy;b()V
      intermediary method_12890 Lnet/minecraft/class_2985;method_12890()V
      named save Lnet/minecraft/advancement/PlayerAdvancementTracker;save()V
    • grantCriterion

      public boolean grantCriterion(Advancement advancement, String criterionName)
      Mappings:
      Namespace Name Mixin selector
      official a Lacy;a(Lae;Ljava/lang/String;)Z
      intermediary method_12878 Lnet/minecraft/class_2985;method_12878(Lnet/minecraft/class_161;Ljava/lang/String;)Z
      named grantCriterion Lnet/minecraft/advancement/PlayerAdvancementTracker;grantCriterion(Lnet/minecraft/advancement/Advancement;Ljava/lang/String;)Z
    • revokeCriterion

      public boolean revokeCriterion(Advancement advancement, String criterionName)
      Mappings:
      Namespace Name Mixin selector
      official b Lacy;b(Lae;Ljava/lang/String;)Z
      intermediary method_12883 Lnet/minecraft/class_2985;method_12883(Lnet/minecraft/class_161;Ljava/lang/String;)Z
      named revokeCriterion Lnet/minecraft/advancement/PlayerAdvancementTracker;revokeCriterion(Lnet/minecraft/advancement/Advancement;Ljava/lang/String;)Z
    • onStatusUpdate

      private void onStatusUpdate(Advancement advancement)
      Mappings:
      Namespace Name Mixin selector
      official c Lacy;c(Lae;)V
      intermediary method_48028 Lnet/minecraft/class_2985;method_48028(Lnet/minecraft/class_161;)V
      named onStatusUpdate Lnet/minecraft/advancement/PlayerAdvancementTracker;onStatusUpdate(Lnet/minecraft/advancement/Advancement;)V
    • beginTracking

      private void beginTracking(Advancement advancement)
      Mappings:
      Namespace Name Mixin selector
      official d Lacy;d(Lae;)V
      intermediary method_12874 Lnet/minecraft/class_2985;method_12874(Lnet/minecraft/class_161;)V
      named beginTracking Lnet/minecraft/advancement/PlayerAdvancementTracker;beginTracking(Lnet/minecraft/advancement/Advancement;)V
    • endTrackingCompleted

      private void endTrackingCompleted(Advancement advancement)
      Mappings:
      Namespace Name Mixin selector
      official e Lacy;e(Lae;)V
      intermediary method_12880 Lnet/minecraft/class_2985;method_12880(Lnet/minecraft/class_161;)V
      named endTrackingCompleted Lnet/minecraft/advancement/PlayerAdvancementTracker;endTrackingCompleted(Lnet/minecraft/advancement/Advancement;)V
    • sendUpdate

      public void sendUpdate(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official b Lacy;b(Laie;)V
      intermediary method_12876 Lnet/minecraft/class_2985;method_12876(Lnet/minecraft/class_3222;)V
      named sendUpdate Lnet/minecraft/advancement/PlayerAdvancementTracker;sendUpdate(Lnet/minecraft/server/network/ServerPlayerEntity;)V
    • setDisplayTab

      public void setDisplayTab(@Nullable @Nullable Advancement advancement)
      Mappings:
      Namespace Name Mixin selector
      official a Lacy;a(Lae;)V
      intermediary method_12888 Lnet/minecraft/class_2985;method_12888(Lnet/minecraft/class_161;)V
      named setDisplayTab Lnet/minecraft/advancement/PlayerAdvancementTracker;setDisplayTab(Lnet/minecraft/advancement/Advancement;)V
    • getProgress

      public AdvancementProgress getProgress(Advancement advancement)
      Mappings:
      Namespace Name Mixin selector
      official b Lacy;b(Lae;)Lag;
      intermediary method_12882 Lnet/minecraft/class_2985;method_12882(Lnet/minecraft/class_161;)Lnet/minecraft/class_167;
      named getProgress Lnet/minecraft/advancement/PlayerAdvancementTracker;getProgress(Lnet/minecraft/advancement/Advancement;)Lnet/minecraft/advancement/AdvancementProgress;
    • initProgress

      private void initProgress(Advancement advancement, AdvancementProgress progress)
      Mappings:
      Namespace Name Mixin selector
      official a Lacy;a(Lae;Lag;)V
      intermediary method_12884 Lnet/minecraft/class_2985;method_12884(Lnet/minecraft/class_161;Lnet/minecraft/class_167;)V
      named initProgress Lnet/minecraft/advancement/PlayerAdvancementTracker;initProgress(Lnet/minecraft/advancement/Advancement;Lnet/minecraft/advancement/AdvancementProgress;)V
    • calculateDisplay

      private void calculateDisplay(Advancement root, Set<Advancement> added, Set<Identifier> removed)
      Mappings:
      Namespace Name Mixin selector
      official a Lacy;a(Lae;Ljava/util/Set;Ljava/util/Set;)V
      intermediary method_48025 Lnet/minecraft/class_2985;method_48025(Lnet/minecraft/class_161;Ljava/util/Set;Ljava/util/Set;)V
      named calculateDisplay Lnet/minecraft/advancement/PlayerAdvancementTracker;calculateDisplay(Lnet/minecraft/advancement/Advancement;Ljava/util/Set;Ljava/util/Set;)V