owobot/util/mc_lang.js

7 lines
194 B
JavaScript
Raw Permalink Normal View History

2024-08-12 05:13:32 -04:00
const _lang = require('minecraft-data')('1.20.2').language
const lang = Object.create(null) // Without constructor function
for (const i in _lang) {
lang[i] = _lang[i]
}
module.exports = lang