public class SPacketStopSound extends java.lang.Object implements Packet<INetHandlerPlayClient>
| Constructor and Description |
|---|
SPacketStopSound() |
SPacketStopSound(ResourceLocation p_i47929_1_,
SoundCategory p_i47929_2_) |
| Modifier and Type | Method and Description |
|---|---|
SoundCategory |
getCategory() |
ResourceLocation |
getName() |
void |
processPacket(INetHandlerPlayClient handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshouldSkipErrorspublic SPacketStopSound()
public SPacketStopSound(@Nullable
ResourceLocation p_i47929_1_,
@Nullable
SoundCategory p_i47929_2_)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData in interface Packet<INetHandlerPlayClient>java.io.IOExceptionpublic void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData in interface Packet<INetHandlerPlayClient>java.io.IOException@Nullable public ResourceLocation getName()
@Nullable public SoundCategory getCategory()
public void processPacket(INetHandlerPlayClient handler)
processPacket in interface Packet<INetHandlerPlayClient>