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 -
Method Summary
Modifier and TypeMethodDescriptionintrun(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> context)
-
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:
runin interfacecom.mojang.brigadier.Command<net.minecraft.commands.CommandSourceStack>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-