Torch Offhand BH v3.9.6.mcpack
What's new
Update
⚙️ Configuration Improvements
- Added per-player configuration. Each player can now use their own Torch OffHand settings without affecting other players.
- Added separate controls for Main Hand Lighting and Offhand Lighting.
- Added a new Light Priority setting:
- Prefer Offhand
- Prefer Main Hand
- Brightest Light
- Added configurable offhand activation modes:
- Use
- Sneak + Use
- Disabled
💡 Light Source Settings
- Players can now individually enable or disable supported light sources:
- Torch
- Soul Torch
- Redstone Torch
- Sea Pickle
- Copper Torch
- Improved the light distance configuration.
- Added Custom Light Distance settings for individual light sources.
- Existing Low, Medium, and High lighting presets are still available.
📖 Item Lore Improvements
- Added a new Show Lighting Lore option.
- Lighting information can now be completely hidden from supported items.
- The displayed lighting distance now updates when the player changes their light distance configuration.
- Fixed old lighting values remaining in the item lore after changing settings.
- Fixed duplicated
Lighting: X Blockslines being added to items. - Existing duplicated Torch OffHand lore is now automatically cleaned up.
- Sea Pickles continue to display their underwater information when lore is enabled.
🖐️ Offhand Improvements
- Improved the system used to move supported light items to the offhand.
- Light items now move to the offhand only when used while looking at the air, preventing conflicts with normal block placement.
- Restored the reliable offhand transfer behavior used by the previous system while keeping the new configuration options.
⚡ Performance & Technical Improvements
- Significantly optimized the main lighting loop.
- Separated the dynamic lighting and item lore update systems.
- Reduced unnecessary inventory scans.
- Added cached player configuration and lighting states.
- The system now only resets the active light when the light source, hand, priority, or distance actually changes.
- Improved handling when switching between Main Hand and Offhand light sources.
- Fixed the previous configuration update order so new lighting distances are applied correctly.
- Errors are no longer silently ignored and are now reported to the console for easier debugging.
- Improved multiplayer handling and cleanup of cached player data when players leave.
This mod has no additional files

