mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 14:14:48 +00:00
Implemented a way to play ISound(s) to players without using a sound ID.
This commit is contained in:
1 parent
3e537043dc
commit
4d7dbb0114
2 files changed
+4
No files matched your search
@@ -238,6 +238,8 @@ public abstract class AbstractNpcAPI {
|
||||
|
||||
public abstract void playSound(int id, ISound sound);
|
||||
|
||||
public abstract void playSound(ISound sound);
|
||||
|
||||
public abstract void stopSound(int id);
|
||||
|
||||
public abstract void pauseSounds();
|
||||
|
||||
@@ -231,6 +231,8 @@ public interface IPlayer<T extends EntityPlayerMP> extends IEntityLivingBase<T>
|
||||
|
||||
void playSound(int id, ISound sound);
|
||||
|
||||
void playSound(ISound sound);
|
||||
|
||||
void stopSound(int id);
|
||||
|
||||
void pauseSounds();
|
||||
|
||||
Reference in new issue
Block a user