Class Parsers
java.lang.Object
org.lushplugins.chatcolorhandler.parsers.Parsers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic net.kyori.adventure.text.minimessage.tag.resolver.TagResolver
getCombinedResolvers
(@Nullable net.kyori.adventure.audience.Audience audience) static net.kyori.adventure.text.minimessage.tag.resolver.TagResolver
getCombinedResolvers
(@Nullable net.kyori.adventure.audience.Audience audience, @NotNull List<Resolver> resolvers) static String
parseString
(@NotNull String string, Parser.OutputType outputType, @Nullable org.bukkit.entity.Player player, @NotNull List<Parser> parsers) static void
-
Constructor Details
-
Parsers
public Parsers()
-
-
Method Details
-
register
- Parameters:
parser
- parser to registerpriority
- priority of parser, higher value will go first
-
parseString
public static String parseString(@NotNull @NotNull String string, @NotNull Parser.OutputType outputType, @Nullable @Nullable org.bukkit.entity.Player player, @NotNull @NotNull List<Parser> parsers) -
getRegisteredParsers
-
getRegisteredResolvers
-
ofType
-
ofTypes
-
getCombinedResolvers
public static net.kyori.adventure.text.minimessage.tag.resolver.TagResolver getCombinedResolvers(@Nullable @Nullable net.kyori.adventure.audience.Audience audience) -
getCombinedResolvers
-