Index

A B C D E F G I L M N P R S T V 
All Classes and Interfaces|All Packages

A

addViewers(Entity, Player...) - Method in interface dev.pulsemc.pulse.api.virtual.entity.VirtualEntityManager
Adds players to the viewers list of this virtual entity.

B

beginContext() - Method in interface dev.pulsemc.pulse.api.virtual.block.VirtualBlockManager
Enables manual virtual context mode.

C

canBeOptimized() - Method in class dev.pulsemc.pulse.api.events.network.PulsePacketSendEvent
Checks if this packet is allowed to be optimized.
clearAll() - Method in interface dev.pulsemc.pulse.api.virtual.block.VirtualBlockManager
Clears all virtual blocks tracked for this player.
clearAll() - Method in interface dev.pulsemc.pulse.api.virtual.entity.VirtualEntityManager
Removes all virtual entities belonging to this player.

D

dev.pulsemc.pulse.api.enums - package dev.pulsemc.pulse.api.enums
 
dev.pulsemc.pulse.api.events.metrics - package dev.pulsemc.pulse.api.events.metrics
 
dev.pulsemc.pulse.api.events.network - package dev.pulsemc.pulse.api.events.network
 
dev.pulsemc.pulse.api.events.optimization - package dev.pulsemc.pulse.api.events.optimization
 
dev.pulsemc.pulse.api.events.virtual.block - package dev.pulsemc.pulse.api.events.virtual.block
 
dev.pulsemc.pulse.api.network - package dev.pulsemc.pulse.api.network
 
dev.pulsemc.pulse.api.virtual.block - package dev.pulsemc.pulse.api.virtual.block
 
dev.pulsemc.pulse.api.virtual.entity - package dev.pulsemc.pulse.api.virtual.entity
 

E

endContext() - Method in interface dev.pulsemc.pulse.api.virtual.block.VirtualBlockManager
Disables manual virtual context mode and returns to normal network behavior.

F

flush() - Method in interface dev.pulsemc.pulse.api.network.NetworkBuffer
Flushes the packet buffer for the player.
FlushReason - Enum Class in dev.pulsemc.pulse.api.enums
Represents the reason why the packet buffer was flushed to the network.
from(Player) - Static method in interface dev.pulsemc.pulse.api.network.PulsePlayer
Obtains a PulsePlayer instance for a standard Bukkit player.

G

getAction() - Method in class dev.pulsemc.pulse.api.events.virtual.block.PulseVirtualBlockInteractEvent
 
getAddress() - Method in class dev.pulsemc.pulse.api.events.network.PulsePreLoginPacketEvent
 
getBandwidthKB() - Method in class dev.pulsemc.pulse.api.events.metrics.PulseMetricUpdateEvent
 
getBlock(Location) - Method in interface dev.pulsemc.pulse.api.virtual.block.VirtualBlockManager
Retrieves the data of a virtual block if it is currently tracked.
getBuffer() - Method in interface dev.pulsemc.pulse.api.network.PulsePlayer
Accesses the player's outbound network buffer.
getBukkitPlayer() - Method in interface dev.pulsemc.pulse.api.network.PulsePlayer
Gets the original Bukkit player instance associated with this PulsePlayer.
getChunk() - Method in class dev.pulsemc.pulse.api.events.optimization.PulseChunkOptimizationEvent
Gets the chunk where the updates are happening.
getCpuSavings() - Method in class dev.pulsemc.pulse.api.events.metrics.PulseMetricUpdateEvent
Gets the estimated CPU load saved by Pulse.
getEntities() - Method in interface dev.pulsemc.pulse.api.virtual.entity.VirtualEntityManager
Gets a collection of all active virtual entities for this player.
getHandlerList() - Static method in class dev.pulsemc.pulse.api.events.metrics.PulseMetricUpdateEvent
 
getHandlerList() - Static method in class dev.pulsemc.pulse.api.events.network.PulseBufferFlushEvent
 
getHandlerList() - Static method in class dev.pulsemc.pulse.api.events.network.PulsePacketReceiveEvent
 
getHandlerList() - Static method in class dev.pulsemc.pulse.api.events.network.PulsePacketSendEvent
 
getHandlerList() - Static method in class dev.pulsemc.pulse.api.events.network.PulsePreLoginPacketEvent
 
getHandlerList() - Static method in class dev.pulsemc.pulse.api.events.optimization.PulseChunkOptimizationEvent
 
getHandlerList() - Static method in class dev.pulsemc.pulse.api.events.virtual.block.PulseVirtualBlockBreakEvent
 
getHandlerList() - Static method in class dev.pulsemc.pulse.api.events.virtual.block.PulseVirtualBlockInteractEvent
 
getHandlers() - Method in class dev.pulsemc.pulse.api.events.metrics.PulseMetricUpdateEvent
 
getHandlers() - Method in class dev.pulsemc.pulse.api.events.network.PulseBufferFlushEvent
 
getHandlers() - Method in class dev.pulsemc.pulse.api.events.network.PulsePacketReceiveEvent
 
getHandlers() - Method in class dev.pulsemc.pulse.api.events.network.PulsePacketSendEvent
 
getHandlers() - Method in class dev.pulsemc.pulse.api.events.network.PulsePreLoginPacketEvent
 
getHandlers() - Method in class dev.pulsemc.pulse.api.events.optimization.PulseChunkOptimizationEvent
 
getHandlers() - Method in class dev.pulsemc.pulse.api.events.virtual.block.PulseVirtualBlockBreakEvent
 
getHandlers() - Method in class dev.pulsemc.pulse.api.events.virtual.block.PulseVirtualBlockInteractEvent
 
getLocation() - Method in class dev.pulsemc.pulse.api.events.virtual.block.PulseVirtualBlockBreakEvent
 
getLocation() - Method in class dev.pulsemc.pulse.api.events.virtual.block.PulseVirtualBlockInteractEvent
 
getLogicalPPS() - Method in class dev.pulsemc.pulse.api.events.metrics.PulseMetricUpdateEvent
 
getPacket() - Method in class dev.pulsemc.pulse.api.events.network.PulsePacketReceiveEvent
 
getPacket() - Method in class dev.pulsemc.pulse.api.events.network.PulsePacketSendEvent
Gets the raw packet being sent.
getPacket() - Method in class dev.pulsemc.pulse.api.events.network.PulsePreLoginPacketEvent
 
getPacketCount() - Method in class dev.pulsemc.pulse.api.events.network.PulseBufferFlushEvent
Gets the number of packets in this batch.
getPacketCount() - Method in class dev.pulsemc.pulse.api.events.optimization.PulseChunkOptimizationEvent
Gets the number of individual block update packets that were queued.
getPacketName() - Method in class dev.pulsemc.pulse.api.events.network.PulsePacketReceiveEvent
Gets the simple class name of the packet (e.g.
getPacketName() - Method in class dev.pulsemc.pulse.api.events.network.PulsePreLoginPacketEvent
 
getPendingBytes() - Method in interface dev.pulsemc.pulse.api.network.NetworkBuffer
Gets the total number of bytes currently waiting in the outbound buffer.
getPhysicalPPS() - Method in class dev.pulsemc.pulse.api.events.metrics.PulseMetricUpdateEvent
 
getPlayer() - Method in class dev.pulsemc.pulse.api.events.network.PulseBufferFlushEvent
Gets the player whose buffer was flushed.
getPlayer() - Method in class dev.pulsemc.pulse.api.events.network.PulsePacketReceiveEvent
 
getPlayer() - Method in class dev.pulsemc.pulse.api.events.network.PulsePacketSendEvent
Gets the player receiving this packet.
getPlayer() - Method in class dev.pulsemc.pulse.api.events.optimization.PulseChunkOptimizationEvent
Gets the player receiving the updates.
getPlayer() - Method in class dev.pulsemc.pulse.api.events.virtual.block.PulseVirtualBlockBreakEvent
 
getPlayer() - Method in class dev.pulsemc.pulse.api.events.virtual.block.PulseVirtualBlockInteractEvent
 
getPulsePlayer(Player) - Static method in class dev.pulsemc.pulse.api.network.PulseEngine
Retrieves the PulsePlayer instance for a given Bukkit player.
getReason() - Method in class dev.pulsemc.pulse.api.events.network.PulseBufferFlushEvent
Gets the reason for the flush.
getTotalBytes() - Method in class dev.pulsemc.pulse.api.events.network.PulseBufferFlushEvent
Gets the size of the batch in bytes.
getViewers(Entity) - Method in interface dev.pulsemc.pulse.api.virtual.entity.VirtualEntityManager
Gets a list of UUIDs of all players currently seeing this entity.
getVirtualBlock() - Method in class dev.pulsemc.pulse.api.events.virtual.block.PulseVirtualBlockBreakEvent
 
getVirtualBlock() - Method in class dev.pulsemc.pulse.api.events.virtual.block.PulseVirtualBlockInteractEvent
 
getVirtualBlockManager() - Method in interface dev.pulsemc.pulse.api.network.PulsePlayer
Accesses the manager for persistent virtual (client-side only) blocks.
getVirtualEntityManager() - Method in interface dev.pulsemc.pulse.api.network.PulsePlayer
Accesses the manager for Virtual Entities (AI-driven per-player mobs).

I

INSTANT - Enum constant in enum class dev.pulsemc.pulse.api.enums.FlushReason
Flushed because a critical packet (e.g., KeepAlive) or a packet with a listener was sent.
INTERVAL - Enum constant in enum class dev.pulsemc.pulse.api.enums.FlushReason
Flushed by the interval scheduler (Interval Mode).
isCancelled() - Method in class dev.pulsemc.pulse.api.events.network.PulsePacketReceiveEvent
 
isCancelled() - Method in class dev.pulsemc.pulse.api.events.network.PulsePacketSendEvent
 
isCancelled() - Method in class dev.pulsemc.pulse.api.events.network.PulsePreLoginPacketEvent
 
isCancelled() - Method in class dev.pulsemc.pulse.api.events.optimization.PulseChunkOptimizationEvent
 
isCancelled() - Method in class dev.pulsemc.pulse.api.events.virtual.block.PulseVirtualBlockBreakEvent
 
isCancelled() - Method in class dev.pulsemc.pulse.api.events.virtual.block.PulseVirtualBlockInteractEvent
 
isForceSendImmediately() - Method in class dev.pulsemc.pulse.api.events.network.PulsePacketSendEvent
Checks if immediate sending is requested.
isIncoming() - Method in class dev.pulsemc.pulse.api.events.network.PulsePreLoginPacketEvent
 
isVanillaInteractionCancelled() - Method in class dev.pulsemc.pulse.api.events.virtual.block.PulseVirtualBlockInteractEvent
Should the vanilla server interaction be cancelled?
isVirtualEntity(Entity) - Method in interface dev.pulsemc.pulse.api.virtual.entity.VirtualEntityManager
Checks if the specified Bukkit entity is a virtual entity managed by Pulse.

L

LIMIT_BYTES - Enum constant in enum class dev.pulsemc.pulse.api.enums.FlushReason
The buffer exceeded the maximum byte size.
LIMIT_COUNT - Enum constant in enum class dev.pulsemc.pulse.api.enums.FlushReason
The buffer exceeded the maximum packet count.

M

MANUAL - Enum constant in enum class dev.pulsemc.pulse.api.enums.FlushReason
Flushed manually via the API or command.

N

NetworkBuffer - Interface in dev.pulsemc.pulse.api.network
Manages the outbound packet buffer for a player's network connection.

P

provider - Static variable in class dev.pulsemc.pulse.api.network.PulseEngine
Internal provider function set by the server core to handle player wrapping.
PulseBufferFlushEvent - Class in dev.pulsemc.pulse.api.events.network
Triggered when the PulseBuffer flushes accumulated packets to the network.
PulseBufferFlushEvent(Player, FlushReason, int, long) - Constructor for class dev.pulsemc.pulse.api.events.network.PulseBufferFlushEvent
 
PulseChunkOptimizationEvent - Class in dev.pulsemc.pulse.api.events.optimization
Triggered when Pulse detects massive block updates in a single chunk and attempts to replace them with a single ChunkData packet.
PulseChunkOptimizationEvent(Player, Chunk, int) - Constructor for class dev.pulsemc.pulse.api.events.optimization.PulseChunkOptimizationEvent
 
PulseEngine - Class in dev.pulsemc.pulse.api.network
The internal bridge and registry for the Pulse network engine services.
PulseEngine() - Constructor for class dev.pulsemc.pulse.api.network.PulseEngine
 
PulseMetricUpdateEvent - Class in dev.pulsemc.pulse.api.events.metrics
Triggered periodically (default: 1s) when PulseMetrics updates its statistics.
PulseMetricUpdateEvent(double, double, double, double) - Constructor for class dev.pulsemc.pulse.api.events.metrics.PulseMetricUpdateEvent
 
PulsePacketReceiveEvent - Class in dev.pulsemc.pulse.api.events.network
Triggered asynchronously when the server receives a packet from a client.
PulsePacketReceiveEvent(Player, Object) - Constructor for class dev.pulsemc.pulse.api.events.network.PulsePacketReceiveEvent
 
PulsePacketSendEvent - Class in dev.pulsemc.pulse.api.events.network
Triggered when a packet is about to be added to the Pulse buffer.
PulsePacketSendEvent(Player, Object) - Constructor for class dev.pulsemc.pulse.api.events.network.PulsePacketSendEvent
 
PulsePlayer - Interface in dev.pulsemc.pulse.api.network
Represents a specialized wrapper for a Player within the Pulse network engine.
PulsePreLoginPacketEvent - Class in dev.pulsemc.pulse.api.events.network
Triggered asynchronously for packets sent or received before the player has fully joined.
PulsePreLoginPacketEvent(InetAddress, Object, boolean) - Constructor for class dev.pulsemc.pulse.api.events.network.PulsePreLoginPacketEvent
 
PulseVirtualBlockBreakEvent - Class in dev.pulsemc.pulse.api.events.virtual.block
Triggered when a player successfully breaks a virtual block.
PulseVirtualBlockBreakEvent(Player, Location, BlockData) - Constructor for class dev.pulsemc.pulse.api.events.virtual.block.PulseVirtualBlockBreakEvent
 
PulseVirtualBlockInteractEvent - Class in dev.pulsemc.pulse.api.events.virtual.block
Triggered when a player interacts (Left/Right clicks) with a virtual block.
PulseVirtualBlockInteractEvent(Player, Location, BlockData, Action) - Constructor for class dev.pulsemc.pulse.api.events.virtual.block.PulseVirtualBlockInteractEvent
 

R

removeBlock(Location) - Method in interface dev.pulsemc.pulse.api.virtual.block.VirtualBlockManager
Removes a virtual block and restores the actual server-side state.
removeViewers(Entity, Player...) - Method in interface dev.pulsemc.pulse.api.virtual.entity.VirtualEntityManager
Removes players from the viewers list.

S

setBlock(Location, BlockData) - Method in interface dev.pulsemc.pulse.api.virtual.block.VirtualBlockManager
Sets a persistent virtual block at the specified location.
setCanBeOptimized(boolean) - Method in class dev.pulsemc.pulse.api.events.network.PulsePacketSendEvent
Sets whether this packet can be optimized by the engine.
setCancelled(boolean) - Method in class dev.pulsemc.pulse.api.events.network.PulsePacketReceiveEvent
 
setCancelled(boolean) - Method in class dev.pulsemc.pulse.api.events.network.PulsePacketSendEvent
 
setCancelled(boolean) - Method in class dev.pulsemc.pulse.api.events.network.PulsePreLoginPacketEvent
 
setCancelled(boolean) - Method in class dev.pulsemc.pulse.api.events.optimization.PulseChunkOptimizationEvent
 
setCancelled(boolean) - Method in class dev.pulsemc.pulse.api.events.virtual.block.PulseVirtualBlockBreakEvent
 
setCancelled(boolean) - Method in class dev.pulsemc.pulse.api.events.virtual.block.PulseVirtualBlockInteractEvent
 
setCancelVanillaInteraction(boolean) - Method in class dev.pulsemc.pulse.api.events.virtual.block.PulseVirtualBlockInteractEvent
 
setForceSendImmediately(boolean) - Method in class dev.pulsemc.pulse.api.events.network.PulsePacketSendEvent
Sets whether this packet should bypass the buffer and be sent immediately.
setPacket(Object) - Method in class dev.pulsemc.pulse.api.events.network.PulsePacketReceiveEvent
Replaces the incoming packet with a modified one.
setPacket(Object) - Method in class dev.pulsemc.pulse.api.events.network.PulsePreLoginPacketEvent
 
setPacket(Object) - Method in class dev.pulsemc.pulse.api.events.network.PulsePacketSendEvent
Replaces the packet with a modified one.
setViewers(Entity, Player...) - Method in interface dev.pulsemc.pulse.api.virtual.entity.VirtualEntityManager
Replaces the current viewers list with a new one.
spawnEntity(Location, Class<T>) - Method in interface dev.pulsemc.pulse.api.virtual.entity.VirtualEntityManager
Spawns a virtual entity with native AI.

T

TICK - Enum constant in enum class dev.pulsemc.pulse.api.enums.FlushReason
Flushed at the end of the server tick.

V

valueOf(String) - Static method in enum class dev.pulsemc.pulse.api.enums.FlushReason
Returns the enum constant of this class with the specified name.
values() - Static method in enum class dev.pulsemc.pulse.api.enums.FlushReason
Returns an array containing the constants of this enum class, in the order they are declared.
VirtualBlockManager - Interface in dev.pulsemc.pulse.api.virtual.block
Manages virtual (client-side only) blocks for a specific player.
VirtualEntityManager - Interface in dev.pulsemc.pulse.api.virtual.entity
Manages virtual (client-side only) entities that possess server-side AI.
A B C D E F G I L M N P R S T V 
All Classes and Interfaces|All Packages