LookAtMySuitBot/js/node_modules/prismarine-windows/example.js

9 lines
219 B
JavaScript
Raw Normal View History

2023-12-24 20:08:39 -05:00
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())