soundsystemlib-neoforge-0.2.1.jar
Curse Maven Snippet
What's new
Emitters that are not where their blocks are stored
PlaybackScenehas two new methods,listenerIn(part, listener)andtoWorld(part, point), for blocks that can be stored somewhere other than where they are seen. Sable, which Create Aeronautics builds its airships with, keeps the blocks of a ship in a far-away "plot" and draws them where the ship is.- The engine works out what the listener hears from each emitter part in that part's own frame: its distance, the way it is aimed and the blocks in between.
listenerInbrings the listener into that frame. The result is then placed back in the world withtoWorld, so a speaker on a moving ship is heard from the ship, and its sound turns as the ship turns. - Both methods do nothing by default: a mod that does not implement them sounds exactly as before. A mod built against 0.2.1 that implements them still runs on 0.2.0, where they are never called (its sound then comes from where the blocks are stored).
Compatibility
- No change to the network protocol, the config file or any existing method of the API. Mods made for 0.2.0 work unchanged.
- Minecraft 1.21.1, Fabric and NeoForge, as before.
This mod has no additional files