JSPM

minecraft-data

2.62.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 13705
  • Score
    100M100P100Q155729F
  • License MIT

Provide easy access to minecraft data in node.js

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

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