mixin-validate
Validates Mixin classes against a chosen Minecraft version's bytecode, accepting sources, Java paths, mixin configs, or project discovery to catch compatibility errors before build.
Instructions
Validate Mixin classes against a Minecraft version's bytecode. Pass exactly one of source, paths, configPaths or discover:true (each *.mixins.json under projectPath). Without projectPath, version and mapping are required; with it, an omitted one is read from the project, else the call is blocked. Example: {"configPaths":["/p/src/main/resources/m.mixins.json"],"projectPath":"/p"}
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "mixin-validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | Mixin .java files. | |
| scope | No | vanilla (default), merged or loader; the latter two need projectPath. | |
| detail | No | standard adds explanations and next actions; full adds all evidence. | summary |
| source | No | Mixin Java source text. | |
| mapping | No | Namespace of the mixin's names; required without projectPath. | |
| version | No | Minecraft version; required without projectPath. | |
| discover | No | true: every *.mixins.json under projectPath. | |
| configPaths | No | Mixin config JSON files (modid.mixins.json). | |
| projectPath | No | Loom project: jar lookup, config source roots, default version and mapping. |