Class PerfCommand

java.lang.Object
net.minecraft.server.dedicated.command.PerfCommand

public class PerfCommand extends Object
Mappings:
Namespace Name
official zd
intermediary net/minecraft/class_6413
named net/minecraft/server/dedicated/command/PerfCommand
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lzd;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_33985 Lnet/minecraft/class_6413;field_33985:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/server/dedicated/command/PerfCommand;LOGGER:Lorg/apache/logging/log4j/Logger;
    • NOT_RUNNING_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType NOT_RUNNING_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official b Lzd;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_33986 Lnet/minecraft/class_6413;field_33986:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named NOT_RUNNING_EXCEPTION Lnet/minecraft/server/dedicated/command/PerfCommand;NOT_RUNNING_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • ALREADY_RUNNING_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ALREADY_RUNNING_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official c Lzd;c:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_33987 Lnet/minecraft/class_6413;field_33987:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named ALREADY_RUNNING_EXCEPTION Lnet/minecraft/server/dedicated/command/PerfCommand;ALREADY_RUNNING_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
  • Constructor Details

    • PerfCommand

      public PerfCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
      Mappings:
      Namespace Name Mixin selector
      official a Lzd;a(Lcom/mojang/brigadier/CommandDispatcher;)V
      intermediary method_37331 Lnet/minecraft/class_6413;method_37331(Lcom/mojang/brigadier/CommandDispatcher;)V
      named register Lnet/minecraft/server/dedicated/command/PerfCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
    • executeStart

      private static int executeStart(ServerCommandSource source) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lzd;a(Ldl;)I
      intermediary method_37333 Lnet/minecraft/class_6413;method_37333(Lnet/minecraft/class_2168;)I
      named executeStart Lnet/minecraft/server/dedicated/command/PerfCommand;executeStart(Lnet/minecraft/server/command/ServerCommandSource;)I
    • executeStop

      private static int executeStop(ServerCommandSource source) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official b Lzd;b(Ldl;)I
      intermediary method_37338 Lnet/minecraft/class_6413;method_37338(Lnet/minecraft/class_2168;)I
      named executeStop Lnet/minecraft/server/dedicated/command/PerfCommand;executeStop(Lnet/minecraft/server/command/ServerCommandSource;)I
    • saveReport

      private static void saveReport(ServerCommandSource source, Path tempProfilingFile, MinecraftServer server)
      Mappings:
      Namespace Name Mixin selector
      official a Lzd;a(Ldl;Ljava/nio/file/Path;Lnet/minecraft/server/MinecraftServer;)V
      intermediary method_37335 Lnet/minecraft/class_6413;method_37335(Lnet/minecraft/class_2168;Ljava/nio/file/Path;Lnet/minecraft/server/MinecraftServer;)V
      named saveReport Lnet/minecraft/server/dedicated/command/PerfCommand;saveReport(Lnet/minecraft/server/command/ServerCommandSource;Ljava/nio/file/Path;Lnet/minecraft/server/MinecraftServer;)V
    • sendProfilingStoppedMessage

      private static void sendProfilingStoppedMessage(ServerCommandSource source, ProfileResult result)
      Mappings:
      Namespace Name Mixin selector
      official a Lzd;a(Ldl;Lapt;)V
      intermediary method_37334 Lnet/minecraft/class_6413;method_37334(Lnet/minecraft/class_2168;Lnet/minecraft/class_3696;)V
      named sendProfilingStoppedMessage Lnet/minecraft/server/dedicated/command/PerfCommand;sendProfilingStoppedMessage(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/util/profiler/ProfileResult;)V