@pumpkin-plugins/distant-horizons-support-pumpkin API / placeholders/service / DistantHorizonsPlaceholderService
Class: DistantHorizonsPlaceholderService
Defined in: packages/distant-horizons-support-pumpkin/src/placeholders/service.ts:23
Owns the optional dhs expansion and its recoverable PumpkinPIE session.
Methods
handleIpcMessage()
handleIpcMessage(
sender,message):Uint8Array
Defined in: packages/distant-horizons-support-pumpkin/src/placeholders/service.ts:46
Routes only the actual host sender and payload through the shared expansion router.
Parameters
sender
string
message
Uint8Array
Returns
Uint8Array
stop()
stop():
void
Defined in: packages/distant-horizons-support-pumpkin/src/placeholders/service.ts:51
Stops the local session without sending IPC while Pumpkin is unloading the plugin.
Returns
void
tick()
tick():
void
Defined in: packages/distant-horizons-support-pumpkin/src/placeholders/service.ts:41
Negotiates the provider and reapplies the namespace after automatic recovery.
Returns
void