Interface PlaceholderParser.Builder
-
- All Superinterfaces:
Buildable.Builder<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 createsPlaceholderParser
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PlaceholderParser.Builder
parser(Function<PlaceholderContext,Component> parser)
The function that converts aPlaceholderContext
toComponent
-
Methods inherited from interface net.kyori.adventure.util.Buildable.Builder
build
-
-
-
-
Method Detail
-
parser
PlaceholderParser.Builder parser(Function<PlaceholderContext,Component> parser)
The function that converts aPlaceholderContext
toComponent
- Parameters:
parser
- The function- Returns:
- This builder, for chaining
-
-