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