Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[20.6] RenderType changes #842

Open
wants to merge 4 commits into
base: 1.20.x
Choose a base branch
from

Conversation

ApexModder
Copy link
Contributor

This PR marks all commonly used RenderType/RenderStateShard fields/classes/methods as public, allowing modders to make custom render types easier, without needing to AT themselves or extend RenderType to access the protected static fields

With this change NeoForgeRenderTypes.Internal has been updated to no longer extend RenderType, this is to validate that the AT has been applied and continues to be applied in future updates.

@neoforged-pr-publishing
Copy link

  • Publish PR to GitHub Packages

@embeddedt
Copy link
Member

I'm not against this change in principle but the AT looks like an absolute chore to maintain.

@Technici4n
Copy link
Member

The ATs should be autogenerated.

@Minecraftschurli Minecraftschurli added the 1.20.5 Targeted at Minecraft 1.20.5 label Apr 24, 2024
@Minecraftschurli Minecraftschurli added this to the 20.5 Stable Release milestone Apr 24, 2024
@ApexModder ApexModder changed the title [20.5] RenderType changes [20.6] RenderType changes May 4, 2024
@ApexModder
Copy link
Contributor Author

Rebased onto latest 20.6 changes

@ApexModder
Copy link
Contributor Author

ApexModder commented May 4, 2024

Replying to: Technici4n

The ATs should be autogenerated.

Unsure how you would go about having the ATs be autogenerated?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.20.5 Targeted at Minecraft 1.20.5
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants