Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

I am trying to create a shop in my mods for my minecraft server. And I watch a lot of video about it but It was never working and I look at the forge documentation but nothing was working. (I am trying to do somethings similar to this)

CaptureGui.PNG

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.

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.