mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-03 06:28:49 +00:00
Add sound effects
This commit is contained in:
1 parent
7b1930e554
commit
7d4dc6f11d
5 files changed
+33
-4
No files matched your search
@@ -82,6 +82,13 @@ public abstract class OnlineUser extends User {
|
||||
*/
|
||||
public abstract void sendMinecraftMessage(@NotNull String translationKey);
|
||||
|
||||
/**
|
||||
* Play the specified sound to this player
|
||||
*
|
||||
* @param soundEffect the sound effect to play. If the sound name is invalid, the sound will not play
|
||||
*/
|
||||
public abstract void playSound(@NotNull String soundEffect);
|
||||
|
||||
/**
|
||||
* Teleport a player to the specified {@link Location}
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user