Package de.mrjulsen.dragnsounds.net.stc
Class StopSoundRequest
java.lang.Object
de.mrjulsen.dragnsounds.net.stc.StopSoundRequest
- All Implemented Interfaces:
de.mrjulsen.mcdragonlib.net.IPacketBase<StopSoundRequest>
public class StopSoundRequest
extends Object
implements de.mrjulsen.mcdragonlib.net.IPacketBase<StopSoundRequest>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondecode
(net.minecraft.network.FriendlyByteBuf buf) void
encode
(StopSoundRequest packet, net.minecraft.network.FriendlyByteBuf buf) void
handle
(StopSoundRequest packet, Supplier<dev.architectury.networking.NetworkManager.PacketContext> contextSupplier)
-
Constructor Details
-
StopSoundRequest
public StopSoundRequest() -
StopSoundRequest
public StopSoundRequest(long soundId)
-
-
Method Details
-
encode
- Specified by:
encode
in interfacede.mrjulsen.mcdragonlib.net.IPacketBase<StopSoundRequest>
-
decode
- Specified by:
decode
in interfacede.mrjulsen.mcdragonlib.net.IPacketBase<StopSoundRequest>
-
handle
public void handle(StopSoundRequest packet, Supplier<dev.architectury.networking.NetworkManager.PacketContext> contextSupplier) - Specified by:
handle
in interfacede.mrjulsen.mcdragonlib.net.IPacketBase<StopSoundRequest>
-