Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
@NotNull Cooldown |
build()
Assembles the
Cooldown . |
@NotNull Cooldown.Builder |
color(@NotNull java.awt.Color color)
Sets the color to be built into the
Cooldown . |
@NotNull Cooldown.Builder |
color(int color)
Sets the color to be built into the
Cooldown . |
@NotNull Cooldown.Builder |
duration(long duration)
Sets the duration to be built into the
Cooldown . |
@NotNull Cooldown.Builder |
id(@NotNull java.util.UUID id)
Sets the ID to be built into the
Cooldown . |
@NotNull Cooldown.Builder |
name(@NotNull java.lang.String name)
Sets the name to be built into the
Cooldown . |
@NotNull Cooldown.Builder |
texture(@NotNull ClientResource texture)
Sets the texture to be built into the
Cooldown . |
@NotNull public @NotNull Cooldown.Builder id(@NotNull @NotNull java.util.UUID id)
Cooldown
.id
- the ID@NotNull public @NotNull Cooldown.Builder name(@NotNull @NotNull java.lang.String name)
Cooldown
.name
- the name@NotNull public @NotNull Cooldown.Builder color(int color)
Cooldown
.color
- the color@NotNull public @NotNull Cooldown.Builder color(@NotNull @NotNull java.awt.Color color)
Cooldown
.color
- the color@NotNull public @NotNull Cooldown.Builder duration(long duration)
Cooldown
.duration
- the duration@NotNull public @NotNull Cooldown.Builder texture(@NotNull @NotNull ClientResource texture)
Cooldown
.texture
- the texture