Loading...
Update a plugin or mod you already have for a newer Minecraft release: what to ask for, what the Build tab setting really does, and what happens to Java.
The Minecraft version your jar is built for is written in the project's own build file — pom.xml or build.gradle, and the api-version in plugin.yml. Moving to a newer Minecraft means changing that file, and usually some code with it: methods and classes move between releases.
So this is a request to the AI, not a setting you flip. You do not need a new project — the one you have is updated in place, and everything you had stays in Version History.
Project Settings → Build carries a Minecraft Version list, which appears once Use global build settings is switched off. It is handed to the AI as the version to write for, so it is worth setting to your server's version — but a version named in your newest message wins over it.
What it does not do is change the jar on its own. Set it, press Build without asking the AI, and you get the same jar again, built for whatever your files say. The build log then tells you so:
> [WARNING] Project Settings → Build say Minecraft 1.21.4, but this project's build files target 1.20.1, so it was built for 1.20.1. To move the project to 1.21.4, ask the AI in chat to update it — the build does not rewrite your code to another version.
Read that line as a to-do, not a failure: the jar is fine, it is simply for the older version.
From Minecraft 1.20.5 on, plugins and mods are compiled for Java 21, and from 26.1 on for Java 25. If the project's Java Version is set lower, the build raises it to what that Minecraft version needs instead of failing — so picking Java 17 there does not give you a Java 17 jar for a 1.21 project.
That means the server has to run that Java too. If it does not, it refuses the plugin with UnsupportedClassVersionError, and lowering the setting will not get you round it: update Java on the server. When the Server Console Shows an Error covers the rest of the console messages.
The update is billed like any other Build run. A jump across several releases can also need repair rounds before it compiles, and a round whose changes are kept is billed on the same run — see Auto-Fix.
Two habits make it cheap: save a version in Version History before you ask, so one click undoes everything; and keep the old jar until the new one has actually started on your server. A plugin that compiles is not yet a plugin that runs.
Try it now: Describe your plugin and see the plan, free and with no account. Open the plugin generator
17 of 22 in Minecraft Studio · Last checked 12 September 2026 · Previous: Hosting a Minecraft Server