Class MiniMessagePlaceholderParser
java.lang.Object
org.lushplugins.chatcolorhandler.parsers.custom.MiniMessagePlaceholderParser
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lushplugins.chatcolorhandler.parsers.Parser
Parser.OutputType -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescription@NotNull net.kyori.adventure.text.minimessage.tag.resolver.TagResolvergetType()parseString(@NotNull String string, @NotNull Parser.OutputType outputType) Parse a stringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.lushplugins.chatcolorhandler.parsers.Parser
parseStringMethods inherited from interface org.lushplugins.chatcolorhandler.parsers.Resolver
getResolver
-
Field Details
-
INSTANCE
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceParser- Returns:
- The type of the parser
ParserTypes
-
parseString
public String parseString(@NotNull @NotNull String string, @NotNull @NotNull Parser.OutputType outputType) Description copied from interface:ParserParse a string- Specified by:
parseStringin interfaceParser- Specified by:
parseStringin interfaceResolver- Parameters:
string- The string to parseoutputType- The output type to parse for- Returns:
- The parsed string
-
getResolver
@NotNull public @NotNull net.kyori.adventure.text.minimessage.tag.resolver.TagResolver getResolver()- Specified by:
getResolverin interfaceResolver
-