Posted October 31, 20213 yr 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... 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?
October 31, 20213 yr Author 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.
November 2, 20213 yr Author 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.
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.