-
Notifications
You must be signed in to change notification settings - Fork 204
Open
Labels
Description
Minecraft Development for IntelliJ plugin version
2025.3-1.8.11
IntelliJ version
2025.3.1
Operating System
Windows 11
Target platform
NeoForge
Description of the bug
This happens with the simplest ModDevGradle (tested with 2.0.134) project that defines only a neoFormVersion:
Unable to build MinecraftDev MCP project configuration
org.gradle.api.InvalidUserCodeException: You cannot retrieve the enabled version if you are in vanilla-only mode.
at net.neoforged.moddevgradle.dsl.ModDevExtension.getVersion(ModDevExtension.java:167)
[... removed a few lines for clarity]
at com.demonwav.mcdev.platform.mcp.gradle.tooling.neomoddev.NeoModDevGradleModelBuilderImpl.buildAll(NeoModDevGradleModelBuilderImpl.groovy:52)
Seems to be if you access the version property at all in vanilla mode, it throws an exception.