Skip to content

Conversation

@kumquat-ir
Copy link
Contributor

What

Fixes JEI not loading when Alfheim version 1.6 is loaded due to our method of forcing its lighting engine to not be used in our dummy worlds.

Implementation Details

Alfheim 1.6 changes the lighting engine to be lazy-loaded (using a Lombok annotation for some reason), which causes an NPE if we simply set the lighting engine to null. This PR overrides the Lombok-generated getter to always return null, avoiding the issue, and keeps the old method of simply setting it to null around to keep compat with Alfheim <= 1.5.

Outcome

JEI works when recent versions of Alfheim are installed.
Fixes #2775, supersedes #2837 and #2833

Potential Compatibility Issues

None, hopefully

@kumquat-ir kumquat-ir requested a review from a team as a code owner June 30, 2025 23:08
@kumquat-ir kumquat-ir added the type: bug Something isn't working label Jun 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lack of JEI/HEI integration

3 participants