LookAtMySuitBot/js/node_modules/prismarine-windows
Brett 5f2b208d42 c++ setup 2023-12-24 20:08:39 -05:00
..
.github c++ setup 2023-12-24 20:08:39 -05:00
lib c++ setup 2023-12-24 20:08:39 -05:00
node_modules/typed-emitter c++ setup 2023-12-24 20:08:39 -05:00
test c++ setup 2023-12-24 20:08:39 -05:00
API.md c++ setup 2023-12-24 20:08:39 -05:00
HISTORY.md c++ setup 2023-12-24 20:08:39 -05:00
README.md c++ setup 2023-12-24 20:08:39 -05:00
example.js c++ setup 2023-12-24 20:08:39 -05:00
index.d.ts c++ setup 2023-12-24 20:08:39 -05:00
index.js c++ setup 2023-12-24 20:08:39 -05:00
package.json c++ setup 2023-12-24 20:08:39 -05:00

README.md

prismarine-windows

Build Status

Represent minecraft windows. Check mineflayer-web-inventory to display windows.

Read the API.

Usage

const windows = require('./')('1.8')
const Item = require('prismarine-item')('1.8')

const inv = windows.createWindow(1, 'minecraft:inventory', 'inv', 36)

inv.updateSlot(10, new Item(256, 1))

console.log(inv.items())