Package wtf.choco.veinminer.network
Interface MessageReceiver
- All Known Implementing Classes:
FabricServerState
,VeinMinerPlayer
public interface MessageReceiver
A target capable of being sent a
PluginMessage
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
sendMessage
(@NotNull NamespacedKey channel, byte[] message) Send a message represented by the given bytes on the specified channel.
-
Method Details
-
sendMessage
Send a message represented by the given bytes on the specified channel.- Parameters:
channel
- the channel on which the message should be sentmessage
- the message bytes to be sent
-