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
This package allows the lookup of blocks, items, entities, etc. by name, id, etc., and for the easy lookup of other data.
Example
const minecraftData = require('minecraft-data')
const mcData = minecraftData('1.19')
console.log(mcData.blocksByName['stone'])
console.log(mcData.windows['minecraft:brewing_stand'])
console.log(mcData.version)
console.log(mcData.effectsByName['Haste'])
Documentation