Minecraft Data Packs / Quality of Life

LP's Dynamic Lighting

  • check_circle Functions
  • check_circle Predicates
  • 479 views, 10 today
  • 105 downloads, 2 today
  • 6
  • 5
  • 4
Lobster_Phil avatar Lobster_Phil
Level 26 : Expert Miner
4
Simple data pack I made that adds dynamic lighting by using the new light blocks in snapshot 21w31a.

This table shows all the light levels for each item and mob.
ItemsMobsLight level
Lantern
Campfire
Lava Bucket
Conduit
Flaming entities (Flaming arrows, Fireballs, Players or any other mob when burning)
Lit TNT
Lit Creeper
15
Torch
Jack o'Lantern
Glowstone
Sea Lantern
Shroomlight
Beacon

14
End RodBlaze13


12


11
Soul Torch
Soul Lantern
Soul Campfire
Blaze Rod
Glow Berries

10
Crying Obsidian
Glowstone Dust
Glow Squid9
Glow Ink Sac
Blaze Powder

8
Ender Chest
Redstone Torch
Dragon Breath
Glow Lichen

7
Nether Star
Glow Item Frame
Glow Item Frame6
Amethyst Cluster
5
Large Amethyst Bud
Phantom Membrane
Phantom4


3
Magma Block
Medium Amethyst Bud
Glistering Melon Slice

2
Brown Mushroom
End Portal Frame
Small Amethyst Bud
Amethyst Shard
Brewing Stand

1
CompatibilityMinecraft 1.17 Snapshot
Tags

Create an account or sign in to comment.

2
04/04/2021 4:25 pm
Level 1 : New Miner
mono832
mono832 avatar
i have one suggestion. lights wont work if you enter an area where light cant replace, like kelp and tallgrass, could you make it spawn in the closest possible open block instead?
also do we need to credit you if we use this?
2
04/04/2021 6:54 pm
Level 26 : Expert Miner
Lobster_Phil
Lobster_Phil avatar
The reason I didn't add that was because I didn't want to make it anymore laggy then it already was but some people suggested some good ideas on how I could optimize it and I'll probably be making an update where I implement them all and maybe without all the lag I'll be able to afford adding your suggestion. And you don't need to credit me but you can if you want.
2
04/05/2021 2:22 pm
Level 1 : New Miner
Foxegory5
Foxegory5 avatar
There should just be a default luminance value that can be changed for every block instead of requiring there to be a block dedicated for light. That way pack makers can just change the luminance value of all the correct blocks around the player. But alas, twas not meant to be.
2
04/05/2021 2:30 pm
Level 26 : Expert Miner
Lobster_Phil
Lobster_Phil avatar
That would be interesting but I imagine it would be hard to work with and it would probably be really expensive in terms of performance. But it would make data packs like these have a lot less bugs.
Planet Minecraft Logo

Website

© 2010 - 2021
www.planetminecraft.com

Welcome