class-mappings
List a Minecraft class and its fields and methods with names in obfuscated, Mojang, intermediary, and Yarn namespaces for a chosen version, with pagination.
Instructions
List one class and its fields and methods with their names in all four namespaces (obfuscated, mojang, intermediary, yarn) for a Minecraft version. Pages with limit and cursor. Example: {"version":"1.21.10","className":"net.minecraft.world.item.Item","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": {
"version": "<version>",
"className": "<className>",
"mapping": "<mapping>"
},
"name": "class-mappings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kinds | No | Row kinds to list; default all. | |
| limit | No | Rows per page; default 20. | |
| cursor | No | meta.pagination.nextCursor of the previous page. | |
| mapping | Yes | Namespace the names are written in. | |
| version | Yes | Minecraft version, e.g. "1.21.10". | |
| className | Yes | Class name in mapping's namespace. |