Package com.mosaicmodding.tessera.sound
Interface TesseraSoundType.EquivalentEffectSoundAcceptor
- Enclosing class:
TesseraSoundType
public static interface TesseraSoundType.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)
-