Skip to content

Fix lamps' variations not working as advertised#4804

Merged
gustovafing merged 14 commits into
GregTechCEu:1.20.1from
screret:sc/remove-duplicate-block-properties
May 1, 2026
Merged

Fix lamps' variations not working as advertised#4804
gustovafing merged 14 commits into
GregTechCEu:1.20.1from
screret:sc/remove-duplicate-block-properties

Conversation

@screret
Copy link
Copy Markdown
Contributor

@screret screret commented Apr 22, 2026

What

Fixed "no light" lamps just being turned off by default instead of emitting no block light, removed duplicates of vanilla block properties from GTBlockStateProperties and simplified the lamp blockstate jsons by ignoring unused1 properties

Outcome

GT Lamps work like they should now

How Was This Tested

Before:
This light will never be lit!

This light will never be lit!

After:
Lamp with lit=false not emitting light but still looking lit

Lamp with lit=false not emitting light but still looking active

Additional Information

Footnotes

  1. The light property isn't actually used by the model, it disables actual light, the stuff that blocks mob spawns.

@screret screret requested a review from a team as a code owner April 22, 2026 14:56
@gustovafing gustovafing merged commit 6c553d0 into GregTechCEu:1.20.1 May 1, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants