Class SoundBase.Builder
java.lang.Object
net.okocraft.box.feature.gui.api.util.SoundBase.Builder
- Enclosing class:
SoundBase
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull SoundBase
build()
@NotNull SoundBase.Builder
pitch
(float pitch) @NotNull SoundBase.Builder
seed
(long seed) @NotNull SoundBase.Builder
sound
(@NotNull net.kyori.adventure.key.Key sound) @NotNull SoundBase.Builder
sound
(org.bukkit.Sound sound) @NotNull SoundBase.Builder
source
(Sound.Source source) @NotNull SoundBase.Builder
source
(@NotNull org.bukkit.SoundCategory category) @NotNull SoundBase.Builder
volume
(float volume)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sound
@Contract("_ -> this") @NotNull public @NotNull SoundBase.Builder sound(@NotNull @NotNull net.kyori.adventure.key.Key sound) -
sound
@Contract("_ -> this") @NotNull public @NotNull SoundBase.Builder sound(@NotNull org.bukkit.Sound sound) -
source
@Contract("_ -> this") @NotNull public @NotNull SoundBase.Builder source(@NotNull Sound.Source source) -
source
@Contract("_ -> this") @NotNull public @NotNull SoundBase.Builder source(@NotNull @NotNull org.bukkit.SoundCategory category) -
volume
-
pitch
-
seed
-
build
-