Yarn ↔ Mojang class name translation
mc_mappings_translateTranslates Minecraft class names between Yarn and Mojang mappings to simplify porting mods across Fabric, NeoForge, and Minecraft versions.
Instructions
Given a class name from either Yarn (Fabric) or Mojang official (NeoForge / modern Fabric) mappings, returns the equivalent. Useful when porting between Fabric on Yarn and NeoForge on Mojang, or when reading a wiki snippet that uses the other naming.
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": {
"name": "<name>"
},
"name": "mc_mappings_translate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Class name (any case, partial OK) |