
Lv.1
5202年想起黑历史赶忙来优化一下,以后不一定了
签名:“真正的不予置评,是默默走开,而不是拿着键盘像营造众人皆醉他独醒的人设,奈何文化水平又跟不上,起码的分辨能力也没有。”
在 神岛求助,如何让玩家碰到实体后受到伤害 中回复
e.onEntityContact(({ other }) => {
if (other.isPlayer) {
Die(other)
}
})
world.querySelectorAll('.实体类型').forEach((e) => {
})2022-12-03T15:18:11 点赞:1
在 求管喵代码!🙏🏻 中回复
var zuozhe = ['']//这里填入你的玩家名字
world.onChat(async ({ entity, message }) => {
if (zuozhe.includes(entity.player.name)) {
if (message[0] == "$") {
if (zuozhe.includes(entity.player.name)) {
try {
var code = eval(message.slice(1));
world.say(`~>${code}`)
}
catch (e) {
world.say(e)
}
}
}
}
})
//直接输代码高级版,在聊天区输$+代码2022-12-05T18:04:09 点赞:0
在 【box3】求助!计时器怎么搞 中回复
world.onPlayerJoin(async ({ entity }) => {
while (true){
await sleep (10000)
entity.position = entity.player.spawnPoint
}
})2022-12-07T16:48:53 点赞:1
在 代码三连问(最好给我直接复制粘贴的)谢谢创作节用 中回复
1API就有
2你喵家速度调快就行
entity.player.runSpeed=0.6;//速度
world.onVoxelContact(async({entity,voxel,x,y,z})=>{if(voxel!=voxels.id('ice')||!entity.isPlayer)return
voxels.setVoxel(x,y,z,0);await sleep(2000);voxels.setVoxel(x,y,z,'ice')})2022-12-07T16:54:41 点赞:0