

Glowing Totems
A Fabric mod that makes the Totem of Undying emit light, even when dropped as an item, just like torches!
Features
- Dynamic Lighting: The Totem of Undying now emits light level 15 when dropped as an item
- Seamless Integration: Works with existing lighting systems and doesn't interfere with other mods
- Data-Driven: Uses LambDynamicLights' data-driven system for maximum compatibility
Requirements
- Minecraft 1.21.5, 1.21.6, or 1.21.7
- Fabric Loader 0.16.14+
- Fabric API
- LambDynamicLights (required for the lighting effect to work)
- Java 17 or higher
Installation
- Install Fabric Loader for your Minecraft version
- Install Fabric API
- Install LambDynamicLights (required)
- Download and install this mod
How to Use
- Obtain a Totem of Undying
- Drop it on the ground
- The totem will now emit light like a torch!
Technical Details
This mod uses LambDynamicLights' data-driven system to register the Totem of Undying as a light source. The implementation is clean and efficient, requiring no mixins or complex modifications to vanilla code.
Files Structure
src/main/resources/assets/glowing-totems/dynamiclights/
├── item/
│ └── totem_of_undying.json # Defines totem luminance
└── entity/
└── item_entity_totem.json # Makes dropped totems glow