Lv.1
在 「求助帖」 中回复
for (let x = 0; x <= 270; x++) {
for (let z = 0; z <= 270; z++) {
voxels.setVoxel(x, 8, z, 'water')
}
}
在控制台输入然后点击回车即可
2023-01-31T19:12:39 点赞:0
在 【岛3代码教程】--如何把地图整体方块替换成另一种方块?-- 中回复
这么简单的也要教吗,就算你要教也教的再详细一点吧,毕竟都说了是给新手看到,至于控制台嘛
把代码复制到控制台然后点回车
2023-02-02T10:11:15 点赞:0
在 随便装扮了一下自己,嘻嘻(不喜勿喷) 中回复
源代码(不喜勿喷):
console.clear()
world.onPlayerJoin(({ entity }) => {
entity.player.canFly = true
entity.player.addWearable({
mesh: 'mesh/喵突击喵.vb',
bodyPart: Box3BodyPart.RIGHT_HAND,
orientation: new Box3Quaternion(0, 1, 0, 0).rotateY(Math.PI),
offset: new Box3Vector3(0, 0, 0.6),
})
entity.player.skinInvisible.head = true
entity.player.addWearable({
mesh: 'mesh/全网最还原史蒂夫头部.vb',
bodyPart: Box3BodyPart.HEAD,
offset: new Box3Vector3(0, 0.25, 0),
})
entity.player.addWearable({
mesh: 'mesh/背包-1.vb',
bodyPart: Box3BodyPart.TORSO,
scale: new Box3Vector3(0.5, 0.5, 0.5),
orientation: new Box3Quaternion(0, 1, 0, 0).rotateY(Math.PI),
offset: new Box3Vector3(0, 0, -0.4)
})
entity.player.skinInvisible.rightFoot = true
entity.player.addWearable({
mesh: 'mesh/鞋子.vb',
bodyPart: Box3BodyPart.RIGHT_FOOT,
scale: new Box3Vector3(0.4, 0.4, 0.4),
orientation: new Box3Quaternion(0, 1, 0, 0).rotateY(Math.PI),
offset: new Box3Vector3(0, 0, 0.25)
})
entity.player.skinInvisible.leftFoot = true
entity.player.addWearable({
mesh: 'mesh/鞋子.vb',
bodyPart: Box3BodyPart.LEFT_FOOT,
scale: new Box3Vector3(0.4, 0.4, 0.4),
orientation: new Box3Quaternion(0, 1, 0, 0).rotateY(Math.PI),
offset: new Box3Vector3(0, 0, 0.25)
})
entity.player.addWearable({
mesh: 'mesh/海拉鲁士兵盾牌。.vb',
bodyPart: Box3BodyPart.LEFT_HAND,
scale: new Box3Vector3(0.3, 0.3, 0.3),
offset: new Box3Vector3(0,0,0.3),
orientation:new Box3Quaternion(-0.023, -0.035, 0.004, 1.000).rotateY(Math.PI)
})
})2023-02-04T19:44:50 点赞:0