猫史档案馆


高贵的木叶龙A35d

高贵的木叶龙A35d

Lv.1

获赞:83收藏:40浏览:1098作品收藏:59

签名:https://shequ.codemao.cn/community/330512 请看此贴,我已经永久退猫了,再见

回复帖子评论
上一页10 页 / 共 24下一页

代码岛3.0,求喵代码,如果可以运行给金币!!! 中回复

  world.onPlayerJoin(({ entity }) => {
    entity.enableDamage = true;
    entity.player.onPress(({ button, raycast:{ hitEntity, direction } }) => {
        if (button !== 'action0' || !hitEntity) {
            return;
        }
        hitEntity.velocity.x += direction.x;
        hitEntity.velocity.y += 0.5;
        hitEntity.velocity.z += direction.z;
        hitEntity.hurt(20 * Math.random() + 5, {/*这里是伤害调整,5可以改成其他数字*/
            attacker: entity,
        });
    });
});

world.onDie(({ entity, attacker }) => {
    if (attacker) {
        world.say(attacker.player.name + ' 残忍的杀害了可怜的 ' + entity.player.name)
    }
    entity.player.forceRespawn();
});

2020-06-07T16:06:41 点赞:0

代码岛3.0,求喵代码,如果可以运行给金币!!! 中回复

world.onPlayerJoin(({ entity }) => {
    entity.enableDamage = true;
    entity.player.onPress(({ button, raycast:{ hitEntity, direction } }) => {
        if (button !== 'action0' || !hitEntity) {
            return;
        }
        if(hitEntity.isPlayer===true){
           hitEntity.velocity.y += 0.5;
        }
        hitEntity.hurt(20 * Math.random() + 5, {/*照样可以改伤害*/
            attacker: entity,
        });
        if(entity.player.name == "名字鬼知道"){//这是外挂里面写谁的名字都可以
            hitEntity.hurt(999999, {
                attacker: entity,
            });
        }
    });
});

world.onDie(({ entity, attacker }) => {
    if (attacker) {
        world.say(attacker.player.name + ' 残忍地击杀了 ' + entity.player.name)
    }
    entity.player.forceRespawn();
});

2020-06-07T16:08:53 点赞:0

一些小建议(吉吉喵进来瞅一瞅) 中回复

啥事出个物品栏,背包就好了,哦对还有方块破坏,方块放置,到时候弄个迷你世界玩玩

2020-06-07T16:10:23 点赞:0

大家知道围棋大赛怎么点目吗? 中回复

我去!你这都不懂别玩围棋了

2020-06-07T16:38:04 点赞:0

大家知道围棋大赛怎么点目吗? 中回复

下棋的一方说过,如果对手也说过就点目了!

2020-06-07T17:23:05 点赞:0

投票:你支持BOX3开放公测吗? 中回复

81回复你们是认真的吗

2020-06-07T18:17:02 点赞:0

【BUG】为什么我消息无法已读 中回复

天哪,那我2019的消息要翻到啥时候

2020-06-07T18:29:23 点赞:0

【BUG】为什么我消息无法已读 中回复

不是,我之前2019年出现的问题,我懒得翻了!我翻不得累死,增加一个全部已读按钮吧!

2020-06-07T18:30:11 点赞:0

为什么只能派一个精灵? 中回复

我现在可以拍三个到四个了

2020-06-07T18:33:17 点赞:0

为什么只能派一个精灵? 中回复

第二章第七关只能编程猫2阶,错了你打我

2020-06-07T18:33:44 点赞:0

投票:你支持BOX3开放公测吗? 中回复

敲个代码完就99+?????

顺便发个射速代码,大家看看有没有踔

(async function(){world.onTick((evt)=>{  await sleep(1000);  world.querySelectorAll("*").forEach((entity)=>{    if ((entity.player.shesu) > 0) {      entity.player.shesu=((entity.player.shesu) - 1000);    }  });});})();

2020-06-07T19:26:22 点赞:1

投票:你支持BOX3开放公测吗? 中回复

票数统计:截止至6月8号7:30分:

选1的在BOX3不出名的:17

选2的在BOX3不出名的:17

选1的在BOX3出名的:0

选2的在BOX3出名的:1(超级大佬本尊)

2方胜出!胜一票!(意思含糊和用代码搞得乱七八糟的不算!)

2020-06-08T07:32:23 点赞:0

如何打造超强防盗网站 中回复

(口吐芬芳)*%&%……¥#@#¥%……&*()()#!@!#¥%&*#¥@¥*#¥@@#¥%……%&……%……¥#¥@

2020-06-08T07:48:08 点赞:0

本SHQ工作室成员专用 中回复

(async function(){world.onTick((evt)=>{  world.querySelector("."+'狗').onEntityContact(async ({entitiy,other})=>{    if (other.isPlayer) {      world.say(String(other.player.name) + '被狗咬死了!');      entity.say('汪汪汪!');      other.showHealthBar=true;      other.enableDamage=true;      other.hurt(100);      await sleep(1000);      other.player.forceRespawn();      other.position=new Box3Vector3(64,10,64);      world.say(String(other.player.name) + '被送往森林医院急救,成功复活!');    }  });});})();

2020-06-08T07:49:37 点赞:0

代码岛的3个类型 中回复

以后开发出迷你世界是不是要增加沙盒类型

2020-06-08T12:18:09 点赞:0

关于我的世界 中回复

考古

2020-06-08T13:03:26 点赞:0

【之音学编程】之实用教程:神奇粒子 中回复

你用成Python代码展示了,应该是JS

world.say('应该这样')

2020-06-08T15:09:41 点赞:0

各位再见了,暑假回来 中回复

wc

2020-06-08T19:54:00 点赞:0

《神兽在哪里》重磅来袭! 中回复

猛然发现吉吉喵重建筑不重代码!

2020-06-08T21:03:43 点赞:1

《神兽在哪里》重磅来袭! 中回复

天哪,那我要改行建筑?

2020-06-08T21:03:55 点赞:0

假如作业是世界上最珍贵的东西(更新了哈哈哈哈) 中回复

2020-06-09T17:34:35 点赞:0

我在微信群里骂人,对方说喵了,警察要抓我 中回复

world.say('那当然,网警听说过没?专门管色 情,喵,人身攻击,黑客攻击,IP地址盗取等……')

2020-06-18T12:33:20 点赞:2

我在微信群里骂人,对方说喵了,警察要抓我 中回复

如果你使用黑客远程操控电脑骂人,那你估计需要去管教所一趟,再交你零花钱1000倍的罚金……

2020-06-18T18:26:53 点赞:1

新的方块即将到达 中回复

迷你世界的行么……

2020-06-19T12:27:06 点赞:0

【墨水懵了】这个人谁啊,口气这么大 中回复

emotion_编程猫_冷漠

2020-06-19T16:46:59 点赞:0

【墨水懵了】这个人谁啊,口气这么大 中回复

墨水,没你这样的……感觉你最近很闲啊……

2020-06-19T16:47:37 点赞:0

我在喵城终于…… 中回复

此时一位枪战最高16分的冲锋枪大佬默默路过……

2020-06-19T21:48:13 点赞:0

[亿点小福利] 谁想学Node.js (含JS语法) , 来免费跟着我学啦~ 中回复

呦嘿,shy你还搞这东西

2020-06-20T07:16:18 点赞:0

【代码岛3.0端午更新!】进来赛龙舟! 中回复

卡飞了

2020-06-20T09:16:05 点赞:0

有人能打出“玊”吗? 中回复

玊su四声

2020-06-21T16:38:14 点赞:0