Edit Supported Entities
This project supports editing light levels for any entity in the game.
Since Mojang decided to rename the registries for Minecraft 1.21, there are two locations for light levels:
| Minecraft 1.17x-1.20.6 | Minecraft 1.21+ |
|---|---|
| /data/dynamiclights/tags/entity_types/light_level/ | /data/dynamiclights/tags/entity_type/light_level/ |
-
To edit the light level of an entity, unzip the data pack and navigate to the directory.
Here you will find the files3.json,6.json,9.json,12.jsonand15.json, each corresponding to the desired light level. -
Simply add the entity ID to the correct file. Make sure that the entity is only mentioned once in any of the files and that the file is properly formatted according to the JSON specifications.
-
Re-zip the data pack if needed.
Take a look at the files here on GitHub.
-
To edit the light level of an entity, unzip the mod using tools like 7-zip (or forks of it like NanaZip) and navigate to the directory.
Here you will find the files3.json,6.json,9.json,12.jsonand15.json, each corresponding to the desired light level. -
Simply add the entity ID to the correct file. Make sure that the entity is only mentioned once in any of the files and that the file is properly formatted according to the JSON specifications.
-
Re-zip the mod and change the file extension back to .jar.
Take a look at the files here on GitHub.
Tip
If you want to add a failsafe (e.g. when adding modded or version dependent entities), wrap the entries inside a {"id": "<id>", "required": false} block.
As an alternative to installing third-party tools for unpacking the mod version, you can also build the project from source.
If you have any questions, need help or want to suggest changes, feel free to open an issue here on GitHub.