Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Brightness Adjuster Library

Brightness Adjuster Library

library to auto-adjust display entity brightness

111
1
Library
Optimization
Utility

Compatibility

Minecraft: Java Edition

1.20.3–1.20.4

Platforms

Data Pack

Supported environments

Server-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Creators

HeDeAnTheonlyone
HeDeAnTheonlyone Member

Details

Licensed CC-BY-4.0
Published last year
Updated last year
DescriptionChangelogVersions

This datapack is a small library that helps you with your custom blocks.

When putting item displays inside of blocks, they get an ugly shadow (because the inside of a full block has a light level of 0). If you then run the provided public function as and at the display entity, it looks for a block that touches the custom block and lets light pass through. If it finds one, it gets the light level from that block and applies it to the display's brightness. If it doesn't find one, that means it is buried and sets the brightness to 0.

the function to run: brightness_adjuster:public/set_brightness.

Modrinth is open source.

main@16c5a5a

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.