BiomeTranslator class¶
-
class
PyMCTranslate.py3.api.version.translators.biome.
BiomeTranslator
(biome_data, translation_manager)[source]¶ Bases:
object
-
from_universal
(biome)[source]¶ Convert the universal namespaced string to the version namespaced string
- Return type
-
pack
(biome)[source]¶ Pack the namespaced string biome value into the raw numerical format This will first use any pre-registered mappings bound using TranslationManager.biome_registry.register If it can’t be found there it will fall back to the vanilla ones. If it still can’t be found it will fall back to plains
- Return type
-
to_universal
(biome)[source]¶ Convert the version namespaced string to the universal namespaced string
- Return type
-
unpack
(biome)[source]¶ Unpack the raw numerical biome value into the namespaced string format. This will first use any pre-registered mappings bound using TranslationManager.biome_registry.register If it can’t be found there it will fall back to the vanilla ones. If it still can’t be found it will fall back to plains
- Return type
-