Language

Brightness Adjuster Library

Brightness Adjuster Library

Modrinth

library to auto-adjust display entity brightness

132 downloads 1 followers updated 27mo ago
latest v1 Modrinth
Datapack 1.20.3 – 1.20.4 LibraryOptimizationUtility

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.

Versions

Release
1
datapack · 1.20.3, 1.20.4 · 27mo ago
132

Comments 0

No comments yet. Be the first to share your thoughts.

Download Brightness Adjuster Library

Files are served directly from the original source. Modgrid does not host or modify them.