mixin-verify-target
Verifies that a mixin target method or field exists in a Minecraft jar's bytecode, resolves namespaces, and flags ambiguous overloads or missing members.
Instructions
Check that a mixin target method or field exists in the jar's bytecode, with @Shadow/@Accessor/@Invoker advice. Names are translated to the artifact's namespace (autoRemap). status: ok, ambiguous (overloads; add descriptor), not_found. Example: {"target":{"kind":"version","version":"1.21.10"},"className":"net.minecraft.world.entity.Entity","kind":"method","memberName":"tick","mapping":"mojang"}
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>",
"className": "<className>",
"kind": "<kind>",
"memberName": "<memberName>",
"mapping": "<mapping>"
},
"name": "mixin-verify-target"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Kind of the target member. | |
| target | Yes | Fields per kind (?=optional): version: version,projectPath?,scope?; jar: jarPath; coordinate: coordinate; workspace: projectPath,scope?; dependency: group,name,dependencyVersion|projectPath. Other fields rejected. | |
| mapping | Yes | Namespace of className, memberName and descriptor. | |
| autoRemap | No | Translate the names into the artifact's namespace. | |
| className | Yes | Fully qualified class the mixin targets. | |
| descriptor | No | JVM descriptor, e.g. "()V"; omitted: any. | |
| memberName | Yes | The member's simple name. | |
| mixinMemberName | No | Your mixin member's name; refines the advice. |