2012-08-07 08:24:06 +00:00
|
|
|
package net.minecraftforge.client.event.sound;
|
|
|
|
|
2013-12-17 01:18:48 +00:00
|
|
|
import cpw.mods.fml.common.eventhandler.Event;
|
2012-12-13 05:58:35 +00:00
|
|
|
import net.minecraft.client.audio.SoundPoolEntry;
|
2012-08-07 08:24:06 +00:00
|
|
|
import net.minecraftforge.common.MinecraftForge;
|
|
|
|
|
|
|
|
public class SoundEvent extends Event
|
|
|
|
{
|
|
|
|
public SoundEvent(){}
|
|
|
|
|
|
|
|
public static SoundPoolEntry getResult(SoundResultEvent event)
|
|
|
|
{
|
|
|
|
MinecraftForge.EVENT_BUS.post(event);
|
|
|
|
return event.result;
|
|
|
|
}
|
|
|
|
}
|