subList

fun subList(fromIndex: Int, toIndex: Int): NBTList<Tag>

Returns a view of the portion of this list between the specified fromIndex (inclusive) and toIndex (exclusive). The returned list is backed by this list.