Uses of Interface
net.kyori.adventure.text.event.ClickCallback.Options.Builder
Packages that use ClickCallback.Options.Builder
Package
Description
Events that occur when players interact with components.
-
Uses of ClickCallback.Options.Builder in net.kyori.adventure.text.event
Methods in net.kyori.adventure.text.event that return ClickCallback.Options.BuilderModifier and TypeMethodDescriptionClickCallback.Options.builder()Create a new builder.ClickCallback.Options.builder(ClickCallback.Options existing) Create a new builder populating from existing options.ClickCallback.Options.Builder.lifetime(TemporalAmount duration) Set how long the callback should last from sending.ClickCallback.Options.Builder.uses(int useCount) Set the number of uses allowed for this callback.Method parameters in net.kyori.adventure.text.event with type arguments of type ClickCallback.Options.BuilderModifier and TypeMethodDescriptionstatic ClickEvent<?> ClickEvent.callback(ClickCallback<Audience> function, Consumer<ClickCallback.Options.Builder> optionsBuilder) Create a click event that, when clicked, will schedule a callback function to be executed on the server.