mirror of
https://github.com/barkeser2002/node-minecraft-data.git
synced 2026-09-25 08:29:54 +03:00
30 lines
598 B
Markdown
30 lines
598 B
Markdown
# node-minecraft-data
|
|
|
|
node-minecraft-data provides easy access to minecraft-data in node.js.
|
|
|
|
The objective of this package is to make looking for information into minecraft-data in node projects.
|
|
|
|
## 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
|
|
|
|
## Usage
|
|
|
|
Simple example of usage of node-minecraft-data :
|
|
|
|
```js
|
|
var nmcData=require("node-minecraft-data");
|
|
|
|
console.log(nmcData.blocksByName["stone"]);
|
|
```
|
|
|
|
## Documentation
|
|
|
|
* See [doc/api.md](doc/api.md)
|
|
* See [doc/history.md](doc/history.md)
|