prismarine-block:用其关联数据表示一个Minecraft区块

时间:2024-06-01 10:51:49
【文件属性】:

文件名称:prismarine-block:用其关联数据表示一个Minecraft区块

文件大小:11KB

文件格式:ZIP

更新时间:2024-06-01 10:51:49

JavaScript

棱柱状阻滞剂 用其关联数据表示一个Minecraft区块 用法 const Block = require ( "prismarine-block" ) ( "1.8" ) ; const stoneBlock = new Block ( 1 , 1 , 0 ) ; console . log ( stoneBlock ) ; // can you harvest stone with an iron pickaxe ? console . log ( stoneBlock . canHarvest ( 257 ) ) ; // how many milliseconds does it takes in usual conditions ? (on ground, not in water and not in creative mode) console . log ( stoneB


【文件预览】:
prismarine-block-master
----index.js(7KB)
----package.json(871B)
----.github()
--------dependabot.yml(125B)
--------workflows()
----test()
--------shape.test.js(630B)
--------fromProperties.test.js(503B)
--------basic.test.js(408B)
----example.js(582B)
----index.d.ts(5KB)
----.gitignore(30B)
----.npmrc(19B)
----README.md(4KB)

网友评论