botv12/util/mc_lang.js

8 lines
223 B
JavaScript
Raw Normal View History

2024-10-22 23:11:33 -04:00
import MinecraftData from 'minecraft-data'
const _lang = MinecraftData('1.20.6').language
const lang = Object.create(null) // Without constructor function
for (const i in _lang) {
lang[i] = _lang[i]
}
2024-10-23 22:59:54 -04:00
export default lang