cletus/node_modules/prismarine-windows
2025-05-09 15:53:19 -05:00
..
.github Initial commit 2025-05-09 15:53:19 -05:00
lib Initial commit 2025-05-09 15:53:19 -05:00
node_modules/typed-emitter Initial commit 2025-05-09 15:53:19 -05:00
test Initial commit 2025-05-09 15:53:19 -05:00
API.md Initial commit 2025-05-09 15:53:19 -05:00
example.js Initial commit 2025-05-09 15:53:19 -05:00
HISTORY.md Initial commit 2025-05-09 15:53:19 -05:00
index.d.ts Initial commit 2025-05-09 15:53:19 -05:00
index.js Initial commit 2025-05-09 15:53:19 -05:00
package.json Initial commit 2025-05-09 15:53:19 -05:00
README.md Initial commit 2025-05-09 15:53:19 -05:00

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())