Package net.kyori.adventure.text.event
Interface ClickCallback.Provider
- Enclosing interface:
- ClickCallback<T extends Audience>
A provider for actually producing click callbacks.
- Since:
- 4.13.0
-
Method Summary
Modifier and TypeMethodDescription@NotNull ClickEvent
create
(@NotNull ClickCallback<Audience> callback, @NotNull ClickCallback.Options options) Create a real click event based on the provided parameters.
-
Method Details
-
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
-