MCPcopy Create free account

hub / github.com/PrismarineJS/minecraft-data / functions

Functions25 in github.com/PrismarineJS/minecraft-data

↓ 6 callersFunctiongetIfExist
(path)
tools/js/test/audit_recipes.js:9
↓ 3 callersFunctionalterJSON
(path, callback)
tools/js/incrementVersion.js:16
↓ 3 callersFunctionprepLines
* Normalize decompiler output into an array of "statements"/lines. * @param {string} raw * @returns {string[]}
tools/js/extractPcEntityMetadata.js:11
↓ 2 callersFunctionadd
(name, satMod, nut)
tools/js/extractPcFoods.js:21
↓ 2 callersFunctionconvert
(version)
tools/js/convertMcpcProtocolJsonToYaml.js:13
↓ 2 callersFunctiongenProtoSchema
(createPacketMap)
tools/js/compileProtocol.js:14
↓ 2 callersFunctionwriteJSON
(path, data)
tools/js/incrementVersion.js:11
↓ 1 callersFunctionaddDataPath
(version, key, value)
tools/js/convertMcpcProtocolJsonToYaml.js:5
↓ 1 callersFunctionall
(fn)
tools/js/compileProtocol.js:103
↓ 1 callersFunctionbuild
(ele, root = tree, arr = [])
tools/js/extractPcEntityMetadata.js:149
↓ 1 callersFunctionbumpReadmeVersion
(edition, version)
tools/js/incrementVersion.js:23
↓ 1 callersFunctionconvert
(edition, ver, path)
tools/js/compileProtocol.js:62
↓ 1 callersFunctionextractPcEntityMetadata
* Main function to extract and optionally update mcdata files. * @param {string} version - directory name for extracted src (e.g. "1.20") * @param {
tools/js/extractPcEntityMetadata.js:84
↓ 1 callersFunctiongetEntityMetadataSerializers
* Read EntityDataSerializers.java and return serializer names in order. * @param {string} versionDir * @returns {string[]}
tools/js/extractPcEntityMetadata.js:59
↓ 1 callersFunctiongetEntityTypes
* Read entity types from the client EntityType.java and return mappings. * @param {string} versionDir * @returns {[Record<string,string>, Record<str
tools/js/extractPcEntityMetadata.js:34
↓ 1 callersFunctiongetItemDataFor
(itemName)
tools/js/extractPcFoods.js:15
↓ 1 callersFunctiongetJSON
(path)
tools/js/compileProtocol.js:9
↓ 1 callersFunctiongetJSON
(path)
tools/js/incrementVersion.js:7
↓ 1 callersFunctiongetVersionIndex
* Gets the chronological index of a version from the versions.json file * Returns -1 if version is not found, or null for non-version strings like "l
tools/js/test/audit_version_regression.js:9
↓ 1 callersFunctionupdateMcDataEntitiesJSON
()
tools/js/extractPcEntityMetadata.js:167
↓ 1 callersFunctionupdateMcDataProtocolJSON
()
tools/js/extractPcEntityMetadata.js:178
FunctionforEach
(f)
tools/js/test/version_iterator.js:7
FunctionupdateProtocol
(edition, version, protocolVersionNumber)
tools/js/incrementVersion.js:33
Functionvalidate
(edition, ver, path)
tools/js/compileProtocol.js:74
Functionvisitor
(key, value)
tools/js/compileProtocol.js:49