mirror of
https://github.com/barkeser2002/node-minecraft-data.git
synced 2026-09-25 12:46:17 +03:00
3.7.0
* Update Minecraft Data * Release 3.7.0 Co-authored-by: rom1504bot <rom1504bot@users.noreply.github.com>
node-minecraft-data
node-minecraft-data provides easy access to minecraft-data in node.js.
The objective of this module is to make easier to look for information in minecraft-data in node.
Features
For example it's often useful to :
- find blocks by id
- find items by name
- find block or item by name
- find block or item by id
Example
const mcData=require("minecraft-data")("1.8.8")
console.log(mcData.blocksByName["stone"])
console.log(mcData.windows["minecraft:brewing_stand"])
console.log(mcData.version)
console.log(mcData.effectsByName["Haste"])
Documentation
- See doc/api.md
- See doc/history.md
Languages
JavaScript
94.3%
TypeScript
5.7%