class-diff
Compare one Minecraft class across two versions to identify added, removed, and modified constructors, methods, and fields by mapping namespace.
Instructions
Diff one class between two Minecraft versions: added, removed and modified constructors, methods and fields. mapping (required) is the namespace of className and the returned names. status: ok, not_found (in neither version), unavailable (mapping data could not be loaded). Example: {"className":"net.minecraft.world.item.Item","fromVersion":"1.21.1","toVersion":"1.21.10","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": {
"className": "<className>",
"fromVersion": "<fromVersion>",
"toVersion": "<toVersion>",
"mapping": "<mapping>"
},
"name": "class-diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | summary: counts; standard: member deltas; full: adds before/after members. | full |
| mapping | Yes | Namespace of className and of the member names returned. | |
| className | Yes | Fully qualified class name in mapping's namespace. | |
| toVersion | Yes | Newer Minecraft version, e.g. "1.21.10". | |
| fromVersion | Yes | Older Minecraft version, e.g. "1.21.1". |