import { world } from "@minecraft/server";
import { ENTRY_SOUND_IDS } from "./FSConstants";
export default class FSSoundManager {
    static playElevatorSound(entity, soundIndex) {
        if (soundIndex === 0) {
            return;
        }
        world.getAllPlayers().forEach((player) => {
            player.runCommand(`/stopsound @a`);
        });
        world.playSound(ENTRY_SOUND_IDS[soundIndex], entity.location);
    }
}

//# sourceMappingURL=../../../../_SBUNK_BPDebug/fs_sbunk/fs/FSSoundManager.js.map
