fn decode_collection<T>( tag: Option<NbtTag<'_, '_>>, decode_value: impl Fn(&NbtTag) -> Option<T>, ) -> Option<Vec<T>>