PyMcTranslate is a Python library for translating Minecraft data files (e.g., block state mappings, item IDs) between different Minecraft versions. It automates the conversion of data structures used by tools and mods, supporting versioned translation maps. Current version 1.2.43, release cadence is irregular.
pip install pymctranslateVerified import paths — ran on the pinned version, not inferred.
Initialize a TranslationManager and use .translate() to convert identifiers between versions.
Call manager.update() after initialization to ensure latest maps.
Use string like '1.12.2', not '1.12' or 'minecraft 1.12.2'.
Replace manager.translate_slot(...) with manager.translate(..., slot=...).