Jump to content

Blaueseichoern

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by Blaueseichoern

  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.
×
×
  • Create New...

Important Information

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