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 int
addGroup
(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static int
addGroupEvent
(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static int
addNPCFunction
(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static int
allGroupStatus
(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static int
clearNPCMemory
(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static int
deleteNPCFunction
(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static int
groupStatus
(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static boolean
hasOPPermission
(@NotNull net.minecraft.server.command.ServerCommandSource source) static int
help
(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static int
npcStatus
(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static int
popGroupEvent
(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static int
saveAll
(@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) private static int
setBubble
(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static int
setBubbleColor
(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static int
setBubbleTimeLastingPerChar
(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static int
setChatBar
(@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) private static int
setGroupInstruction
(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static int
setGroupParent
(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static int
setLanguage
(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) static int
setModel
(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static int
setNeedMemory
(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static int
setNPCCareer
(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static int
setNPCGroup
(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static int
setNPCInstructions
(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static int
setRange
(@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) private static int
setURL
(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static int
setWordLimit
(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) private static int
status
(@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)
-