public class SPlaySoundPacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
Constructor and Description |
---|
SPlaySoundPacket() |
SPlaySoundPacket(ResourceLocation p_i47939_1_,
SoundCategory p_i47939_2_,
Vec3d p_i47939_3_,
float p_i47939_4_,
float p_i47939_5_) |
Modifier and Type | Method and Description |
---|---|
SoundCategory |
getCategory() |
float |
getPitch() |
ResourceLocation |
getSoundName() |
float |
getVolume() |
double |
getX() |
double |
getY() |
double |
getZ() |
void |
processPacket(IClientPlayNetHandler handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldSkipErrors
public SPlaySoundPacket()
public SPlaySoundPacket(ResourceLocation p_i47939_1_, SoundCategory p_i47939_2_, Vec3d p_i47939_3_, float p_i47939_4_, float p_i47939_5_)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
public ResourceLocation getSoundName()
public SoundCategory getCategory()
public double getX()
public double getY()
public double getZ()
public float getVolume()
public float getPitch()
public void processPacket(IClientPlayNetHandler handler)
processPacket
in interface IPacket<IClientPlayNetHandler>