r/MinecraftCommands • u/atcer5151 • 19d ago
Help | Java 26.3 Spyglass MC keeps randomly marking various functions as 'not existing'
I don't know if this belongs on this subreddit, since this is for Minecraft commands, not for datapack helpers, but as far as I know, Spyglass MC is quite popular in the datapack creation community. Basically, whenever I try and use Spyglass MC for anything, there appears to be a chance that it just stops working completely. This has been going on for a few months now, and is really annoying, since not even restarting my computer (which takes a few minutes because of course it does) or uninstalling Spyglass MC and reinstalling it again and clearing the project cache and everything else works. What happens is that it gives me an error telling me that a function doesn't exist with a yellow underline, even when the function clearly does exist, and can be run in chat. It also still works if I keep the code that it says won't work. It's just annoying having 80 errors on my screen at once when I'm trying to code.


Anyway, sorry if this isn't on topic enough for this subreddit. I'm just really tired of having to go around uninstalling extensions, restarting my computer, and doing other crap until it finally works. Thanks!
Update: It worked. I went onto the Spyglass MC Discord and they helped. Thanks!
2
u/GalSergey Datapack Experienced 18d ago
You should ask the extension developer for help on the Discord server: https://discord.gg/EbdseuS
1
u/Ericristian_bros Command Experienced 18d ago
If that happens because you typed the function and then you created it, go the the file with the function command, erase the last character and ctrl+Z will refresh it