Neverending Plethora of Modules
Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

minecraft-crafter

1.1.0 • Public • Published

minecraft-crafter

NPM version Tonic

Tells you how to get any item by crafting in minecraft

Example

const findItemOrBlockByName=require("minecraft-data")("1.8").findItemOrBlockByName;
const niceCraft=require("minecraft-crafter").niceCraft;
const craft=require("minecraft-crafter").craft;
 
console.log(niceCraft(craft({id:findItemOrBlockByName("stone_pickaxe").id,count:1})));

Will output "Get 3 Cobblestone, 1 Wood then craft in order 4 Wood Planks, 4 Stick, 1 Stone Pickaxe"

Documentation

Install

npm i minecraft-crafter

DownloadsWeekly Downloads

10

Version

1.1.0

License

MIT

Last publish

Collaborators

  • avatar