Interface ExtendedSoundType.EquivalentEffectSoundAcceptor
- Enclosing class:
ExtendedSoundType
public static interface ExtendedSoundType.EquivalentEffectSoundAcceptor
An interface that serves as a context-appropriate vanilla-matching playSound call.
Volume and Pitch parameters will be modified in the same way as vanilla does it for block sounds.
Avoid this if you want more precise control over volume/pitch.
-
Method Summary
-
Method Details
-
playSound
-
playSound
void playSound(net.minecraft.sounds.SoundEvent event, float volume, float pitch)
-