Nightbreak Java API
Toggle table of contents
JVM
Target filter
JVM
Switch theme
Search in API
Skip to content
Nightbreak Java API
MagmaCore
/
com.magmaguy.easyminecraftgoals.internal
/
PacketEntityInteractionManager
/
Dispatch
Dispatch
public
final
class
Dispatch
Members
Functions
handle
Link copied to clipboard
public
boolean
handle
(
Player
player
,
boolean isAttack
)
Invokes the captured handler only while its exact mapping is still current.
public
boolean
handle
(
Player
player
,
PacketInteractionContext
context
)
Invokes the captured handler directly with decoded packet context.
prepare
Link copied to clipboard
public
PacketEntityInteractionManager.PreparedInteraction
prepare
(
PacketInteractionContext
context
)
Resolves packet routing on the calling network thread.