Walk on Water

Walking on water

See if you can walk on water. Don’t get your toes wet! If there’s no water nearby, use the pool command to make some to walk on.

Try the code:

player.onTravelled(TravelMethod.SwimWater, function () {
    blocks.fill(
    ICE,
    pos(-1, -1, -1),
    pos(1, -1, 1),
    FillOperation.Replace
    )
})
player.onChat("pool", function () {
    blocks.fill(
    WATER,
    pos(-4, -1, -4),
    pos(4, -1, 4),
    FillOperation.Replace
    )
})