asListOf

fun <T : NBT> asListOf(): NBTList<T>

Casts this list to another list type. Can throw a ClassCastException, so be careful