Class Note

java.lang.Object
com.marcusslover.plus.lib.sound.Note
All Implemented Interfaces:
ISendable<Note>

public class Note extends Object implements ISendable<Note>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final net.kyori.adventure.sound.Sound
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static @NotNull Note
    of(@NotNull String sound)
     
    static @NotNull Note
    of(@NotNull String sound, float volume, float pitch)
     
    static @NotNull Note
    of(@NotNull String sound, float volume, float pitch, long seed)
     
    static @NotNull Note
    of(@NotNull String sound, float volume, float pitch, net.kyori.adventure.sound.Sound.Source source)
     
    static @NotNull Note
    of(@NotNull String sound, float volume, float pitch, net.kyori.adventure.sound.Sound.Source source, long seed)
     
    static @NotNull Note
    of(@NotNull String sound, long seed)
     
    static @NotNull Note
    of(@NotNull net.kyori.adventure.key.Key key)
     
    static @NotNull Note
    of(@NotNull net.kyori.adventure.key.Key key, float volume, float pitch)
     
    static @NotNull Note
    of(@NotNull net.kyori.adventure.key.Key key, float volume, float pitch, long seed)
     
    static @NotNull Note
    of(@NotNull net.kyori.adventure.key.Key key, float volume, float pitch, net.kyori.adventure.sound.Sound.Source source)
     
    static @NotNull Note
    of(@NotNull net.kyori.adventure.key.Key key, float volume, float pitch, net.kyori.adventure.sound.Sound.Source source, long seed)
     
    static @NotNull Note
    of(@NotNull net.kyori.adventure.key.Key key, long seed)
     
    static @NotNull Note
    of(@NotNull net.kyori.adventure.sound.Sound sound)
     
    static @NotNull Note
    of(org.bukkit.Sound sound)
     
    static @NotNull Note
    of(org.bukkit.Sound sound, float volume, float pitch)
     
    static @NotNull Note
    of(org.bukkit.Sound sound, float volume, float pitch, long seed)
     
    static @NotNull Note
    of(org.bukkit.Sound sound, float volume, float pitch, net.kyori.adventure.sound.Sound.Source source)
     
    static @NotNull Note
    of(org.bukkit.Sound sound, float volume, float pitch, net.kyori.adventure.sound.Sound.Source source, long seed)
     
    static @NotNull Note
    of(org.bukkit.Sound sound, long seed)
     
    @NotNull Note
    send(net.kyori.adventure.audience.Audience audience)
     
    @NotNull Note
    send(@NotNull org.bukkit.Location location)
     
    @NotNull Note
    send(@NotNull org.bukkit.Location location, @NotNull net.kyori.adventure.audience.Audience audience)
     
    <T extends org.bukkit.command.CommandSender>
    @NotNull Note
    send(T target)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.marcusslover.plus.lib.common.ISendable

    send, send, sendAll, sendAll, sendAll
  • Field Details

    • sound

      protected final net.kyori.adventure.sound.Sound sound
  • Constructor Details

    • Note

      public Note()
  • Method Details

    • of

      @NotNull public static @NotNull Note of(@NotNull org.bukkit.Sound sound)
    • of

      @NotNull public static @NotNull Note of(@NotNull org.bukkit.Sound sound, long seed)
    • of

      @NotNull public static @NotNull Note of(@NotNull org.bukkit.Sound sound, float volume, float pitch)
    • of

      @NotNull public static @NotNull Note of(@NotNull org.bukkit.Sound sound, float volume, float pitch, long seed)
    • of

      @NotNull public static @NotNull Note of(@NotNull org.bukkit.Sound sound, float volume, float pitch, @NotNull net.kyori.adventure.sound.Sound.Source source)
    • of

      @NotNull public static @NotNull Note of(@NotNull org.bukkit.Sound sound, float volume, float pitch, @NotNull net.kyori.adventure.sound.Sound.Source source, long seed)
    • of

      @NotNull public static @NotNull Note of(@NotNull @NotNull net.kyori.adventure.sound.Sound sound)
    • of

      @NotNull public static @NotNull Note of(@NotNull @KeyPattern @NotNull String sound)
    • of

      @NotNull public static @NotNull Note of(@NotNull @KeyPattern @NotNull String sound, long seed)
    • of

      @NotNull public static @NotNull Note of(@NotNull @KeyPattern @NotNull String sound, float volume, float pitch)
    • of

      @NotNull public static @NotNull Note of(@NotNull @KeyPattern @NotNull String sound, float volume, float pitch, long seed)
    • of

      @NotNull public static @NotNull Note of(@NotNull @KeyPattern @NotNull String sound, float volume, float pitch, @NotNull net.kyori.adventure.sound.Sound.Source source)
    • of

      @NotNull public static @NotNull Note of(@NotNull @KeyPattern @NotNull String sound, float volume, float pitch, @NotNull net.kyori.adventure.sound.Sound.Source source, long seed)
    • of

      @NotNull public static @NotNull Note of(@NotNull @NotNull net.kyori.adventure.key.Key key)
    • of

      @NotNull public static @NotNull Note of(@NotNull @NotNull net.kyori.adventure.key.Key key, long seed)
    • of

      @NotNull public static @NotNull Note of(@NotNull @NotNull net.kyori.adventure.key.Key key, float volume, float pitch)
    • of

      @NotNull public static @NotNull Note of(@NotNull @NotNull net.kyori.adventure.key.Key key, float volume, float pitch, long seed)
    • of

      @NotNull public static @NotNull Note of(@NotNull @NotNull net.kyori.adventure.key.Key key, float volume, float pitch, @NotNull net.kyori.adventure.sound.Sound.Source source)
    • of

      @NotNull public static @NotNull Note of(@NotNull @NotNull net.kyori.adventure.key.Key key, float volume, float pitch, @NotNull net.kyori.adventure.sound.Sound.Source source, long seed)
    • send

      @NotNull public @NotNull Note send(@NotNull @NotNull org.bukkit.Location location)
    • send

      @NotNull public @NotNull Note send(@NotNull @NotNull org.bukkit.Location location, @NotNull @NotNull net.kyori.adventure.audience.Audience audience)
    • send

      @NotNull public <T extends org.bukkit.command.CommandSender> @NotNull Note send(@NotNull T target)
      Specified by:
      send in interface ISendable<Note>
    • send

      @NotNull public @NotNull Note send(net.kyori.adventure.audience.Audience audience)
      Specified by:
      send in interface ISendable<Note>