Index

A B C D E F G H I K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form

A

addSerializer(Class<T>, ClassSerializer<? extends T>) - Method in class kr.toxicity.command.impl.BetterCommand
Adds class serializer
aliases() - Method in interface kr.toxicity.command.CommandArgument
Gets command aliases
aliases() - Element in annotation interface kr.toxicity.command.impl.annotation.Aliases
Gets aliases
aliases() - Method in class kr.toxicity.command.impl.CommandModule
 
aliases(String[]) - Method in class kr.toxicity.command.impl.CommandModule
Sets command aliases
Aliases - Annotation Interface in kr.toxicity.command.impl.annotation
Aliases of that command
ALIASES - Static variable in class kr.toxicity.command.impl.CommandModule
Aliases message
allMessages() - Static method in record class kr.toxicity.command.impl.CommandMessage
Gets all generated message
andPredicate(Predicate<? super W>) - Method in class kr.toxicity.command.impl.CommandModule
Sets a condition to and gate
audience() - Method in interface kr.toxicity.command.BetterCommandSource
Gets a kyori audience

B

BetterCommand - Class in kr.toxicity.command.impl
BetterCommand!
BetterCommand(File, ComponentSerializer<Component, Component, String>) - Constructor for class kr.toxicity.command.impl.BetterCommand
BetterCommand initializer
BetterCommand(File, ComponentSerializer<Component, Component, String>, CommandLogger) - Constructor for class kr.toxicity.command.impl.BetterCommand
BetterCommand initializer
BetterCommand.PrefixType - Enum Class in kr.toxicity.command.impl
Prefix type.
BetterCommandSource - Interface in kr.toxicity.command
A wrapped class of platform-side command source
build() - Method in class kr.toxicity.command.impl.ClassSerializer.Builder
Build ClassSerializer
build(Function<S, W>) - Method in interface kr.toxicity.command.CommandArgument
Build a brigadier command
build(Function<S, W>) - Method in class kr.toxicity.command.impl.CommandModule
 
builder(BiFunction<BetterCommandSource, String, R>) - Static method in class kr.toxicity.command.impl.ClassSerializer
Creates builder class of ClassSerializer
Builder() - Constructor for class kr.toxicity.command.impl.ClassSerializer.Builder
 

C

CanBeNull - Annotation Interface in kr.toxicity.command.impl.annotation
This parameter can be null
children(String, Consumer<CommandModule<? super W>>) - Method in class kr.toxicity.command.impl.CommandModule
Creates children module of parent
CHILDREN - Static variable in class kr.toxicity.command.impl.CommandModule
Sub-command argument message
ClassSerializer<T> - Class in kr.toxicity.command.impl
Class serializer
ClassSerializer.Builder<R> - Class in kr.toxicity.command.impl
Builder class of ClassSerializer
CLICK_MESSAGE - Static variable in class kr.toxicity.command.impl.CommandModule
Help command click message
Command - Annotation Interface in kr.toxicity.command.impl.annotation
This method is used to command module
CommandArgument<W extends BetterCommandSource> - Interface in kr.toxicity.command
Refers command argument
CommandListener - Interface in kr.toxicity.command
Empty interface for executor
CommandLogger - Interface in kr.toxicity.command
Command logger
CommandMessage - Record Class in kr.toxicity.command.impl
Component with translatable key
CommandMessage(String, Component) - Constructor for record class kr.toxicity.command.impl.CommandMessage
Creates instance.
CommandModule<W extends BetterCommandSource> - Class in kr.toxicity.command.impl
Main command module can include many sub-command
CommandModule() - Constructor for class kr.toxicity.command.impl.CommandModule
 
CommandPrefix - Record Class in kr.toxicity.command.impl
Command prefix
CommandPrefix(CommandMessage, CommandMessage, CommandMessage) - Constructor for record class kr.toxicity.command.impl.CommandPrefix
Initializes command prefix
compareTo(CommandMessage) - Method in record class kr.toxicity.command.impl.CommandMessage
 
conditional(Predicate<W>, CommandMessage) - Method in class kr.toxicity.command.impl.MessageFunction
Adds conditional message
CONSOLE - Enum constant in enum class kr.toxicity.command.SenderType
Console sender

D

