• check_circle Functions
  • check_circle Predicates
  • 62,444 views, 84 today
  • 21,487 downloads, 27 today
  • 180
  • 225
  • 43
Fiktel's Avatar Fiktel
Level 46 : Master Modder
25
This datapack adds full dynamic light to your world. This means torches will glow in your hands, glow squids will emit actual light and so on.
It uses a light block. No mods required.

Features
-Full features of dynamic light, like in Optifine.
-Fast and fancy profiles.
-Easy to add new (or modify) glowing entities and items.
-Special features for map makers (yes, you can use this datapack in your map (e.g. as a flashlight). Read txt files inside the datapack for more info).
-Multiplayer support.
-Performance and optimization (however in this case a real bottleneck is the minecraft light system itself)

What emits light
-Entities which have equipped a glowing item.
-Glowing items when dropped.
-Entities on fire.
-Some always-glowing entities (like blaze, glow squid etc.).

Installation
Standard installation process. Install like any other datapack (Place the zip file inside the datapacks folder of your world then rejoin the world or use /reload).

Keep in mind that datapacks can't update automatically so check for updates from time to time.

Profile
After installation the fast profile is enabled by default. To change the profile use:
/function dynlight:profile/off
/function dynlight:profile/fast
/function dynlight:profile/fancy

Compatibility
Version 1.3 works only on Minecraft 1.20 Java Edition or newer.

Older versions
Minecraft 1.17 - 1.19.4: Dynamic light v1.2

Uninstalling
Run this function before removing the datapack file to completely uninstall:
/function dynlight:uninstall
CompatibilityMinecraft 1.17
toMinecraft 1.20
Tags

3 Update Logs

Version 1.3 : by Fiktel 06/12/2023 1:55:32 pmJun 12th, 2023

- updated to minecraft 1.20
- new settings in dynlight:config storage:
fire (byte; default: 1b) - Easy switch if entities on fire should use dynamic light
itemEntity (byte; default: 1b) - Whether item entity (dropped items) should be tested and use dynamic light
mobEquipment (byte; default: 2b) - Whether equipped items should be tested and use dynamic light. Supported: 0b - off, 1b - players only, 2b - all mobs.
- the datapack now tests only hand items and head slot for the presence of glowing items instead of full equipment
- new dynlight:tags/entity_types/ignore can specify witch entity types are always completely ignored (by default contains some technical entities like marker, area effect cloud, display etc.)
- added dynamic light for minecart with furnace when fueled
- slightly improved performance
- fixed bug: dynamic light sources trigger sculk sensors
LOAD MORE LOGS

Create an account or sign in to comment.

1
09/23/2023 11:43 am
Level 1 : New Miner
FoxLGV
FoxLGV's Avatar
This is probably a stretch, but I'm having trouble pairing this with a 'darker nights' plugin (https://www.spigotmc.org/resources/darkernights.87814/) since the two concepts pair so well together. However, since the old dynamic lights plugin stopped updating and using this datapack instead (which is awesome to see thank you so much) the two seem to be fighting each other? I've asked the darker nights dev to take a look and he's not exactly sure why they're clashing, I was wondering if you had any idea if there was a potential fix?

If not no worries, I know compatibility is hard with this sort of thing.

All the same, awesome datapack. ^-^
1
09/05/2023 6:17 am
Level 13 : Journeyman Waffle
Michael_Aft0n
Michael_Aft0n's Avatar
is it for java?
2
06/29/2023 9:23 am
Level 7 : Apprentice Collective
JsabasakaPA
JsabasakaPA's Avatar
Optifine players: This is worthless. (I'm not kidding, but I download just because I'm fabric user)
But still this is way cooler than normal dynamic lights optifine offers me.
I like this datapack <3
1
07/02/2023 11:38 am
Level 1 : New Miner
lookpvp
lookpvp's Avatar
me too.(btw im the rock Dwayne john cena the son of bill gates, my husband is walter white yo,he told me everything
1
06/24/2023 9:19 pm
Level 1 : New Miner
nasty_haze
nasty_haze's Avatar
The function to change profiles is not working for me in-game. It could be because I do not have cheats enabled on the hardcore world. Can the profile be configured directly in the datapack - in the init.mcfunction file or something?
1
07/01/2023 6:09 am
Level 46 : Master Modder
Fiktel
Fiktel's Avatar
Yes, to use commands like /function you must have cheats enabled. You can temporally enable them by opening to LAN: In a world menu click "Open to LAN" -> "Allow Cheats: on" -> "Start LAN World". This is probably the easiest way.
1
06/21/2023 4:14 pm
Level 43 : Master Warrior
HAK0TA538
HAK0TA538's Avatar
Holding a lantern or being in enchanted armor broke rose bushes? Which was kinda inconvenient for what i was using it for lol. Is there a way to fix that?
1
06/23/2023 12:34 pm
Level 46 : Master Modder
Fiktel
Fiktel's Avatar
Placing a light block cause block update that can destroy nearby "unstable" blocks (blocks that break when you place another block next to them). It shouldn't break normal rose bushes.
1
06/12/2023 2:34 pm
Level 2 : Apprentice Miner
Francesco_09
Francesco_09's Avatar
very cool for people like me thats dosen't know how to install optifine
1
08/21/2022 2:51 pm
Level 1 : New Collective
BlankPlanet
BlankPlanet's Avatar
Hello, awesome datapack! Could you give us please more control, like be able to disable every feature?

I would love to have only the torches in player hand emitting light.
Greetings 😊
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome