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