Class EntityPacketTracker.PacketAggregator

java.lang.Object
net.citizensnpcs.util.EntityPacketTracker.PacketAggregator
Enclosing interface:
EntityPacketTracker

public static class EntityPacketTracker.PacketAggregator extends Object
  • Constructor Details

    • PacketAggregator

      public PacketAggregator()
  • Method Details

    • add

      public void add(UUID uuid, Consumer<Object> conn)
    • removeConnection

      public void removeConnection(UUID uuid)
    • send

      public void send(Object packet)
    • startBundling

      public void startBundling()
    • stopBundlingAndSend

      public void stopBundlingAndSend()