public class PacketPlayOutSoundEffect extends OutPacket
| Modifier and Type | Field and Description |
|---|---|
protected Position |
loc |
protected int |
pitch |
protected SoundEffectType |
sound |
protected float |
volume |
| Constructor and Description |
|---|
PacketPlayOutSoundEffect() |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(ByteBuf buf)
Serialized the data held by this packet into a buffer
|
int |
id()
Gets the ID of this packet, according to the protocol specification
|
Position |
location() |
int |
pitch() |
SoundEffectType |
sound() |
float |
volume() |
decode, direction, handleReceived, setprotected SoundEffectType sound
protected float volume
protected int pitch
public PacketPlayOutSoundEffect()
Copyright © 2016. All rights reserved.