Class CommandSet

java.lang.Object
com.jackdaw.chatwithnpc.CommandSet

public class CommandSet extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static int
    help(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context)
     
    static int
    setAPIKey(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context)
     
    static int
    setEnabled(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context, boolean enabled)
     
    static int
    setModel(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context)
     
    static void
    setupCommand(@NotNull com.mojang.brigadier.CommandDispatcher<net.minecraft.server.command.ServerCommandSource> dispatcher, net.minecraft.command.CommandRegistryAccess registryAccess, net.minecraft.server.command.CommandManager.RegistrationEnvironment environment)
     

    Methods inherited from class java.lang.Object

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

    • CommandSet

      public CommandSet()
  • Method Details

    • setupCommand

      public static void setupCommand(@NotNull @NotNull com.mojang.brigadier.CommandDispatcher<net.minecraft.server.command.ServerCommandSource> dispatcher, net.minecraft.command.CommandRegistryAccess registryAccess, net.minecraft.server.command.CommandManager.RegistrationEnvironment environment)
    • help

      public static int help(@NotNull @NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context)
    • setEnabled

      public static int setEnabled(@NotNull @NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context, boolean enabled)
    • setAPIKey

      public static int setAPIKey(@NotNull @NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context)
    • setModel

      public static int setModel(@NotNull @NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context)