Jump to content

Get access to a Nested Class


thebest108

Recommended Posts

I'm trying to modify the way Minecraft decides which chunks to render, and all of that happens in the setupTerrain() method of RenderGlobal. The problem is to do that I need access to the RenderGlobal.ContainerLocalRenderInformation.class, which unfortunately is not made public by Access Transformers  >:( .

 

I also dont want to use Reflection because then coding becomes an absolute nightmare, and even then this is called very often which would cause a lot of lag.

 

What can I do to get this Nested Class public?

"you seem to be THE best modder I've seen imo."

~spynathan

 

ლ(́◉◞౪◟◉‵ლ

Link to comment
Share on other sites

I'm trying to force Minecraft to render a chunk that's thousands of blocks away, with the intent of translating its render onto the location of an entity (This way the entity renders as a chunk, while having perfect mod compatibility).

 

I saw something called an IRenderChunkFactory, but I'm confused as to how to use it.

"you seem to be THE best modder I've seen imo."

~spynathan

 

ლ(́◉◞౪◟◉‵ლ

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.