Class ServerStatHandler

java.lang.Object
net.minecraft.stat.StatHandler
net.minecraft.stat.ServerStatHandler

public class ServerStatHandler extends StatHandler
Mappings:
Namespace Name
official wo
intermediary net/minecraft/class_2141
named net/minecraft/stat/ServerStatHandler
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Lwo;b:Lorg/apache/logging/log4j/Logger;
      intermediary field_9031 Lnet/minecraft/class_2141;field_9031:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/stat/ServerStatHandler;LOGGER:Lorg/apache/logging/log4j/Logger;
    • server

      private final MinecraftServer server
      Mappings:
      Namespace Name Mixin selector
      official c Lwo;c:Lnet/minecraft/server/MinecraftServer;
      intermediary field_9032 Lnet/minecraft/class_2141;field_9032:Lnet/minecraft/server/MinecraftServer;
      named server Lnet/minecraft/stat/ServerStatHandler;server:Lnet/minecraft/server/MinecraftServer;
    • file

      private final File file
      Mappings:
      Namespace Name Mixin selector
      official d Lwo;d:Ljava/io/File;
      intermediary field_9033 Lnet/minecraft/class_2141;field_9033:Ljava/io/File;
      named file Lnet/minecraft/stat/ServerStatHandler;file:Ljava/io/File;
    • pendingStats

      private final Set<class_4472<?>> pendingStats
      Mappings:
      Namespace Name Mixin selector
      official e Lwo;e:Ljava/util/Set;
      intermediary field_9034 Lnet/minecraft/class_2141;field_9034:Ljava/util/Set;
      named pendingStats Lnet/minecraft/stat/ServerStatHandler;pendingStats:Ljava/util/Set;
    • lastStatsUpdate

      private int lastStatsUpdate
      Mappings:
      Namespace Name Mixin selector
      official f Lwo;f:I
      intermediary field_9035 Lnet/minecraft/class_2141;field_9035:I
      named lastStatsUpdate Lnet/minecraft/stat/ServerStatHandler;lastStatsUpdate:I
  • Constructor Details

  • Method Details

    • save

      public void save()
      Mappings:
      Namespace Name Mixin selector
      official a Lwo;a()V
      intermediary method_8274 Lnet/minecraft/class_2141;method_8274()V
      named save Lnet/minecraft/stat/ServerStatHandler;save()V
    • method_8300

      public void method_8300(PlayerEntity playerEntity, class_4472<?> class_4472, int int2)
      Overrides:
      method_8300 in class StatHandler
      Mappings:
      Namespace Name Mixin selector
      official a Lwt;a(Laog;Lwp;I)V
      intermediary method_8300 Lnet/minecraft/class_625;method_8300(Lnet/minecraft/class_988;Lnet/minecraft/class_4472;I)V
      named method_8300 Lnet/minecraft/stat/StatHandler;method_8300(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/class_4472;I)V
    • takePendingStats

      private Set<class_4472<?>> takePendingStats()
      Mappings:
      Namespace Name Mixin selector
      official d Lwo;d()Ljava/util/Set;
      intermediary method_8276 Lnet/minecraft/class_2141;method_8276()Ljava/util/Set;
      named takePendingStats Lnet/minecraft/stat/ServerStatHandler;takePendingStats()Ljava/util/Set;
    • method_21414

      public void method_21414(com.mojang.datafixers.DataFixer dataFixer, String string)
      Mappings:
      Namespace Name Mixin selector
      official a Lwo;a(Lcom/mojang/datafixers/DataFixer;Ljava/lang/String;)V
      intermediary method_21414 Lnet/minecraft/class_2141;method_21414(Lcom/mojang/datafixers/DataFixer;Ljava/lang/String;)V
      named method_21414 Lnet/minecraft/stat/ServerStatHandler;method_21414(Lcom/mojang/datafixers/DataFixer;Ljava/lang/String;)V
    • method_21416

      @Nullable private <T> class_4472<T> method_21416(StatType<T> statType, String string)
      Mappings:
      Namespace Name Mixin selector
      official a Lwo;a(Lwr;Ljava/lang/String;)Lwp;
      intermediary method_21416 Lnet/minecraft/class_2141;method_21416(Lnet/minecraft/class_4474;Ljava/lang/String;)Lnet/minecraft/class_4472;
      named method_21416 Lnet/minecraft/stat/ServerStatHandler;method_21416(Lnet/minecraft/stat/StatType;Ljava/lang/String;)Lnet/minecraft/class_4472;
    • method_21413

      private static NbtCompound method_21413(JsonObject jsonObject)
      Mappings:
      Namespace Name Mixin selector
      official a Lwo;a(Lcom/google/gson/JsonObject;)Lgy;
      intermediary method_21413 Lnet/minecraft/class_2141;method_21413(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_322;
      named method_21413 Lnet/minecraft/stat/ServerStatHandler;method_21413(Lcom/google/gson/JsonObject;)Lnet/minecraft/nbt/NbtCompound;
    • method_21417

      protected String method_21417()
      Mappings:
      Namespace Name Mixin selector
      official b Lwo;b()Ljava/lang/String;
      intermediary method_21417 Lnet/minecraft/class_2141;method_21417()Ljava/lang/String;
      named method_21417 Lnet/minecraft/stat/ServerStatHandler;method_21417()Ljava/lang/String;
    • method_21418

      private static <T> Identifier method_21418(class_4472<T> class_4472)
      Mappings:
      Namespace Name Mixin selector
      official b Lwo;b(Lwp;)Lpc;
      intermediary method_21418 Lnet/minecraft/class_2141;method_21418(Lnet/minecraft/class_4472;)Lnet/minecraft/class_1653;
      named method_21418 Lnet/minecraft/stat/ServerStatHandler;method_21418(Lnet/minecraft/class_4472;)Lnet/minecraft/util/Identifier;
    • updateStatSet

      public void updateStatSet()
      Mappings:
      Namespace Name Mixin selector
      official c Lwo;c()V
      intermediary method_8277 Lnet/minecraft/class_2141;method_8277()V
      named updateStatSet Lnet/minecraft/stat/ServerStatHandler;updateStatSet()V
    • method_8273

      public void method_8273(ServerPlayerEntity serverPlayerEntity)
      Mappings:
      Namespace Name Mixin selector
      official a Lwo;a(Ltf;)V
      intermediary method_8273 Lnet/minecraft/class_2141;method_8273(Lnet/minecraft/class_798;)V
      named method_8273 Lnet/minecraft/stat/ServerStatHandler;method_8273(Lnet/minecraft/entity/player/ServerPlayerEntity;)V