sgui
sgui copied to clipboard
Library for creating custom, server side guis on Fabric
Propagate ba47d3a817d6e044b22a6d29d507c90e21e86a87 commit to 1.19.1
Please make a wiki that explains how to create various GUIs
Please include some further documentation if possible, including that you need to replace TAG with the version data. If possible, maybe a simple example to demonstrate how to use the...
Could you add the ItemStack that the player is clicking with passing to the onClick family of events? It is possible, since it is sent in the packet. I know...
### De-syncing when using number keys Here's a minimal setup to reproduce this bug: ```java dispatcher.register(literal("de-sync-1").executes(context -> { var player = context.getSource().getPlayerOrThrow(); var hotbar = new HotbarGui(player); hotbar.setSlot(0, new ItemStack(Items.GOLDEN_PICKAXE));...
A potential fix for #49. If I misunderstood something please let me know and disregard this. resolves #49
I don't know if this was intended, but currently the onTrade method of MerchantGui is only called once if someone uses shift + click to complete a trade more than...
When I set the command to open another UI by clicking the text in BookGui, the other UI will be invalid