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

Backport light level change from 1.18 #421

Merged
merged 4 commits into from
Feb 11, 2024

Conversation

Pilzinsel64
Copy link

@Pilzinsel64 Pilzinsel64 commented Feb 8, 2024

Sets the light level to 0 for mobs. Like in Minecraft 1.18+.
The config is false by default. Not sure if I should set it to true. Your decision.

@Pilzinsel64 Pilzinsel64 marked this pull request as ready for review February 8, 2024 10:28
@Pilzinsel64
Copy link
Author

Pilzinsel64 commented Feb 8, 2024

I just added the basic functionality like it is in 1.18. Do you want me to also add a dimension blacklist config (-1 and 1 by default) and a config for the light level, so it can be adjusted to something else then 0? Both I have in my own mod at the moment, but it's unused.

@GregoriusT
Copy link
Collaborator

Can confirm this SHOULD work, doing the same thing in GT6 and it works nicely.

@Pilzinsel64 Pilzinsel64 changed the title Set light level to 0 for mobs Backport light level change from 1.18 Feb 8, 2024
@Roadhog360 Roadhog360 merged commit 6c8d916 into Roadhog360:master Feb 11, 2024
1 check passed
@Pilzinsel64 Pilzinsel64 deleted the feat/lightlevel0 branch February 11, 2024 08:47
@huihiuhuai
Copy link

Why isn't this available.

@Roadhog360
Copy link
Owner

It doesn't work

@Roadhog360
Copy link
Owner

I ended up wanting a mixin implementation for better compatibility but I can't get the mixin to actually function properly.

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

Successfully merging this pull request may close these issues.

5 participants