Interface PacketRegistry<T>
- All Known Implementing Classes:
PacketRegistry.Client
,PacketRegistry.ClientConfiguration
,PacketRegistry.ClientHandshake
,PacketRegistry.ClientLogin
,PacketRegistry.ClientPlay
,PacketRegistry.ClientStatus
,PacketRegistry.PacketRegistryTemplate
,PacketRegistry.Server
,PacketRegistry.ServerConfiguration
,PacketRegistry.ServerHandshake
,PacketRegistry.ServerLogin
,PacketRegistry.ServerPlay
,PacketRegistry.ServerStatus
public interface PacketRegistry<T>
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
static final class
static final class
static final class
static final class
static final class
static final record
static class
static class
static final class
static final class
static final class
static final class
static final class
-
Method Summary
Modifier and TypeMethodDescription@UnknownNullability T
create
(int packetId, @NotNull NetworkBuffer reader) packetInfo
(int packetId) packetInfo
(@NotNull Class<?> packetClass) default PacketRegistry.PacketInfo
<T> packetInfo
(T packet)
-
Method Details
-
create
-
packetInfo
-
packetInfo
-
packetInfo
-