    001package net.minecraftforge.client.event.sound;
    002
    003import net.minecraft.entity.Entity;
    004import net.minecraft.client.audio.SoundManager;
    005import net.minecraft.client.audio.SoundPoolEntry;
    006import net.minecraftforge.common.MinecraftForge;
    007import net.minecraftforge.event.Cancelable;
    008import net.minecraftforge.event.Event;
    009
    010public 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}