public final class PacketUtils
extends java.lang.Object
Constructor and Description |
---|
PacketUtils() |
Modifier and Type | Method and Description |
---|---|
static ProtocolMapping[] |
maps(int id,
ProtocolVersions... versions) |
static boolean |
register(Protocol direction,
java.lang.Class<? extends net.md_5.bungee.protocol.DefinedPacket> packet,
ProtocolMapping... mappings) |
public static boolean register(Protocol direction, java.lang.Class<? extends net.md_5.bungee.protocol.DefinedPacket> packet, ProtocolMapping... mappings)
public static ProtocolMapping[] maps(int id, ProtocolVersions... versions)