Class SoundBase.Builder

java.lang.Object
net.okocraft.box.feature.gui.api.util.SoundBase.Builder
Enclosing class:
SoundBase

public static class SoundBase.Builder extends Object
  • 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

      @Contract("_ -> this") @NotNull public @NotNull SoundBase.Builder volume(float volume)
    • pitch

      @Contract("_ -> this") @NotNull public @NotNull SoundBase.Builder pitch(float pitch)
    • seed

      @Contract("_ -> this") @NotNull public @NotNull SoundBase.Builder seed(long seed)
    • build

      @Contract(value=" -> new", pure=true) @NotNull public @NotNull SoundBase build()