public class PlaySoundAtEntityEvent extends EntityEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructingEvent.HasResult, Event.Result| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
name |
float |
pitch |
float |
volume |
entity| Constructor and Description |
|---|
PlaySoundAtEntityEvent(Entity entity,
java.lang.String name,
float volume,
float pitch) |
getListenerList, getResult, hasResult, isCancelable, isCanceled, setCanceled, setResult, setuppublic java.lang.String name
public final float volume
public final float pitch
public PlaySoundAtEntityEvent(Entity entity, java.lang.String name, float volume, float pitch)