90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

Dynamic Lights Logo

Dynamic Lights By CreepermeYT

An OPTIMIZED server-side datapack/mod that brings dynamic lights to your world!

Glowing Features

an image showing all the glowing features mentioned below

  • All Items
  • Entities on Fire
  • Lit TNT
  • Glow Squids
  • Entities with Glowing effect

Server-side

This native datapack (packaged as a mod by modrinth) is fully server-side which brings the following advantages:

  • Install it once, works for everyone on the server!
  • Lights are not just visual, they will interact with the world!
  • Specifically optimized for servers, with minimal impact on performance!

(Up to 50% faster than similar datapacks)

Warning: This datapack/mod will not work in multiplayer unless it is installed server-side.

Config Menu

Dynamic Lights Chat Config Menu

There is a built-in chat config menu. It appears upon /reload or by using the following command if you are OP:

/function dynamic_lights_by_creepermeyt:config

In the menu, you can:

  • Set any of the following PRESETS:
    • 'FASTEST' Only torches have dynamic lights
    • 'OPTIMIZED' All features enabled, optimized
    • 'SMART' (Default & Recommended) All features enabled, fixes lighting bugs
  • Toggle [ on / off ] the glowing features individually
  • 'Uninstall' to disable all dynamic lights before you remove the datapack from the datapacks folder

Keep in mind

Three clarifications about this datapack:

  • Lit TNT, Entities with Glowing Effect or on Fire, and Glow Squids will only glow if they are less than 48 blocks away from a player for optimization purposes.
  • Lit TNT will generate a maximum of 48 dynamic lights for optimization purposes.
  • All items should glow with the exception of non-important ones like those with light levels of 1 or 5.

All dynamic lights datapacks using 'light blocks' face these same limitations:

  • The datapack/mod will not work in multiplayer unless it is installed server-side
  • Light blocks / Dynamic lights cannot be placed inside no-collision blocks or flowing water.
  • Light blocks / Dynamic lights might interfere with the normal flow of water or lava.
  • Light blocks from map makers will get deleted if a player with dynamic lights passes by.
  • Dynamic lights will look blocky and not fluid in motion because of the nature of light blocks.

Customizability / Compatibility

(This part is intended to be for other datapack creators/developers)

The following feature was made to allow the open customizability of this datapack. Feel free to utilize it for your own projects under the MIT Licensing conditions.

This datapack has a '/function/compatibility' folder with a compatibility.mcfunction file you can modify at will and use it to generate your own custom dynamic lights using this datapack. You are able to set your own conditions, locations, light levels, and even add other datapack compatibility. Some examples showing how to do this are provided inside the compatibility.mcfunction itself.


Project members

CreepermeYT

Member

Details

Licensed MIT
Published 5 months ago
Updated a month ago