public class SStopSoundPacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
Modifier and Type | Field and Description |
---|---|
private SoundCategory |
category |
private ResourceLocation |
name |
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, wait
shouldSkipErrors
private ResourceLocation name
private SoundCategory category
public 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.IOException
public 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>