Documentation ¶
Overview ¶
Package bridge contains packages for setting up a bridge between proxies of different Minecraft editions. Refer to Bridge struct.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bridge ¶
type Bridge struct { // At least one edition must be set. JavaProxy *jproxy.Proxy // Holds java edition players. BedrockProxy *bproxy.Proxy // Holds bedrock edition players // contains filtered or unexported fields }
Bridge allows "cross-play" between different Minecraft edition (Bedrock <-> Java) proxies. Exposed fields in this struct should be set before calling Setup.
It does so by registering various handlers and interceptors to the given proxies to translate connection protocols.
This struct may only be useful until Setup was called and can get garbage collected afterwards.
Click to show internal directories.
Click to hide internal directories.