用户:
我就路过看看查看:840 回复:19 评论:23 创建时间:2020-02-26T11:45:54
谁可以发一下这些程序,赏200金币!!!

虽然我都会,但不想告诉你,自己看API不会吗?
点赞1
评论
你都会?。。。
我都会!
跑酷存档看我发的帖:https://shequ.codemao.cn/community/263737
跑酷存档看我发的帖:https://shequ.codemao.cn/community/263737
碰水就死的代码太长了,发不了...
至于出生点吉吉喵说过
onFuildEnter
一点都不长啊
QBZ_//碰水就死
world.onFluidEnter(({entity , voxel}) => {
if (entity.isPlayer===true){
const p = voxels.id('water');
if (voxel===p){
entity.hurt(entity.hp)
world.say(entity.player.name+"掉进了水里")
}; };
});点赞0
评论
谢谢,这个代码性能更好
ymd1010cat//碰水就喵 world.onFluidEnter(({entity , voxel}) => { if (entity.isPlayer===true){ const p = voxels.id('water'); if (voxel===p){ entity.hurt(entity.hp) world.say(entity.player.name+"掉进了水里"); entity.player.forceRespawn(); }; }; });
点赞0
评论
挖坟干什么
ymd1010cat//碰水就喵
world.onFluidEnter(({entity , voxel}) => {
if (entity.isPlayer===true){
const p = voxels.id('water');
if (voxel===p){
entity.hurt(entity.hp)
world.say(entity.player.name+"掉进了水里");
entity.player.forceRespawn();
}; };
});点赞0
评论