This mod makes it so that if a player is holding a torch, then light is emitted around them.
This is achieved by introducing a new "light block" that is invisible, emits light and does not obstruct movement. The light level is the same as that of the torch. Entities can walk through this block.
When the player is holding a torch in their hand or offhand, a light block appears at the player's feet. When the player moves, all light blocks near the player are replaced by air and a new light block is placed at the player's feet.
You can only obtain said block using commands. Note that when a player gets close to a light block, the block is replaced by air.

