Jump to content

[1.18.X] Create Custom Gui


tristan le plus bg

Recommended Posts

I'm not a expert at Screens and Menus but here a few hints what you have to do or where you can look for examples.

  1. Due to the fact that a shop should be handled server-side, I recommend you to use a menu because you can handle button clicks easier
    and you can make sure no data has been modified without permission from a client.
  2. Depending on how many trades you want to have in your shop, you will need a scroll bar to properly handle that massive number of trades.
    You can take a look at the StonecutterScreen or the MerchantScreen for an example of a scroll bar.
  3. The other stuff is just a bit rendering of a texture (you can use all vanilla Screens for an example), add a few Button and handle the Button click in your Menu.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.