AtomicStryker / atomicstrykers-minecraft-mods

Repository for my open source Minecraft Mods
https://atomicstryker.github.io/
181 stars 97 forks source link

Dynamic Lights 1.20.1-2 When an item gets damaged it stops emmiting light #524

Closed felivans closed 1 month ago

felivans commented 1 month ago

Versioning Dynamic Lights 1.20.1-2 / Forge

What did you do Custom config item (a shield from spartan's shields) takes damage from any source, any amount.

Expected behavior Dynamic Light is no longer emitted when holding or equipping the damaged item on the offhand or main hand

Screenshots/Video n/a

AtomicStryker commented 1 month ago

If your item NBT changes because of damage and "breaks" the Dynamic Lights mapping, you can either add every single possible NBT string to the config, or use this:

1.20.1.1

felivans commented 1 month ago

Thank you very much! In case anyone is having the same problem and stumbles with this post, for 1.20.1-2 the specific syntax is: , "{anyNbtMatch:true,lightLevel:14s,nameId:\"minecraft:flint_and_steel\"}",