Class SoundEvent.SoundSourceEvent
- java.lang.Object
-
- net.minecraftforge.eventbus.api.Event
-
- net.minecraftforge.client.event.sound.SoundEvent
-
- net.minecraftforge.client.event.sound.SoundEvent.SoundSourceEvent
-
- Direct Known Subclasses:
PlaySoundSourceEvent
,PlayStreamingSourceEvent
- Enclosing class:
- SoundEvent
public static class SoundEvent.SoundSourceEvent extends SoundEvent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraftforge.client.event.sound.SoundEvent
SoundEvent.SoundSourceEvent
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
name
private ISound
sound
private SoundSource
source
-
Constructor Summary
Constructors Constructor Description SoundSourceEvent(SoundEngine manager, ISound sound, SoundSource source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
ISound
getSound()
SoundSource
getSource()
-
Methods inherited from class net.minecraftforge.client.event.sound.SoundEvent
getManager
-
-
-
-
Field Detail
-
sound
private final ISound sound
-
source
private final SoundSource source
-
name
private final java.lang.String name
-
-
Constructor Detail
-
SoundSourceEvent
public SoundSourceEvent(SoundEngine manager, ISound sound, SoundSource source)
-
-
Method Detail
-
getSound
public ISound getSound()
-
getSource
public SoundSource getSource()
-
getName
public java.lang.String getName()
-
-