Minecraft Data Packs / Tool

[No Longer Supported] Light Level Display

  • check_circle Functions
  • check_circle Predicates
  • 14,281 views, 4 today
  • 1,811 downloads, 0 today
  • 31
  • 27
  • 21
Dragon3025 avatar Dragon3025
Level 49 : Master Enderdragon
38
[No Longer Supported]

I'm no longer supporting this pack. In its place, I've made an optifine resource pack that does what this pack, but also separates block light from sky light: link. There are also mods out there that have this same feature.

What it Does

Creates an area of light level display that continuously follows the player, which can be toggled on and off to show what spaces can spawn hostile mobs:

/trigger light_lv_toggle

Note that Zombie Reinforcements don't follow the same spawning mechanics (my Mob Control datapack can disable this).

I've taken a lot of care to keep these accurate, but if you see a danger maker where it shouldn't be or you don't see a danger marker where it should be then please let me know.

The markers are affected by my Spawn Blocking Beacons and Safer Light Pack.
CompatibilityMinecraft 1.17
Tags

13 Update Logs

Update #13 : by Dragon3025 10/23/2021 7:09:30 pmOct 23rd, 2021

  • Optimized Light Marker spawning, to better avoid spawning area effects where they aren't needed.
  • Marker spawning cube is now smaller, but spawns in front of your view (instead of spawning behind where you can't see).
LOAD MORE LOGS

Create an account or sign in to comment.

2
09/30/2021 11:46 pmhistory
Level 31 : Artisan Loremaster
Determancer
Determancer avatar
It appears that area effect clouds as entities can lay high burden that signicicantly increase mspt. Since before the particles display, the locations have already been found and determined, will it be better to straightly display particles at those places without extra step which summoning area effect clouds as markers?
Just a suggestion, hope it might work on improving performance :)
By the way, thanks a lot for your excellent work, these tags and predicates that are obviously concluded based on detailed investigation and mature considerations are very helpful.
2
10/23/2021 7:14 pm
Level 49 : Master Enderdragon
Dragon3025
Dragon3025 avatar
Sorry for the late reply.

I'm not sure what "MSPT" is, but I understand your saying too many area effect clouds is bad. It's hard to make particles without the area effect clouds, but I updated to better avoid spawning them when it isn't necessary.

I plan on not updating it anymore for 1.18 onward. In its place is an optifine pack I made that does what this pack does only better: www.planetminecraft.com/texture-pack/light-level-display-requires-optifine/
2
08/02/2021 7:51 pm
Level 1 : New Crafter
villainous
villainous avatar
Hey! Thanks for this handy tool! I've been using it with the current 1.18 EXP 2, and it works great with one exception.

In this version, the mobs only spawn on light level 0, and so I set out to modify a fork of your mod to align the configuration with that. Weirdly, the mod only works down to light level 5 (let in the light_safe.json, the min value = 5), and anything lower than that causes no particles to show. Do you have any idea why this might be, and how I could finish editing the mod to only show particles on blocks with light level 0?

Thank you!!
2
08/02/2021 8:09 pm
Level 49 : Master Enderdragon
Dragon3025
Dragon3025 avatar
I don't plan on updating this pack for 1.18 until the full release comes out.

There's an problem with the light level predicate which is an important part of this pack. It only detects the max light level out of sky light and block light, it doesn't detect it separately. Unfortunately the lowest sky light is 4, it doesn't get any lower. I have another pack that mimics the mob de-spawning, but I had to split above and below sea-level detection, and it's impossible for it to work perfectly the way the light predicate is right now.

Here's a reddit post I made about it: link
And here's what's pretty much the same suggestion that someone else made: link

If you want better separate block and sky light detection like I do, then please upvote those.
2
08/02/2021 8:13 pm
Level 1 : New Crafter
villainous
villainous avatar
Ah damb, i was worried that was the case!! definitely will go upvote that, i'm surprised those light levels aren't accessible independently!

thanks for getting back to me!
2
07/18/2021 1:52 pm
Level 23 : Expert Miner
Initia_Nova
Initia_Nova avatar
The block tags and predicates you created are extremely useful!
2
07/18/2021 8:50 pm
Level 23 : Expert Miner
Initia_Nova
Initia_Nova avatar
Is it possible to have the block tags and predicates in a stand-alone datapack? They could be very useful in other datapacks, and I'd like to reference your work without people having to enable the light level display functions. Of course, I can always just delete the functions file when using it myself, so this is only if you are comfortable with my public datapacks referencing yours as dependents.
1
07/20/2021 8:44 pm
Level 49 : Master Enderdragon
Dragon3025
Dragon3025 avatar
You could extract my datapack into a folder, then copy the tags and predicates out of them. I also have them on GitHub: link
2
07/18/2021 4:01 am
Level 22 : Expert Sus
Kontik
Kontik avatar
super useful, nice pack
1
06/13/2021 6:31 am
Level 43 : Master Architect
Lil-puppy23
Lil-puppy23 avatar
So I type /trigger light_lv_toggle and I see the message "Light Lv Display On", I'm on 1.17, I have particles on, I don't see anything??
Planet Minecraft

Website

© 2010 - 2022
www.planetminecraft.com

Welcome