minecraft data raw code

This commit is contained in:
adman
2026-03-22 19:49:37 +01:00
parent 2d1e8ef4f6
commit f7401a287e
1130 changed files with 14385838 additions and 0 deletions
@@ -0,0 +1,14 @@
module.exports = forEach
const path = require('path')
const minecraftTypes = ['pc', 'bedrock']
function forEach (f) {
minecraftTypes.forEach(function (type) {
const versions = require('../../../data/' + type + '/common/versions')
versions.forEach(function (version) {
f(path.join(__dirname, '../../../data', type, version), type + ' ' + version)
})
})
}