Jump to content

(IntelliJ) [SOLVED] How would I add method definitions to implemented Interfaces like Eclipse does?


JamesWilsonProductions

Recommended Posts

As the title says.

How would I add method definitions to implemented Interfaces where you can hover over the Override-able method and it'll have a description of what it does, like Eclipse does.

I went to the Forge API page, and none of the methods have descriptions, which really sucks (link below). I need method definitions for all IInventory methods (and all other interfaces I implement/classes I extend) because how else am I gonna learn what these methods do and when they are ran (If you know, please send me a link. The Forge Docs are actually kinda rubbish... lacks information).

Thanks in advance!

 

Link to Forge API page (Definitions non-existent)

Edited by JamesWilsonProductions
Secondary question added

Who am I? Me?

I am NEW to Minecraft Modding, but NOT NEW to Java. I have recently found an interest in doing this, and I'm having much fun thus far!

I am interested in getting active within this community.

Nice to meet you fellow mod developer, hope you're having a wonderful and challenging day!

Link to comment
Share on other sites

Welp, finally figured it out!

For all you guys out there that are asking the same question, what you want to do is click on the method you wanna view and then press <Ctrl+Q>  or <Alt+ButtonClick2> and that'll show you the method description.

 

Cheers!

Edited by JamesWilsonProductions
Alternate shortcut added

Who am I? Me?

I am NEW to Minecraft Modding, but NOT NEW to Java. I have recently found an interest in doing this, and I'm having much fun thus far!

I am interested in getting active within this community.

Nice to meet you fellow mod developer, hope you're having a wonderful and challenging day!

Link to comment
Share on other sites

6 hours ago, Leomelonseeds said:

 

I did try solve it on my own before, but came up dry, then I had the bright idea to search it up in general terms (without "MC Forge" in my search). The benefit of this is that anyone else searching the question will see this page. I like doing this, as it can help others =)

 

Cheers!

Edited by JamesWilsonProductions

Who am I? Me?

I am NEW to Minecraft Modding, but NOT NEW to Java. I have recently found an interest in doing this, and I'm having much fun thus far!

I am interested in getting active within this community.

Nice to meet you fellow mod developer, hope you're having a wonderful and challenging day!

Link to comment
Share on other sites

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.