Gold Stairs
Climb to a whole new level and do it in style!
Try the code:
player.onChat("goldstairs", function () {
builder.teleportTo(pos(0, 0, 0))
for (let i = 0; i < 25; i++) {
builder.move(FORWARD, 1)
builder.move(UP, 1)
}
builder.tracePath(GOLD_BLOCK)
mobs.teleportToPosition(
mobs.target(ALL_PLAYERS),
pos(0, 0, 0)
)
gameplay.setGameMode(
SURVIVAL,
mobs.target(ALL_PLAYERS)
)
})
builder