猫史档案馆


岛3跑酷代码!!!求助!

用户:可爱的电电猴可爱的电电猴查看:3 回复:2 评论:3 创建时间:2022-12-10T16:35:19


求助!!!!急需跑酷存档点代码以及碰到方块white_grass就重生回存档点的代码!!!emotion_编程猫_搓头


回复

上一页1 页 / 共 1下一页
名探酱名探酱

world.onVoxelContact(({entity,voxel})=>{ if(!entity.isPlayer)return;//如果碰到方块的不是玩家,则跳过 constvoxelName=voxels.name(voxel);//将方块id转换名称 if(voxelName==='white_grass'){ entity.player.position.copy(entity.player.spawnPoint) entity.position.y+=2 } }); 跑酷存档点代码自己去找吧,或者给个链接

点赞1


评论


Mecat⁧~喵呜⁧Mecat⁧~喵呜⁧

https://docs.box3.fun/code/parkour.html

点赞0


评论