Package net.kyori.adventure.text.event
Interface ClickCallback.Options.Builder
- All Superinterfaces:
 AbstractBuilder<ClickCallback.Options>
- Enclosing interface:
 - ClickCallback.Options
 
@NonExtendable
public static interface ClickCallback.Options.Builder
extends AbstractBuilder<ClickCallback.Options>
A builder for callback options.
- Since:
 - 4.13.0
 
- 
Method Summary
Modifier and TypeMethodDescription@NotNull ClickCallback.Options.Builderlifetime(@NotNull TemporalAmount duration) Set how long the callback should last from sending.@NotNull ClickCallback.Options.Builderuses(int useCount) Set the number of uses allowed for this callback.Methods inherited from interface net.kyori.adventure.builder.AbstractBuilder
build 
- 
Method Details
- 
uses
Set the number of uses allowed for this callback.- Parameters:
 useCount- the number of allowed uses, orClickCallback.UNLIMITED_USES- Returns:
 - this builder
 - Since:
 - 4.13.0
 
 - 
lifetime
Set how long the callback should last from sending.- Parameters:
 duration- the duration of this callback, from the time it is sent- Returns:
 - this builder
 - Since:
 - 4.13.0
 
 
 -