public class S29PacketSoundEffect extends java.lang.Object implements Packet<INetHandlerPlayClient>
Constructor and Description |
---|
S29PacketSoundEffect() |
S29PacketSoundEffect(java.lang.String soundNameIn,
double soundX,
double soundY,
double soundZ,
float volume,
float pitch) |
Modifier and Type | Method and Description |
---|---|
float |
getPitch() |
java.lang.String |
getSoundName() |
float |
getVolume() |
double |
getX() |
double |
getY() |
double |
getZ() |
void |
processPacket(INetHandlerPlayClient handler)
Passes this Packet on to the NetHandler for processing.
|
void |
readPacketData(PacketBuffer buf)
Reads the raw packet data from the data stream.
|
void |
writePacketData(PacketBuffer buf)
Writes the raw packet data to the data stream.
|
public S29PacketSoundEffect()
public S29PacketSoundEffect(java.lang.String soundNameIn, double soundX, double soundY, double soundZ, float volume, float pitch)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface Packet<INetHandlerPlayClient>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface Packet<INetHandlerPlayClient>
java.io.IOException
public java.lang.String getSoundName()
public void processPacket(INetHandlerPlayClient handler)
processPacket
in interface Packet<INetHandlerPlayClient>
public double getX()
public double getY()
public double getZ()
public float getVolume()
public float getPitch()