ForgePatch/common/net/minecraftforge/event/entity/PlaySoundAtEntityEvent.java
2012-12-12 21:58:35 -08:00

20 lines
494 B
Java

package net.minecraftforge.event.entity;
import net.minecraft.entity.Entity;
import net.minecraftforge.event.Cancelable;
@Cancelable
public class PlaySoundAtEntityEvent extends EntityEvent
{
public String name;
public final float volume;
public final float pitch;
public PlaySoundAtEntityEvent(Entity entity, String name, float volume, float pitch)
{
super(entity);
this.name = name;
this.volume = volume;
this.pitch = pitch;
}
}