Class PacketRegistry.PacketRegistryTemplate<T>
java.lang.Object
net.minestom.server.network.packet.PacketRegistry.PacketRegistryTemplate<T>
- All Implemented Interfaces:
PacketRegistry<T>
- Direct Known Subclasses:
PacketRegistry.Client
,PacketRegistry.Server
- Enclosing interface:
PacketRegistry<T>
public static sealed class PacketRegistry.PacketRegistryTemplate<T>
extends Object
implements PacketRegistry<T>
permits PacketRegistry.Client, PacketRegistry.Server
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minestom.server.network.packet.PacketRegistry
PacketRegistry.Client, PacketRegistry.ClientConfiguration, PacketRegistry.ClientHandshake, PacketRegistry.ClientLogin, PacketRegistry.ClientPlay, PacketRegistry.ClientStatus, PacketRegistry.PacketInfo<T>, PacketRegistry.PacketRegistryTemplate<T>, PacketRegistry.Server, PacketRegistry.ServerConfiguration, PacketRegistry.ServerHandshake, PacketRegistry.ServerLogin, PacketRegistry.ServerPlay, PacketRegistry.ServerStatus
-
Method Summary
Modifier and TypeMethodDescription@UnknownNullability T
create
(int packetId, @NotNull NetworkBuffer reader) packetInfo
(int packetId) packetInfo
(@NotNull Class<?> packetClass) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minestom.server.network.packet.PacketRegistry
packetInfo
-
Method Details
-
create
- Specified by:
create
in interfacePacketRegistry<T>
-
packetInfo
- Specified by:
packetInfo
in interfacePacketRegistry<T>
-
packetInfo
- Specified by:
packetInfo
in interfacePacketRegistry<T>
-