Package Exports
- minecraft-data
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (minecraft-data) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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
var 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