
Lv.1
在 “岩浆上升跑酷”制作方法公布 中回复
Box3进来了!!!
以下是岛3的岩浆上升↓
async function () {
let y = 0
while (y++ < 126) {
for (let x=0;x<127;x++) {
for (let z=0;z<127;z++) {
voxels.setVoxel(x,y,z,'lava02')
}}
await sleep (2000)
}
}
world.onPlayerJoin(({ entity, voxel }) => {
if (!entity.isPlayer) return
entity.enableDamage = ture
if (voxel === voxels.id('lava02')) {
entity.hurt(1000)
}
})2022-07-15T10:30:28 点赞:4