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.

Blaueseichoern

Members
  • Joined

  • Last visited

  1. I'm having a custom liquid and now I want to make it fill a bucket. With 1.2.5 it was very easy, but now using forge 4.x, I'm not able to find the right method. I guess it has something to do with "FillBucketEvent", but I'm not able to register it for my liquid. So does anybody know how to make custom filled buckets with 4.x?
  2. #Fixed I had to write a new drawTexturedModalRectMethod. For those of you who are also having trouble, at creating vertical overlays with negative parameters, I will post the code. EXPLANATION: It's needed, because when you call the method with one negative and one positive size(drawTexturedModalRect(int x, int y, int u, int v, int width, int height), the order of the Corners being added is changed. CODE : This code allows to update the GUI in the other 4 directions: decrease x, increase y increase x, decrease some Pictures:
  3. Didn't work. It's really frustrating , because 2 are working and the other two don't change at all.
  4. Like the title says, I'm stuck at using the overlay method drawTexturedModalRect for a custom GUI. More specific, I have 4 custom texture places to be updated, 2 of them are working , the others not. I will only post the GUI***.java , because the other code isn't the Problem. I think the different algebraic signs are the reason, but I'm searching through the Minecraft source for hours and I only found out, that compared to the two working ones, it should work.

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.