
Lv.1
就让这一切从头开始吧
签名:离线中
在 求助-如何传送 中回复
entity.position.x=0//将x坐标设为0。(可以改)
entity.position.y=0//将y坐标设为0。(可以改)
entity.position.z=0//将Z坐标设为0。(可以改)
/*如果主语是other的话:*/
other.position.x=0//将x坐标设为0。(可以改)
other.position.y=0//将y坐标设为0。(可以改)
other.position.z=0//将Z坐标设为0。(可以改)
/*如果主语是hitEntity的话:*/
hitEntity.position.x=0//将x坐标设为0。(可以改)
hitEntity.position.y=0//将y坐标设为0。(可以改)
hitEntity.position.z=0//将Z坐标设为0。(可以改)2020-06-24T14:55:10 点赞:0
在 求助:需要代码 中回复
world.onVoxelContact(({voxel,entity})=>{
entity.enableDamage = true;
const dead=voxels.id('grass');
const health=voxels.id('回血方块,自定义');
if(voxel==dead){
entity.hp = 0;
}else if(voxel==health){
entity.hp = entity.maxHp;
}
})2020-08-01T09:03:20 点赞:0
在 【代码岛3.0活动预告】大神在线写代码!今天! 中回复
抢https://box3create.codemao.cn/games/1e3e005bf783083ab4c8
2020-08-18T10:27:40 点赞:0
在 古风镇招人了啊啊啊!!!!! 中回复
https://box3create.codemao.cn/games/ce312ed6182f24630afa
2020-08-18T12:13:53 点赞:0