Jump to content

Recommended Posts

Posted

If you're looking to mod with Forge you'd better get used to reading source code and looking at how Vanilla, Forge, and other Mods do things, documentation is notoriously sparse and is outdated almost as fast as it gets written.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted
  On 6/20/2020 at 4:02 PM, InfinitePower563 said:

I meant the HUD mod not the decompiled source code.

Expand  

What HUD? If you're looking for how vanilla renders it's HUD, you can find the vanilla source code in your project's libraries.

It's sad how much time mods spend saying "x is no longer supported on this forum. Please update to a modern version of Minecraft to receive support".

Posted (edited)

Subscribe to RenderOverlayEvent and render your text there with FontRenderer#drawString.

Make sure to check the component/type that is being rendered in the event.

Edited by DavidM

Some tips:

  Reveal hidden contents

 

Posted
  On 6/23/2020 at 7:46 PM, InfinitePower563 said:

Is RenderOverlayEvent static?

Expand  

No, its a class.

  21 minutes ago, InfinitePower563 said:

Also, how do you register events. As I said, I’m new.

Expand  

Try reading the docs.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

Well, what's your text associated with? A block or the game overlay (HUD)?

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

That did not answer the question.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted
  On 6/24/2020 at 4:57 PM, InfinitePower563 said:

Which RenderOverlayEvent? RenderBlockOverlayEvent or RenderGameOverlayEvent?

Expand  

RenderGameOverlayEvent (I miss spelt it, my apologies).

Some tips:

  Reveal hidden contents

 

  • 1 year later...
Posted (edited)
  On 6/20/2020 at 4:13 AM, DaemonUmbra said:

If you're looking to mod with Forge you'd better get used to reading source code and looking at how Vanilla, Forge, and other Mods do things, documentation is notoriously sparse and is outdated almost as fast as it gets written.

Expand  

 

  On 6/20/2020 at 3:11 PM, InfinitePower563 said:

Then can you fork over a github please?

Expand  

well then where the heck do I get vanilla source code? I've tried using a decompiler on the vanilla Jar but thier file naming scheme makes no sense at all its like $q87634576auyfgiatf.class 

Edited by Koolade446
Spelling
Posted
  On 9/2/2021 at 3:16 PM, Koolade446 said:

 

well then where the heck do I get vanilla source code? I've tried using a decompiler on the vanilla Jar but thier file naming scheme makes no sense at all its like $q87634576auyfgiatf.class 

Expand  

In your IDE, under Referenced Libraries.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

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.