Meet npm Pro: unlimited public & private packages + package-based permissions.Learn more »

minecraft-data

2.41.0 • Public • Published

node-minecraft-data

NPM version Tonic Build Status Try it on gitpod

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

Install

npm i minecraft-data

DownloadsWeekly Downloads

2,996

Version

2.41.0

License

MIT

Unpacked Size

9.65 MB

Total Files

222

Last publish

Collaborators

  • avatar