Interface PacketPrePlayListenerConsumer<T extends ClientPacket>
- Type Parameters:
T
- the packet type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Small convenient interface to use method references with
PacketListenerManager.setListener(ConnectionState, Class, PacketPrePlayListenerConsumer)
.-
Method Summary
-
Method Details
-
accept
-