Package com.jackdaw.chatwithnpc
Class CommandSet
java.lang.Object
com.jackdaw.chatwithnpc.CommandSet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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)
-
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)
-