- check_circle Functions
- 1,301 views, 1 today
- 24 downloads, 0 today
32
Githubcall_made
Documentationcall_made
Dynlightslib
Welcome to Dynlightslib. Dynlightslib is a mcfunction library that allows you to easily manage lights in Minecraft.
Contents
Dynlightslib integrete three mecanism for the moment:
- Lights
- Temporary lights
- Dynamic lights
Lights
Lights are created with an identifier. They can be deleted at any time with their identifier.
Temporary lights
Temporary lights have a duration chosen by the user, and disappear at the end of this duration.
Dynamic lights
The most interesting. The dynamic lights are switchable and entity specific. You can activate a dynamic light on a player or on an area effect cloud for example, to be manipulated.
Why sould I use Dynlightslib ?
Performance.
Dynlightslib is first of all the only library allowing to manage lights dynamically in Minecraft. Thanks to its storage-based and not entity-based operation, it allows for much better performance, such as being able to manage more than 1000 lights each tick, without any optimization mod and without lag (test performed in a classic world, without spawn gamerule, with Intel Core i5 7200U + processor rendering, Minecraft Vanilla)
How I add it to my datapack ?
Drag the Downloaded file into the <datapack>/data folder. In the <datapack>/data/minecraft/tags/functions folder, add "dynlightslib:core/load" to load.json. Add "dynlightslib:core/tick" in tick.json preferably after the other files to avoid tick delays. Otherwise you can manually execute these functions in the mcfunction files of your datapack.
How to credits
It is strongly recommended that the project be credited.
Uses Dynlightslib by Zorillac
https://github.com/Z0rillac/Dynlightslib
This program is licensed under the MIT license.
Compatibility | Minecraft 1.17 |
to | Minecraft 1.18 |
Tags |
1 Update Logs
water fix : by Z0rillac 09/08/2021 8:39:51 amSep 8th, 2021
fix a bug that duplicat water when placing a block
5287175
119
Create an account or sign in to comment.