Narnia's Psychedelic Mushrooms

    minecraft-data
    TypeScript icon, indicating that this package has built-in type declarations

    2.106.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

    11,655

    Version

    2.106.0

    License

    MIT

    Unpacked Size

    60.9 MB

    Total Files

    545

    Last publish

    Collaborators

    • rom1504