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 aPlaceholderContexttoComponentMethods inherited from interface net.kyori.adventure.builder.AbstractBuilder
build
-
Method Details
-
parser
The function that converts aPlaceholderContexttoComponent- Parameters:
parser- The function- Returns:
- This builder, for chaining
-