Class ClientboundStopSoundPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.clientbound.ClientboundStopSoundPacket
- All Implemented Interfaces:
Packet, MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionClientboundStopSoundPacket(io.netty.buffer.ByteBuf in) ClientboundStopSoundPacket(@Nullable SoundCategory category, @Nullable String sound) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanboolean@Nullable SoundCategory@Nullable StringgetSound()inthashCode()voidserialize(io.netty.buffer.ByteBuf out) @NonNull StringtoString()@NonNull ClientboundStopSoundPacketwithCategory(@Nullable SoundCategory category) @NonNull ClientboundStopSoundPacketMethods inherited from interface Packet
isPriority, isTerminal
-
Constructor Details
-
ClientboundStopSoundPacket
public ClientboundStopSoundPacket(io.netty.buffer.ByteBuf in) -
ClientboundStopSoundPacket
-
-
Method Details
-
serialize
public void serialize(io.netty.buffer.ByteBuf out) - Specified by:
serializein interfaceMinecraftPacket
-
getCategory
-
getSound
-
equals
-
canEqual
-
hashCode
-
toString
-
withCategory
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withSound
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-