DEFAULT - Static variable in interface kr.toxicity.command.CommandLogger
Default logger
DEFAULT - Static variable in class kr.toxicity.command.impl.ClassSerializer
Default null message
DEFAULT - Static variable in record class kr.toxicity.command.impl.CommandPrefix
Default command prefix
defaultMessage() - Method in record class kr.toxicity.command.impl.CommandMessage
Returns the value of the defaultMessage record component.
defaultMessage() - Method in class kr.toxicity.command.impl.MessageFunction
Gets default message
defaultValue() - Element in annotation interface kr.toxicity.command.impl.annotation.Description
Gets default message
description() - Method in interface kr.toxicity.command.CommandArgument
Gets command description
description() - Method in class kr.toxicity.command.impl.CommandModule
 
description(String, Component) - Method in class kr.toxicity.command.impl.CommandModule
Sets command description
description(CommandMessage) - Method in class kr.toxicity.command.impl.CommandModule
Sets command description
description(MessageFunction<W>) - Method in class kr.toxicity.command.impl.CommandModule
Sets command description
Description - Annotation Interface in kr.toxicity.command.impl.annotation
Description of command
deserialize(BetterCommandSource, String) - Method in class kr.toxicity.command.impl.ClassSerializer
Deserialize string to target instance

E

equals(Object) - Method in record class kr.toxicity.command.impl.CommandMessage
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class kr.toxicity.command.impl.CommandPrefix
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class kr.toxicity.command.ReloadState.Failure
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class kr.toxicity.command.ReloadState.Success
Indicates whether some other object is "equal to" this one.
error() - Method in record class kr.toxicity.command.impl.CommandPrefix
Returns the value of the error record component.
ERROR - Enum constant in enum class kr.toxicity.command.impl.BetterCommand.PrefixType
Error
ERROR - Enum constant in enum class kr.toxicity.command.MessageSender.SendLevel
Error level
exception() - Method in record class kr.toxicity.command.ReloadState.Failure
Returns the value of the exception record component.
exceptionHandler(Consumer<Throwable>) - Method in class kr.toxicity.command.impl.BetterCommand
Sets exception handler
executes(CommandListener) - Method in class kr.toxicity.command.impl.CommandModule
Sets executor of command

F

Failure(Exception) - Constructor for record class kr.toxicity.command.ReloadState.Failure
Creates an instance of a Failure record class.
find(W) - Method in class kr.toxicity.command.impl.MessageFunction
Finds proper message by command source

G

generateDefaultLang(Locale) - Method in class kr.toxicity.command.impl.BetterCommand
Generates lang file fit locale

H

hashCode() - Method in record class kr.toxicity.command.impl.CommandMessage
Returns a hash code value for this object.
hashCode() - Method in record class kr.toxicity.command.impl.CommandPrefix
Returns a hash code value for this object.
hashCode() - Method in record class kr.toxicity.command.ReloadState.Failure
Returns a hash code value for this object.
hashCode() - Method in record class kr.toxicity.command.ReloadState.Success
Returns a hash code value for this object.
hasPermission(String) - Method in interface kr.toxicity.command.BetterCommandSource
Checks whether this source has permission
helpName() - Method in class kr.toxicity.command.impl.CommandModule
Gets name in help command
helpName(String) - Method in class kr.toxicity.command.impl.CommandModule
Sets name in help command

I

info() - Method in record class kr.toxicity.command.impl.CommandPrefix
Returns the value of the info record component.
info(String...) - Method in interface kr.toxicity.command.CommandLogger
Sends messages to info level
INFO - Enum constant in enum class kr.toxicity.command.impl.BetterCommand.PrefixType
Info
INFO - Enum constant in enum class kr.toxicity.command.MessageSender.SendLevel
Info level

K

key() - Element in annotation interface kr.toxicity.command.impl.annotation.Description
Gets key
key() - Method in record class kr.toxicity.command.impl.CommandMessage
Returns the value of the key record component.
KeyAlreadyExistException - Exception in kr.toxicity.command.impl.exception
Message key already exists
KeyAlreadyExistException(String) - Constructor for exception kr.toxicity.command.impl.exception.KeyAlreadyExistException
Message key already exists
kr.toxicity.command - package kr.toxicity.command
 
