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