You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently do not export any window manager. A window manager is needed to actually interact with the GUI. An example window manager exists in the web folder and it's viewable through GitHub pages. Exposing an API for other packages to use will be more difficult;
the click based system should be relatively simple to implement ontop of the GUI - every time the window emits a click event, you proxy that over through the network for example. Once you send the interaction, once confirmed prismarine-windows needs to update the inventory client side then the window manager needs to update the items in the GUI.
likewise, when an update happens in prismarine windows, the window manager needs to update the items in the GUI
separate window managers will need to be exposed for java and bedrock edition if no cross platform API is implemented
The above so far does not account for more complex interactions in the inventory, such as click and drag. For these, a transaction based system will need to be implemented where the client can assume the state several steps in advance, then send to the server for confirmation or rejection. An implementation for Minecraft Bedrock Edition which does most of this functionality can be found on the bedrock branch.
As you can see, the bulk of the work doesn't exist inside this lib, but is dependent on other APIs in prismarine windows. See related discussion : PrismarineJS/bedrock-protocol#116 (comment)
The text was updated successfully, but these errors were encountered:
See also the README for some documentation.
We currently do not export any window manager. A window manager is needed to actually interact with the GUI. An example window manager exists in the web folder and it's viewable through GitHub pages. Exposing an API for other packages to use will be more difficult;
The above so far does not account for more complex interactions in the inventory, such as click and drag. For these, a transaction based system will need to be implemented where the client can assume the state several steps in advance, then send to the server for confirmation or rejection. An implementation for Minecraft Bedrock Edition which does most of this functionality can be found on the bedrock branch.
As you can see, the bulk of the work doesn't exist inside this lib, but is dependent on other APIs in prismarine windows. See related discussion : PrismarineJS/bedrock-protocol#116 (comment)
The text was updated successfully, but these errors were encountered: