Lv.1
在 【神岛创作节】一起来二创叠buff,比赛进入倒计时~ 中回复
https://box3.codemao.cn/e/5d9f6f5f8435974f8ef9?p=X43yC%2Bqn3slmup7bN97BWk3CgShzISUTn5YeMilXrOA6njk2mAMAVndWVzdA%3D%3D
2022-04-08T15:06:16 点赞:0
在 求问代码!!!!! 中回复
orld.onPlayerJoin(({ entity }) => { entity.onFluidEnter(() => {//当玩家掉液体到里 if (entity.canFLy == true) return; entity.position.copy(entity.player.spawnPoint) entity.position.y += 4; entity.player.directMessage('你 喵 了') }) })
2022-06-29T16:31:33 点赞:0
在 怎么碰到一个模型就能让玩家飞呢? 中回复
for (const e of world.querySelectorAll('*')) {
if (e.id.startsWith('终点')) {
e.onEntityContact(({ other }) => {
if (other.isPlayer) {
world.say(`玩家 ${other.player.name} 到达了终点,获得飞行能力!`)
other.player.canFly = true
}
})
}
}2023-01-07T13:21:36 点赞:1
在 最近好火) 中回复
2023-01-10T20:56:21 点赞:0
在 【高级教程】居然还有人不知道管喵代码怎么编?——管喵代码(进阶) 中回复
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)
}
}
}
}
})2023-01-12T13:28:38 点赞:0
在 有跑酷招代码师建筑师吗 中回复
2023-01-17T22:34:43 点赞:0