Interface PayloadReceiver<T extends CustomPacketPayload>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Handles a received payload. Called on the game's main thread;
PacketContext.queue(java.lang.Runnable) defers work to the next
tick if needed.-
Method Summary
-
Method Details
-
receive
-