ObserversLens-1.0.2-Fabric.jar
Curse Maven Snippet
What's new
🔖 Changelog (v1.0.2)
-
Fixed target cycling
-
Sneak + Right-Click now reliably cycles through unlocked ore targets stored in the lens’s NBT (
current_target). -
The first use initializes a default
current_targetto avoid empty-index errors.
-
-
Improved XP handling
-
Removed repetitive XP‐added log entries during each scan.
-
XP is now awarded silently on scan and block break, without console spam.
-
-
Optimizations
-
Centralized NBT reads/writes into helper methods (
getOrCreateTag/initTagIfMissing). -
Single‐pass ore scanning loop using the target from NBT rather than global static arrays.
-
Reduced redundant NBT accesses by copying and updating tags only once per action.
-
This mod has no additional files

