
Lv.1
如有来世,愿变身银狐 来时无影,去时也无踪 无惧孤独,更无惧风寒 白洁一身,心性纯真善
签名:一个中级代码师神奇代码岛的一名老岛民
在 向各位大佬提个小小小问题 中回复
脑洞大开的类型选择者请在评论发出你的脑洞imgsrc="https://static.cod喵/emoji/codemao/%E7%BC%96%E7%A8%8B%E7%8C%AB_%E5%97%A8%E8%B5%B7%E6%9D%A5.gif"alt="emotion_编程猫_嗨起来"
2022-05-09T20:10:22 点赞:0
在 向各位大佬提个小小小问题 中回复
imgsrc="https://static.cod喵/emoji/codemao/%E7%BC%96%E7%A8%8B%E7%8C%AB_%E5%97%A8%E8%B5%B7%E6%9D%A5.gif"alt="emotion_
2022-05-09T20:10:47 点赞:0
在 【离谱】有人说岛三2014发的)自己大号有6000多个地图()然后被封了()( 中回复
神奇代码岛2018年发布,神奇代码岛3.0是2019年开始内测的,还有神奇代码岛1.0和2.0现在是3.0
2022-05-09T20:23:06 点赞:0
在 【教程】好用而不常见的管喵代码1——禁足 中回复
const VIP_Player=['萌新大佬'];//自己改
world.onChat(({entity,message})=>{
if(!VIP_Player.includes(entity.player.name))return;
if(!message.startsWith('禁足')||!message.startsWith('解禁'))
var other=world.querySelectorAll('player').find((e)=>e.player.name==message.slice(2));
if(!other||other==null){
entity.player.directMessage('此人不存在');
return;
}
if(message.startsWith('禁足')){
if(other.canMove==false){
entity.player.directMessage('此人已禁足');
return;
}
other.player.directMessage('你被禁足了!');
entity.player.directMessage('禁足成功');
other.moveArg={
walkSpeed:other.player.walkSpeed,
walkAcceleration:other.player.walkAcceleration,
runSpeed:other.player.runSpeed,
runAcceleration:other.player.runAcceleration,
crouchSpeed:other.player.crouchSpeed,
crouchAcceleration:other.player.crouchAcceleration,
enableJump:other.player.enableJump,
enableDoubleJump:other.player.enableDoubleJump
};
other.player.walkSpeed=
other.player.walkAcceleration=
other.player.runSpeed=
other.player.runAcceleration=
other.player.crouchSpeed=
other.player.crouchAcceleration=
0;
other.player.enableJump=
other.player.enableDoubleJump=
false;
other.canMove=false;
}else if(message.startsWith('解禁')){
if(other.canMove==true||other.canMove==null){
entity.player.directMessage('此人还未禁足或已被解禁');
return;
}
other.player.directMessage('你被解禁了!');
entity.player.directMessage('解禁成功');
Object.assign(other.player,other.moveArg);
other.canMove=true;
}
})2022-05-10T22:06:07 点赞:0
在 【举报】@吉吉喵 救救孩子吧!我举报了很多次都无果! 中回复
imgsrc="https://static.cod喵/emoji/codemao/%E7%BC%96%E7%A8%8B%E7%8C%AB_%E6%90%93%E5%A4%B4.gif"alt="emotion_编程猫_搓头"width="729"height="729"
2022-05-10T22:07:13 点赞:0