-
Notifications
You must be signed in to change notification settings - Fork 31
Adding Audio
Alchyr edited this page Jul 22, 2025
·
3 revisions
This page is specifically for sound effects. Adding music is significantly more complicated due to requiring interaction with the game's existing music system to change what songs are played.
Custom sound effects can be added using BaseMod's AddAudioSubscriber. BasicMod implements this interface and has some additional code to make it a bit easier to use.
WIP
Brief explanation of normal registration process.
Explanation of how util/Sounds.java
is loaded.
Explanation of playing audio using the variables defined in Sounds.java
similarly to any audio key in SoundMaster
.