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

[Feature Request] Make Modular Router blocks opaque #209

Open
CarlSmotricz opened this issue Jan 4, 2024 · 1 comment
Open

[Feature Request] Make Modular Router blocks opaque #209

CarlSmotricz opened this issue Jan 4, 2024 · 1 comment

Comments

@CarlSmotricz
Copy link

Describe the feature

MR blocks are translucent to light, like e.g. Glass or Iron Bars. Light level inside an otherwise closed room drops from 15 to 11. I propose they should be fully opaque, like blocks of Cobblestone. Failing that, they should at least implement camouflage more thoroughly with regard to translucency. A MR camouflaged as a block of Cobblestone should transmit no light.

Reasons why it should be considered

MRs are useful in mob spawners but their transparency means that they need to be covered up if they're used as walls on what should be a dark, i.e. 0-light level interior.

Additional details

image

@CarlSmotricz CarlSmotricz changed the title Make Modular Router blocks opaque [Feature Request] Make Modular Router blocks opaque Jan 4, 2024
@desht
Copy link
Owner

desht commented Jan 17, 2024

This is unfortunately harder than it sounds, since routers are camouflageable. Since they can take on the appearance of any block, making them opaque messes up their appearance when camouflaged. And the noOcclusion block property can't be made to depend on the current state of the block entity (which stores the camouflage).

I'd like to do this if possible, but don't have a clean way of doing it right now.

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

No branches or pull requests

2 participants