Skip to content

Unable to configure MDG vanilla projects #2570

@chrrs

Description

@chrrs

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions