Package com.jackdaw.chatwithnpc
Class CommandSet
java.lang.Object
com.jackdaw.chatwithnpc.CommandSet
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.suggestion.SuggestionProvider<net.minecraft.server.command.ServerCommandSource>private static final com.mojang.brigadier.suggestion.SuggestionProvider<net.minecraft.server.command.ServerCommandSource>private static final com.mojang.brigadier.suggestion.SuggestionProvider<net.minecraft.server.command.ServerCommandSource> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static intaddGroup(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static intaddGroupEvent(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static intaddNPCFunction(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static intallGroupStatus(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static intclearNPCMemory(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static intdeleteNPCFunction(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static intgroupStatus(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static booleanhasOPPermission(@NotNull net.minecraft.server.command.ServerCommandSource source) static inthelp(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static intnpcStatus(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static intpopGroupEvent(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static intsaveAll(@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) private static intsetBubble(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static intsetBubbleColor(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static intsetBubbleTimeLastingPerChar(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static intsetChatBar(@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) private static intsetGroupInstruction(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static intsetGroupParent(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static intsetLanguage(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) static intsetModel(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static intsetNeedMemory(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static intsetNPCCareer(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static intsetNPCGroup(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static intsetNPCInstructions(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static intsetRange(@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) private static intsetURL(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static intsetWordLimit(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static intstatus(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context)
-
Field Details
-
groupSuggestionProvider
private static final com.mojang.brigadier.suggestion.SuggestionProvider<net.minecraft.server.command.ServerCommandSource> groupSuggestionProvider -
bubbleColorProvider
private static final com.mojang.brigadier.suggestion.SuggestionProvider<net.minecraft.server.command.ServerCommandSource> bubbleColorProvider -
functionsSuggestionProvider
private static final com.mojang.brigadier.suggestion.SuggestionProvider<net.minecraft.server.command.ServerCommandSource> functionsSuggestionProvider
-
-
Constructor Details
-
CommandSet
public CommandSet()
-
-
Method Details
-
hasOPPermission
private static boolean hasOPPermission(@NotNull @NotNull net.minecraft.server.command.ServerCommandSource source) -
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) -
status
private static int status(@NotNull @NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) -
allGroupStatus
private static int allGroupStatus(@NotNull @NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) -
npcStatus
private static int npcStatus(@NotNull @NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) -
groupStatus
private static int groupStatus(@NotNull @NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) -
saveAll
private static int saveAll(@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) -
setChatBar
private static int setChatBar(@NotNull @NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) -
setBubble
private static int setBubble(@NotNull @NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) -
setBubbleColor
private static int setBubbleColor(@NotNull @NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) -
setBubbleTimeLastingPerChar
private static int setBubbleTimeLastingPerChar(@NotNull @NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) -
setURL
private static int setURL(@NotNull @NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) -
setLanguage
private static int setLanguage(@NotNull @NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) -
setWordLimit
private static int setWordLimit(@NotNull @NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) -
setRange
private static int setRange(@NotNull @NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) -
addGroup
private static int addGroup(@NotNull @NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) -
addGroupEvent
private static int addGroupEvent(@NotNull @NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) -
popGroupEvent
private static int popGroupEvent(@NotNull @NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) -
setGroupInstruction
private static int setGroupInstruction(@NotNull @NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) -
setGroupParent
private static int setGroupParent(@NotNull @NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) -
setNeedMemory
private static int setNeedMemory(@NotNull @NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) -
clearNPCMemory
private static int clearNPCMemory(@NotNull @NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) -
setNPCInstructions
private static int setNPCInstructions(@NotNull @NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) -
setNPCGroup
private static int setNPCGroup(@NotNull @NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) -
setNPCCareer
private static int setNPCCareer(@NotNull @NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) -
addNPCFunction
private static int addNPCFunction(@NotNull @NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) -
deleteNPCFunction
private static int deleteNPCFunction(@NotNull @NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context)
-