【文件属性】:
文件名称:prismarine-windows:代表《我的世界》窗户
文件大小:11KB
文件格式:ZIP
更新时间:2021-04-30 00:51:52
JavaScript
棱柱形窗户
代表我的世界窗口。 检查以显示窗口。
阅读 。
用法
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 ( ) )
【文件预览】:
prismarine-windows-master
----.gitignore(30B)
----package.json(807B)
----.npmrc(19B)
----index.js(7KB)
----.github()
--------workflows()
----README.md(604B)
----example.js(219B)
----lib()
--------Window.js(10KB)
----HISTORY.md(771B)
----index.d.ts(7KB)
----API.md(9KB)