Jump to content

getter for abList header and footer


Recommended Posts

Posted

Currently there is no direct/good way to get the header/footer of the inGame TabList. The GuiPlayerTabOverlay.class class has private variables for both but you can't access them unless you search through the declared fields of this class. In my oppinion it would be be a good addition to add a get-method for them,

~Kaleth

Posted

 Forge does not typically add getters/setters to fields. As that would get out of hand quite quickely.

The standard options are existing functions, reflection, and access transformers, in that order.

  • Like 1

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

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.

Announcements



×
×
  • Create New...

Important Information

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