Uses of Interface
dev.sympho.modular_commands.api.command.parameter.parse.BooleanParser
Packages that use BooleanParser
Package
Description
Interfaces defining how received arguments are parsed.
-
Uses of BooleanParser in dev.sympho.modular_commands.api.command.parameter.parse
Methods in dev.sympho.modular_commands.api.command.parameter.parse that return BooleanParserModifier and TypeMethodDescriptionstatic BooleanParser<Boolean>
Parsers.bool()
Creates a parser that receives plain boolean values.static <T extends @NonNull Object>
BooleanParser<T>Parsers.bool
(ParserFunction<Boolean, T> parser) Creates a parser that uses the given function to parse received values.static <T extends @NonNull Object>
BooleanParser<T>Parsers.bool
(T trueValue, T falseValue) Creates a parser that receives one of two values depending on the argument.