map

inline fun <R> map(map: (value: V) -> R): CubeFaceMap<R>

Returns a new CubeFaceMap with each value transformed by map.


inline fun <R> map(map: (face: BlockFace, value: V) -> R): CubeFaceMap<R>

Returns a new CubeFaceMap with each value transformed by map, which also receives the BlockFace.