Package net.kyori.adventure.text.event
Interface ClickCallback.Provider
-
- Enclosing interface:
- ClickCallback<T extends Audience>
@PlatformAPI @Internal public static interface ClickCallback.Provider
A provider for actually producing click callbacks.- Since:
- 4.13.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull ClickEvent
create(@NotNull ClickCallback<Audience> callback, @NotNull ClickCallback.Options options)
Create a real click event based on the provided parameters.
-
-
-
Method Detail
-
create
@NotNull @NotNull ClickEvent create(@NotNull @NotNull ClickCallback<Audience> callback, @NotNull @NotNull ClickCallback.Options options)
Create a real click event based on the provided parameters.- Parameters:
callback
- the callback to executeoptions
- the options to apply to this callback- Returns:
- a created click event that will execute the provided callback with options
- Since:
- 4.13.0
-
-