Jump to content

RenderGlobal - Class not found in net.minecraftforge:forge:1.16.5-36.2.0 ?


AkitaAttribute

Recommended Posts

I'm more of a Maven guy.  Haven't really worked with Gradle at all in the past tbh.  I'm trying to use the RenderGlobal class that I see others have worked with in the past to update an older mod's (not mine) functionality.  I see there are javadocs on the class, but it doesn't say it's deprecated though...

uc?export=download&id=1gzVTRmXafdgZeBRdE

I don't see it in the render package, so I'm assuming it has either been moved, or replaced.

 

Any tips on what people are using instead these days?

 

 

Link to comment
Share on other sites

5 minutes ago, diesieben07 said:

Use your IDE, not some random third party site.

RenderGlobal is a class from 1.12, I don't think it exists anymore in that form.

I did :).  I posted a screenshot showing that I looked, and didn't see it.  I also wanted to show ambition in that I found online some document that suggested that it may still be around in some form.

 

I came here asking if anyone knew an alternative, since I'm new to the Forge modding scene.

Link to comment
Share on other sites

Found it.  This post details that after 1.13.2 it became WorldRenderer.  

 

Quote

You would either need to create your own particle class or use WorldRenderer#addParticleUnchecked(it's private so you need reflection) that gets you the reference to the added particle so you can manually change it's colour fields. 

That is assuming 1.13.2. In 1.12 the method you need is RenderGlobal#spawnParticle0.

 

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.