猫史档案馆


谁能给我点代码

用户:adbbbadbbb查看:7 回复:14 评论:7 创建时间:2020-09-25T21:52:28


谁能给我点代码?(给你作品点赞)


回复

上一页1 页 / 共 1下一页
SGY酥安SGY酥安

什么代码???

点赞0


评论


HCLZQ退游HCLZQ退游

什么代码

点赞0


评论


几何空间几何空间

//给大家示范一下:
world.say("代码")

好了,可以点赞了~

点赞3


评论


治愈绾兮治愈绾兮

什么代码?

点赞0


评论


DHS李大黑小号DHS李大黑小号

什么语言???

点赞0


评论


DHS李大黑小号DHS李大黑小号

JavaScript???

点赞0


评论


SHS不是奥尔菲斯而是SHS不是奥尔菲斯而是

import os
while True:
os.system('"C:/Program Files/Internet Explorer/iexplore.exe"https://shequ.codemao.cn/community/343142 ')

 

 

 

点赞2


评论


SHS不是奥尔菲斯而是SHS不是奥尔菲斯而是

import os
while True:
    os.system('"C:/Program Files/Internet Explorer/iexplore.exe"https://shequ.codemao.cn/community/343142 ')

点赞2


评论


凌_墨水凌_墨水

//注释也算代码一部分罢

点赞2


评论


ZHOU_FanJinZHOU_FanJin

//代码
world.say("代码给你")

点赞2


评论


起锅烧油起锅烧油

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.3; 
            hitEntity.velocity.z += direction.z; 
            hitEntity.hurt(20 * Math.random() + 5, { attacker: entity, }); 
        }); 
    }); 
world.onDie(({ entity, attacker }) => { 
    if (attacker) { 
        world.say(attacker.player.name + ' 把 ' + entity.player.name + '给***了') 
        entity.player.forceRespawn(); 
    }
});//一点代码?????什么鬼 谁知道你要神马代码

点赞1


评论


会python的狸忍会python的狸忍

world.say("点赞把" )

赞呢?

点赞2


评论


圣婴大王红孩儿圣婴大王红孩儿

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.3; 
            hitEntity.velocity.z += direction.z; 
            hitEntity.hurt(20 * Math.random() + 5, { attacker: entity, }); 
        }); 
    }); 
world.onDie(({ entity, attacker }) => { 
    if (attacker) { 
        world.say(attacker.player.name + ' 把 ' + entity.player.name + '给***了') 
        entity.player.forceRespawn(); 
    }
})

点赞1


评论


J_K_Hermione_build白泽J_K_Hermione_build白泽

var teleportPlayer = ''//定义传送玩家变量 
world.onChat(({entity,message})=>{
     if (message.startsWith('/tp')){//如果以'/tp'开头 
        teleportPlayer = message.slice(4)//这里是四因为要空格 
        world.querySelectorAll('player').forEach((x)=>{//遍历玩家列表 
            if (x.player.name == teleportPlayer){
                entity.position.copy(x.position)//传送 
                world.say('已将'+entity.player.name+'传至'+x.player.name)//提示语
            }
        })
     }
})

点赞2


评论