Spyglass Improvements: Zoom, Quick Access... [Fabric/Forge]

Spyglass Improvements: Zoom, Quick Access... [Fabric/Forge]

9M Downloads

Spyglass zoom bugs out if default keybind is changed (Forge 1.18.2)

ConnixTV opened this issue ยท 2 comments

commented

With the keybind set to its default, the mod functions as intended. When the keybind is changed, the mod is borderline unusable. While the scroll-to-zoom and no-crosshair features still work as normal, pressing the changed keybind causes the screen to zoom in and out a few times and not display the spyglass overlay. Also, if the spyglass is in your inventory and not your hotbar, it will not even attempt to move the spyglass to your offhand as normal. The zoom keybind only functions normally if you already have the spyglass in your hand or if you are in Creative mode and don't have a spyglass in your inventory at all.

If needed, I can record and post a video showing more details.

Also, a quick feature request: When using the hotkey to pull the spyglass from your inventory into your offhand, swap the items back after releasing the hotkey. If that isn't possible, it would at least be helpful to have a config option making it so you can only use the hotkey to access your spyglass if it is in your hotbar so that you don't have to rearrange your items when you're done with the spyglass.

commented

Hi! are you using any other mods? I'm not able to reproduce these issues in forge 1.18.2 with spyglass 1.2. Can you share a list of installed mods or a link to the modpack you are using? Also, does it happens when you set the keybind to any key or is this with specific keys? Thanks

commented

I was trying to bind it to C (because of Optifine muscle memory) and in testing different keys, the only keys that I found that would work are Shift, Ctrl, and Alt. After a fair amount of testing, I'm now running into the same bug on the default Z key. I also double checked to make sure I had no other keys bound to the same key as the spyglass during my testing.

Here is a link to a video showing my issue. During the entire video, I'm trying to use the zoom key to use the spyglass. Judging by the behavior and the sound, it's acting like when you hold a key down in a text box (one letter appears, a short delay happens, then it starts filling the text box with that letter) as if each letter typed out is activating the keybind at once. This also explains why keys like shift, ctrl, and alt still function normally. My guess is the issue is with how the key is being detected, possibly caused by another mod.

Here's the mod list. It's fairly extensive as I'm trying to build a modpack for a server for my friends and I.

