Class LazyPacket

java.lang.Object
net.minestom.server.network.packet.server.LazyPacket
All Implemented Interfaces:
SendablePacket

@Internal public final class LazyPacket extends Object implements SendablePacket
Represents a packet that is lazily allocated. Potentially in a different thread.

Supplier must be thread-safe.

  • Constructor Details

  • Method Details