Creating a Stylize Instance
If you want to get started quickly, use the stylize() method. It returns a stylize instance with a basic default config, with StandardTags.defaults(), Placeholder API & MiniPlaceholders.
Example:
Stylize stylize = Stylize.stylize();To customize your stylize instance, utilize the builder() method. This enables you to select specific features and options tailored to your needs.
Methods:
parsePlaceholderAPI(boolean): Enable/disable Placeholder API parsing.parseMiniPlaceholders(boolean): Enable/disable MiniPlaceholders parsing.characters(Collection<Character>): Set legacy styling characters.tags(TagResolver): Set tag resolver.build(): Creates theStylizeinstance.
Example:
Stylize stylize = Stylize.builder()
.characters(List.of('&'))
.tags(StandardTags.defaults())
.build();Last updated