Class Commands

java.lang.Object
eu.sculkpowered.server.command.Commands

public final class Commands extends Object
Util class for commands.
  • 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)