mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-21 16:12:17 +00:00
ISound:
-Allows for the changing of several sound attributes, including volume, pitch, repeating, etc. NpcAPI, IPlayer, IWorld: -Added more sound functions, with sounds that can be stopped and started based on an ID.
This commit is contained in:
1 parent
e6e266f3b6
commit
d1762654ba
16 files changed
+566
-7
No files matched your search
@@ -0,0 +1,37 @@
|
||||
package noppes.npcs.scripted.interfaces.handler.data;
|
||||
|
||||
import noppes.npcs.scripted.interfaces.IPos;
|
||||
import noppes.npcs.scripted.interfaces.entity.IEntity;
|
||||
|
||||
public interface ISound {
|
||||
|
||||
void setEntity(IEntity entity);
|
||||
|
||||
IEntity getEntity();
|
||||
|
||||
void setRepeat(boolean repeat);
|
||||
|
||||
boolean repeats();
|
||||
|
||||
void setRepeatDelay(int delay);
|
||||
|
||||
int getRepeatDelay();
|
||||
|
||||
void setVolume(float volume);
|
||||
|
||||
float getVolume();
|
||||
|
||||
void setPitch(float pitch);
|
||||
|
||||
float getPitch();
|
||||
|
||||
void setPosition(IPos pos);
|
||||
|
||||
void setPosition(float x, float y, float z);
|
||||
|
||||
float getX();
|
||||
|
||||
float getY();
|
||||
|
||||
float getZ();
|
||||
}
|
||||
Reference in new issue
Block a user