Class 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 Detail

      • legacyChannel

        public String legacyChannel()
      • modernChannelKey

        public net.kyori.adventure.key.Key modernChannelKey()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object