SuperMartijn642 bd58ced0e4 Expose RenderStateShard inner classes (#7895)
In 1.17, all of the inner classes of `RenderStateShard` (`RenderStateShard.OverlayStateShard`, `RenderStateShard.WriteMaskStateShard`, etc.) have been changed to protected. These classes are needed however to create new `RenderType.CompositeRenderType`'s using `RenderType.CompositeState.CompositeStateBuilder`.
Since these are protected inner classes, their constructors also can't be directly be obtained using `ObfuscationReflectionHelper`.

Currently, any mod using custom `RenderType`'s will have to either:
- add their own access transformer for the inner classes, or
- extend `RenderStateShard` to access `RenderStateShard`'s inner classes, and extend `RenderType` to access `RenderType.CompositeRenderType`

This PR changes the visibility of `RenderStateShard`'s inner classes to public in Forge's `accesstransformer.cfg`.
2021-07-24 16:39:00 +02:00
2021-04-22 22:28:18 -07:00
2021-07-22 19:57:02 +01:00
2021-07-22 19:57:02 +01:00
2021-07-22 19:57:02 +01:00
2021-07-22 19:57:02 +01:00
2021-07-22 19:57:02 +01:00
2021-07-22 19:57:02 +01:00
2021-07-22 19:57:02 +01:00
2021-07-22 19:57:02 +01:00
2021-07-22 19:57:02 +01:00
2018-12-31 16:48:23 -08:00
2021-07-22 19:57:02 +01:00
2021-07-22 19:57:02 +01:00
2021-05-12 23:33:33 +02:00
2021-07-22 19:57:02 +01:00
2021-07-22 19:57:02 +01:00

Forge Logo

MinecraftForge

Stable Release Latest Release Discord Support

Forge is a free, open-source modding API all of your favourite mods use!

Version Support
1.16.x Active
1.15.x LTS

Notes:

  • Introduced in 1.13 was a new FML, information found here.

Installing Forge

Go to the Forge website and select the Minecraft version you wish to get Forge for from the list.

You can download the installer for the Recommended Build or the Latest build there. Latest builds may have newer features but may be more unstable as a result. The installer will attempt to install Forge into your vanilla launcher environment, where you can then create a new profile using that version and play the game!

For support and questions, visit the Support Forum.

Here is a short video from Rorax showing how to install and setup Forge.

Creating Mods

See the "Getting Started" section in the Forge Documentation.

Contribute to Forge

If you wish to actually inspect Forge, submit PRs or otherwise work with Forge itself, you're in the right place!

See the guide to setting up a Forge workspace.

Pull requests

See the "Making Changes and Pull Requests" section in the Forge documentation.

Please read the contributing guidelines found here before making a pull request.

Contributor License Agreement

We require all contributors to acknowledge the Forge Contributor License Agreement. Please ensure you have a valid email address associated with your GitHub account to do this. If you have previously signed it, you should be OK.

Donate

Forge is a large project with many collaborators working on it around the clock. Forge is and will always remain free to use and modify. However, it costs money to run such a large project as this, so please consider becoming a patron.

S
Description
No description provided
Readme
266 MiB
0 Stars 1 Watchers 0 Forks
Languages
Java 98.9%
Groovy 0.5%
CSS 0.5%