Class VelocityCommand
java.lang.Object
net.rotgruengelb.quirl.internal.command.VelocityCommand
- All Implemented Interfaces:
com.mojang.brigadier.Command<net.minecraft.server.command.ServerCommandSource>
public class VelocityCommand
extends Object
implements com.mojang.brigadier.Command<net.minecraft.server.command.ServerCommandSource>
-
Field Summary
Fields inherited from interface com.mojang.brigadier.Command
SINGLE_SUCCESS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intadd(com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) intrun(com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) static intset(com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context)
-
Constructor Details
-
VelocityCommand
public VelocityCommand()
-
-
Method Details
-
add
public static int add(com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
set
public static int set(com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
run
public int run(com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
runin interfacecom.mojang.brigadier.Command<net.minecraft.server.command.ServerCommandSource>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-