- Enclosing class:
FabricSoundsProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
default void
default void
void
-
Method Details
-
add
Adds a sound event.
- Parameters:
event - the sound event
builder - the sound event details
-
add
Adds a sound event.
- Parameters:
event - registry entry for sound event
builder - the sound event details
- Throws:
IllegalArgumentException - if the registry entry provided has not been registered
-
add
Adds a sound event.
- Parameters:
id - the id of a sound event
builder - the sound event details