- 17,518 views, 42 today
- 7,680 downloads, 17 today
13
Lights? Lights everywhere!
What is this you may ask?
It's something you've seen a million times before, I decided to make one of myself.
Dynamic Lights is a data pack that allows lights to be emitted by items and entities!
What does it bring?
It brings glowing:
Light blocks are unable to be placed if the player / entity, is fully covered in no-collision blocks.
It's mostly compatible with water, only for full level water blocks.
These are issues that are unable to be fixed, giving the limitation of data packs.
I wanna change something about some items / mobs, how can I do that?
Good news! This data pack runs heavily off of item / entity_type tags.
You can unzip the data pack and open these folders: Dynamic Lights -> data -> dynamiclights -> tags
Inside ./tags/*, you will find two folders: entity_type and item
Both contain a folder called: light_levels
./light_levels/* contains three folders: all, air_only, water_only
all: Entries inside this folder will be executed both on land and underwater.
air_only: Entries inside this folder will only be executed on land.
water_only: Entries inside this folder will be executed only underwater.
Inside those three folders, are .json files numbered 1-15.
These specify the light level for their entries inside.
You can open these and modify the entries (values) to your liking!
Don't leave duplicates. The data pack will likely not break, but any entries in a lower light level file will be overridden by higher light level files.
What's to come?
We'll see what Minecraft throws at us.
Can / should I use this in my map?
I don't recommend using this data pack if you have light blocks within your map.
They will be deleted if a player walks into them while glowing.
Else wise, if you don't mind the inconsistencies that come with data pack limitations, go ahead!
Functions
/function dynamiclights:.config- Opens the config to the data pack.
/function dynamiclights:.uninstall - Removes all contents and pauses the data pack. (can also be accessed through the config)
/function dynamiclights:.uninstall - Removes all contents and pauses the data pack. (can also be accessed through the config)
What is this you may ask?
It's something you've seen a million times before, I decided to make one of myself.
Dynamic Lights is a data pack that allows lights to be emitted by items and entities!
What does it bring?
It brings glowing:
- entities (explosives, mobs, projectiles)
- items (carried and or dropped)
- armor trims
- enchantment glint
- firelight
Light blocks are unable to be placed if the player / entity, is fully covered in no-collision blocks.
It's mostly compatible with water, only for full level water blocks.
These are issues that are unable to be fixed, giving the limitation of data packs.
I wanna change something about some items / mobs, how can I do that?
Good news! This data pack runs heavily off of item / entity_type tags.
You can unzip the data pack and open these folders: Dynamic Lights -> data -> dynamiclights -> tags
Inside ./tags/*, you will find two folders: entity_type and item
Both contain a folder called: light_levels
./light_levels/* contains three folders: all, air_only, water_only
all: Entries inside this folder will be executed both on land and underwater.
air_only: Entries inside this folder will only be executed on land.
water_only: Entries inside this folder will be executed only underwater.
Inside those three folders, are .json files numbered 1-15.
These specify the light level for their entries inside.
You can open these and modify the entries (values) to your liking!
Don't leave duplicates. The data pack will likely not break, but any entries in a lower light level file will be overridden by higher light level files.
What's to come?
We'll see what Minecraft throws at us.
Can / should I use this in my map?
I don't recommend using this data pack if you have light blocks within your map.
They will be deleted if a player walks into them while glowing.
Else wise, if you don't mind the inconsistencies that come with data pack limitations, go ahead!
Compatibility | Minecraft 1.21 |
Tags |
4 Update Logs
Customizability! [v1.0.4] : by dotkarma78 07/16/2024 8:03:12 amJul 16th, 2024
- added a config, accessed through /function dynamiclights:.config
- uninstall function can be accessed through the config now too
- end crystals (AS ENTITY) will no longer glow as light block surpress explosion block damage
- fixed dropped items not glowing
- light blocks will be removed at any distance now
LOAD MORE LOGS
6340772
119
Create an account or sign in to comment.
Am I allowed to use this in a map (with credit ofc), and if I am, will it break with teleportation?
Thank you!
I've removed the distance limit for removing light blocks/markers, and it doesn't cause any performance drops.
I've tested, and yes, it works with teleporting. The light block will be removed once the player is teleported away, appearing at the new location (on the player).
Feel free to use it!
It can break with teleportation as the files are ran in a 80 block radius around all players. (removes lights in a 160 block radius)
I am currently working on a config however, ahould be out pretty soon. You'll be able to tweak the radius through it.