Package com.jackdaw.chatwithnpc
Class CommandSet
java.lang.Object
com.jackdaw.chatwithnpc.CommandSet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic inthelp(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) static intsetAPIKey(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) static intsetEnabled(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context, boolean enabled) static intsetModel(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) static voidsetupCommand(@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)
-