Interface PlaceholderParser.Builder
- All Superinterfaces:
AbstractBuilder<PlaceholderParser>
,Builder<PlaceholderParser,
,PlaceholderParser.Builder> ResettableBuilder<PlaceholderParser,
PlaceholderParser.Builder>
- Enclosing interface:
- PlaceholderParser
public static interface PlaceholderParser.Builder
extends Builder<PlaceholderParser,PlaceholderParser.Builder>
A builder that creates
PlaceholderParser
-
Method Summary
Modifier and TypeMethodDescriptionparser
(Function<PlaceholderContext, Component> parser) The function that converts aPlaceholderContext
toComponent
Methods inherited from interface net.kyori.adventure.builder.AbstractBuilder
build
-
Method Details
-
parser
The function that converts aPlaceholderContext
toComponent
- Parameters:
parser
- The function- Returns:
- This builder, for chaining
-