MCPcopy Create free account
hub / github.com/demoth/jake2 / StartSound

Method StartSound

client/src/main/java/jake2/client/sound/S.java:180–182  ·  view source on GitHub ↗

StartSound - Validates the parms and ques the sound up if pos is NULL, the sound will be dynamically sourced from the entity Entchannel 0 will never override a playing sound

(float[] origin, int entnum, int entchannel, sfx_t sfx, float fvol, float attenuation, float timeofs)

Source from the content-addressed store, hash-verified

178 * Entchannel 0 will never override a playing sound
179 */
180 public static void StartSound(float[] origin, int entnum, int entchannel, sfx_t sfx, float fvol, float attenuation, float timeofs) {
181 impl.StartSound(origin, entnum, entchannel, sfx, fvol, attenuation, timeofs);
182 }
183
184 /**
185 * Updates the sound renderer according to the changes in the environment,

Callers 5

ParseMuzzleFlashMethod · 0.95
ParseMuzzleFlash2Method · 0.95
EntityEventMethod · 0.95
ParseTEntMethod · 0.95
ParseStartSoundPacketMethod · 0.95

Calls 1

StartSoundMethod · 0.65

Tested by

no test coverage detected