{"library":"pymctranslate","title":"PyMcTranslate","description":"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.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install pymctranslate"],"cli":null},"imports":["from pymctranslate import TranslationManager"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from pymctranslate import TranslationManager\n\nmanager = TranslationManager()\n# Translate block 'minecraft:stone' from version 1.12.2 to 1.16.5\ntranslated = manager.translate('minecraft:stone', source='1.12.2', target='1.16.5')\nprint(translated)\n# Output: 'minecraft:stone' (or block state data)","lang":"python","description":"Initialize a TranslationManager and use .translate() to convert identifiers between versions.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}