public class SPlaySoundPacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
コンストラクタと説明 |
---|
SPlaySoundPacket() |
SPlaySoundPacket(ResourceLocation p_i47939_1_,
SoundCategory p_i47939_2_,
Vec3d p_i47939_3_,
float p_i47939_4_,
float p_i47939_5_) |
修飾子とタイプ | メソッドと説明 |
---|---|
SoundCategory |
getCategory() |
float |
getPitch() |
ResourceLocation |
getSoundName() |
float |
getVolume() |
double |
getX() |
double |
getY() |
double |
getZ() |
void |
processPacket(IClientPlayNetHandler 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.
|
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
インタフェース内 IPacket<IClientPlayNetHandler>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
インタフェース内 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
インタフェース内 IPacket<IClientPlayNetHandler>