Class PulseEngine

java.lang.Object
dev.pulsemc.pulse.api.network.PulseEngine

public class PulseEngine extends Object
The internal bridge and registry for the Pulse network engine services.

This class serves as the link between the Pulse API and the server implementation. It is automatically initialized by the server core during the bootstrap process. Note: Methods in this class are mostly for internal use. Developers should prefer using PulsePlayer.from(Player).

  • Field Details

    • provider

      public static Function<Player,PulsePlayer> provider
      Internal provider function set by the server core to handle player wrapping.
  • Constructor Details

    • PulseEngine

      public PulseEngine()
  • Method Details

    • getPulsePlayer

      public static PulsePlayer getPulsePlayer(Player player)
      Retrieves the PulsePlayer instance for a given Bukkit player.
      Parameters:
      player - the player to look up
      Returns:
      the specialized PulsePlayer instance, or null if the engine is not initialized