2026-01-29 23:33:54 +03:00
2025-02-11 21:27:17 -05:00
2026-01-25 21:26:41 -05:00
2024-03-17 16:20:43 +01:00
2026-01-29 23:33:54 +03:00
2026-01-29 23:33:54 +03:00
2019-08-24 16:03:36 +00:00
2017-03-13 00:58:05 +01:00
2024-03-17 16:20:43 +01:00
2026-01-29 23:33:54 +03:00
2022-07-24 09:48:44 +02:00

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

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')
// or for es6: import minecraftData from 'minecraft-data';

const mcData = minecraftData('1.19')

console.log(mcData.blocksByName['stone']) // Information for "Stone"
console.log(mcData.windows['minecraft:brewing_stand']) // Information for the "Brewing Stand" GUI
console.log(mcData.version) // Information about the current version
console.log(mcData.effectsByName['Haste']) // Information for the "Haste" effect

Documentation

S
Description
Provide easy access to minecraft-data in node.js
Readme
870 KiB
Languages
JavaScript 94.3%
TypeScript 5.7%