    001    package net.minecraftforge.client.event.sound;
    002
    003    import net.minecraft.src.Entity;
    004    import net.minecraft.src.SoundManager;
    005    import net.minecraft.src.SoundPoolEntry;
    006    import net.minecraftforge.common.MinecraftForge;
    007    import net.minecraftforge.event.Cancelable;
    008    import net.minecraftforge.event.Event;
    009
    010    public class SoundEvent extends Event
    011    {
    012        public SoundEvent(){}
    013
    014        public static SoundPoolEntry getResult(SoundResultEvent event)
    015        {
    016            MinecraftForge.EVENT_BUS.post(event);
    017            return event.result;
    018        }
    019    }