Class CommandNetworkDiagnostics.CommandMeasure

java.lang.Object
org.cyclops.integrateddynamics.command.CommandNetworkDiagnostics.CommandMeasure
All Implemented Interfaces:
com.mojang.brigadier.Command<net.minecraft.commands.CommandSourceStack>
Enclosing class:
CommandNetworkDiagnostics

public static class CommandNetworkDiagnostics.CommandMeasure extends Object implements com.mojang.brigadier.Command<net.minecraft.commands.CommandSourceStack>
Subcommand for measuring network tick times.
  • Field Summary

    Fields inherited from interface com.mojang.brigadier.Command

    SINGLE_SUCCESS
  • Constructor Summary

    Constructors
    Constructor
    Description
    CommandMeasure(boolean hasSecondsArg)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    run(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> context)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CommandMeasure

      public CommandMeasure(boolean hasSecondsArg)
  • Method Details

    • run

      public int run(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> context) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      run in interface com.mojang.brigadier.Command<net.minecraft.commands.CommandSourceStack>
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException