Class JfrCommand

java.lang.Object
net.minecraft.server.commands.JfrCommand

public class JfrCommand extends Object
  • Field Details

    • START_FAILED

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType START_FAILED
    • DUMP_FAILED

      private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType DUMP_FAILED
  • Constructor Details

    • JfrCommand

      private JfrCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_183646_)
    • startJfr

      private static int startJfr(CommandSourceStack p_183650_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • stopJfr

      private static int stopJfr(CommandSourceStack p_183659_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException