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.

TED_Modding

Members
  • Joined

  • Last visited

  1. Nevermind I found it. I used "new ResourceLocation(UniversalCoins.modid, "textures/gui/tradeStation.png")"
  2. Having a similar issue. How does one reference to a png in "assets/modid/textures/gui/gui.png" using a ResourceLocation?
  3. If this helps, I already have a custom slot for the buying and selling result.
  4. I am currently making a mod that uses a GUI with various slots. The mod is a trading mod and uses something similar to crafting + materials inventory (a input, 2 outputs - one for buying and one for selling - and 18 inventory slots to keep coins for buying items). The problem is that I need to disable the 1.5 or newer inventory handling feature where a double-click on an itemstack will try to make an as large of a stack of that item, using up the inventory slots. So, a double click in the coin inventory will also remove from the selling result slot (where coins appear if you have a valid item to sell). I would like to disable the removing of items form the result slot in case of a double-click. If that is not possible, I would like to disable double-clicking in the coin inventory. Obviously, I am available to answer any questions. I don't believe code is necessary, but I will provide it if necessary.

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.