forEachNonNull

inline fun <V : Any> BlockSideMap<V?>.forEachNonNull(run: (value: V) -> Unit)

Runs run for each non-null value in this BlockSideMap.


inline fun <V : Any> BlockSideMap<V?>.forEachNonNull(run: (side: BlockSide, value: V) -> Unit)

Runs run for each non-null value in this BlockSideMap, providing both the BlockSide and value.


inline fun <V : Any> CubeFaceMap<V?>.forEachNonNull(run: (value: V) -> Unit)

Runs run for each non-null value in this CubeFaceMap.


inline fun <V : Any> CubeFaceMap<V?>.forEachNonNull(run: (face: BlockFace, value: V) -> Unit)

Runs run for each non-null value in this CubeFaceMap, providing both the BlockFace and value.