Package eu.sculkpowered.server.command
Class Commands
java.lang.Object
eu.sculkpowered.server.command.Commands
Util class for commands.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <A> com.mojang.brigadier.builder.RequiredArgumentBuilder
<CommandSource, A> static com.mojang.brigadier.builder.LiteralArgumentBuilder
<CommandSource>
-
Constructor Details
-
Commands
public Commands()
-
-
Method Details
-
literal
public static com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSource> literal(@NotNull @NotNull String name) -
argument
public static <A> com.mojang.brigadier.builder.RequiredArgumentBuilder<CommandSource,A> argument(@NotNull @NotNull String name, com.mojang.brigadier.arguments.ArgumentType<A> type)
-