猫史档案馆


【代码岛3.0】快速建造的代码

用户:hecoshecos查看:12 回复:7 评论:12 创建时间:2020-04-09T10:28:53


只要调整前面的参数就行了

var x_from=0;var x_to=0;var y_from=0;var y_to=0;var z_from=0;var z_to=0;var thing='stone';for(let x=Math.min(x_from,x_to);x<=Math.max(x_from,x_to);x++){for(let y=Math.min(y_from,y_to);y<=Math.max(y_from,y_to);y++){for(let z=Math.min(z_from,z_to);z<=Math.max(z_from,z_to);z++){voxels.setVoxel(x,y,z,thing);}}}

键入到控制台

bye~


回复

上一页1 页 / 共 1下一页
datacatdatacat

666

点赞0


评论


hecoshecos

相关帖子:http://shequ.cod喵/community/271985

点赞0


评论


TobylaiTobylai

。。。我还知道怎么空心...和不覆盖原建筑

点赞0


评论


劳姆劳姆

要这么复杂吗

点赞0


评论


hecoshecos

https://box3create.codemao.cn/games/fd25d650605391d03003

点赞0


评论


hecoshecos

https://box3create.cod喵/games/9c750ece8e469f066b21

点赞0


评论


YDS尹子YDS尹子

结构体它不香吗https://shequ.codemao.cn/community/316468

点赞0


评论