Class PairedPluginChannelId
- java.lang.Object
-
- com.velocitypowered.api.proxy.messages.PairedPluginChannelId
-
- All Implemented Interfaces:
PluginChannelId
public final class PairedPluginChannelId extends Object implements PluginChannelId
Represents a legacy channel identifier (for Minecraft 1.12 and below) paired with a namespaced key for 1.13 and above. This class is immutable and safe for multi-threaded use.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)inthashCode()StringlegacyChannel()net.kyori.adventure.key.KeymodernChannelKey()StringtoString()
-
-
-
Method Detail
-
legacyChannel
public String legacyChannel()
-
modernChannelKey
public net.kyori.adventure.key.Key modernChannelKey()
-
-