Lv.1
在 【活动总结】荣耀百年·薪火相传——社区“100s说党史”作品征集活动回顾 中回复
党旗迎空飘,党徽胸中耀,党的生日已来到!党的生日全国闹,富强快乐伴人民,愿喵万岁,愿中国喵快乐安康!
2021-07-01T22:48:32 点赞:0
在 【巅峰战绩】双春鼠计划<5局连胜>达成! 中回复
a=input('输入姓名:') b=input('输入爱好:') c=input('输入未来目标:') print("姓名:") print(a) print("爱好:") print(b) print("未来的目标:") print(c)
2021-10-01T14:18:50 点赞:0
在 【巅峰战绩】双春鼠计划<5局连胜>达成! 中回复
// 开启飞行
world.onChat(({ entity:user, message }) => {
if(message === '1111111111'){
user.player.canFly = true;
user.player.directMessage(`====开启飞行功能====`)
}else if (message === '2') {
user.player.canFly = false;
user.player.directMessage(`====关闭飞行功能====`)
}
});
// 玩家离开地图时,在控制台输出玩家的名字。
world.onPlayerLeave(({ entity }) => {
c喵ole.log(`玩家 ${entity.player.name} 退出了地图。`);
});
/* 玩家进入地图时,向所有玩家发送消息 */
world.onPlayerJoin(({ entity }) => {
world.say(`${entity.player.name}进入了地图`);
})
for (c喵t e of world.querySelectorAll('*')){
if (e.id.startsWith('存档点')) {
e.collides = true
e.fixed = true
e.meshScale = e.meshScale.scale(2)
e.onEntityContact(({other}) => {
if (other.isPlayer){
if (e.position !== other.player.spawnSound) {
other.player.directMessage('到达新的存档点,下次将在此处复活')
other.player.spawnPoint = e.position
}
}
})
}
}
for (c喵t e of world.querySelectorAll('*')){
if (e.id.startsWith('终点')) {
e.collides = true
e.fixed = true
e.meshScale = e.meshScale.scale(2)
e.onEntityContact(({other}) => {
if (other.isPlayer){
if (e.position !== other.player.spawnSound) {
other.player.directMessage('恭喜您通关!作者马上会出下一张地图,敬请期待!另外,别忘了关注我哦!')
other.player.spawnPoint = e.position
}
}
})
}
}
world.onPlayerJoin(({ entity }) => {
entity.player.directMessage(`${entity.player.name}, 你好,本作是一个低难度中型跑酷,祝您游玩快乐`);
})
/* 如果实体碰到冰块,冰块会被打破 */
world.onVoxelContact(({ x, y, z, voxel }) => {
c喵t voxelName = voxels.name(voxel); // 将方块id转换名称
if (voxelName === 'ice'){ // 如果方块名称是冰块
voxels.setVoxel(x, y, z, 0); // 将方块变成空气
}
});
world.onPlayerJoin(({entity}) =>{
entity.onFluidEnter(() =>{
entity.position.copy(entity.player.spawnPoint)
entity.position.y += 4
})
})2021-10-01T14:20:46 点赞:0
在 【版本更新合辑】那些年Kitten更新过的那些功能~ 中回复
imgsrc="http://img.t.sinajs.cn/t4/appstyle/expression/ext/normal/5c/huanglianwx_thumb.gif"alt="emotion_微笑"
2022-02-23T22:11:25 点赞:0
在 如何制作出精美的残影效果(含2种-适合萌新,大佬勿喷) 中回复
咳咳,进收藏夹吃灰去吧imgsrc="http://img.t.sinajs.cn/t4/appstyle/expression/ext/normal/4a/mm_thumb.gif"alt="emotion_喵喵"
2022-06-03T10:50:43 点赞:0
在 【Codemao Cloud】全网首发私密化云盘软件(支持多平台) 中回复
https://static.box3.codemao.cn/block/QmNjYqrMoDoxcN3MpSSgSxyJ7Y7URNNvYQSzendA2uuHFX密码123imgsrc="http://img.t.sinajs.cn/t4/appstyle/expression/ext/normal/6d/yx_thumb.gif"alt="emotion_阴险"谨慎打开哦
2022-08-22T19:46:25 点赞:0