iterate

override fun iterate(): Sequence<Map.Entry<BlockPos, T>>

Returns a Sequence providing all tracked BlockPos and its state T.

Note: The elements of the Map.Entry.key is BlockPos.MutableBlockPos. Copy them if they will be maintained.


fun iterate(type: T): Sequence<BlockPos>