promotional bannermobile promotional banner

Lightning Torch

Dynamic lighting for held torches

File Details

lightningtorch-2.0-Fabric.jar

  • R
  • Jun 10, 2025
  • 13.47 KB
  • 2.3K
  • 1.21.5
  • Fabric

File Name

lightningtorch-2.0-Fabric.jar

Supported Versions

  • 1.21.5

Curse Maven Snippet

Fabric

modImplementation "curse.maven:lightning-torch-1271946:6638033"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

Changelog 2.0 (Fabric)

  • 🔄 Replaced Reflection with Mixin Invokers

    • enqueueSectionDatainvokeEnqueueSectionData

    • doLightUpdatesinvokeDoLightUpdates

    • checkBlockinvokeCheckBlock

  • 📦 Removed LayerLightEngineInvoker Mixin

    • Simplified to using only LightingProviderInvoker

  • 🧹 Streamlined LightReflection Class

    • runUpdates() now calls invokeDoLightUpdates()

    • getSectionData() reduced to returning an empty section (original light levels read directly via world.getLightLevel())

  • 🗂️ Updated lightningtorch.mixins.json

    • Dropped LayerLightEngineInvoker entry

    • Kept only ClientChunkManagerAccessor and LightingProviderInvoker

  • Performance & Stability Improvements

    • No more expensive Method.invoke() calls

    • Mixins compile cleanly without “Could not locate @Invoker target” warnings

Enjoy a leaner, faster, and more reliable Fabric build!