kr.toxicity.command.impl - package kr.toxicity.command.impl
 
kr.toxicity.command.impl.annotation - package kr.toxicity.command.impl.annotation
 
kr.toxicity.command.impl.exception - package kr.toxicity.command.impl.exception
 

L

locale() - Method in interface kr.toxicity.command.BetterCommandSource
Gets a locale of source
logger() - Method in class kr.toxicity.command.impl.BetterCommand
Gets command logger

M

MessageFunction<W extends BetterCommandSource> - Class in kr.toxicity.command.impl
Gets a message by command source
MessageFunction() - Constructor for class kr.toxicity.command.impl.MessageFunction
 
MessageSender - Interface in kr.toxicity.command
A sender of command message
MessageSender.SendLevel - Enum Class in kr.toxicity.command
Logger level
module(String) - Method in class kr.toxicity.command.impl.BetterCommand
Creates a command module

N

name() - Method in interface kr.toxicity.command.CommandArgument
Gets command name
name() - Method in class kr.toxicity.command.impl.ClassSerializer
Gets a name of this serializer
name() - Method in class kr.toxicity.command.impl.CommandModule
 
name(String) - Method in class kr.toxicity.command.impl.ClassSerializer.Builder
Sets name
NotDirectoryException - Exception in kr.toxicity.command.impl.exception
Given file is not directory
NotDirectoryException(String) - Constructor for exception kr.toxicity.command.impl.exception.NotDirectoryException
Given file is not directory
NotJsonObjectException - Exception in kr.toxicity.command.impl.exception
Given json is not json object
NotJsonObjectException(String) - Constructor for exception kr.toxicity.command.impl.exception.NotJsonObjectException
Given json is not json object
NotJsonPrimitiveException - Exception in kr.toxicity.command.impl.exception
Given json is not json primitive
NotJsonPrimitiveException(String) - Constructor for exception kr.toxicity.command.impl.exception.NotJsonPrimitiveException
Given json is not json primitive
NotLastParameterException - Exception in kr.toxicity.command.impl.exception
These annotations can't be exists if this parameter is not last one.
NotLastParameterException(String) - Constructor for exception kr.toxicity.command.impl.exception.NotLastParameterException
These annotations can't be exists if this parameter is not last one.
NotSerializerRegisteredException - Exception in kr.toxicity.command.impl.exception
No serializer found matching this parameter type
NotSerializerRegisteredException(String) - Constructor for exception kr.toxicity.command.impl.exception.NotSerializerRegisteredException
No serializer found matching this parameter type
nullMessage() - Method in class kr.toxicity.command.impl.ClassSerializer
Gets null argument message
nullMessage(CommandMessage) - Method in class kr.toxicity.command.impl.ClassSerializer.Builder
Sets null message

O

ON_RELOAD - Static variable in interface kr.toxicity.command.ReloadState
Singleton instance of OnReload
OnReload() - Constructor for class kr.toxicity.command.ReloadState.OnReload
 
Option - Annotation Interface in kr.toxicity.command.impl.annotation
This parameter is optional (null if empty)
optional() - Method in class kr.toxicity.command.impl.ClassSerializer
Gets optional argument message
OPTIONAL_ARGUMENT - Static variable in class kr.toxicity.command.impl.CommandModule
Optional argument message
orPredicate(Predicate<? super W>) - Method in class kr.toxicity.command.impl.CommandModule
Sets a condition to and gate

P

permission() - Method in interface kr.toxicity.command.CommandArgument
Gets command permission
permission() - Method in class kr.toxicity.command.impl.CommandModule
 
permission(String) - Method in class kr.toxicity.command.impl.CommandModule
Sets command permission
Permission - Annotation Interface in kr.toxicity.command.impl.annotation
This command requires permission
PERMISSIONS - Static variable in class kr.toxicity.command.impl.CommandModule
Permission message
PLAYER - Enum constant in enum class kr.toxicity.command.SenderType
Player sender
prefix() - Method in class kr.toxicity.command.impl.BetterCommand
Gets command prefix
prefix(BetterCommandSource, BetterCommand.PrefixType) - Method in class kr.toxicity.command.impl.BetterCommand
Gets prefix component.
prefix(CommandPrefix) - Method in class kr.toxicity.command.impl.BetterCommand
Sets command prefix

