
Lv.1
一个屑到不到再屑的屑
签名:玩Minecraft
在 【岛3】六月一日,将有大事 中回复
吉吉喵说的岛是不是主页或者论坛?出新图了?代码岛更新了正在内测,只有官方可以使用?出的新图里面是不是用了这个更新的???出SQL教程了?代码里面的毁灭到底意味在什么?四个师又是谁?????????????????????????????????
2021-05-30T12:41:20 点赞:0
在 (代码岛3.0)岛3多功能店铺开业~ 中回复
瞬移到鼠标所指的地方的代码:
world.onPress(async({ button, entity,raycast: { voxelIndex, normal} }) => {
if (button == Box3ButtonType.ACTION0) {//如果是action0,对应电脑端左键
let v = voxelIndex.a喵(normal);//用点击到的方块坐标加上法向量,得到邻边方块位置
if ((voxels.getVoxel(v.x, v.y, v.z)) == (voxels.name('null'))) {
entity.position.set(v.x, v.y+2, v.z)
}; }; })2021-06-03T12:30:37 点赞:1
在 [干货分享]如何让管喵在聊天栏中执行代码 中回复
回复本尊:
就像这样:
就像这样:
world.onChat(({ entity, message }) => {
if (entity&&entity.isPlayer) {
if(entity&&entity.id.split(' ').indexOf(entity.player.name)!=-1&&message.charAt(0)=='$'){
try{
world.say('<~ '+eval(message.split('$')[1]))}catch(err){
world.say('Error:'+err)
}
};
}
})
world.onChat(({ entity, message }) => {
if (entity&&entity.isPlayer)
try{
world.say('<~ '+eval(message.split('$')[1]))}catch(err){
world.say('Error:'+err)
}
})2021-06-14T09:07:14 点赞:0
在 泽莫做过山车 中回复
给你个赞imgsrc="https://static.codemao.cn/emoji/codemao/%E7%BC%96%E7%A8%8B%E7%8C%AB_%E5%8E%89%E5%AE%B3%E4%BA%86.gif"alt="emotion_编程猫_厉害了"
2021-10-23T09:52:42 点赞:0
在 COCO作品修改后,之前的分享链接如何自动更新 中回复
给你个大大的赞,我也是这样想的awaimgsrc="https://static.cod喵/emoji/codemao/%E7%BC%96%E7%A8%8B%E7%8C%AB_%E7%82%B9%E8%B5%9E.gif"alt="emotion_编程猫_点赞"width="1670"height="1670"
2022-02-18T12:11:12 点赞:0