'Rubidium Dynamic Lights' (dynamiclightsreforged:1.18.2_v1.3.3),
'HT's TreeChop' (treechop:0.15.7),
'Quark Oddities' (quarkoddities:1.18),
'YUNG's Better Dungeons' (betterdungeons:1.18.2-Forge-2.1.0),
'SuperMartijn642's Config Library' (supermartijn642configlib:1.1.6),
'Player Animator' (playeranimator:0.3.2),
'Just Enough Items' (jei:9.7.1.232),
'Better Amethyst' (betteramethyst:1.0.1),
'Visual Workbench' (visualworkbench:3.3.0),
'AttributeFix' (attributefix:14.0.2),
'Caelus API' (caelus:1.18.1-3.0.0.2),
'Rubidium' (rubidium:0.5.3a),
'Gilded Armor' (gildedarmor:1.3.0),
'Waystones' (waystones:10.1.0),
'Epic Fight' (epicfight:18.3.3),
'Clumps' (clumps:8.0.0+15),
'Shutup Experimental Settings!' (shutupexperimentalsettings:1.0.5),
'Journeymap' (journeymap:5.8.5),
'Controlling' (controlling:9.0+22),
'Comforts' (comforts:1.18.2-5.0.0.4),
'Configured' (configured:1.5.4),
'Bad Packets API' (badpackets:0.1.2),
'YUNG's API' (yungsapi:1.18.2-Forge-2.0.8),
'Feature NBT Deadlock Be Gone' (feature_nbt_deadlock_be_gone:2.0.0+1.18.2),
'Dungeon Crawl' (dungeoncrawl:2.3.10),
'Curio of Undying' (curioofundying:1.18-5.3.0.0),
'Bookshelf' (bookshelf:13.2.47),
'Balm' (balm:3.2.0+0),
'Wall-Jump!' (walljump:1.18.1-1.3.7),
'Advanced Shulkerboxes' (shulkerbox:1.18.2-1.0.0),
'Chat Heads' (chat_heads:0.6.1),
'Rubidium Extras' (rubidium_extras:1.18.2_v1.3.2),
'Forge' (forge:40.1.74),
'MmmMmmMmmMmm' (dummmmmmy:1.18-1.5.2),
'Epic Fight NBT Integration' (fightnbtintegration:1.18.2-1.0.3),
'Emotecraft' (emotecraft:2.2.3),
'Structure Gel API' (structure_gel:2.4.6),
'Selene' (selene:1.18.2-1.17.9),
'Supplementaries' (supplementaries:1.18.2-1.4.8),
'CraftingTweaks' (craftingtweaks:14.0.3),
'Tiny Skeletons' (tinyskeletons:3.2.1),
'Minecraft' (minecraft:1.18.2),
'EnchantmentDescriptions' (enchdesc:10.0.8),
'Mouse Tweaks' (mousetweaks:2.21),
'MinecraftCapes Mod' (minecraftcapes:12.0.2),
'SuperMartijn642's Core Lib' (supermartijn642corelib:1.0.19),
'Bendy lib' (bendylib:2.1.1),
'Shulker Enchantments' (shulker_enchantments:3.0.1),
'Dungeons Enhanced' (dungeons_enhanced:3.2.1),
'wthit' (wthit:4.13.1),
'waila' (waila:4.13.1),
'NotEnoughAnimations Mod' (notenoughanimations:1.6.0),
'Flywheel' (flywheel:0.6.5),
'Create' (create:0.5.0.d),
'Curios API' (curios:1.18.2-5.0.7.1),
'Tetra' (tetra:4.9.3),
'Curios Quark Oddities Backpack' (curiosquarkobp:1.1.4),
'Patchouli' (patchouli:1.18.2-71.1),
'mutil' (mutil:4.5.0),
'Tetra Pak' (tetrapak:1.18.2-0.5.2),
'Oculus' (oculus:1.2.5a),
'Spyglass Improvements' (spyglass_improvements:1.2+mc1.18.x),
'Polymorph' (polymorph:1.18.2-0.44),
'AutoRegLib' (autoreglib:1.7-53),
'Quark' (quark:3.2-358),
'YUNG's Extras' (yungsextras:1.18.2-Forge-2.1.0),
'Double Slabs' (doubleslabs:5.0.0),
'Better Third Person' (betterthirdperson:1.8.1),
'YUNG's Better Strongholds' (betterstrongholds:1.18.2-Forge-2.1.1),
'Architectury' (architectury:4.9.83),
'FindMe' (findme:3.0.6),
'AppleSkin' (appleskin:2.4.1+mc1.18.2),
'Alex's Delight' (alexsdelight:1.2.3),
'Citadel' (citadel:1.11.3),
'Alex's Mobs' (alexsmobs:1.18.6),
'Farmer's Delight' (farmersdelight:1.18.2-1.1.2),
'Curious Elytra' (curiouselytra:1.18.1-5.0.1.0),
'CC: Tweaked' (computercraft:1.100.9),
'Puzzles Lib' (puzzleslib:3.3.5),
'Chunk Loaders' (chunkloaders:1.2.2),
'FriendlyFire' (friendlyfire:11.0.2),
'CosmeticArmorReworked' (cosmeticarmorreworked:1.18.2-v2),
'YUNG's Better Mineshafts' (bettermineshafts:1.18.2-Forge-2.2),
'Void Totem' (voidtotem:1.18.2-1.3.1),
'GeckoLib' (geckolib3:3.0.34),
'Ars Nouveau' (ars_nouveau:2.7.4),
'Ars Creo' (ars_creo:2.1.3),
'Too Many Glyphs' (toomanyglyphs:2.0.7.15321),
'Enchanting Infuser' (enchantinginfuser:3.3.2),
'Default Options' (defaultoptions:14.1.1)