R

registerKey(CommandMessage) - Method in class kr.toxicity.command.impl.BetterCommand
Creates message sender depend on message
reload() - Method in class kr.toxicity.command.impl.BetterCommand
Reload lang file
ReloadState - Interface in kr.toxicity.command
A state of reload
ReloadState.Failure - Record Class in kr.toxicity.command
Reload failure
ReloadState.OnReload - Class in kr.toxicity.command
Still on reload
ReloadState.Success - Record Class in kr.toxicity.command
Reload success
required() - Method in class kr.toxicity.command.impl.ClassSerializer
Gets required argument message
REQUIRED_ARGUMENT - Static variable in class kr.toxicity.command.impl.CommandModule
Required argument message

S

send(BetterCommandSource) - Method in interface kr.toxicity.command.MessageSender
Sends message to source
send(BetterCommandSource, Map<String, Component>) - Method in interface kr.toxicity.command.MessageSender
Sends message to source
send(MessageSender.SendLevel, BetterCommandSource, Map<String, Component>) - Method in interface kr.toxicity.command.MessageSender
Sends message to source
Sender - Annotation Interface in kr.toxicity.command.impl.annotation
This command can be executed by some type of command source
SenderType - Enum Class in kr.toxicity.command
A type of sender
silentLog(Supplier<Boolean>) - Method in class kr.toxicity.command.impl.BetterCommand
Sets whether to disable log
Source - Annotation Interface in kr.toxicity.command.impl.annotation
This parameter is command source of command
Success(long) - Constructor for record class kr.toxicity.command.ReloadState.Success
Creates an instance of a Success record class.
suggests(Function<BetterCommandSource, List<String>>) - Method in class kr.toxicity.command.impl.ClassSerializer.Builder
Sets suggestion
suggests(BetterCommandSource) - Method in class kr.toxicity.command.impl.ClassSerializer
Suggests a proper string by its source

T

time() - Method in record class kr.toxicity.command.ReloadState.Success
Returns the value of the time record component.
toString() - Method in record class kr.toxicity.command.impl.CommandMessage
Returns a string representation of this record class.
toString() - Method in record class kr.toxicity.command.impl.CommandPrefix
Returns a string representation of this record class.
toString() - Method in record class kr.toxicity.command.ReloadState.Failure
Returns a string representation of this record class.
toString() - Method in record class kr.toxicity.command.ReloadState.Success
Returns a string representation of this record class.
type() - Method in interface kr.toxicity.command.BetterCommandSource
Gets source type
type() - Element in annotation interface kr.toxicity.command.impl.annotation.Sender
Gets all applicable type
type() - Method in class kr.toxicity.command.impl.CommandModule
Gets all applicable type
type(SenderType[]) - Method in class kr.toxicity.command.impl.CommandModule
Sets applicable type

U

UNKNOWN_DESCRIPTION - Static variable in class kr.toxicity.command.impl.CommandModule
Unknown description message
usage(W) - Method in interface kr.toxicity.command.CommandArgument
Gets usage of this command
usage(W) - Method in class kr.toxicity.command.impl.CommandModule
 

V

value() - Element in annotation interface kr.toxicity.command.impl.annotation.Permission
Gets permission key
valueOf(String) - Static method in enum class kr.toxicity.command.impl.BetterCommand.PrefixType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class kr.toxicity.command.MessageSender.SendLevel
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class kr.toxicity.command.SenderType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class kr.toxicity.command.impl.BetterCommand.PrefixType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class kr.toxicity.command.MessageSender.SendLevel
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class kr.toxicity.command.SenderType
Returns an array containing the constants of this enum class, in the order they are declared.
Vararg - Annotation Interface in kr.toxicity.command.impl.annotation
This string is a greedy string (include " ")

W

warn() - Method in record class kr.toxicity.command.impl.CommandPrefix
Returns the value of the warn record component.
warn(String...) - Method in interface kr.toxicity.command.CommandLogger
Sends messages to warn level
WARN - Enum constant in enum class kr.toxicity.command.impl.BetterCommand.PrefixType
Warn
WARN - Enum constant in enum class kr.toxicity.command.MessageSender.SendLevel
Warn level
A B C D E F G H I K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form