public class WauzNoteBlockPlayer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static WauzCore |
core
A direct reference to the main class.
|
Constructor and Description |
---|
WauzNoteBlockPlayer() |
Modifier and Type | Method and Description |
---|---|
static void |
play(org.bukkit.entity.Player player)
Plays the soundtrack of their current world to the player.
|
private static void |
play(org.bukkit.entity.Player player,
java.io.File soundtrackFile)
Plays the given ".nbs" file to the player.
|
static void |
play(org.bukkit.entity.Player player,
java.lang.String songName)
Plays a specific soundtrack to the player.
|
private static WauzCore core
public static void play(org.bukkit.entity.Player player)
player
- The player that should hear the music.public static void play(org.bukkit.entity.Player player, java.lang.String songName)
player
- The player that should hear the music.songName
- The name of the song, without ".nbs".private static void play(org.bukkit.entity.Player player, java.io.File soundtrackFile)
player
- The player that should hear the music.soundtrackFile
- The ".nbs" file.