Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrismarineJS/minecraft-data
/ functions
Functions
25 in github.com/PrismarineJS/minecraft-data
⨍
Functions
25
◇
Types & classes
0
↓ 6 callers
Function
getIfExist
(path)
tools/js/test/audit_recipes.js:9
↓ 3 callers
Function
alterJSON
(path, callback)
tools/js/incrementVersion.js:16
↓ 3 callers
Function
prepLines
* Normalize decompiler output into an array of "statements"/lines. * @param {string} raw * @returns {string[]}
tools/js/extractPcEntityMetadata.js:11
↓ 2 callers
Function
add
(name, satMod, nut)
tools/js/extractPcFoods.js:21
↓ 2 callers
Function
convert
(version)
tools/js/convertMcpcProtocolJsonToYaml.js:13
↓ 2 callers
Function
genProtoSchema
(createPacketMap)
tools/js/compileProtocol.js:14
↓ 2 callers
Function
writeJSON
(path, data)
tools/js/incrementVersion.js:11
↓ 1 callers
Function
addDataPath
(version, key, value)
tools/js/convertMcpcProtocolJsonToYaml.js:5
↓ 1 callers
Function
all
(fn)
tools/js/compileProtocol.js:103
↓ 1 callers
Function
build
(ele, root = tree, arr = [])
tools/js/extractPcEntityMetadata.js:149
↓ 1 callers
Function
bumpReadmeVersion
(edition, version)
tools/js/incrementVersion.js:23
↓ 1 callers
Function
convert
(edition, ver, path)
tools/js/compileProtocol.js:62
↓ 1 callers
Function
extractPcEntityMetadata
* 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 callers
Function
getEntityMetadataSerializers
* Read EntityDataSerializers.java and return serializer names in order. * @param {string} versionDir * @returns {string[]}
tools/js/extractPcEntityMetadata.js:59
↓ 1 callers
Function
getEntityTypes
* 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 callers
Function
getItemDataFor
(itemName)
tools/js/extractPcFoods.js:15
↓ 1 callers
Function
getJSON
(path)
tools/js/compileProtocol.js:9
↓ 1 callers
Function
getJSON
(path)
tools/js/incrementVersion.js:7
↓ 1 callers
Function
getVersionIndex
* 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 callers
Function
updateMcDataEntitiesJSON
()
tools/js/extractPcEntityMetadata.js:167
↓ 1 callers
Function
updateMcDataProtocolJSON
()
tools/js/extractPcEntityMetadata.js:178
Function
forEach
(f)
tools/js/test/version_iterator.js:7
Function
updateProtocol
(edition, version, protocolVersionNumber)
tools/js/incrementVersion.js:33
Function
validate
(edition, ver, path)
tools/js/compileProtocol.js:74
Function
visitor
(key, value)
tools/js/compileProtocol.js:49