public class SPacketCustomSound extends java.lang.Object implements Packet<INetHandlerPlayClient>
Constructor and Description |
---|
SPacketCustomSound() |
SPacketCustomSound(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 |
---|---|
ResourceLocation |
func_197698_a() |
SoundCategory |
getCategory() |
float |
getPitch() |
float |
getVolume() |
double |
getX() |
double |
getY() |
double |
getZ() |
void |
processPacket(INetHandlerPlayClient handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldSkipErrors
public SPacketCustomSound()
public SPacketCustomSound(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 Packet<INetHandlerPlayClient>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface Packet<INetHandlerPlayClient>
java.io.IOException
public ResourceLocation func_197698_a()
public SoundCategory getCategory()
public double getX()
public double getY()
public double getZ()
public float getVolume()
public float getPitch()
public void processPacket(INetHandlerPlayClient handler)
processPacket
in interface Packet<INetHandlerPlayClient>